Searched refs:endptr (Results 1 - 25 of 53) sorted by relevance

123

/linux-master/tools/perf/arch/arm64/annotate/
H A Dinstructions.c16 char *s = strchr(ops->raw, ','), *target, *endptr; local
33 ops->target.addr = strtoull(target, &endptr, 16);
34 if (endptr == target)
37 s = strchr(endptr, '<');
40 endptr = strchr(s + 1, '>');
41 if (endptr == NULL)
44 *endptr = '\0';
48 *endptr = '>';
/linux-master/tools/perf/arch/s390/annotate/
H A Dinstructions.c7 char *endptr, *tok, *name; local
17 ops->target.addr = strtoull(tok + 1, &endptr, 16);
19 name = strchr(endptr, '<');
57 char *s = strchr(ops->raw, ','), *target, *endptr; local
74 ops->target.addr = strtoull(target, &endptr, 16);
75 if (endptr == target)
78 s = strchr(endptr, '<');
81 endptr = strchr(s + 1, '>');
82 if (endptr == NULL)
85 *endptr
[all...]
/linux-master/tools/virtio/ringtest/
H A Dmain.c82 char *endptr; local
87 cpu = strtol(arg, &endptr, 0);
88 assert(!*endptr);
299 char *endptr; local
322 ring_size = strtol(optarg, &endptr, 0);
324 assert(!*endptr);
327 c = strtol(optarg, &endptr, 0);
328 assert(!*endptr);
333 c = strtol(optarg, &endptr, 0);
334 assert(!*endptr);
[all...]
/linux-master/tools/perf/util/
H A Dunits.c19 char *endptr; local
21 value = strtoul(str, &endptr, 10);
22 if (s != endptr)
H A Dtarget.c114 char *endptr; local
115 int uid = strtol(str, &endptr, 10);
117 if (*endptr != '\0')
H A Dauxtrace.c750 char *endptr; local
761 sz = strtoul(str, &endptr, 0);
762 if (*endptr || sz > UINT_MAX) {
1466 char *endptr; local
1494 synth_opts->period = strtoull(p, &endptr, 10);
1496 p = endptr;
1583 val = strtoul(p, &endptr, 10);
1584 p = endptr;
1603 val = strtoul(p, &endptr, 10);
1604 p = endptr;
2162 char *endptr; local
2227 char *endptr; local
[all...]
H A Dcallchain.c145 char *endptr; local
149 size = strtoul(str, &endptr, 0);
152 if (*endptr)
173 char *endptr, *saveptr = NULL; local
221 callchain_param.min_percent = strtod(tok, &endptr);
222 if (tok == endptr)
227 callchain_param.print_limit = strtoul(tok, &endptr, 0);
228 if (tok == endptr)
322 char *endptr; local
361 callchain_param.min_percent = strtod(value, &endptr);
[all...]
H A Dtime-utils.c182 char *c, *endptr; local
191 d = strtod(str, &endptr);
192 if (endptr != str + strlen(str))
/linux-master/lib/
H A Dcmdline.c152 char *endptr; /* local pointer to end of parsed string */ local
154 unsigned long long ret = simple_strtoull(ptr, &endptr, 0);
156 switch (*endptr) {
180 endptr++;
187 *retptr = endptr;
/linux-master/arch/mips/sibyte/common/
H A Dcfe.c154 char *tmp, *endptr; local
180 initrd_size = simple_strtoul(str, &endptr, 16);
181 if (*endptr) {
186 initrd_start = simple_strtoul(tmp, &endptr, 16);
187 if (*endptr) {
/linux-master/tools/power/cpupower/utils/
H A Dcpuidle-set.c32 char *endptr; local
51 strtol(optarg, &endptr, 10);
52 if (*endptr != '\0') {
66 latency = strtoull(optarg, &endptr, 10);
67 if (*endptr != '\0') {
/linux-master/samples/cgroup/
H A Dmemcg_event_listener.c65 char *endptr; local
78 tmp = strtol(&line[len], &endptr, 10);
85 if (endptr == &line[len]) {
90 if (!(*endptr == '\0' || (*endptr == '\n' && *++endptr == '\0'))) {
91 warnx("Further characters after number: %s", endptr);
/linux-master/tools/testing/selftests/timens/
H A Dvfork_exec.c84 char *endptr; local
87 now.tv_sec = strtoul(argv[1], &endptr, 0);
88 if (*endptr != 0)
/linux-master/drivers/mtd/
H A Dmtdsuper.c135 char *endptr; local
137 mtdnr = simple_strtoul(fc->source + 3, &endptr, 0);
138 if (!*endptr) {
/linux-master/tools/bpf/bpftool/
H A Dmap_perf_ring.c147 char *endptr; local
150 ctx.cpu = strtoul(*argv, &endptr, 0);
151 if (*endptr) {
158 char *endptr; local
161 ctx.idx = strtoul(*argv, &endptr, 0);
162 if (*endptr) {
H A Dcommon.c708 char *endptr; local
717 *val = strtoul(**argv, &endptr, 0);
718 if (*endptr) {
806 char *endptr; local
810 id = strtoul(**argv, &endptr, 0);
811 if (*endptr) {
957 char *endptr; local
961 id = strtoul(**argv, &endptr, 0);
962 if (*endptr) {
H A Dprog.c1309 char *endptr; local
1315 test_attr.data_size_out = strtoul(*argv, &endptr, 0);
1316 if (*endptr) {
1337 char *endptr; local
1343 test_attr.ctx_size_out = strtoul(*argv, &endptr, 0);
1344 if (*endptr) {
1351 char *endptr; local
1357 repeat = strtoul(*argv, &endptr, 0);
1358 if (*endptr) {
1575 char *endptr, *nam local
2349 char *endptr; local
[all...]
/linux-master/tools/power/acpi/tools/pfrut/
H A Dpfrut.c100 char *pathname, *endptr; local
128 log_type = strtol(optarg, &endptr, 0);
129 if (*endptr || (log_type != 0 && log_type != 1)) {
137 log_level = strtol(optarg, &endptr, 0);
138 if (*endptr ||
/linux-master/tools/mm/
H A Dpage_owner_sort.c299 char *endptr; local
303 order_val = strtol(order_str, &endptr, 10);
304 if (order_val > 64 || errno != 0 || endptr == order_str || *endptr != '\0') {
317 char *endptr; local
321 pid = strtol(pid_str, &endptr, 10);
322 if (errno != 0 || endptr == pid_str || *endptr != '\0') {
336 char *endptr; local
340 tgid = strtol(tgid_str, &endptr, 1
355 char *endptr; local
606 char *endptr = NULL; local
[all...]
/linux-master/drivers/staging/greybus/Documentation/firmware/
H A Dfirmware.c163 char *endptr; local
175 fw_update_type = strtoul(argv[2], &endptr, 10);
185 fw_timeout = strtoul(argv[4], &endptr, 10);
/linux-master/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c10 char *c, *endptr, *tok, *name; local
20 ops->target.addr = strtoull(c, &endptr, 16);
22 name = strchr(endptr, '<');
/linux-master/tools/testing/vsock/
H A Dutil.c38 char *endptr = NULL; local
42 n = strtoul(str, &endptr, 10);
43 if (errno || *endptr != '\0') {
493 char *endptr = NULL; local
496 test_id = strtoul(test_id_str, &endptr, 10);
497 if (errno || *endptr != '\0') {
H A Dvsock_perf.c58 char *endptr; local
60 unsigned long long ret = strtoull(ptr, &endptr, 0);
62 switch (*endptr) {
81 endptr++;
/linux-master/tools/perf/arch/arm64/util/
H A Darm-spe.c285 char *endptr; local
288 snapshot_size = strtoull(str, &endptr, 0);
289 if (*endptr || snapshot_size > SIZE_MAX)
/linux-master/scripts/dtc/libfdt/
H A Dfdt_overlay.c434 char *sep, *endptr; local
464 poffset = strtoul(sep + 1, &endptr, 10);
465 if ((*endptr != '\0') || (endptr <= (sep + 1)))

Completed in 239 milliseconds

123