/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcstok.c | 45 wchar_t *tok; local 65 tok = s - 1; 81 return (tok);
|
/bionic/libc/string/ |
strsep.c | 52 char *tok; local 56 for (tok = s;;) { 66 return (tok);
|
strtok.c | 45 char *tok; local 65 tok = s - 1; 81 return (tok);
|
/external/openssh/openbsd-compat/ |
strsep.c | 58 char *tok; local 62 for (tok = s;;) { 72 return (tok);
|
/external/tcpdump/missing/ |
strsep.c | 64 char *tok; local 68 for (tok = s;;) { 78 return (tok);
|
/external/iproute2/tc/ |
q_mqprio.c | 62 char *tmp, *tok; local 71 tok = strtok(tmp, "@"); 72 if (get_u16(&opt.count[idx], tok, 10)) { 77 tok = strtok(NULL, "@"); 78 if (get_u16(&opt.offset[idx], tok, 10)) {
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
WarningParser.java | 130 Token tok = lexer.getNextToken(); local 132 int code = Integer.parseInt(tok.getTokenValue()); 143 tok = lexer.getNextToken(); 151 warning.setAgent(tok.getTokenValue() + ":" 154 warning.setAgent(tok.getTokenValue());
|
Parser.java | 58 Token tok = lexer.match(SIP); local 59 if (!tok.getTokenValue().equalsIgnoreCase("SIP")) 62 tok = lexer.match(ID); 63 if (!tok.getTokenValue().equals("2.0"))
|
ServerParser.java | 81 String tok; local 85 tok = this.lexer.getString('/'); 87 if (tok.charAt(tok.length() - 1) == '\n') 88 tok = tok.trim(); 89 server.addProductToken(tok); 92 tok = this.lexer.getRest().trim(); 93 server.addProductToken(tok);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/tgsi/ |
compiler.cpp | 41 std::string name, tok; local 51 while (ts >> tok) { 52 if (tok == "scalar") 54 else if (tok == "global") 56 else if (tok == "local") 58 else if (tok == "constant") 60 else if (tok == "image2d_rd") 62 else if (tok == "image2d_wr") 64 else if (tok == "image3d_rd") 66 else if (tok == "image3d_wr" [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/ |
compiler.cpp | 41 std::string name, tok; local 51 while (ts >> tok) { 52 if (tok == "scalar") 54 else if (tok == "global") 56 else if (tok == "local") 58 else if (tok == "constant") 60 else if (tok == "image2d_rd") 62 else if (tok == "image2d_wr") 64 else if (tok == "image3d_rd") 66 else if (tok == "image3d_wr" [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
scanner.h | 9 unsigned char *bot, *tok, *ptr, *cur, *pos, *lim, *top, *eof; member in struct:Scanner 26 SubStr_init_u(&r, s->tok, s->cur - s->tok);
|
/external/clang/unittests/Lex/ |
PPConditionalDirectiveRecordTest.cpp | 107 Token tok; local 108 PP.Lex(tok); 109 if (tok.is(tok::eof)) 111 toks.push_back(tok);
|
/external/dropbear/ |
cli-auth.c | 139 unsigned char * tok = NULL; local 195 tok = methods; /* tok stores the next method we'll compare */ 198 TRACE(("auth method '%s'", tok)) 200 if (strncmp(AUTH_METHOD_PUBKEY, tok, 206 if (strncmp(AUTH_METHOD_INTERACT, tok, 212 if (strncmp(AUTH_METHOD_PASSWORD, tok, 217 tok = &methods[i+1]; /* Must make sure we don't use it after the
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PVisitedNetworkID.java | 74 public PVisitedNetworkID(Token tok) { 77 setVisitedNetworkID(tok.getTokenValue());
|
/ndk/sources/host-tools/nawk-20071023/ |
maketab.c | 116 int i, n, tok; local 145 n = sscanf(buf, "%1c %s %s %d", &c, def, name, &tok); 148 if (tok < FIRSTTOKEN || tok > LASTTOKEN) { 149 /* fprintf(stderr, "maketab funny token %d %s ignored\n", tok, buf); */ 152 names[tok-FIRSTTOKEN] = (char *) malloc(strlen(name)+1); 153 strcpy(names[tok-FIRSTTOKEN], name); 154 printf("\t(char *) \"%s\",\t/* %d */\n", name, tok);
|
/system/extras/su/ |
su.c | 35 void pwtoid(const char *tok, uid_t *uid, gid_t *gid) 38 pw = getpwnam(tok); 43 uid_t tmpid = atoi(tok); 54 char *tok; local 65 tok = strsep(&nexttok, ","); 66 pwtoid(tok, uid, gid); 67 tok = strsep(&nexttok, ","); 68 if (!tok) { 74 pwtoid(tok, NULL, gid); 76 while ((gids_found < *gids_count) && (tok = strsep(&nexttok, ","))) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/config/ |
ProviderConfigurationPermission.java | 64 StringTokenizer tok = new StringTokenizer(Strings.toLowerCase(actions), " ,"); local 67 while (tok.hasMoreTokens()) 69 String s = tok.nextToken();
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-buffer-deserialize-json.hh | 460 const char *tok = NULL; local 515 tok = p; 522 tok, p - tok, 529 { if (!parse_uint (tok, p, &info.codepoint)) return false; } 533 { if (!parse_uint (tok, p, &info.cluster )) return false; } 537 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 541 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 549 { if (!parse_int (tok, p, &pos.y_advance)) return false; [all...] |
hb-buffer-deserialize-text.hh | 337 const char *eof = pe, *tok = NULL; local 375 tok = p; 382 tok, p - tok, 389 { if (!parse_uint (tok, p, &info.cluster )) return false; } 393 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 397 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 401 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 411 tok = p; 418 tok, p - tok [all...] |
/external/clang/include/clang/Basic/ |
TokenKinds.h | 20 namespace tok { namespace in namespace:clang 24 #define TOK(X) X, 68 return (K == tok::identifier) || (K == tok::raw_identifier); 74 return K == tok::string_literal || K == tok::wide_string_literal || 75 K == tok::utf8_string_literal || K == tok::utf16_string_literal || 76 K == tok::utf32_string_literal; 82 return K == tok::numeric_constant || K == tok::char_constant | [all...] |
/external/harfbuzz_ng/src/ |
hb-buffer-deserialize-json.hh | 460 const char *tok = NULL; local 515 tok = p; 522 tok, p - tok, 529 { if (!parse_uint (tok, p, &info.codepoint)) return false; } 533 { if (!parse_uint (tok, p, &info.cluster )) return false; } 537 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 541 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 549 { if (!parse_int (tok, p, &pos.y_advance)) return false; [all...] |
hb-buffer-deserialize-text.hh | 337 const char *eof = pe, *tok = NULL; local 375 tok = p; 382 tok, p - tok, 389 { if (!parse_uint (tok, p, &info.cluster )) return false; } 393 { if (!parse_int (tok, p, &pos.x_offset )) return false; } 397 { if (!parse_int (tok, p, &pos.y_offset )) return false; } 401 { if (!parse_int (tok, p, &pos.x_advance)) return false; } 411 tok = p; 418 tok, p - tok [all...] |
/external/libselinux/src/ |
context.c | 29 const char *p, *tok; local 63 for (i = 0, tok = str; *tok; i++) { 65 for (p = tok; *p && *p != ':'; p++) { /* empty */ 68 for (p = tok; *p; p++) { /* empty */ 71 n->component[i] = (char *)malloc(p - tok + 1); 74 strncpy(n->component[i], tok, p - tok); 75 n->component[i][p - tok] = '\0'; 76 tok = *p ? p + 1 : p [all...] |
/external/libsepol/src/ |
genbools.c | 37 char *tok = strtok_r(buffer, "=", &ptr); local 38 if (tok) { 39 strncpy(name1, tok, BUFSIZ - 1); 43 tok = strtok_r(NULL, "\0", &ptr); 44 if (tok) { 45 while (isspace(*tok)) 46 tok++; 48 if (isdigit(tok[0])) 49 *val = atoi(tok); 50 else if (!strncasecmp(tok, "true", sizeof("true") - 1) [all...] |