Searched refs:tok (Results 1 – 4 of 4) sorted by relevance
/system/extras/su/ |
D | su.c | 35 void pwtoid(const char *tok, uid_t *uid, gid_t *gid) in pwtoid() argument 38 pw = getpwnam(tok); in pwtoid() 43 uid_t tmpid = atoi(tok); in pwtoid() 54 char *tok; in extract_uidgids() local 65 tok = strsep(&nexttok, ","); in extract_uidgids() 66 pwtoid(tok, uid, gid); in extract_uidgids() 67 tok = strsep(&nexttok, ","); in extract_uidgids() 68 if (!tok) { in extract_uidgids() 74 pwtoid(tok, NULL, gid); in extract_uidgids() 76 while ((gids_found < *gids_count) && (tok = strsep(&nexttok, ","))) { in extract_uidgids() [all …]
|
/system/core/libcutils/ |
D | config_utils.c | 234 int tok = _lex(cs, value); 235 printf("TOKEN(%d) %s %s\n", value, TOKENNAMES[tok], 236 tok == T_TEXT ? cs->text : ""); 237 return tok;
|
/system/core/sh/ |
D | parser.c | 153 int tok; in list() local 161 tok = readtoken(); in list() 162 if (tok == TBACKGND) { in list() 185 switch (tok) { in list() 188 tok = readtoken(); in list() 191 if (tok == TNL) { in list()
|
/system/core/adb/ |
D | sysdeps_win32.c | 2179 char *tok; in adb_strtok_r() local 2199 tok = s - 1; in adb_strtok_r() 2215 return (tok); in adb_strtok_r()
|