Searched defs:endptr (Results 1 - 12 of 12) 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/libcutils/ |
H A D | trace.c | 123 char *endptr; local 128 tags = strtoull(value, &endptr, 0); 129 if (value[0] == '\0' || *endptr != '\0') {
|
/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 137 char *endptr; local 138 int cmdNum = (int)strtol(tmp, &endptr, 0); 139 if (endptr == NULL || *endptr != '\0') {
|
/system/extras/ext4_utils/ |
H A D | ext4_utils.c | 442 char *endptr; local 443 u64 num = strtoull(arg, &endptr, 10); 444 if (*endptr == 'k' || *endptr == 'K') 446 else if (*endptr == 'm' || *endptr == 'M') 448 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 | 360 char *endptr; local 361 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10); 362 if (*endptr != '\0') {
|
H A D | cryptfs.c | 125 char *endptr; local 126 params[i] = strtol(token, &endptr, 10); 132 if ((*token == '\0') || (*endptr != '\0') || params[i] < 0 || params[i] > 255) {
|
/system/core/fastboot/ |
H A D | fastboot.c | 842 char *endptr; local 845 num = strtoull(arg, &endptr, 0); 846 if (endptr == arg) { 850 if (*endptr == 'k' || *endptr == 'K') { 855 endptr++; 856 } else if (*endptr == 'm' || *endptr == 'M') { 861 endptr++; 862 } else if (*endptr 922 char *endptr = NULL; local [all...] |
Completed in 526 milliseconds