/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[] = {
|
af.h | 20 extern struct tok af_values[]; 21 extern struct tok bsd_af_values[];
|
/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/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: 138 if (Tok.is(tok::kw_typeof)) 143 if (getLang().ObjC1 && Tok.is(tok::less) [all...] |
ParseExpr.cpp | 34 static prec::Level getBinOpPrecedence(tok::TokenKind Kind, 38 case tok::greater: 47 case tok::greatergreater: 59 case tok::comma: return prec::Comma; 60 case tok::equal: 61 case tok::starequal: 62 case tok::slashequal: 63 case tok::percentequal: 64 case tok::plusequal: 65 case tok::minusequal [all...] |
ParseDecl.cpp | 107 assert(Tok.is(tok::kw___attribute) && "Not a GNU attribute list!"); 109 while (Tok.is(tok::kw___attribute)) { 111 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, 113 SkipUntil(tok::r_paren, true); // skip until ) or ; 116 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) { 117 SkipUntil(tok::r_paren, true); // skip until ) or ; 121 while (Tok.is(tok::identifier) || isDeclarationSpecifier() | [all...] |
ParseExprCXX.cpp | 24 static int SelectDigraphErrorMessage(tok::TokenKind Kind) { 26 case tok::kw_template: return 0; 27 case tok::kw_const_cast: return 1; 28 case tok::kw_dynamic_cast: return 2; 29 case tok::kw_reinterpret_cast: return 3; 30 case tok::kw_static_cast: return 4; 46 Token &ColonToken, tok::TokenKind Kind, bool AtDigraph) { 60 ColonToken.setKind(tok::coloncolon); 63 DigraphToken.setKind(tok::less); 77 if (!Next.is(tok::l_square) || Next.getLength() != 2 [all...] |
ParseObjc.cpp | 35 if (Tok.is(tok::code_completion)) { 42 switch (Tok.getObjCKeywordID()) { 43 case tok::objc_class: 46 case tok::objc_interface: { 51 case tok::objc_protocol: { 56 case tok::objc_implementation: 59 case tok::objc_end: 62 case tok::objc_compatibility_alias: 65 case tok::objc_synthesize [all...] |
ParseInit.cpp | 27 static bool MayBeDesignationStart(tok::TokenKind K, Preprocessor &PP) { 30 case tok::period: // designator: '.' identifier 31 case tok::l_square: // designator: array-designator 33 case tok::identifier: // designation: identifier ':' 34 return PP.LookAhead(0).is(tok::colon); 81 if (Tok.is(tok::identifier)) { 82 const IdentifierInfo *FieldName = Tok.getIdentifierInfo(); 90 assert(Tok.is(tok::colon) && "MayBeDesignationStart not working properly!") [all...] |
Parser.cpp | 30 Tok.setKind(tok::eof); 76 const Token &Tok = P.getCurToken(); 77 if (Tok.is(tok::eof)) { 82 if (Tok.getLocation().isInvalid()) { 88 Tok.getLocation().print(OS, PP.getSourceManager()); 89 if (Tok.isAnnotation()) 92 OS << ": current parser token '" << PP.getSpelling(Tok) << "'\n"; 100 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) [all...] |
ParseTemplate.cpp | 33 if (Tok.is(tok::kw_template) && NextToken().isNot(tok::less)) { 84 assert((Tok.is(tok::kw_export) || Tok.is(tok::kw_template)) && 122 if (Tok.is(tok::kw_export)) { 128 if (Tok.is(tok::kw_template)) [all...] |
ParseCXXInlineMethods.cpp | 30 assert((Tok.is(tok::l_brace) || Tok.is(tok::colon) || Tok.is(tok::kw_try) || 31 Tok.is(tok::equal)) && 64 if (Tok.is(tok::equal)) [all...] |
ParseDeclCXX.cpp | 53 assert(Tok.is(tok::kw_namespace) && "Not a namespace!"); 57 if (Tok.is(tok::code_completion)) { 71 if (Tok.is(tok::identifier)) { 72 Ident = Tok.getIdentifierInfo(); 74 while (Tok.is(tok::coloncolon) && NextToken().is(tok::identifier)) [all...] |
ParseStmt.cpp | 92 tok::TokenKind Kind = Tok.getKind(); 95 case tok::at: // May be a @try or @throw statement 101 case tok::code_completion: 106 case tok::identifier: { 108 if (Next.is(tok::colon)) { // C99 6.8.1: labeled-statement 113 if (Next.isNot(tok::coloncolon)) { 115 IdentifierInfo *Name = Tok.getIdentifierInfo(); 116 SourceLocation NameLoc = Tok.getLocation(); 128 if (Name->getTokenID() != tok::identifier) [all...] |
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 47 bool TokenConcatenation::IsIdentifierStringPrefix(const Token &Tok) const { 50 if (!Tok.needsCleaning()) { 51 if (Tok.getLength() < 1 || Tok.getLength() > 3) 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 55 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), 59 if (Tok.getLength() < 256) { 62 unsigned length = PP.getSpelling(Tok, TokPtr); 66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus0x); 73 TokenInfo[tok::identifier ] |= aci_custom [all...] |
/external/clang/lib/Basic/ |
TokenKinds.cpp | 20 #define TOK(X) #X, 26 const char *tok::getTokenName(enum TokenKind Kind) { 27 assert(Kind < tok::NUM_TOKENS); 31 const char *tok::getTokenSimpleSpelling(enum TokenKind Kind) {
|
/external/clang/include/clang/Lex/ |
Token.h | 81 tok::TokenKind getKind() const { return (tok::TokenKind)Kind; } 82 void setKind(tok::TokenKind K) { Kind = K; } 85 /// "if (Tok.is(tok::l_brace)) {...}". 86 bool is(tok::TokenKind K) const { return Kind == (unsigned) K; } 87 bool isNot(tok::TokenKind K) const { return Kind != (unsigned) K; } 92 return is(tok::identifier) || is(tok::raw_identifier); 98 return is(tok::numeric_constant) || is(tok::char_constant) | [all...] |
/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);
|
strtok.c | 45 char *tok; local 65 tok = s - 1; 81 return (tok);
|
/external/tcpdump/missing/ |
strsep.c | 64 char *tok; local 68 for (tok = s;;) { 78 return (tok);
|
/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/libxml2/ |
threads.c | 192 xmlMutexPtr tok; local 194 if ((tok = malloc(sizeof(xmlMutex))) == NULL) 198 pthread_mutex_init(&tok->lock, NULL); 200 tok->mutex = CreateMutex(NULL, FALSE, NULL); 202 if ((tok->sem = create_sem(1, "xmlMutex")) < B_OK) { 203 free(tok); 206 tok->tid = -1; 208 return (tok); 213 * @tok: the simple mutex 219 xmlFreeMutex(xmlMutexPtr tok) 301 xmlRMutexPtr tok; local [all...] |