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

1234567891011>>

/external/tcpdump/
H A Dl2vpn.h16 extern const struct tok l2vpn_encaps_values[];
H A Dgmpls.h25 extern const struct tok gmpls_link_prot_values[];
26 extern const struct tok gmpls_switch_cap_values[];
27 extern const struct tok gmpls_switch_cap_tsc_indication_values[];
28 extern const struct tok gmpls_encoding_values[];
29 extern const struct tok gmpls_payload_values[];
30 extern const struct tok diffserv_te_bc_values[];
31 extern const struct tok lmp_sd_service_config_cpsa_link_type_values[];
32 extern const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[];
33 extern const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[];
H A Dgmpls.c27 const struct tok gmpls_link_prot_values[] = {
40 const struct tok gmpls_switch_cap_values[] = {
53 const struct tok gmpls_switch_cap_tsc_indication_values[] = {
60 const struct tok gmpls_encoding_values[] = {
76 const struct tok gmpls_payload_values[] = {
144 const struct tok lmp_sd_service_config_cpsa_link_type_values[] = {
155 const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[] = {
172 const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[] = {
188 const struct tok diffserv_te_bc_values[] = {
H A Dsignature.h26 extern const struct tok signature_check_values[];
/external/clang/lib/Basic/
H A DOperatorPrecedence.cpp18 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
[all...]
H A DTokenKinds.cpp25 const char *tok::getTokenName(TokenKind Kind) {
26 if (Kind < tok::NUM_TOKENS)
32 const char *tok::getPunctuatorSpelling(TokenKind Kind) {
41 const char *tok::getKeywordSpelling(TokenKind Kind) {
/external/libedit/src/
H A Dtokenizer.c86 private void FUN(tok,finish)(TYPE(Tokenizer) *);
89 /* FUN(tok,finish)():
93 FUN(tok,finish)(TYPE(Tokenizer) *tok)
96 *tok->wptr = '\0';
97 if ((tok->flags & TOK_KEEP) || tok->wptr != tok->wstart) {
98 tok->argv[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/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:
150 case tok::kw__Atomic:
151 if (NextToken().isNot(tok::l_paren)) {
156 case tok::kw_typeof:
157 case tok::kw___attribute:
158 case tok
[all...]
H A DParseTemplate.cpp34 if (Tok.is(tok::kw_template) && NextToken().isNot(tok::less)) {
65 assert(Tok.isOneOf(tok::kw_export, tok::kw_template) &&
105 TryConsumeToken(tok::kw_export, ExportLoc);
109 if (!TryConsumeToken(tok::kw_template, TemplateLoc)) {
120 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch);
121 TryConsumeToken(tok::semi);
130 if (TryConsumeToken(tok::kw_requires)) {
135 SkipUntil(tok
[all...]
H A DParseDecl.cpp128 assert(Tok.is(tok::kw___attribute) && "Not a GNU attribute list!");
130 while (Tok.is(tok::kw___attribute)) {
132 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after,
134 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ;
137 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) {
138 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ;
144 if (TryConsumeToken(tok::comma))
156 if (Tok.isNot(tok::l_paren)) {
180 ConsumeAndStoreUntil(tok::r_paren, LA->Toks, true, false);
188 if (ExpectAndConsume(tok
[all...]
H A DParseCXXInlineMethods.cpp32 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try, tok::equal) &&
60 if (TryConsumeToken(tok::equal)) {
62 SkipUntil(tok::semi);
69 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
79 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
92 if (Tok.is(tok::comma)) {
95 SkipUntil(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);
87 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/clang/include/clang/Basic/
H A DTokenKinds.h22 namespace tok { namespace in namespace:clang
74 return (K == tok::identifier) || (K == tok::raw_identifier);
80 return K == tok::string_literal || K == tok::wide_string_literal ||
81 K == tok::utf8_string_literal || K == tok::utf16_string_literal ||
82 K == tok::utf32_string_literal;
88 return K == tok::numeric_constant || K == tok
[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/Format/
H A DUnwrappedLineParser.cpp102 FormatTok.Tok.setKind(tok::eof);
270 tok::TokenKind kind = FormatTok->Tok.getKind();
272 kind = tok::l_brace;
274 kind = tok::r_brace;
278 case tok::comment:
282 case tok::l_brace:
290 case tok::r_brace:
296 case tok::kw_default:
297 case tok::kw_case:
323 assert(Tok->Tok.is(tok
[all...]
H A DTokenAnnotator.cpp39 Contexts.push_back(Context(tok::unknown, 1, /*IsExpression=*/false));
54 if (Previous.Previous->is(tok::r_paren) && Contexts.size() > 1 &&
62 ScopedContextCreator ContextCreator(*this, tok::less, 12);
72 Left->Previous && Left->Previous->Tok.isNot(tok::kw_template);
75 CurrentToken->is(tok::question))
79 if (CurrentToken->is(tok::greater)) {
86 if (CurrentToken->is(tok::question) &&
91 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square, tok
[all...]
/external/fio/lib/
H A Dstrsep.c5 char *s, *tok; local
13 tok = s;
25 return tok;
/external/selinux/libsepol/cil/src/
H A Dcil_parser.c105 struct token tok; local
109 cil_lexer_next(&tok);
110 hll_type = cil_strpool_add(tok.value);
119 create_node(&node, *current, tok.line, *hll_lineno, NULL);
123 create_node(&node, *current, tok.line, *hll_lineno, CIL_KEY_SRC_INFO);
126 create_node(&node, *current, tok.line, *hll_lineno, CIL_KEY_SRC_HLL);
138 cil_lexer_next(&tok);
139 if (tok.type != SYMBOL) {
143 *hll_lineno = strtol(tok.value, &end, 10);
151 cil_lexer_next(&tok);
211 struct token tok; local
[all...]
/external/clang/unittests/Lex/
H A DLexerTest.cpp77 Token tok; local
78 PP.Lex(tok);
79 if (tok.is(tok::eof))
81 toks.push_back(tok);
88 ArrayRef<tok::TokenKind> ExpectedTokens) {
120 std::vector<tok::TokenKind> ExpectedTokens;
121 ExpectedTokens.push_back(tok::identifier);
122 ExpectedTokens.push_back(tok::l_paren);
123 ExpectedTokens.push_back(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
217 doctype0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
282 doctype3(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
299 doctype4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
319 doctype5(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
458 entity1(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
520 entity4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
623 entity9(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
640 entity10(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
657 notation0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
715 notation3(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
733 notation4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
754 attlist0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
772 attlist1(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
853 attlist4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
873 attlist5(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
890 attlist6(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
907 attlist7(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
985 element0(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1098 element4(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1116 element5(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1137 element6(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1167 element7(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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 *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1259 condSect2(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(enc)) argument
1278 declClose(PROLOG_STATE *state, int tok, const char *UNUSED_P(ptr), const char *UNUSED_P(end), const ENCODING *UNUSED_P(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.c61 char *tok; local
65 for (tok = s;;) {
75 return (tok);
/external/harfbuzz_ng/src/
H A Dhb-buffer-deserialize-json.rl51 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,
[all...]

Completed in 624 milliseconds

1234567891011>>