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

/system/core/toolbox/
H A Dsleep.c46 char *endptr; local
52 seconds = strtoul(argv[1], &endptr, 10);
54 if (endptr == argv[1]) {
H A Dchown.c43 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 Dkill.c109 char *endptr; local
122 sig = strtol(arg, &endptr, 10);
123 if (*endptr != '\0') {
H A Dlsof.c223 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 Dueventd.c119 char *endptr; local
157 perm = strtol(args[1], &endptr, 8);
158 if (!endptr || *endptr != '\0') {
/system/core/libcutils/
H A Dtrace.c123 char *endptr; local
128 tags = strtoull(value, &endptr, 0);
129 if (value[0] == '\0' || *endptr != '\0') {
/system/core/libsysutils/src/
H A DFrameworkListener.cpp137 char *endptr; local
138 int cmdNum = (int)strtol(tmp, &endptr, 0);
139 if (endptr == NULL || *endptr != '\0') {
/system/extras/ext4_utils/
H A Dext4_utils.c442 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 Dprocmem.c74 char *endptr; local
96 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10);
97 if (*endptr != '\0') {
/system/vold/
H A DCommandListener.cpp360 char *endptr; local
361 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10);
362 if (*endptr != '\0') {
H A Dcryptfs.c125 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 Dfastboot.c842 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