Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/musl/libc-test/src/functional/
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 … in main()
70 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main()
73 TEST(ul, strtoul(s="-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in main()
[all …]
/third_party/harfbuzz/util/
Doptions-subset.cc51 hb_codepoint_t start_code = strtoul (s, &p, 10); in parse_gids()
63 hb_codepoint_t end_code = strtoul (s, &p, 10); in parse_gids()
125 hb_codepoint_t u = strtoul (s, &p, 10); in parse_nameids()
181 hb_codepoint_t u = strtoul (s, &p, 10); in parse_name_languages()
/third_party/openssl/test/
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/broadcom/cle/
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(atts[i + 1], &p, 0); in set_group_opcode()
[all …]
/third_party/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()
/third_party/mesa3d/src/freedreno/afuc/
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()
Dlexer.l43 0|[1-9][0-9]* yylval.num = strtoul(yytext, NULL, 0); return T_INT;
44 "0x"[0-9a-fA-F]* yylval.num = strtoul(yytext, NULL, 0); return T_HEX;
/third_party/musl/src/network/
Dresolvconf.c99 unsigned long x = strtoul(p, &z, 10); in __get_resolv_conf()
105 unsigned long x = strtoul(p, &z, 10); in __get_resolv_conf()
111 unsigned long x = strtoul(p, &z, 10); in __get_resolv_conf()
Dlookup_serv.c51 port = strtoul(name, &z, 10); in __lookup_serv()
97 port = strtoul(p, &z, 10); in __lookup_serv()
/third_party/musl/porting/uniproton/kernel/src/stdlib/
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_m/kernel/src/stdlib/
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/
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/musl/src/stdlib/
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/musl/porting/linux/user/src/network/
Dresolvconf.c190 unsigned long x = strtoul(p, &z, 10); in __get_resolv_conf()
196 unsigned long x = strtoul(p, &z, 10); in __get_resolv_conf()
202 unsigned long x = strtoul(p, &z, 10); in __get_resolv_conf()
/third_party/jerryscript/jerry-ext/debugger/
Ddebugger-serial.c339 …serial_config.baud_rate = (token = strtok (NULL, ",")) ? (uint32_t) strtoul (token, NULL, 10) : 11… 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/skia/third_party/externals/harfbuzz/util/
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/skia/third_party/externals/spirv-cross/tests-other/
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/
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/pulseaudio/src/pulsecore/
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/mesa3d/src/intel/common/
Dintel_decoder.c139 *count = strtoul(atts[i + 1], &p, 0); in get_array_offset_count()
143 *offset = strtoul(atts[i + 1], &p, 0); in get_array_offset_count()
145 *size = strtoul(atts[i + 1], &p, 0); in get_array_offset_count()
177 group->dw_length = strtoul(atts[i + 1], &p, 0); in create_group()
179 group->bias = strtoul(atts[i + 1], &p, 0); in create_group()
236 *offset = strtoul(atts[i + 1], &p, 0); in get_register_offset()
330 field->start = strtoul(atts[i + 1], &p, 0); in create_field()
332 field->end = strtoul(atts[i + 1], &p, 0); in create_field()
338 field->default_value = strtoul(atts[i + 1], &p, 0); in create_field()
368 value->value = strtoul(atts[i + 1], NULL, 0); in create_value()
/third_party/openssl/crypto/asn1/
Dasn_mstbl.c76 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate()
80 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
Dfst_ctrl_iface.c178 id = strtoul(session_id, NULL, 0); in session_get()
217 id = strtoul(session_id, &p, 0); in session_set()
279 id = strtoul(session_id, NULL, 0); in session_remove()
302 id = strtoul(session_id, NULL, 0); in session_initiate()
327 id = strtoul(session_id, &p, 0); in session_respond()
368 id = strtoul(session_id, NULL, 0); in session_transfer()
392 id = strtoul(session_id, NULL, 0); in session_teardown()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst_ctrl_iface.c178 id = strtoul(session_id, NULL, 0); in session_get()
217 id = strtoul(session_id, &p, 0); in session_set()
279 id = strtoul(session_id, NULL, 0); in session_remove()
302 id = strtoul(session_id, NULL, 0); in session_initiate()
327 id = strtoul(session_id, &p, 0); in session_respond()
368 id = strtoul(session_id, NULL, 0); in session_transfer()
392 id = strtoul(session_id, NULL, 0); in session_teardown()
/third_party/gstreamer/gstplugins_bad/gst/y4m/
Dgsty4mdec.c315 iformat = strtoul (header, &end, 10); in gst_y4m_dec_parse_header()
322 width = strtoul (header, &end, 10); in gst_y4m_dec_parse_header()
329 height = strtoul (header, &end, 10); in gst_y4m_dec_parse_header()
345 fps_n = strtoul (header, &end, 10); in gst_y4m_dec_parse_header()
354 fps_d = strtoul (header, &end, 10); in gst_y4m_dec_parse_header()
361 par_n = strtoul (header, &end, 10); in gst_y4m_dec_parse_header()
370 par_d = strtoul (header, &end, 10); in gst_y4m_dec_parse_header()
/third_party/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c109 cpu = strtoul(dn->d_name + 3, NULL, 0); in get_nodeid()
112 strtoul(de->d_name + 4, NULL, 0); in get_nodeid()

12345678910>>...13