Home
last modified time | relevance | path

Searched refs:nexttok (Results 1 – 2 of 2) sorted by relevance

/system/core/toolbox/
Dps.c20 static char *nexttok(char **strp) in nexttok() function
90 nexttok(&ptr); // skip pid in ps_line()
98 state = nexttok(&ptr); in ps_line()
99 ppid = atoi(nexttok(&ptr)); in ps_line()
100 nexttok(&ptr); // pgrp in ps_line()
101 nexttok(&ptr); // sid in ps_line()
102 nexttok(&ptr); // tty in ps_line()
103 nexttok(&ptr); // tpgid in ps_line()
104 nexttok(&ptr); // flags in ps_line()
105 nexttok(&ptr); // minflt in ps_line()
[all …]
/system/extras/su/
Dsu.c47 char *nexttok; in extract_uidgids() local
59 nexttok = clobberablegids; in extract_uidgids()
60 tok = strsep(&nexttok, ","); in extract_uidgids()
62 tok = strsep(&nexttok, ","); in extract_uidgids()
71 while ((gids_found < *gids_count) && (tok = strsep(&nexttok, ","))) { in extract_uidgids()
76 if (nexttok && gids_found == *gids_count) { in extract_uidgids()