Searched refs:tok (Results 1 - 25 of 274) sorted by relevance

1234567891011

/external/tcpdump/
H A Dgmpls.h17 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[];
H A Dl2vpn.h17 extern struct tok l2vpn_encaps_values[];
H A Dgmpls.c30 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[] = {
H A Daf.h20 extern struct tok af_values[];
21 extern struct tok bsd_af_values[];
/external/clang/lib/Parse/
H A DParseTentative.cpp53 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))
161 if (getLangOpts().ObjC1 && Tok.is(tok::less))
168 if (Tok.isNot(tok::l_paren)) {
181 if (Tok.isNot(tok
[all...]
H A DParseExpr.cpp36 static prec::Level getBinOpPrecedence(tok::TokenKind Kind,
40 case tok::greater:
49 case tok::greatergreater:
61 case tok::comma: return prec::Comma;
62 case tok::equal:
63 case tok::starequal:
64 case tok::slashequal:
65 case tok::percentequal:
66 case tok::plusequal:
67 case tok
[all...]
H A DParseDecl.cpp112 assert(Tok.is(tok::kw___attribute) && "Not a GNU attribute list!");
114 while (Tok.is(tok::kw___attribute)) {
116 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after,
118 SkipUntil(tok::r_paren, true); // skip until ) or ;
121 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) {
122 SkipUntil(tok::r_paren, true); // skip until ) or ;
126 while (Tok.is(tok::identifier) || isDeclarationSpecifier() ||
127 Tok.is(tok::comma)) {
128 if (Tok.is(tok::comma)) {
137 if (Tok.is(tok
[all...]
H A DParseInit.cpp32 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);
74 case tok
[all...]
H A DParseObjc.cpp35 if (Tok.is(tok::code_completion)) {
43 case tok::objc_class:
45 case tok::objc_interface: {
50 case tok::objc_protocol: {
54 case tok::objc_implementation:
56 case tok::objc_end:
58 case tok::objc_compatibility_alias:
61 case tok::objc_synthesize:
64 case tok::objc_dynamic:
67 case tok
[all...]
H A DParseTemplate.cpp33 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)) {
143 SkipUntil(tok::r_brace, true, true);
144 if (Tok.is(tok::semi))
161 } while (Tok.is(tok::kw_export) || Tok.is(tok
[all...]
H A DParseCXXInlineMethods.cpp33 assert((Tok.is(tok::l_brace) || Tok.is(tok::colon) || Tok.is(tok::kw_try) ||
34 Tok.is(tok::equal)) &&
67 if (Tok.is(tok::equal)) {
71 SkipUntil(tok::semi);
77 if (Tok.is(tok::kw_delete)) {
85 } else if (Tok.is(tok::kw_default)) {
96 if (Tok.is(tok::comma)) {
99 SkipUntil(tok
[all...]
H A DParseDeclCXX.cpp54 assert(Tok.is(tok::kw_namespace) && "Not a namespace!");
58 if (Tok.is(tok::code_completion)) {
72 if (Tok.is(tok::identifier)) {
75 while (Tok.is(tok::coloncolon) && NextToken().is(tok::identifier)) {
84 if (Tok.is(tok::kw___attribute)) {
89 if (Tok.is(tok::equal)) {
99 BalancedDelimiterTracker T(*this, tok::l_brace);
118 SkipUntil(tok::r_brace, false);
124 SkipUntil(tok
[all...]
/external/clang/lib/Lex/
H A DTokenConcatenation.cpp74 TokenInfo[tok::identifier ] |= aci_custom;
75 TokenInfo[tok::numeric_constant] |= aci_custom_firstchar;
76 TokenInfo[tok::period ] |= aci_custom_firstchar;
77 TokenInfo[tok::amp ] |= aci_custom_firstchar;
78 TokenInfo[tok::plus ] |= aci_custom_firstchar;
79 TokenInfo[tok::minus ] |= aci_custom_firstchar;
80 TokenInfo[tok::slash ] |= aci_custom_firstchar;
81 TokenInfo[tok::less ] |= aci_custom_firstchar;
82 TokenInfo[tok::greater ] |= aci_custom_firstchar;
83 TokenInfo[tok
[all...]
/external/svox/pico/lib/
H A Dpicotok.c211 * 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) argument
320 tok->ignLevel++;
324 static void tok_endIgnore (tok_subobj_t * tok) argument
326 if (tok
434 tok_putToUtf(tok_subobj_t * tok, picoos_uchar ch) argument
482 tok_putItem(picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uint8 itemType, picoos_uint8 info1, picoos_uint8 info2, picoos_uint16 val, picoos_uchar str[]) argument
577 tok_putItem2(picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uint8 type, picoos_uint8 info1, picoos_uint8 info2, picoos_uint8 len, picoos_uint8 data[]) argument
673 tok_interpretMarkup(picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_bool isStartTag, MarkupId mId) argument
1046 tok_putToSimpleToken(picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uchar str[], pico_tokenType type, pico_tokenSubType subtype) argument
1066 tok_putToMarkup(picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uchar str[]) argument
1248 tok_treatMarkupAsSimpleToken(picodata_ProcessingUnit this, tok_subobj_t * tok) argument
1263 tok_treatMarkup(picodata_ProcessingUnit this, tok_subobj_t * tok) argument
1300 tok_treatChar(picodata_ProcessingUnit this, tok_subobj_t * tok, picoos_uchar ch, picoos_bool markupHandling) argument
1381 tok_treatSimpleToken(picodata_ProcessingUnit this, tok_subobj_t * tok) argument
1404 tok_subobj_t * tok; local
1503 tok_subobj_t * tok; local
1535 register tok_subobj_t * tok; local
[all...]
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt027eof.py16 tok = lexer.nextToken()
17 assert tok.type == self.lexerModule.SPACE, tok
19 tok = lexer.nextToken()
20 assert tok.type == self.lexerModule.END, tok
/external/clang/lib/Basic/
H A DTokenKinds.cpp26 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/
H A DToken.h83 tok::TokenKind getKind() const { return (tok::TokenKind)Kind; }
84 void setKind(tok::TokenKind K) { Kind = K; }
87 /// "if (Tok.is(tok::l_brace)) {...}".
88 bool is(tok::TokenKind K) const { return Kind == (unsigned) K; }
89 bool isNot(tok::TokenKind K) const { return Kind != (unsigned) K; }
94 return is(tok::identifier) || is(tok::raw_identifier);
100 return is(tok::numeric_constant) || is(tok
[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/openssh/openbsd-compat/
H A Dstrsep.c58 char *tok; local
62 for (tok = s;;) {
72 return (tok);
/external/tcpdump/missing/
H A Dstrsep.c64 char *tok; local
68 for (tok = s;;) {
78 return (tok);
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DServerParser.java81 String tok;
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/
H A Dthreads.c190 xmlMutexPtr tok; local
192 if ((tok = malloc(sizeof(xmlMutex))) == NULL)
196 pthread_mutex_init(&tok->lock, NULL);
198 tok->mutex = CreateMutex(NULL, FALSE, NULL);
200 if ((tok->sem = create_sem(1, "xmlMutex")) < B_OK) {
201 free(tok);
204 tok->tid = -1;
206 return (tok);
211 * @tok: the simple mutex
217 xmlFreeMutex(xmlMutexPtr tok) argument
240 xmlMutexLock(xmlMutexPtr tok) argument
269 xmlMutexUnlock(xmlMutexPtr tok) argument
299 xmlRMutexPtr tok; local
355 xmlRMutexLock(xmlRMutexPtr tok) argument
[all...]
/external/clang/include/clang/AST/
H A DCommentLexer.h32 namespace tok { namespace in namespace:clang::comments
52 } // end namespace tok
63 tok::TokenKind Kind;
89 tok::TokenKind getKind() const LLVM_READONLY { return Kind; }
90 void setKind(tok::TokenKind K) { Kind = K; }
92 bool is(tok::TokenKind K) const LLVM_READONLY { return Kind == K; }
93 bool isNot(tok::TokenKind K) const LLVM_READONLY { return Kind != K; }
99 assert(is(tok::text));
104 assert(is(tok::text));
110 assert(is(tok
[all...]
/external/clang/unittests/AST/
H A DCommentLexer.cpp71 if (Tok.is(tok::eof))
101 ASSERT_EQ(tok::newline, Toks[0].getKind());
117 ASSERT_EQ(tok::newline, Toks[0].getKind());
118 ASSERT_EQ(tok::newline, Toks[1].getKind());
136 ASSERT_EQ(tok::text, Toks[0].getKind());
139 ASSERT_EQ(tok::newline, Toks[1].getKind());
156 ASSERT_EQ(tok::text, Toks[0].getKind());
159 ASSERT_EQ(tok::newline, Toks[1].getKind());
160 ASSERT_EQ(tok::newline, Toks[2].getKind());
179 ASSERT_EQ(tok
[all...]
/external/clang/lib/AST/
H A DCommentParser.cpp20 /// Re-lexes a sequence of tok::text tokens.
90 if (P.Tok.is(tok::newline)) {
94 if (P.Tok.isNot(tok::text)) {
100 if (P.Tok.isNot(tok::text)) {
132 Result.setKind(tok::text);
308 assert(Tok.is(tok::command));
333 if (Tok.is(tok::command) &&
383 assert(Tok.is(tok::command));
413 assert(Tok.is(tok::html_start_tag));
422 case tok
[all...]

Completed in 607 milliseconds

1234567891011