Searched defs:endptr (Results 1 - 11 of 11) sorted by relevance

/system/core/libcutils/
H A Dtrace.c122 char *endptr; local
127 tags = strtoull(value, &endptr, 0);
128 if (value[0] == '\0' || *endptr != '\0') {
/system/core/init/
H A Dueventd.c131 char *endptr; local
173 perm = strtol(args[1], &endptr, 8);
174 if (!endptr || *endptr != '\0') {
/system/core/libsysutils/src/
H A DFrameworkListener.cpp143 char *endptr; local
144 int cmdNum = (int)strtol(tmp, &endptr, 0);
145 if (endptr == NULL || *endptr != '\0') {
/system/core/toolbox/
H A Dlsof.c220 char* endptr; local
222 pid = strtol(argv[1], &endptr, 10);
242 pid = strtol(de->d_name, &endptr, 10);
243 if (*endptr != '\0')
/system/extras/ext4_utils/
H A Dext4_utils.c489 char *endptr; local
490 u64 num = strtoull(arg, &endptr, 10);
491 if (*endptr == 'k' || *endptr == 'K')
493 else if (*endptr == 'm' || *endptr == 'M')
495 else if (*endptr == 'g' || *endptr == 'G')
/system/extras/procmem/
H A Dprocmem.c74 char *endptr; local
96 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10);
97 if (*endptr != '\0') {
/system/netd/server/
H A DNetdConstants.cpp189 char *endptr; local
191 templen = strtoul(prefixlenString, &endptr, 10);
192 if (*endptr || templen > 255) {
/system/vold/
H A DCommandListener.cpp385 char *endptr; local
386 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10);
387 if (*endptr != '\0') {
H A Dcryptfs.c361 char *endptr; local
362 params[i] = strtol(token, &endptr, 10);
368 if ((*token == '\0') || (*endptr != '\0') || params[i] < 0 || params[i] > 255) {
/system/core/fastbootd/commands/
H A Dpartitions.c512 char *endptr; local
522 entry->first_lba = strtoul(value, &endptr, 10);
523 if (*endptr != '\0') goto error;
526 entry->last_lba = strtoul(value, &endptr, 10);
527 if (*endptr != '\0') goto error;
530 entry->flags = strtoul(value, &endptr, 16);
531 if (*endptr != '\0') goto error;
603 char *endptr; local
605 val = strtoull(tmp, &endptr, 10);
606 if (*endptr !
[all...]
/system/core/fastboot/
H A Dfastboot.c856 char *endptr; local
859 num = strtoull(arg, &endptr, 0);
860 if (endptr == arg) {
864 if (*endptr == 'k' || *endptr == 'K') {
869 endptr++;
870 } else if (*endptr == 'm' || *endptr == 'M') {
875 endptr++;
876 } else if (*endptr
1021 char *endptr = NULL; local
[all...]

Completed in 1150 milliseconds