/external/clang/lib/Frontend/Rewrite/ |
H A D | InclusionRewriter.cpp | 303 } while (!DirectiveToken.is(tok::eod) && DirectiveToken.isNot(tok::eof)); 320 if (RawToken.is(tok::raw_identifier)) 322 if (RawToken.is(tok::identifier)) 334 if (Tok.isNot(tok::l_paren)) 344 if (Tok.is(tok::less)) { 349 if (Tok.is(tok::eod)) // Sanity check. 352 if (Tok.is(tok::raw_identifier)) 365 } while (Tok.isNot(tok::greater)); 370 if (Tok.isNot(tok [all...] |
/external/clang/lib/Lex/ |
H A D | PPDirectives.cpp | 87 /// the tok::eod token is found. 92 assert(Tmp.isNot(tok::eof) && "EOF seen while discarding directive tokens"); 93 } while (Tmp.isNot(tok::eod)); 225 if (MacroNameTok.is(tok::eod)) 251 if ((isDefineUndef != MU_Other) && II->getPPKeywordID() == tok::pp_defined) { 307 if (MacroNameTok.is(tok::code_completion)) { 318 // token kind to tok::eod if necessary. 319 if (MacroNameTok.isNot(tok::eod)) { 320 MacroNameTok.setKind(tok::eod); 325 /// \brief Ensure that the next token is a tok [all...] |
H A D | PPMacroExpansion.cpp | 586 if (I->is(tok::l_paren)) { 588 } else if (I->is(tok::r_paren)) { 592 } else if (I->is(tok::l_brace)) { 594 } else if (I->is(tok::r_brace)) { 638 if (I->is(tok::l_brace)) { 640 } else if (I->is(tok::r_brace)) { 644 } else if (I->is(tok::eof)) { 650 I->setKind(tok::comma); 658 if (FoundSeparatorToken && ArgStartIterator->is(tok::l_brace)) { 668 TempToken.setKind(tok [all...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/ |
H A D | NSEC3PARAM.py | 50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 51 algorithm = tok.get_uint8() 52 flags = tok.get_uint8() 53 iterations = tok.get_uint16() 54 salt = tok.get_string()
|
H A D | HINFO.py | 40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 41 cpu = tok.get_string() 42 os = tok.get_string() 43 tok.get_eol()
|
H A D | LOC.py | 152 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 159 latitude[0] = tok.get_int() 160 t = tok.get_string() 163 t = tok.get_string() 181 t = tok.get_string() 184 t = tok.get_string() 190 longitude[0] = tok.get_int() 191 t = tok.get_string() 194 t = tok.get_string() 212 t = tok [all...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ |
H A D | dsbase.py | 50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 51 key_tag = tok.get_uint16() 52 algorithm = tok.get_uint8() 53 digest_type = tok.get_uint8() 56 t = tok.get().unescape()
|
H A D | sigbase.py | 100 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 101 type_covered = dns.rdatatype.from_text(tok.get_string()) 102 algorithm = dns.dnssec.algorithm_from_text(tok.get_string()) 103 labels = tok.get_int() 104 original_ttl = tok.get_ttl() 105 expiration = sigtime_to_posixtime(tok.get_string()) 106 inception = sigtime_to_posixtime(tok.get_string()) 107 key_tag = tok.get_int() 108 signer = tok.get_name() 112 t = tok [all...] |
H A D | nsbase.py | 40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 41 target = tok.get_name() 43 tok.get_eol()
|
/external/iproute2/tc/ |
H A D | 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/ |
H A D | WarningParser.java | 130 Token tok = lexer.getNextToken(); 132 int code = Integer.parseInt(tok.getTokenValue()); 143 tok = lexer.getNextToken(); 151 warning.setAgent(tok.getTokenValue() + ":" 154 warning.setAgent(tok.getTokenValue());
|
/external/libedit/src/ |
H A D | parse.c | 83 TYPE(Tokenizer) *tok; 85 tok = FUN(tok,init)(NULL); 86 FUN(tok,str)(tok, line, &argc, &argv); 88 FUN(tok,end)(tok);
|
/external/llvm/utils/lit/lit/ |
H A D | ShUtil.py | 65 tok = self.lex_one_token() 66 assert isinstance(tok, tuple) and len(tok) == 1 67 return (tok[0], num) 189 tok = self.lex() 190 if not tok: 192 if isinstance(tok, tuple): 193 raise ValueError("syntax error near unexpected token %r" % tok[0]) 195 args = [tok] 198 tok [all...] |
/external/swiftshader/third_party/LLVM/utils/lit/lit/ |
H A D | ShUtil.py | 64 tok = self.lex_one_token() 65 assert isinstance(tok, tuple) and len(tok) == 1 66 return (tok[0], num) 186 tok = self.lex() 187 if not tok: 189 if isinstance(tok, tuple): 190 raise ValueError,"syntax error near unexpected token %r" % tok[0] 192 args = [tok] 195 tok [all...] |
/external/clang/lib/Rewrite/ |
H A D | HTMLRewrite.cpp | 374 while (Tok.isNot(tok::eof)) { 381 case tok::identifier: 382 llvm_unreachable("tok::identifier in raw lexing mode!"); 383 case tok::raw_identifier: { 389 if (Tok.isNot(tok::identifier)) 394 case tok::comment: 398 case tok::utf8_string_literal: 403 case tok::wide_string_literal: 404 case tok::utf16_string_literal: 405 case tok [all...] |
H A D | TokenRewriter.cpp | 35 while (RawTok.isNot(tok::eof)) { 37 if (Tok.is(tok::raw_identifier)) { 94 // set kind to tok::unknown. 95 Tok.setKind(tok::unknown);
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
H A D | zone.py | 526 @ivar tok: The tokenizer 527 @type tok: dns.tokenizer.Tokenizer object 550 def __init__(self, tok, origin, rdclass, relativize, zone_factory=Zone, 554 self.tok = tok 567 token = self.tok.get() 576 token = self.tok.get(want_leading = True) 580 token = self.tok.get() 584 self.tok.unget(token) 591 token = self.tok [all...] |
H A D | rdata.py | 255 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 262 @param tok: The tokenizer 263 @type tok: dns.tokenizer.Tokenizer 321 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): 322 token = tok.get() 325 length = tok.get_int() 328 token = tok.get() 387 def from_text(rdclass, rdtype, tok, origin = None, relativize = True): 402 @param tok: The tokenizer 403 @type tok [all...] |
/external/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 46 /// set, and all tok::identifier tokens have a pointer to one of these. 48 unsigned TokenID : 9; // Front-end token ID or tok::identifier. 156 tok::TokenKind getTokenID() const { return (tok::TokenKind)TokenID; } 161 /// \brief Revert TokenID to tok::identifier; used for GNU libstdc++ 4.2 165 /// to tok::identifier for libstdc++ 4.2. Keep track of when this happens 168 assert(TokenID != tok::identifier && "Already at tok::identifier"); 169 TokenID = tok::identifier; 172 void revertIdentifierToTokenID(tok [all...] |
/external/selinux/libsemanage/tests/ |
H A D | test_utilities.c | 296 char *tok; local 300 tok = semanage_findval(fname, "one", NULL); 301 CU_ASSERT_STRING_EQUAL(tok, ""); 302 free(tok); 304 tok = semanage_findval(fname, "one", ""); 305 CU_ASSERT_STRING_EQUAL(tok, ""); 306 free(tok); 308 tok = semanage_findval(fname, "sigma", "="); 309 CU_ASSERT_STRING_EQUAL(tok, "foo"); 310 free(tok); [all...] |
/external/tcpdump/ |
H A D | print-bfd.c | 96 static const struct tok bfd_v1_authentication_values[] = { 109 static const struct tok bfd_port_values[] = { 116 static const struct tok bfd_diag_values[] = { 129 static const struct tok bfd_v0_flag_values[] = { 143 static const struct tok bfd_v1_flag_values[] = { 153 static const struct tok bfd_v1_state_values[] = {
|
H A D | print-mpcp.c | 45 static const struct tok mpcp_opcode_values[] = { 57 static const struct tok mpcp_grant_flag_values[] = { 77 static const struct tok mpcp_reg_req_flag_values[] = { 90 static const struct tok mpcp_reg_flag_values[] = { 100 static const struct tok mpcp_report_bitmap_values[] = { 118 static const struct tok mpcp_reg_ack_flag_values[] = {
|
H A D | print-vtp.c | 57 static const struct tok vtp_message_type_values[] = { 65 static const struct tok vtp_header_values[] = { 73 static const struct tok vtp_vlan_type_values[] = { 82 static const struct tok vtp_vlan_status[] = { 99 static const struct tok vtp_vlan_tlv_values[] = { 113 static const struct tok vtp_stp_type_values[] = {
|
H A D | print-udld.c | 40 static const struct tok udld_tlv_values[] = { 51 static const struct tok udld_code_values[] = { 59 static const struct tok udld_flags_values[] = {
|
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3tokenstream.c | 539 pANTLR3_COMMON_TOKEN tok; local 566 tok = ts->get(ts, i); 567 if (tok != NULL) 569 string->appendS(string, tok->getText(tok)); 725 pANTLR3_COMMON_TOKEN tok; local 748 tok = tokenStream->tstream->get(tokenStream->tstream, i); 751 || types->isMember(types, tok->getType(tok) == ANTLR3_TRUE) 754 filteredList->put(filteredList, n++, (void *)tok, NUL 803 pANTLR3_COMMON_TOKEN tok; local 952 pANTLR3_COMMON_TOKEN tok; local 1034 pANTLR3_COMMON_TOKEN tok; local 1057 pANTLR3_COMMON_TOKEN tok; local [all...] |