Searched refs:endptr (Results 1 - 11 of 11) sorted by relevance
/system/core/toolbox/ |
H A D | sleep.c | 46 char *endptr; local 52 seconds = strtoul(argv[1], &endptr, 10); 54 if (endptr == argv[1]) {
|
H A D | chown.c | 43 char* endptr; local 44 uid = (int) strtoul(user, &endptr, 0); 45 if (endptr == user) { // no conversion 56 char* endptr; local 57 gid = (int) strtoul(group, &endptr, 0); 58 if (endptr == group) { // no conversion
|
H A D | kill.c | 109 char *endptr; local 122 sig = strtol(arg, &endptr, 10); 123 if (*endptr != '\0') {
|
H A D | lsof.c | 223 char* endptr; local 225 pid = strtol(argv[1], &endptr, 10); 245 pid = strtol(de->d_name, &endptr, 10); 246 if (*endptr != '\0')
|
/system/core/init/ |
H A D | ueventd.c | 119 char *endptr; local 157 perm = strtol(args[1], &endptr, 8); 158 if (!endptr || *endptr != '\0') {
|
/system/core/fastboot/ |
H A D | fastboot.c | 762 char *endptr; local 765 num = strtoull(arg, &endptr, 0); 766 if (endptr == arg) { 770 if (*endptr == 'k' || *endptr == 'K') { 775 endptr++; 776 } else if (*endptr == 'm' || *endptr == 'M') { 781 endptr++; 782 } else if (*endptr 857 char *endptr = NULL; local [all...] |
/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 132 char *endptr; local 133 int cmdNum = (int)strtol(tmp, &endptr, 0); 134 if (endptr == NULL || *endptr != '\0') {
|
/system/extras/ext4_utils/ |
H A D | ext4_utils.c | 432 char *endptr; local 433 u64 num = strtoull(arg, &endptr, 10); 434 if (*endptr == 'k' || *endptr == 'K') 436 else if (*endptr == 'm' || *endptr == 'M') 438 else if (*endptr == 'g' || *endptr == 'G')
|
/system/extras/procmem/ |
H A D | procmem.c | 74 char *endptr; local 96 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10); 97 if (*endptr != '\0') {
|
/system/vold/ |
H A D | CommandListener.cpp | 343 char *endptr; local 344 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10); 345 if (*endptr != '\0') {
|
/system/core/sdcard/ |
H A D | sdcard.c | 1318 char* endptr = NULL; local 1320 uid = strtoul(arg, &endptr, 10); 1321 if (*endptr != '\0' || errno != 0) { 1326 char* endptr = NULL; local 1328 gid = strtoul(arg, &endptr, 10); 1329 if (*endptr != '\0' || errno != 0) {
|
Completed in 1951 milliseconds