Searched defs:tok (Results 51 - 75 of 147) sorted by relevance

123456

/external/chromium_org/v8/src/
H A Dpreparser.cc544 Token::Value tok = peek(); local
546 tok != Token::SEMICOLON &&
547 tok != Token::RBRACE &&
548 tok != Token::EOS) {
562 Token::Value tok = peek(); local
564 tok != Token::SEMICOLON &&
565 tok != Token::RBRACE &&
566 tok != Token::EOS) {
589 Token::Value tok = peek(); local
591 tok !
776 Token::Value tok = peek(); local
[all...]
H A Dscanner.h527 inline Token::Value Select(Token::Value tok) { argument
529 return tok;
/external/clang/lib/ARCMigrate/
H A DTransforms.cpp161 Token tok; local
162 lexer.LexFromRawLexer(tok);
163 if (tok.isNot(tok::semi)) {
168 return findSemiAfterLocation(tok.getLocation(), Ctx, /*IsDecl*/true);
171 return tok.getLocation();
411 Token tok; local
412 lexer.LexFromRawLexer(tok);
413 if (tok.isNot(tok
492 Token tok; local
[all...]
/external/clang/lib/Parse/
H A DRAIIObjectsForParser.h361 tok::TokenKind Kind, Close, FinalToken;
367 case tok::l_brace: return P.BraceCount;
368 case tok::l_square: return P.BracketCount;
369 case tok::l_paren: return P.ParenCount;
380 BalancedDelimiterTracker(Parser& p, tok::TokenKind k, argument
381 tok::TokenKind FinalToken = tok::semi)
387 case tok::l_brace:
388 Close = tok::r_brace;
391 case tok
[all...]
H A DParser.cpp58 Tok.setKind(tok::eof);
103 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) {
105 case tok::semi:
106 return Tok.is(tok::colon) || Tok.is(tok::comma); // : or , for ;
111 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
113 if (Tok.is(ExpectedTok) || Tok.is(tok::code_completion)) {
124 SourceRange(Loc), tok::getPunctuatorSpelling(ExpectedTok));
141 Spelling = tok::getPunctuatorSpelling(ExpectedTok);
158 if (TryConsumeToken(tok
1288 takeTemplateIdAnnotation(const Token &tok) argument
[all...]
/external/expat/lib/
H A Dxmlrole.c102 int tok,
125 static int FASTCALL common(PROLOG_STATE *state, int tok);
129 int tok,
134 switch (tok) {
161 return common(state, tok);
166 int tok,
171 switch (tok) {
192 return common(state, tok);
197 int tok,
202 switch (tok) {
128 prolog0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
165 prolog1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
196 prolog2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
217 doctype0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
235 doctype1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
265 doctype2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
282 doctype3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
299 doctype4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
319 doctype5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
336 internalSubset(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
393 externalSubset0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
406 externalSubset1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
438 entity0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
458 entity1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
475 entity2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
503 entity3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
520 entity4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
537 entity5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
560 entity6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
578 entity7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
606 entity8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
623 entity9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
640 entity10(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
657 notation0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
674 notation1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
698 notation2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
715 notation3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
733 notation4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
754 attlist0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
772 attlist1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
793 attlist2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
834 attlist3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
853 attlist4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
873 attlist5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
890 attlist6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
907 attlist7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
928 attlist8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
968 attlist9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
985 element0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1003 element1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1033 element2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1073 element3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1098 element4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1116 element5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1137 element6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1167 element7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1217 condSect0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1241 condSect1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1259 condSect2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1278 declClose(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1295 error(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument
1305 common(PROLOG_STATE *state, int tok) argument
[all...]
/external/iptables/extensions/
H A Dlibxt_hashlimit.c300 char *tok; local
306 for (tok = strtok(arg, ",|");
307 tok;
308 tok = strtok(NULL, ",|")) {
309 if (!strcmp(tok, "dstip"))
311 else if (!strcmp(tok, "srcip"))
313 else if (!strcmp(tok, "srcport"))
315 else if (!strcmp(tok, "dstport"))
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-record.c721 char *tok, *name, *saveptr = NULL; local
732 tok = strtok_r((char *)buf, ",", &saveptr);
733 name = tok ? : (char *)buf;
755 tok = strtok_r(NULL, ",", &saveptr);
756 if (tok) {
759 ret = get_stack_size(tok, &size);
H A Dbuiltin-report.c607 char *tok, *tok2; local
623 tok = strtok((char *)arg, ",");
624 if (!tok)
628 if (!strncmp(tok, "graph", strlen(arg)))
631 else if (!strncmp(tok, "flat", strlen(arg)))
634 else if (!strncmp(tok, "fractal", strlen(arg)))
637 else if (!strncmp(tok, "none", strlen(arg))) {
648 tok = strtok(NULL, ",");
649 if (!tok)
652 callchain_param.min_percent = strtod(tok,
[all...]
H A Dbuiltin-kmem.c616 static int sort_dimension__add(const char *tok, struct list_head *list) argument
622 if (!strcmp(avail_sorts[i]->name, tok)) {
638 char *tok; local
647 tok = strsep(&str, ",");
648 if (!tok)
650 if (sort_dimension__add(tok, sort_list) < 0) {
651 error("Unknown --sort key: '%s'", tok);
/external/ltrace/
H A Doptions.c460 char *tok = clone - 1; local
462 while (tok < end) {
463 ++tok;
464 size_t len = strcspn(tok, ":");
465 tok[len] = 0;
468 .pathname = tok,
469 .own_pathname = tok == clone,
476 tok += len;
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnvfx_fragprog.c1027 const union tgsi_full_token *tok = &p.FullToken; local
1030 switch(tok->Token.Type) {
/external/nist-sip/java/gov/nist/core/
H A DLexerCore.java174 Token tok = new Token();
177 tok.tokenValue = id;
181 tok.tokenType = type.intValue();
183 tok.tokenType = ID;
186 tok.tokenValue = String.valueOf(nextChar);
188 tok.tokenType = ALPHA;
190 tok.tokenType = DIGIT;
192 tok.tokenType = (int) nextChar;
194 retval[i] = tok;
204 public Token match(int tok) throw argument
[all...]
/external/tcpdump/
H A Dnetdissect.h74 struct tok { struct
80 extern const char *tok2strbuf(const struct tok *, const char *, int,
84 extern const char *tok2str(const struct tok *, const char *, int);
85 extern char *bittok2str(const struct tok *, const char *, int);
86 extern char *bittok2str_nosep(const struct tok *, const char *, int);
263 extern const char *tok2str(const struct tok *, const char *, int);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/34/1/.cp/ant_tasks/
H A Dpde-ant.jar ... lang.String) String features java.util.StringTokenizer tok org.eclipse.pde.internal.core. ...
/external/chromium_org/net/http/
H A Dhttp_auth_gssapi_posix.cc688 HttpAuthChallengeTokenizer* tok) {
690 if (!LowerCaseEqualsASCII(tok->scheme(),
694 std::string encoded_auth_token = tok->base64_param();
687 ParseChallenge( HttpAuthChallengeTokenizer* tok) argument
/external/chromium_org/third_party/icu/source/i18n/
H A Dplurrule.cpp830 static UnicodeString tokenString(tokenType tok) { argument
832 switch (tok) {
H A Ducol_bld.cpp328 UColToken *tok = lh->first; local
329 uint32_t tokStrength = tok->strength;
380 lh->fStrToken[tokStrength] = tok;
387 while(tok != NULL && tok->strength >= tokStrength) {
389 lh->lStrToken[tokStrength] = tok;
391 tok = tok->next;
402 if(tok != NULL) {
403 tokStrength = tok
449 ucol_getSimpleCEGenerator(ucolCEGenerator *g, UColToken *tok, uint32_t strength, UErrorCode *status) argument
477 ucol_getCEGenerator(ucolCEGenerator *g, uint32_t* lows, uint32_t* highs, UColToken *tok, uint32_t fStrength, UErrorCode *status) argument
670 ucol_doCE(UColTokenParser *src, uint32_t *CEparts, UColToken *tok, UErrorCode *status) argument
741 UColToken *tok = lh->last; local
850 UColToken *tok = lh->first; local
[all...]
/external/clang/lib/Format/
H A DFormatToken.h269 bool is(tok::TokenKind Kind) const { return Tok.is(Kind); }
271 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const {
275 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, tok::TokenKind K3) const {
279 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, tok::TokenKind K3, argument
280 tok
[all...]
/external/icu/icu4c/source/i18n/
H A Dplurrule.cpp933 static UnicodeString tokenString(tokenType tok) { argument
935 switch (tok) {
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
H A Dparse-filter.c83 static enum event_type read_token(char **tok) argument
98 *tok = malloc_or_die(3);
99 sprintf(*tok, "%c%c", *token, '~');
105 *tok = token;
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dannotate.c52 char *endptr, *tok, *name; local
62 tok = strchr(name, '>');
63 if (tok == NULL)
66 *tok = '\0';
68 *tok = '>';
73 tok = strchr(endptr, '(');
74 if (tok != NULL) {
79 tok = strchr(endptr, '*');
80 if (tok == NULL)
83 ops->target.addr = strtoull(tok
[all...]
/external/mksh/src/
H A Dexpr.c156 enum token tok; member in struct:expr_state
209 curstate.tok = BAD;
228 if (es->tok == END) {
229 es->tok = LIT;
234 if (es->tok != END)
259 switch (es->tok) {
275 s = opinfo[(int)es->tok].name;
345 switch ((int)(op = es->tok)) {
371 if (es->tok != CLOSE_PAREN)
394 if (es->tok
[all...]
H A Dsyn.c876 nesting_push(struct nesting_state *save, int tok) argument
879 nesting.start_token = tok;
/external/srec/seti/sltsEngine/src/
H A Drun_seq_lts.c658 char * tok; local
676 tok = safe_strtok(line, seps, &toklen);
680 while(tok && toklen > 0){
682 strncat(tempstr, tok, toklen);
687 tok = safe_strtok(tok+toklen, seps, &toklen);
1346 char *tok; local
1352 tok = safe_strtok(output, seps, &toklen);
1353 while (tok && toklen) {
1354 if ((toklen > 0) && (strncmp(tok, "nul
[all...]

Completed in 786 milliseconds

123456