Home
last modified time | relevance | path

Searched refs:strtoul (Results 1 - 25 of 293) sorted by relevance

12345678910>>...12

/third_party/musl/libc-test/src/functional/
H A Dstrtol.c33 TEST(ul, strtoul("4294967295", 0, 0), 4294967295UL, "max 32bit unsigned %lu != %lu"); in main()
42 TEST(ul, strtoul(s="4294967296", &c, 0), 4294967295UL, "uncaught overflow %lu != %lu"); in main()
45 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main()
48 TEST(ul, strtoul(s="-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in main()
51 TEST(ul, strtoul(s="-2147483648", &c, 0), -2147483648UL, "rejected negative %lu != %lu"); in main()
54 TEST(ul, strtoul(s="-2147483649", &c, 0), -2147483649UL, "rejected negative %lu != %lu"); in main()
57 TEST(ul, strtoul(s="-4294967296", &c, 0), 4294967295UL, "uncaught negative overflow %lu != %lu"); in main()
67 TEST(ul, strtoul(s="18446744073709551616", &c, 0), 18446744073709551615UL, "uncaught overflow %lu != %lu"); in main()
70 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main()
73 TEST(ul, strtoul( in main()
[all...]
/third_party/musl/src/stdlib/
H A Dstrtol.c34 unsigned long strtoul(const char *restrict s, char **restrict p, int base) in strtoul_weak()
65 weak_alias(strtoul_weak, strtoul);
67 weak_alias(strtoul, __strtoul_internal);
/third_party/openssl/test/
H A Dbio_prefix_text.c164 amount = strtoul(arg, &endptr, 10); in setup()
191 idx = strtoul(arg, &endptr, 10); in setup()
202 indent = strtoul(colon, &endptr, 10); in setup()
229 idx = strtoul(arg, &endptr, 10); in setup()
/third_party/mesa3d/src/freedreno/afuc/
H A Demu-ui.c237 uint32_t val = strtoul(value, NULL, 0); in emu_write_gpr_prompt()
255 uint32_t val = strtoul(value, NULL, 0); in emu_write_control_prompt()
290 uint32_t val = strtoul(value, NULL, 0); in emu_write_gpu_prompt()
325 uint32_t val = strtoul(value, NULL, 0); in emu_write_mem_prompt()
433 payload[cnt++] = strtoul(val, NULL, 0); in emu_packet_prompt()
/third_party/musl/porting/liteos_m/kernel/src/stdlib/
H A Dstrtol.c31 unsigned long strtoul(const char *restrict s, char **restrict p, int base) in strtoul() function
43 weak_alias(strtoul, __strtoul_internal);
/third_party/musl/porting/uniproton/kernel/src/stdlib/
H A Dstrtol.c31 unsigned long strtoul(const char *restrict s, char **restrict p, int base) in strtoul() function
43 weak_alias(strtoul, __strtoul_internal);
/third_party/musl/porting/liteos_a/kernel/src/stdlib/
H A Dstrtol.c31 unsigned long strtoul(const char *restrict s, char **restrict p, int base) in strtoul() function
52 weak_alias(strtoul, __strtoul_internal);
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
H A 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()
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtarget.cc591 uint32_t module_id = strtoul(toks[1].data(), nullptr, 10); in ProcessQueryPacket()
592 uint32_t address = strtoul(toks[2].data(), nullptr, 16); in ProcessQueryPacket()
593 uint32_t length = strtoul(toks[3].data(), nullptr, 16); in ProcessQueryPacket()
615 uint32_t module_id = strtoul(toks[1].data(), nullptr, 10); in ProcessQueryPacket()
616 uint32_t address = strtoul(toks[2].data(), nullptr, 16); in ProcessQueryPacket()
617 uint32_t length = strtoul(toks[3].data(), nullptr, 16); in ProcessQueryPacket()
/third_party/musl/porting/linux/user/src/stdlib/
H A Dstrtol.c52 weak_alias(strtoul_weak, strtoul);
53 weak_alias(strtoul, __strtoul_internal);
/third_party/mesa3d/src/broadcom/cle/
H A Dv3d_decoder.c202 *count = strtoul(atts[i + 1], &p, 0); in get_group_offset_count()
206 *offset = strtoul(atts[i + 1], &p, 0); in get_group_offset_count()
208 *size = strtoul(atts[i + 1], &p, 0); in get_group_offset_count()
265 *offset = strtoul(atts[i + 1], &p, 0); in get_register_offset()
319 field->start = strtoul(atts[i + 1], &p, 0); in create_field()
323 field->end = strtoul(atts[i + 1], &p, 0) - 1; in create_field()
327 size = strtoul(atts[i + 1], &p, 0); in create_field()
334 field->default_value = strtoul(atts[i + 1], &p, 0); in create_field()
356 value->value = strtoul(atts[i + 1], NULL, 0); in create_value()
385 group->opcode = strtoul(att in set_group_opcode()
[all...]
/third_party/eudev/src/udev/
H A Dudev-builtin-keyboard.c84 keycode_num = strtoul(keycode, &endptr, 0); in map_keycode()
211 scancode = strtoul(key + 13, &endptr, 16); in builtin_keyboard()
242 evcode = strtoul(key + 10, &endptr, 16); in builtin_keyboard()
/third_party/jerryscript/jerry-ext/debugger/
H A Ddebugger-serial.c339 serial_config.baud_rate = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 115200; in jerryx_debugger_serial_create()
340 serial_config.data_bits = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 8; in jerryx_debugger_serial_create()
342 serial_config.stop_bits = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 1; in jerryx_debugger_serial_create()
/third_party/musl/porting/linux/user/src/network/
H A Dresolvconf.c205 unsigned long x = strtoul(p, &z, 10); in get_resolv_conf_ext()
211 unsigned long x = strtoul(p, &z, 10); in get_resolv_conf_ext()
217 unsigned long x = strtoul(p, &z, 10); in get_resolv_conf_ext()
H A Dlookup_serv.c52 port = strtoul(name, &z, 10); in __lookup_serv()
90 port = strtoul(p, &z, 10); in __lookup_serv()
/third_party/musl/src/network/
H A Dresolvconf.c199 unsigned long x = strtoul(p, &z, 10); in get_resolv_conf_ext()
205 unsigned long x = strtoul(p, &z, 10); in get_resolv_conf_ext()
211 unsigned long x = strtoul(p, &z, 10); in get_resolv_conf_ext()
H A Dlookup_serv.c68 port = strtoul(name, &z, 10); in __lookup_serv()
116 port = strtoul(p, &z, 10); in __lookup_serv()
/third_party/skia/third_party/externals/spirv-cross/tests-other/
H A Dc_api_test.c135 if (abi_major != strtoul(argv[2], NULL, 0)) in main()
141 if (abi_minor != strtoul(argv[3], NULL, 0)) in main()
147 if (abi_patch != strtoul(argv[4], NULL, 0)) in main()
/third_party/toybox/toys/pending/
H A Dmdev.c145 uid = strtoul(pos,&s2,10); in make_device()
156 gid = strtoul(s,&s2,10); in make_device()
171 mode = strtoul(pos, &pos, 8); in make_device()
/third_party/node/deps/cares/src/lib/
H A Dares_sysconfig_files.c390 sysconfig->ndots = strtoul(val, NULL, 10); in set_options()
396 sysconfig->timeout_ms = strtoul(val, NULL, 10); in set_options()
401 sysconfig->timeout_ms = strtoul(val, NULL, 10) * 1000; in set_options()
407 sysconfig->tries = strtoul(val, NULL, 10); in set_options()
412 sysconfig->tries = strtoul(val, NULL, 10); in set_options()
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhb-subset.cc198 hb_codepoint_t start_code = strtoul (s, &p, 10); in parse_gids()
209 hb_codepoint_t end_code = strtoul (s, &p, 10); in parse_gids()
368 hb_codepoint_t start_code = strtoul (s, &p, 16); in parse_unicodes()
379 hb_codepoint_t end_code = strtoul (s, &p, 16); in parse_unicodes()
445 hb_codepoint_t u = strtoul (s, &p, 10); in parse_nameids()
498 hb_codepoint_t u = strtoul (s, &p, 10); in parse_name_languages()
/third_party/ltp/testcases/kernel/syscalls/getcpu/
H A Dgetcpu01.c95 cpu = strtoul(dn->d_name + 3, &invalid_number, 0); in get_nodeid()
100 strtoul(de->d_name + 4, NULL, 0); in get_nodeid()
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dasn_mstbl.c78 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate()
82 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate()
/third_party/pulseaudio/src/pulsecore/
H A Dcpu-arm.c96 arch = strtoul(line, NULL, 0); in pa_cpu_get_arm_flags()
127 part = strtoul(line, NULL, 0); in pa_cpu_get_arm_flags()
/third_party/openssl/crypto/asn1/
H A Dasn_mstbl.c76 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate()
80 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate()

Completed in 11 milliseconds

12345678910>>...12