/external/clang/include/clang/Basic/ |
OperatorPrecedence.h | 47 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
|
/external/clang/include/clang/Lex/ |
TokenConcatenation.h | 57 char TokenInfo[tok::NUM_TOKENS]; 63 const Token &Tok) const; 68 bool IsIdentifierStringPrefix(const Token &Tok) const;
|
/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...] |
/external/tcpdump/ |
nlpid.c | 29 struct tok nlpid_values[] = {
|
nlpid.h | 17 extern struct tok nlpid_values[];
|
print-llc.c | 47 static struct tok llc_values[] = { 66 static struct tok llc_cmd_values[] = { 78 static const struct tok llc_flag_values[] = { 89 static const struct tok llc_ig_flag_values[] = { 96 static const struct tok llc_supervisory_values[] = { 104 static const struct tok cisco_values[] = { 111 static const struct tok bridged_values[] = { 126 static const struct tok null_values[] = { 132 const struct tok *tok; member in struct:oui_tok 391 const struct tok *tok = null_values; local [all...] |
/external/clang/lib/AST/ |
CommentBriefParser.cpp | 71 while (Tok.isNot(tok::eof)) { 72 if (Tok.is(tok::text)) { 74 FirstParagraphOrBrief += Tok.getText(); 76 ReturnsParagraph += Tok.getText(); 81 if (Tok.is(tok::backslash_command) || Tok.is(tok::at_command)) [all...] |
/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);
|
/external/clang/lib/Rewrite/Frontend/ |
RewriteMacros.cpp | 53 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) 81 if (RawTok.is(tok::raw_identifier)) 85 } while (RawTok.isNot(tok::eof)); 114 while (RawTok.isNot(tok::eof) || PPTok.isNot(tok::eof)) { 127 if (RawTok.is(tok::hash) && RawTok.isAtStartOfLine()) { 130 if (RawTokens[CurRawTok].is(tok::identifier)) { 136 RawTokens[CurRawTok+1].is(tok::identifier) && 147 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) 179 if (RawTok.is(tok::comment)) [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/libvpx/libvpx/vp8/common/ |
treecoder.c | 58 vp8_token tok [ /* n */ ], 81 int L = tok[t].Len; 82 const int enc = tok[t].value; 111 vp8_token tok [ /* n */ ], 123 branch_counts(n, tok, tree, branch_ct, num_events);
|
/frameworks/compile/slang/ |
slang_pragma_recorder.cpp | 32 else if (Token.is(clang::tok::identifier)) 43 if (Token.is(clang::tok::r_paren)) 67 if (NextToken->is(clang::tok::l_paren)) 84 if (!NextToken->is(clang::tok::r_paren)) { 86 if (NextToken->is(clang::tok::r_paren)) {
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
ParseException.java | 131 Token tok = currentToken.next; local 134 if (tok.kind == 0) { 138 retval += add_escapes(tok.image); 139 tok = tok.next;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
ParseException.java | 131 Token tok = currentToken.next; local 134 if (tok.kind == 0) { 138 retval += add_escapes(tok.image); 139 tok = tok.next;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
ParseException.java | 131 Token tok = currentToken.next; local 134 if (tok.kind == 0) { 138 retval += add_escapes(tok.image); 139 tok = tok.next;
|
/external/icu4c/i18n/ |
ucol_bld.cpp | 330 UColToken *tok = lh->first; local 331 uint32_t tokStrength = tok->strength; 382 lh->fStrToken[tokStrength] = tok; 389 while(tok != NULL && tok->strength >= tokStrength) { 391 lh->lStrToken[tokStrength] = tok; 393 tok = tok->next; 404 if(tok != NULL) { 405 tokStrength = tok->strength 743 UColToken *tok = lh->last; local 852 UColToken *tok = lh->first; local [all...] |
/external/clang/unittests/Lex/ |
LexerTest.cpp | 93 Token tok; local 94 PP.Lex(tok); 95 if (tok.is(tok::eof)) 97 toks.push_back(tok); 102 ASSERT_EQ(tok::l_square, toks[0].getKind()); 103 ASSERT_EQ(tok::identifier, toks[1].getKind()); 104 ASSERT_EQ(tok::r_square, toks[2].getKind()); 105 ASSERT_EQ(tok::l_square, toks[3].getKind()); 106 ASSERT_EQ(tok::identifier, toks[4].getKind()) [all...] |
/external/clang/lib/Parse/ |
ParsePragma.cpp | 26 assert(Tok.is(tok::annot_pragma_unused)); 28 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); 33 assert(Tok.is(tok::annot_pragma_vis)); 35 static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); 49 assert(Tok.is(tok::annot_pragma_pack)); 51 static_cast<PragmaPackInfo *>(Tok.getAnnotationValue()); 54 if (Info->Alignment.is(tok::numeric_constant)) [all...] |
/external/clang/lib/Lex/ |
PPDirectives.cpp | 90 /// the tok::eod token is found. 95 assert(Tmp.isNot(tok::eof) && "EOF seen while discarding directive tokens"); 96 } while (Tmp.isNot(tok::eod)); 110 if (MacroNameTok.is(tok::code_completion)) { 118 if (MacroNameTok.is(tok::eod)) { 145 } else if (isDefineUndef && II->getPPKeywordID() == tok::pp_defined) { 160 // token kind to tok::eod. 161 MacroNameTok.setKind(tok::eod); 165 /// \brief Ensure that the next token is a tok::eod token. 181 while (Tmp.is(tok::comment)) // Skip comments in -C mode [all...] |
MacroArgs.cpp | 105 for (; ArgPtr->isNot(tok::eof); ++ArgPtr) 121 if (Result->is(tok::eof)) 135 for (; ArgTok->isNot(tok::eof); ++ArgTok) 174 Token &Tok = Result.back(); 175 PP.Lex(Tok); 176 } while (Result.back().isNot(tok::eof)); 199 Token Tok; 200 Tok.startToken(); 201 Tok.setKind(Charify ? tok::char_constant : tok::string_literal) [all...] |
Pragma.cpp | 79 Token &Tok) { 82 PP.LexUnexpandedToken(Tok); 86 = FindHandler(Tok.getIdentifierInfo() ? Tok.getIdentifierInfo()->getName() 90 PP.Diag(Tok, diag::warn_pragma_ignored); 95 Handler->HandlePragma(PP, Introducer, Tok); 111 Token Tok; 112 PragmaHandlers->HandlePragma(*this, PragmaIntroducerKind(Introducer), Tok); 131 Token &Tok) 133 Failed(false), OutTok(Tok) { [all...] |
/external/v8/src/ |
token.h | 196 static const char* Name(Value tok) { 197 ASSERT(tok < NUM_TOKENS); // tok is unsigned 198 return name_[tok]; 202 static bool IsKeyword(Value tok) { 203 return token_type[tok] == 'K'; 206 static bool IsAssignmentOp(Value tok) { 207 return INIT_VAR <= tok && tok <= ASSIGN_MOD; 275 static const char* String(Value tok) { [all...] |
/bionic/libc/kernel/tools/ |
cpp.py | 173 tok = self.peekId() 174 if tok != tokSPACE and tok != tokLN: 186 tok = self.peek() 187 if tok.id != id: 188 raise BadExpectedToken, "%d:%d: '%s' expected, received '%s'" % (tok.lineno, tok.colno, id, tok.id) 234 def markPos(self,tok): 237 tok.lineno = self.line + [all...] |
/external/chromium/net/http/ |
http_auth_handler_ntlm.cc | 23 bool HttpAuthHandlerNTLM::Init(HttpAuth::ChallengeTokenizer* tok) { 28 return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT; 111 HttpAuth::ChallengeTokenizer* tok, bool initial_challenge) { 114 return auth_sspi_.ParseChallenge(tok); 124 if (!LowerCaseEqualsASCII(tok->scheme(), "ntlm")) 127 std::string base64_param = tok->base64_param();
|
/external/clang/lib/Format/ |
Format.cpp | 83 static bool isTrailingComment(const AnnotatedToken &Tok) { 84 return Tok.is(tok::comment) && 85 (Tok.Children.empty() || Tok.Children[0].MustBreakBefore); 89 // the ), ], } or > matching \c Tok. 90 static unsigned getLengthToMatchingParen(const AnnotatedToken &Tok) { 91 if (Tok.MatchingParen == NULL) 93 AnnotatedToken *End = Tok.MatchingParen; 97 return End->TotalLength - Tok.TotalLength + 1 [all...] |