Home
last modified time | relevance | path

Searched refs:strtoul (Results 1 – 25 of 549) sorted by relevance

12345678910>>...22

/external/boringssl/src/util/fipstools/cavp/
Dcavp_aes_gcm_test.cc68 key.size() * 8 != strtoul(key_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
69 iv.size() * 8 != strtoul(iv_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
70 pt.size() * 8 != strtoul(pt_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
71 aad.size() * 8 != strtoul(aad_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
76 const size_t tag_len = strtoul(tag_len_str.c_str(), nullptr, 0) / 8; in TestAEADEncrypt()
99 size_t aad_len = strtoul(aad_len_str.c_str(), nullptr, 0) / 8; in TestAEADDecrypt()
100 size_t pt_len = strtoul(pt_len_str.c_str(), nullptr, 0) / 8; in TestAEADDecrypt()
110 key.size() * 8 != strtoul(key_len.c_str(), nullptr, 0) || in TestAEADDecrypt()
111 iv.size() * 8 != strtoul(iv_len.c_str(), nullptr, 0) || in TestAEADDecrypt()
114 tag.size() * 8 != strtoul(tag_len.c_str(), nullptr, 0)) { in TestAEADDecrypt()
Dcavp_ctr_drbg_test.cc41 strtoul(entropy_input_len.c_str(), nullptr, 0) != in TestCTRDRBG()
55 entropy.size() * 8 != strtoul(entropy_input_len.c_str(), nullptr, 0) || in TestCTRDRBG()
58 strtoul(personalization_str_len.c_str(), nullptr, 0) || in TestCTRDRBG()
60 ai1.size() * 8 != strtoul(additional_input_len.c_str(), nullptr, 0)) { in TestCTRDRBG()
70 uint64_t out_len = strtoul(returned_bits_len.c_str(), nullptr, 0); in TestCTRDRBG()
Dcavp_hmac_test.cc34 const size_t md_len = strtoul(md_len_str.c_str(), nullptr, 0); in TestHMAC()
67 size_t k_len = strtoul(k_len_str.c_str(), nullptr, 0); in TestHMAC()
68 size_t t_len = strtoul(t_len_str.c_str(), nullptr, 0); in TestHMAC()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_aes_gcm_test.cc68 key.size() * 8 != strtoul(key_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
69 iv.size() * 8 != strtoul(iv_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
70 pt.size() * 8 != strtoul(pt_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
71 aad.size() * 8 != strtoul(aad_len_str.c_str(), nullptr, 0) || in TestAEADEncrypt()
76 const size_t tag_len = strtoul(tag_len_str.c_str(), nullptr, 0) / 8; in TestAEADEncrypt()
99 size_t aad_len = strtoul(aad_len_str.c_str(), nullptr, 0) / 8; in TestAEADDecrypt()
100 size_t pt_len = strtoul(pt_len_str.c_str(), nullptr, 0) / 8; in TestAEADDecrypt()
110 key.size() * 8 != strtoul(key_len.c_str(), nullptr, 0) || in TestAEADDecrypt()
111 iv.size() * 8 != strtoul(iv_len.c_str(), nullptr, 0) || in TestAEADDecrypt()
114 tag.size() * 8 != strtoul(tag_len.c_str(), nullptr, 0)) { in TestAEADDecrypt()
Dcavp_ctr_drbg_test.cc41 strtoul(entropy_input_len.c_str(), nullptr, 0) != in TestCTRDRBG()
55 entropy.size() * 8 != strtoul(entropy_input_len.c_str(), nullptr, 0) || in TestCTRDRBG()
58 strtoul(personalization_str_len.c_str(), nullptr, 0) || in TestCTRDRBG()
60 ai1.size() * 8 != strtoul(additional_input_len.c_str(), nullptr, 0)) { in TestCTRDRBG()
70 uint64_t out_len = strtoul(returned_bits_len.c_str(), nullptr, 0); in TestCTRDRBG()
Dcavp_hmac_test.cc34 const size_t md_len = strtoul(md_len_str.c_str(), nullptr, 0); in TestHMAC()
67 size_t k_len = strtoul(k_len_str.c_str(), nullptr, 0); in TestHMAC()
68 size_t t_len = strtoul(t_len_str.c_str(), nullptr, 0); in TestHMAC()
/external/google-breakpad/src/processor/
Dwindows_frame_info.h135 uint32_t prolog_size = strtoul(tokens[3], NULL, 16); in ParseFromString()
136 uint32_t epilog_size = strtoul(tokens[4], NULL, 16); in ParseFromString()
137 uint32_t parameter_size = strtoul(tokens[5], NULL, 16); in ParseFromString()
138 uint32_t saved_register_size = strtoul(tokens[6], NULL, 16); in ParseFromString()
139 uint32_t local_size = strtoul(tokens[7], NULL, 16); in ParseFromString()
140 uint32_t max_stack_size = strtoul(tokens[8], NULL, 16); in ParseFromString()
141 int has_program_string = strtoul(tokens[9], NULL, 16); in ParseFromString()
148 allocates_base_pointer = strtoul(tokens[10], NULL, 16); in ParseFromString()
/external/e2fsprogs/lib/uuid/
Dparse.c66 uuid.time_low = strtoul(in, NULL, 16); in uuid_parse()
67 uuid.time_mid = strtoul(in+9, NULL, 16); in uuid_parse()
68 uuid.time_hi_and_version = strtoul(in+14, NULL, 16); in uuid_parse()
69 uuid.clock_seq = strtoul(in+19, NULL, 16); in uuid_parse()
75 uuid.node[i] = strtoul(buf, NULL, 16); in uuid_parse()
/external/iptables/utils/
Dnfnl_osf.c214 val = strtoul(&obuf[i + 2], NULL, 10); in xt_osf_parse_opt()
216 val = strtoul(&obuf[i + 1], NULL, 10); in xt_osf_parse_opt()
231 val = strtoul(&obuf[i + 2], NULL, 10); in xt_osf_parse_opt()
233 val = strtoul(&obuf[i + 1], NULL, 10); in xt_osf_parse_opt()
301 f.wss.val = strtoul(&pbeg[2], NULL, 10); in osf_load_line()
305 f.wss.val = strtoul(&pbeg[1], NULL, 10); in osf_load_line()
309 f.wss.val = strtoul(&pbeg[2], NULL, 10); in osf_load_line()
313 f.wss.val = strtoul(&pbeg[1], NULL, 10); in osf_load_line()
316 f.wss.val = strtoul(&pbeg[1], NULL, 10); in osf_load_line()
319 f.wss.val = strtoul(&pbeg[0], NULL, 10); in osf_load_line()
[all …]
/external/iw/
Dphy.c73 freq = strtoul(argv[1], &end, 10); in handle_freqs()
84 freq = strtoul(argv[2], &end, 10); in handle_freqs()
115 freq = strtoul(argv[0], &end, 10); in handle_freqchan()
191 frag = strtoul(argv[0], &end, 10); in handle_fragmentation()
223 rts = strtoul(argv[0], &end, 10); in handle_rts()
269 tmpul = strtoul(argv[i], &end, 10); in handle_retry()
334 strtoul(argv[0], &end, 10)); in handle_netns()
378 coverage = strtoul(argv[0], &end, 10); in handle_coverage()
414 distance = strtoul(argv[0], &end, 10); in handle_distance()
509 tx_ant = rx_ant = strtoul(argv[0], &end, 0); in handle_antenna()
[all …]
Doffch.c20 strtoul(argv[0], &end, 10)); in offchannel()
28 strtoul(argv[0], &end, 10)); in offchannel()
/external/ipsec-tools/src/racoon/
Dbackupsa.c267 GETNEXTNUM(sa_args.satype, strtoul); in backupsa_from_file()
268 GETNEXTNUM(sa_args.spi, strtoul); in backupsa_from_file()
270 GETNEXTNUM(sa_args.mode, strtoul); in backupsa_from_file()
271 GETNEXTNUM(sa_args.reqid, strtoul); in backupsa_from_file()
272 GETNEXTNUM(sa_args.wsize, strtoul); in backupsa_from_file()
273 GETNEXTNUM(sa_args.e_type, strtoul); in backupsa_from_file()
274 GETNEXTNUM(sa_args.e_keylen, strtoul); in backupsa_from_file()
275 GETNEXTNUM(sa_args.a_type, strtoul); in backupsa_from_file()
276 GETNEXTNUM(sa_args.a_keylen, strtoul); in backupsa_from_file()
277 GETNEXTNUM(sa_args.flags, strtoul); in backupsa_from_file()
[all …]
/external/libnl/src/lib/
Dct.c150 nfnl_ct_set_icmp_id(ct, 0, strtoul(argv[idx++], NULL, 0));
153 nfnl_ct_set_icmp_type(ct, 0, strtoul(argv[idx++], NULL, 0));
156 nfnl_ct_set_icmp_code(ct, 0, strtoul(argv[idx++], NULL, 0));
159 nfnl_ct_set_icmp_id(ct, 1, strtoul(argv[idx++], NULL, 0));
162 nfnl_ct_set_icmp_type(ct, 1, strtoul(argv[idx++], NULL, 0));
165 nfnl_ct_set_icmp_code(ct, 1, strtoul(argv[idx++], NULL, 0));
Droute.c128 lval = strtoul(arg, &endptr, 0); in nl_cli_route_parse_metric()
199 lval = strtoul(arg, &endptr, 0); in nl_cli_route_parse_nexthop()
218 lval = strtoul(arg, &endptr, 0); in nl_cli_route_parse_table()
235 lval = strtoul(arg, &endptr, 0); in nl_cli_route_parse_prio()
257 lval = strtoul(arg, &endptr, 0); in nl_cli_route_parse_protocol()
/external/libnl/src/
Dnl-fib-lookup.c60 table = strtoul(optarg, NULL, 0); in main()
63 fwmark = strtoul(optarg, NULL, 0); in main()
66 scope = strtoul(optarg, NULL, 0); in main()
69 tos = strtoul(optarg, NULL, 0); in main()
/external/iptables/extensions/
Dlibxt_time.c100 year = strtoul(s, &e, 10); in time_parse_date()
107 month = strtoul(s, &e, 10); in time_parse_date()
114 day = strtoul(s, &e, 10); in time_parse_date()
121 hour = strtoul(s, &e, 10); in time_parse_date()
128 minute = strtoul(s, &e, 10); in time_parse_date()
135 second = strtoul(s, &e, 10); in time_parse_date()
170 hour = strtoul(s, &e, 10); in time_parse_minutes()
175 minute = strtoul(s, &e, 10); in time_parse_minutes()
182 second = strtoul(s, &e, 10); in time_parse_minutes()
220 i = strtoul(day, &err, 0); in time_parse_monthdays()
[all …]
/external/mtools/
DmissFuncs.c193 unsigned long strtoul(const char *string, char **eptr, int base) in strtoul() function
202 return strtoul(string+2, eptr, 16); in strtoul()
205 return strtoul(string+2, eptr, 2); in strtoul()
207 return strtoul(string, eptr, 8); in strtoul()
210 return strtoul(string, eptr, 10); in strtoul()
236 return -(long) strtoul(string+1, eptr, base); in strtol()
240 return (long) strtoul(string, eptr, base); in strtol()
/external/vboot_reference/cgpt/
Dcmd_add.c61 params.partition = (uint32_t)strtoul(optarg, &e, 0); in cmd_add()
106 params.successful = (uint32_t)strtoul(optarg, &e, 0); in cmd_add()
119 params.tries = (uint32_t)strtoul(optarg, &e, 0); in cmd_add()
133 params.priority = (uint32_t)strtoul(optarg, &e, 0); in cmd_add()
/external/iproute2/tc/
Dq_dsmark.c41 ind = strtoul(*argv, &end, 0); in dsmark_parse_opt()
49 dflt = strtoul(*argv, &end, 0); in dsmark_parse_opt()
99 tmp = strtoul(*argv, &end, 0); in dsmark_parse_class_opt()
107 tmp = strtoul(*argv, &end, 0); in dsmark_parse_class_opt()
Df_tcindex.c33 t->tcm_handle = strtoul(handle, &end, 0); in tcindex_parse_opt()
47 hash = strtoul(*argv, &end, 0); in tcindex_parse_opt()
58 mask = strtoul(*argv, &end, 0); in tcindex_parse_opt()
69 shift = strtoul(*argv, &end, 0); in tcindex_parse_opt()
/external/skqp/src/compute/hs/cuda/bench/
Dmain.c535 uint32_t const key_size = (argc <= 2) ? 2 : strtoul(argv[2],NULL,0); in main()
565 uint32_t const count_lo = (argc <= 3) ? kpb : strtoul(argv[3],NULL,0); in main()
566 uint32_t const count_hi = (argc <= 4) ? count_lo : strtoul(argv[4],NULL,0); in main()
567 uint32_t const count_step = (argc <= 5) ? count_lo : strtoul(argv[5],NULL,0); in main()
568 uint32_t const loops = (argc <= 6) ? HS_BENCH_LOOPS : strtoul(argv[6],NULL,0); in main()
569 uint32_t const warmup = (argc <= 7) ? HS_BENCH_WARMUP : strtoul(argv[7],NULL,0); in main()
570 bool const linearize = (argc <= 8) ? true : strtoul(argv[8],NULL,0); in main()
571 bool const verify = (argc <= 9) ? true : strtoul(argv[9],NULL,0); in main()
/external/vboot_reference/tests/futility/
Dbinary_editor.c27 offset = (uint32_t)strtoul(argv[1], 0, 0); in main()
32 c = (uint8_t)strtoul(argv[curarg++], 0, 0); in main()
/external/e2fsprogs/lib/e2p/
Dpercent.c50 percent = strtoul(argv[1], &p, 0); in main()
56 base = strtoul(argv[2], &p, 0); in main()
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso_bench_rx.c308 cfg_connect_timeout_ms = strtoul(optarg, NULL, 0); in parse_opts()
314 cfg_expected_pkt_len = strtoul(optarg, NULL, 0); in parse_opts()
317 cfg_expected_pkt_nr = strtoul(optarg, NULL, 0); in parse_opts()
320 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
326 cfg_rcv_timeout_ms = strtoul(optarg, NULL, 0); in parse_opts()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c87 mask = strtoul(optarg, &end, 10); in process_options()
96 mask = strtoul(optarg, &end, 10); in process_options()
102 mask = strtoul(optarg, &end, 10); in process_options()

12345678910>>...22