/external/tcpdump/ |
gmpls.h | 17 extern struct tok gmpls_link_prot_values[]; 18 extern struct tok gmpls_switch_cap_values[]; 19 extern struct tok gmpls_encoding_values[]; 20 extern struct tok gmpls_payload_values[]; 21 extern struct tok diffserv_te_bc_values[]; 22 extern struct tok lmp_sd_service_config_cpsa_link_type_values[]; 23 extern struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[]; 24 extern struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[];
|
l2vpn.h | 17 extern struct tok l2vpn_encaps_values[];
|
gmpls.c | 30 struct tok gmpls_link_prot_values[] = { 43 struct tok gmpls_switch_cap_values[] = { 56 struct tok gmpls_encoding_values[] = { 72 struct tok gmpls_payload_values[] = { 140 struct tok lmp_sd_service_config_cpsa_link_type_values[] = { 151 struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[] = { 168 struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[] = { 184 struct tok diffserv_te_bc_values[] = {
|
/external/clang/lib/Basic/ |
OperatorPrecedence.cpp | 18 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator, 21 case tok::greater: 30 case tok::greatergreater: 42 case tok::comma: return prec::Comma; 43 case tok::equal: 44 case tok::starequal: 45 case tok::slashequal: 46 case tok::percentequal: 47 case tok::plusequal: 48 case tok::minusequal [all...] |
TokenKinds.cpp | 19 #define TOK(X) #X, 25 const char *tok::getTokenName(enum TokenKind Kind) { 26 assert(Kind < tok::NUM_TOKENS); 30 const char *tok::getTokenSimpleSpelling(enum TokenKind Kind) {
|
/external/clang/lib/Parse/ |
ParseTentative.cpp | 51 switch (Tok.getKind()) { 53 case tok::kw_asm: 55 case tok::kw_namespace: 58 case tok::kw_using: 60 case tok::kw_static_assert: 61 case tok::kw__Static_assert: 154 if (Tok.is(tok::kw_typeof)) 157 if (Tok.is(tok::annot_cxxscope) [all...] |
ParseExpr.cpp | 149 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, 157 if (Tok.is(tok::code_completion)) { 163 if (Tok.is(tok::kw_throw)) 208 tok::TokenKind K = Tok.getKind(); 209 if (K == tok::l_brace || K == tok::r_brace || 210 K == tok::kw_for || K == tok::kw_while | [all...] |
ParseDecl.cpp | 117 assert(Tok.is(tok::kw___attribute) && "Not a GNU attribute list!"); 119 while (Tok.is(tok::kw___attribute)) { 121 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, 123 SkipUntil(tok::r_paren, true); // skip until ) or ; 126 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) { 127 SkipUntil(tok::r_paren, true); // skip until ) or ; 131 while (Tok.is(tok::identifier) || isDeclarationSpecifier() | [all...] |
ParseInit.cpp | 28 switch (Tok.getKind()) { 32 case tok::period: // designator: '.' identifier 35 case tok::l_square: { // designator: array-designator 43 case tok::equal: 44 case tok::r_square: 48 case tok::amp: 49 case tok::kw_this: 50 case tok::identifier: 64 case tok::identifier: // designation: identifier ':' 65 return PP.LookAhead(0).is(tok::colon) [all...] |
ParseObjc.cpp | 37 if (Tok.is(tok::code_completion)) { 44 switch (Tok.getObjCKeywordID()) { 45 case tok::objc_class: 47 case tok::objc_interface: { 52 case tok::objc_protocol: { 56 case tok::objc_implementation: 58 case tok::objc_end: 60 case tok::objc_compatibility_alias: 63 case tok::objc_synthesize [all...] |
ParseTemplate.cpp | 33 if (Tok.is(tok::kw_template) && NextToken().isNot(tok::less)) { 85 assert((Tok.is(tok::kw_export) || Tok.is(tok::kw_template)) && 124 if (Tok.is(tok::kw_export)) { 130 if (Tok.is(tok::kw_template)) [all...] |
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 48 bool TokenConcatenation::IsIdentifierStringPrefix(const Token &Tok) const { 51 if (!Tok.needsCleaning()) { 52 if (Tok.getLength() < 1 || Tok.getLength() > 3) 55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 56 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), 60 if (Tok.getLength() < 256) { 63 unsigned length = PP.getSpelling(Tok, TokPtr); 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); 74 TokenInfo[tok::identifier ] |= aci_custom [all...] |
/external/svox/pico/lib/ |
picotok.c | 211 * shortcut : tok 270 static void tok_treatMarkupAsSimpleToken (picodata_ProcessingUnit this, tok_subobj_t * tok); 271 static void tok_treatChar (picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uchar ch, picoos_bool markupHandling); 272 static void tok_treatMarkup (picodata_ProcessingUnit this, tok_subobj_t * tok); 273 static void tok_putToMarkup (picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uchar str[]); 274 static void tok_treatSimpleToken (picodata_ProcessingUnit this, tok_subobj_t * tok); 318 static void tok_startIgnore (tok_subobj_t * tok) 320 tok->ignLevel++; 324 static void tok_endIgnore (tok_subobj_t * tok) 326 if (tok->ignLevel > 0) 1404 tok_subobj_t * tok; local 1503 tok_subobj_t * tok; local 1535 register tok_subobj_t * tok; local [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/clang/lib/Format/ |
TokenAnnotator.cpp | 23 static bool isUnaryOperator(const AnnotatedToken &Tok) { 24 switch (Tok.FormatTok.Tok.getKind()) { 25 case tok::plus: 26 case tok::plusplus: 27 case tok::minus: 28 case tok::minusminus: 29 case tok::exclaim: 30 case tok::tilde: 31 case tok::kw_sizeof [all...] |
UnwrappedLineParser.cpp | 80 FormatTok.Tok.startToken(); 81 FormatTok.Tok.setKind(tok::eof); 162 switch (FormatTok.Tok.getKind()) { 163 case tok::comment: 167 case tok::l_brace: 173 case tok::r_brace: 177 Diag.Report(FormatTok.Tok.getLocation(), 195 assert(FormatTok.Tok.is(tok::l_brace) && "'{' expected") [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t027eof.py | 16 tok = lexer.nextToken() 17 assert tok.type == self.lexerModule.SPACE, tok 19 tok = lexer.nextToken() 20 assert tok.type == self.lexerModule.END, tok
|
/external/expat/lib/ |
xmlrole.c | 102 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) { [all...] |
/bionic/libc/string/ |
strsep.c | 52 char *tok; local 56 for (tok = s;;) { 66 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/harfbuzz_ng/src/ |
hb-buffer-deserialize-json.rl | 51 action tok { 52 tok = p; 57 tok, p - tok, 62 action parse_gid { if (!parse_uint (tok, p, &info.codepoint)) return false; } 63 action parse_cluster { if (!parse_uint (tok, p, &info.cluster )) return false; } 64 action parse_x_offset { if (!parse_int (tok, p, &pos.x_offset )) return false; } 65 action parse_y_offset { if (!parse_int (tok, p, &pos.y_offset )) return false; } 66 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; } 67 action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
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/clang/unittests/AST/ |
CommentLexer.cpp | 48 StringRef getCommandName(const Token &Tok) { 49 return Traits.getCommandInfo(Tok.getCommandID())->Name; 52 StringRef getVerbatimBlockName(const Token &Tok) { 53 return Traits.getCommandInfo(Tok.getVerbatimBlockID())->Name; 56 StringRef getVerbatimLineName(const Token &Tok) { 57 return Traits.getCommandInfo(Tok.getVerbatimLineID())->Name; 70 Token Tok; 71 L.lex(Tok); 72 if (Tok.is(tok::eof) [all...] |
/external/clang/include/clang/AST/ |
CommentLexer.h | 32 namespace tok { namespace in namespace:clang::comments 53 } // end namespace tok 64 tok::TokenKind Kind; 90 tok::TokenKind getKind() const LLVM_READONLY { return Kind; } 91 void setKind(tok::TokenKind K) { Kind = K; } 93 bool is(tok::TokenKind K) const LLVM_READONLY { return Kind == K; } 94 bool isNot(tok::TokenKind K) const LLVM_READONLY { return Kind != K; } 100 assert(is(tok::text)); 105 assert(is(tok::text)); 111 assert(is(tok::unknown_command)) [all...] |