Home
last modified time | relevance | path

Searched defs:token (Results 1 – 25 of 785) sorted by relevance

12345678910>>...32

/third_party/boost/boost/spirit/home/lex/lexer/lexertl/
Dtoken.hpp124 struct token<Iterator, lex::omit, mpl::false_, Idtype> struct
126 typedef Iterator iterator_type;
127 typedef mpl::false_ has_state;
128 typedef Idtype id_type;
129 typedef unused_type token_value_type;
132 token() : id_(id_type(boost::lexer::npos)) {} in token() argument
135 explicit token(int) : id_(id_type(0)) {} in token() argument
137 token(id_type id, std::size_t) : id_(id) {} in token() argument
139 token(id_type id, std::size_t, token_value_type) in token() argument
142 token_value_type& value() { static token_value_type u; return u; } in value()
[all …]
/third_party/parse5/packages/parse5/lib/parser/
Dindex.js548 _setDocumentType(token) { argument
566 _appendElement(token, namespaceURI) { argument
572 _insertElement(token, namespaceURI) { argument
586 _insertTemplate(token) { argument
602 _appendCommentNode(token, parent) { argument
608 _insertCharacters(token) { argument
626 _shouldProcessTokenInForeignContent(token) { argument
670 _processToken(token) { argument
674 _processTokenInBodyMode(token) { argument
678 _processTokenInForeignContent(token) { argument
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dexpression.c65 struct token *parens_expression(struct token *token, struct expression **expr, const char *where) in parens_expression()
88 struct token *string_expression(struct token *token, struct expression **expr, const char *where) in string_expression()
103 static struct symbol *handle_func(struct token *token) in handle_func()
148 static struct token *parse_type(struct token *token, struct expression **tree) in parse_type()
161 static struct token *builtin_types_compatible_p_expr(struct token *token, in builtin_types_compatible_p_expr()
187 static struct token *builtin_offsetof_expr(struct token *token, in builtin_offsetof_expr()
261 static void get_number_value(struct expression *expr, struct token *token) in get_number_value()
388 static struct token *generic_selection(struct token *token, struct expression **tree) in generic_selection()
422 struct token *primary_expression(struct token *token, struct expression **tree) in primary_expression()
532 static struct token *expression_list(struct token *token, struct expression_list **list) in expression_list()
[all …]
Dpre-process.c96 struct token *token = __alloc_token(0); in alloc_token() local
108 static void replace_with_string(struct token *token, const char *str) in replace_with_string()
119 static void replace_with_integer(struct token *token, unsigned int val) in replace_with_integer()
135 static int token_defined(struct token *token) in token_defined()
150 static void replace_with_bool(struct token *token, bool val) in replace_with_bool()
158 static void replace_with_defined(struct token *token) in replace_with_defined()
163 static void expand_line(struct token *token) in expand_line()
168 static void expand_file(struct token *token) in expand_file()
173 static void expand_basefile(struct token *token) in expand_basefile()
179 static void expand_date(struct token *token) in expand_date()
[all …]
Dparse.c116 static void asm_modifier(struct token *token, unsigned long *mods, unsigned long mod) in asm_modifier()
617 static struct token *skip_to(struct token *token, int op) in skip_to()
625 struct token *expect(struct token *token, int op, const char *where) in expect()
647 static void unexpected(struct token *token, const char *errmsg) in unexpected()
705 struct symbol *label_symbol(struct token *token, int used) in label_symbol()
719 struct token *token, struct decl_state *ctx, in struct_union_enum_specifier()
720 struct token *(*parse)(struct token *, struct symbol *)) in struct_union_enum_specifier()
777 static struct token *parse_struct_declaration(struct token *token, struct symbol *sym) in parse_struct_declaration()
795 static struct token *parse_union_declaration(struct token *token, struct symbol *sym) in parse_union_declaration()
800 static struct token *struct_specifier(struct token *token, struct symbol *sym, struct decl_state *c… in struct_specifier()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DDirectiveParser.cpp49 static DirectiveType getDirective(const pp::Token *token) in getDirective()
115 static bool isEOD(const pp::Token *token) in isEOD()
120 static void skipUntilEOD(pp::Lexer *lexer, pp::Token *token) in skipUntilEOD()
158 void lex(Token *token) override in lex()
229 void DirectiveParser::lex(Token *token) in lex()
261 void DirectiveParser::parseDirective(Token *token) in parseDirective()
341 void DirectiveParser::parseDefine(Token *token) in parseDefine()
437 void DirectiveParser::parseUndef(Token *token) in parseUndef()
478 void DirectiveParser::parseIf(Token *token) in parseIf()
484 void DirectiveParser::parseIfdef(Token *token) in parseIfdef()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DDirectiveParser.cpp45 DirectiveType getDirective(const pp::Token *token) in getDirective()
111 bool isEOD(const pp::Token *token) in isEOD()
116 void skipUntilEOD(pp::Lexer *lexer, pp::Token *token) in skipUntilEOD()
162 void DirectiveParser::lex(Token *token) in lex()
194 void DirectiveParser::parseDirective(Token *token) in parseDirective()
273 void DirectiveParser::parseDefine(Token *token) in parseDefine()
367 void DirectiveParser::parseUndef(Token *token) in parseUndef()
407 void DirectiveParser::parseIf(Token *token) in parseIf()
413 void DirectiveParser::parseIfdef(Token *token) in parseIfdef()
419 void DirectiveParser::parseIfndef(Token *token) in parseIfndef()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DDirectiveParser.cpp45 DirectiveType getDirective(const pp::Token *token) in getDirective()
111 bool isEOD(const pp::Token *token) in isEOD()
116 void skipUntilEOD(pp::Lexer *lexer, pp::Token *token) in skipUntilEOD()
162 void DirectiveParser::lex(Token *token) in lex()
194 void DirectiveParser::parseDirective(Token *token) in parseDirective()
273 void DirectiveParser::parseDefine(Token *token) in parseDefine()
367 void DirectiveParser::parseUndef(Token *token) in parseUndef()
407 void DirectiveParser::parseIf(Token *token) in parseIf()
413 void DirectiveParser::parseIfdef(Token *token) in parseIfdef()
419 void DirectiveParser::parseIfndef(Token *token) in parseIfndef()
[all …]
/third_party/boost/boost/wave/
Dwhitespace_handling.hpp36 bool ccomment_has_newline(TokenT const& token) in ccomment_has_newline()
52 int ccomment_count_newlines(TokenT const& token) in ccomment_count_newlines()
73 int rawstring_count_newlines(TokenT const& token) in rawstring_count_newlines()
132 eat_whitespace<TokenT>::may_skip_whitespace(ContextT const& ctx, TokenT &token, in may_skip_whitespace()
143 eat_whitespace<TokenT>::may_skip_whitespace(ContextT const& ctx, TokenT &token, in may_skip_whitespace()
155 eat_whitespace<TokenT>::general(TokenT &token, bool &skipped_newline) in general()
183 eat_whitespace<TokenT>::newline(TokenT &token, bool &skipped_newline) in newline()
219 eat_whitespace<TokenT>::newline_2nd(TokenT &token, bool &skipped_newline) in newline_2nd()
252 eat_whitespace<TokenT>::bol_whitespace(TokenT &token, bool &skipped_newline) in bol_whitespace()
265 eat_whitespace<TokenT>::whitespace(TokenT &token, bool &skipped_newline) in whitespace()
/third_party/parse5/packages/parse5-html-rewriting-stream/lib/
Dindex.js28 _handleToken(token) { argument
39 _emitToken(eventName, token) { argument
43 emitDoctype(token) { argument
61 emitStartTag(token) { argument
75 emitEndTag(token) { argument
83 emitComment(token) { argument
/third_party/boost/libs/asio/test/archetypes/
Ddeprecated_async_ops.hpp40 deprecated_async_op_0(boost::asio::io_context& ctx, in deprecated_async_op_0()
59 deprecated_async_op_ec_0(boost::asio::io_context& ctx, in deprecated_async_op_ec_0()
87 deprecated_async_op_ex_0(boost::asio::io_context& ctx, in deprecated_async_op_ex_0()
115 deprecated_async_op_1(boost::asio::io_context& ctx, in deprecated_async_op_1()
134 deprecated_async_op_ec_1(boost::asio::io_context& ctx, in deprecated_async_op_ec_1()
162 deprecated_async_op_ex_1(boost::asio::io_context& ctx, in deprecated_async_op_ex_1()
190 deprecated_async_op_2(boost::asio::io_context& ctx, in deprecated_async_op_2()
210 deprecated_async_op_ec_2(boost::asio::io_context& ctx, in deprecated_async_op_ec_2()
239 deprecated_async_op_ex_2(boost::asio::io_context& ctx, in deprecated_async_op_ex_2()
267 deprecated_async_op_3(boost::asio::io_context& ctx, in deprecated_async_op_3()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dtoken_test.cpp16 pp::Token token; in TEST() local
26 pp::Token token; in TEST() local
43 pp::Token token; in TEST() local
71 pp::Token token; in TEST() local
81 pp::Token token; in TEST() local
/third_party/grpc/src/core/ext/filters/load_reporting/
Dregistered_opencensus_objects.h85 static const ::opencensus::tags::TagKey token = in TagKeyToken() local
91 static const ::opencensus::tags::TagKey token = in TagKeyHost() local
97 static const ::opencensus::tags::TagKey token = in TagKeyUserId() local
103 static const ::opencensus::tags::TagKey token = in TagKeyStatus() local
109 static const ::opencensus::tags::TagKey token = in TagKeyMetricName() local
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dtoken_test.cpp16 pp::Token token; in TEST() local
26 pp::Token token; in TEST() local
43 pp::Token token; in TEST() local
71 pp::Token token; in TEST() local
81 pp::Token token; in TEST() local
/third_party/node/deps/npm/node_modules/registry-auth-token/test/
Dauth-token.test.js49 assert.deepEqual(getAuthToken(), {token: 'foobar', type: 'Basic'}) property
66 assert.deepEqual(getAuthToken(), {token: 'foobar', type: 'Basic'}) property
84 assert.deepEqual(getAuthToken(), {token: 'foobar', type: 'Basic'}) property
101 assert.deepEqual(getAuthToken(), {token: 'foobar', type: 'Bearer'}) property
119 assert.deepEqual(getAuthToken({npmrc: npmrc}), {token: 'qar', type: 'Bearer'}) property
135 assert.deepEqual(getAuthToken(), {token: 'beepboop', type: 'Bearer'}) property
151 assert.deepEqual(getAuthToken(), {token: 'foobar', type: 'Bearer'}) property
168 assert.deepEqual(getAuthToken(), {token: 'foobar', type: 'Bearer'}) property
183 assert.deepEqual(getAuthToken(), {token: 'barbaz', type: 'Bearer'}) property
198 assert.deepEqual(getAuthToken('//registry.blah.foo'), {token: 'whatev', type: 'Bearer'}) property
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.l466 angle::pp::Token token; variable
484 int token = IDENTIFIER; in check_type() local
514 int ES2_reserved_ES3_keyword(TParseContext *context, int token) in ES2_reserved_ES3_keyword()
526 int ES2_keyword_ES3_reserved(TParseContext *context, int token) in ES2_keyword_ES3_reserved()
538 int ES3_reserved_ES3_1_keyword(TParseContext *context, int token) in ES3_reserved_ES3_1_keyword()
556 int ES3_keyword(TParseContext *context, int token) in ES3_keyword()
571 int ES2_reserved_ES3_1_keyword(TParseContext *context, int token) in ES2_reserved_ES3_1_keyword()
583 int ES3_1_keyword(TParseContext *context, int token) in ES3_1_keyword()
599 int WEBGL_video_texture_extension(TParseContext *context, int token) in WEBGL_video_texture_extension()
615 …sion_2_ES3_keyword(TParseContext *context, TExtension extension1, TExtension extension2, int token) in ES2_extension_2_ES3_keyword()
[all …]
DDiagnostics.cpp26 const char *token) in writeInfo()
56 const char *token) in error()
63 const char *token) in warning()
68 void TDiagnostics::error(const TSourceLoc &loc, const char *reason, const char *token) in error()
76 void TDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning()
101 void PerformanceDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning()
/third_party/selinux/libsepol/cil/src/
Dcil_lexer.h45 struct token { struct
53 int cil_lexer_next(struct token *tok); argument
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.l434 angle::pp::Token token; variable
452 int token = IDENTIFIER; in check_type() local
470 int ES2_reserved_ES3_keyword(TParseContext *context, int token) in ES2_reserved_ES3_keyword()
482 int ES2_keyword_ES3_reserved(TParseContext *context, int token) in ES2_keyword_ES3_reserved()
494 int ES2_ident_ES3_reserved_ES3_1_keyword(TParseContext *context, int token) in ES2_ident_ES3_reserved_ES3_1_keyword()
512 int ES2_ident_ES3_keyword(TParseContext *context, int token) in ES2_ident_ES3_keyword()
527 int ES2_and_ES3_reserved_ES3_1_keyword(TParseContext *context, int token) in ES2_and_ES3_reserved_ES3_1_keyword()
539 int ES2_and_ES3_ident_ES3_1_keyword(TParseContext *context, int token) in ES2_and_ES3_ident_ES3_1_keyword()
554 int ES2_extension_ES3_keyword_else_reserved(TParseContext *context, TExtension extension, int token) in ES2_extension_ES3_keyword_else_reserved()
567 int ES3_extension_keyword_else_ident(TParseContext *context, TExtension extension, int token) in ES3_extension_keyword_else_ident()
[all …]
DDiagnostics.cpp26 const char *token) in writeInfo()
56 const char *token) in error()
63 const char *token) in warning()
68 void TDiagnostics::error(const TSourceLoc &loc, const char *reason, const char *token) in error()
76 void TDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning()
101 void PerformanceDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning()
/third_party/glib/glib/tests/
Dgwakeuptest.c74 struct token struct
82 GSList *pending_tokens; argument
126 struct token *token = NULL; in context_try_pop_token() local
142 struct token *token) in context_push_token()
154 dispatch_token (struct token *token) in dispatch_token()
180 struct token *token; in token_new() local
194 struct token *token; in thread_func() local
/third_party/gn/src/gn/
Dparser.cc295 for (const auto& token : tokens) { in Parser() local
337 for (const Token& token : tokens) { in ParseValue() local
433 const Token& token = Consume(); in ParseExpression() local
462 std::unique_ptr<ParseNode> Parser::Block(const Token& token) { in Block()
468 std::unique_ptr<ParseNode> Parser::Literal(const Token& token) { in Literal()
472 std::unique_ptr<ParseNode> Parser::Name(const Token& token) { in Name()
476 std::unique_ptr<ParseNode> Parser::BlockComment(const Token& token) { in BlockComment()
483 std::unique_ptr<ParseNode> Parser::Group(const Token& token) { in Group()
491 std::unique_ptr<ParseNode> Parser::Not(const Token& token) { in Not()
515 const Token& token) { in BinaryOperator()
[all …]
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp-lex.l88 #define RETURN_TOKEN_NEVER_SKIP(token) \ argument
94 #define RETURN_TOKEN(token) \ argument
101 #define RETURN_STRING_TOKEN(token) \ argument
128 glcpp_lex_update_state_per_token (glcpp_parser_t *parser, int token) in glcpp_lex_update_state_per_token()
/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp101 int token = scanToken(ppToken); in CPPdefine() local
218 int token = scanToken(ppToken); in CPPundef() local
245 int token = scanToken(ppToken); in CPPelse() local
319 int TPpContext::extraTokenCheck(int contextAtom, TPpToken* ppToken, int token) in extraTokenCheck()
384 int token, precedence, (*op)(int, int); member
407 int token, (*op)(int); member
417 int TPpContext::eval(int token, int precedence, bool shortCircuit, int& res, bool& err, TPpToken* p… in eval()
535 int TPpContext::evalToToken(int token, bool shortCircuit, int& res, bool& err, TPpToken* ppToken) in evalToToken()
568 int token = scanToken(ppToken); in CPPif() local
589 int token = scanToken(ppToken); in CPPifdef() local
[all …]
/third_party/glslang/glslang/HLSL/
DhlslScanContext.cpp461 void HlslScanContext::tokenize(HlslToken& token) in tokenize()
481 EHlslTokenClass HlslScanContext::tokenizeClass(HlslToken& token) in tokenizeClass()
486 int token = ppContext.tokenize(ppToken); in tokenizeClass() local
558 EHlslTokenClass token = tokenizeIdentifier(); in tokenizeClass() local

12345678910>>...32