Home
last modified time | relevance | path

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

123456

/kernel/liteos_m/testsuites/unittest/posix/src/stdlib/
Dstrtoul_test.c78 unsigned long ret = strtoul(nPtr, &endPtr, 10);
98 unsigned long ret = strtoul(nPtr, &endPtr, 2);
118 unsigned long ret = strtoul(nPtr, &endPtr, 16);
138 unsigned long ret = strtoul(nPtr, &endPtr, 8);
158 unsigned long ret = strtoul(nPtr, &endPtr, 0);
178 unsigned long ret = strtoul(nPtr, &endPtr, 0);
200 unsigned long ret = strtoul(nPtr, &endPtr, 65);
221 unsigned long ret = strtoul(nPtr, &endPtr, 0);
241 unsigned long ret = strtoul(nPtr, &endPtr, 0);
261 unsigned long ret = strtoul(nPtr, &endPtr, 0);
/kernel/liteos_a/apps/trace/src/
Dtrace.c95 info.eventType = strtoul(argv[2], NULL, 0); /* 2, argv number */ in TraceWrite()
96 info.identity = strtoul(argv[3], NULL, 0); /* 3, argv number */ in TraceWrite()
102 info.params[i] = strtoul(argv[4 + i], NULL, 0); in TraceWrite()
124 size_t mask = strtoul(argv[2], NULL, 0); in main()
127 size_t flag = strtoul(argv[2], NULL, 0); in main()
130 size_t size = strtoul(argv[2], NULL, 0); in main()
/kernel/liteos_m/testsuites/unittest/xts/io/
Dxts_io_stdlib_test.c186 … unsigned long ret = strtoul(nPtr, &endPtr, 10); /* 10 common data for test, no special meaning */
190 ret = strtoul(endPtr, &endPtr, 2); /* 2 common data for test, no special meaning */
194 ret = strtoul(endPtr, &endPtr, 16); /* 16 common data for test, no special meaning */
198 ret = strtoul(endPtr, &endPtr, 8); /* 8 common data for test, no special meaning */
202 ret = strtoul(endPtr, &endPtr, 0);
206 ret = strtoul(endPtr, &endPtr, 0);
210 ret = strtoul(endPtr, &endPtr, 65); /* 65 common data for test, no special meaning */
214 ret = strtoul(endPtr, &endPtr, 0);
218 ret = strtoul(endPtr, &endPtr, 0);
/kernel/liteos_a/kernel/base/misc/
Dvm_shellcmd.c153 vaddr = strtoul((CHAR *)argv[1], &endPtr, 0); in OsShellCmdV2P()
217 lowMemThreshold = strtoul((CHAR *)argv[1], &endPtr, 0); in OsShellCmdOom()
225 checkInterval = strtoul((CHAR *)argv[1], &endPtr, 0); in OsShellCmdOom()
233 reclaimMemThreshold = strtoul((CHAR *)argv[1], &endPtr, 0); in OsShellCmdOom()
Dkill_shellcmd.c65 sigNo = strtoul(argv[0], &endPtr, 0); in OsShellCmdKill()
71 pidNo = strtoul(argv[1], &endPtr, 0); in OsShellCmdKill()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgso_bench_rx.c309 cfg_connect_timeout_ms = strtoul(optarg, NULL, 0); in parse_opts()
315 cfg_expected_pkt_len = strtoul(optarg, NULL, 0); in parse_opts()
318 cfg_expected_pkt_nr = strtoul(optarg, NULL, 0); in parse_opts()
321 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
327 cfg_rcv_timeout_ms = strtoul(optarg, NULL, 0); in parse_opts()
Dtxtimestamp.c715 cfg_num_pkts = strtoul(optarg, NULL, 10); in parse_opt()
733 cfg_payload_len = strtoul(optarg, NULL, 10); in parse_opt()
745 dest_port = strtoul(optarg, NULL, 10); in parse_opt()
764 cfg_sleep_usec = strtoul(optarg, NULL, 10); in parse_opt()
767 cfg_delay_tolerance_usec = strtoul(optarg, NULL, 10); in parse_opt()
775 cfg_delay_snd = strtoul(optarg, NULL, 10); in parse_opt()
778 cfg_delay_ack = strtoul(optarg, NULL, 10); in parse_opt()
Dudpgso_bench_tx.c453 cfg_runtime_ms = strtoul(optarg, NULL, 10) * 1000; in parse_opts()
459 cfg_msg_nr = strtoul(optarg, NULL, 10); in parse_opts()
462 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
468 cfg_payload_len = strtoul(optarg, NULL, 0); in parse_opts()
471 cfg_gso_size = strtoul(optarg, NULL, 0); in parse_opts()
/kernel/linux/linux-5.10/arch/x86/tools/
Dinsn_sanity.c137 insn_buff[i] = (unsigned char)strtoul(tmp, &tmp, 16); in read_next_insn()
189 seed = (unsigned int)strtoul(optarg, &tmp, 0); in parse_args()
192 iter_start = strtoul(optarg, &tmp, 0); in parse_args()
199 iter_end = strtoul(optarg, &tmp, 0); in parse_args()
/kernel/liteos_a/apps/perf/src/
Dmain.c59 size_t id = strtoul(argv[THREE_ARGS - 1], NULL, 0); in main()
64 size_t size = strtoul(argv[THREE_ARGS - 1], NULL, 0); in main()
Doption.c46 *opts->value = strtoul(argv[++(*index)], NULL, 0); in ParseOption()
117 res = strtoul(sp, NULL, 0); in ParseIds()
/kernel/linux/linux-5.10/tools/gpio/
Dgpio-event-mon.c179 loops = strtoul(optarg, NULL, 10); in main()
189 lines[num_lines] = strtoul(optarg, NULL, 10); in main()
193 debounce_period_us = strtoul(optarg, NULL, 10); in main()
Dgpio-hammer.c140 loops = strtoul(optarg, NULL, 10); in main()
152 lines[i] = strtoul(optarg, NULL, 10); in main()
/kernel/linux/linux-5.10/tools/power/acpi/tools/ec/
Dec_access.c80 read_byte_offset = strtoul(optarg, NULL, 16); in parse_opts()
86 write_byte_offset = strtoul(optarg, NULL, 16); in parse_opts()
89 write_value = strtoul(optarg, NULL, 16); in parse_opts()
/kernel/linux/linux-5.10/tools/testing/selftests/watchdog/
Dwatchdog-test.c169 ping_rate = strtoul(optarg, NULL, 0); in main()
175 flags = strtoul(optarg, NULL, 0); in main()
193 flags = strtoul(optarg, NULL, 0); in main()
/kernel/liteos_a/kernel/extended/cpup/
Dcpup_shellcmd.c101 mode = strtoul(argv[0], &bufMode, 0); in OsShellCmdCpup()
117 pid = strtoul(argv[1], &bufID, 0); in OsShellCmdCpup()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Ddbmethod.c56 address = strtoul(location, NULL, 16); in acpi_db_set_method_breakpoint()
128 value = strtoul(value_arg, NULL, 16); in acpi_db_set_method_data()
147 index = strtoul(index_arg, NULL, 16); in acpi_db_set_method_data()
246 num_statements = strtoul(statements, NULL, 0); in acpi_db_disassemble_aml()
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
Dmbm_test.c74 bw_resc[runs] = strtoul(token_array[5], NULL, 0); in check_results()
75 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
Dmba_test.c123 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
125 bw_resc[runs] = strtoul(token_array[5], NULL, 0); in check_results()
Dcqm_test.c100 sum_llc_occu_resc += strtoul(token_array[3], NULL, 0); in check_results()
132 long_mask = strtoul(cbm_mask, NULL, 16); in cqm_resctrl_val()
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dmktree.c65 bt.bb_dest = htonl(strtoul(argv[3], NULL, 0)); in main()
66 bt.bb_entry_point = htonl(strtoul(argv[4], NULL, 0)); in main()
/kernel/linux/linux-5.10/drivers/staging/greybus/Documentation/firmware/
Dfirmware.c175 fw_update_type = strtoul(argv[2], &endptr, 10); in main()
185 fw_timeout = strtoul(argv[4], &endptr, 10); in main()
/kernel/linux/linux-5.10/samples/bpf/
Dfds_example.c162 key = strtoul(optarg, NULL, 0); in main()
166 value = strtoul(optarg, NULL, 0); in main()
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
Dnames.c346 u = strtoul(cp, &cp, 16); in parse()
372 u = strtoul(cp, &cp, 16); in parse()
389 u = strtoul(buf+1, &cp, 16); in parse()
428 u = strtoul(buf+2, &cp, 16); in parse()
/kernel/linux/linux-5.10/tools/perf/util/
Dpmu.l14 num = strtoul(perf_pmu_text, NULL, base); in value()

123456