Searched refs:endptr (Results 1 - 11 of 11) 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/fastboot/
H A Dfastboot.c762 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 DFrameworkListener.cpp132 char *endptr; local
133 int cmdNum = (int)strtol(tmp, &endptr, 0);
134 if (endptr == NULL || *endptr != '\0') {
/system/extras/ext4_utils/
H A Dext4_utils.c432 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 Dprocmem.c74 char *endptr; local
96 pid = (pid_t)strtol(argv[argc - 1], &endptr, 10);
97 if (*endptr != '\0') {
/system/vold/
H A DCommandListener.cpp343 char *endptr; local
344 gid_t gid = (gid_t) strtoul(argv[3], &endptr, 10);
345 if (*endptr != '\0') {
/system/core/sdcard/
H A Dsdcard.c1318 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