Home
last modified time | relevance | path

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

12345678910>>...25

/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/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/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/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/vk-gl-cts/external/amber/src/src/amberscript/
Dparser.cc207 for (auto token = tokenizer->NextToken();; token = tokenizer->NextToken()) { in ParseBufferData() local
288 for (auto token = tokenizer_->NextToken(); !token->IsEOS(); in Parse() local
447 auto token = tokenizer_->NextToken(); in ValidateEndOfStatement() local
455 auto token = tokenizer_->NextToken(); in ParseShaderBlock() local
561 auto token = tokenizer_->NextToken(); in ParsePipelineBlock() local
587 std::unique_ptr<Token> token; in ParsePipelineBody() local
647 auto token = tokenizer_->NextToken(); in ParsePipelineAttach() local
729 auto token = tokenizer_->NextToken(); in ParseShaderSpecialization() local
778 auto token = tokenizer_->NextToken(); in ParsePipelineShaderOptimizations() local
814 auto token = tokenizer_->NextToken(); in ParsePipelineShaderCompileOptions() local
[all …]
/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/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
Dlocation_test.cpp25 pp::Token token; in expectLocation() local
88 pp::Token token; in TEST_F() local
118 pp::Token token; in TEST_F() local
136 pp::Token token; in TEST_F() local
154 pp::Token token; in TEST_F() local
276 pp::Token token; in TEST_F() local
291 pp::Token token; in TEST_F() local
306 pp::Token token; in TEST_F() local
322 pp::Token token; in TEST_F() local
338 pp::Token token; in TEST_F() local
[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/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/vk-gl-cts/external/amber/src/src/vkscript/
Dcommand_parser.cc87 for (auto token = tokenizer_->NextToken(); !token->IsEOS(); in Parse() local
264 auto token = tokenizer_->NextToken(); in ProcessDrawRect() local
315 auto token = tokenizer_->NextToken(); in ProcessDrawArrays() local
376 auto token = tokenizer_->NextToken(); in ProcessCompute() local
411 auto token = tokenizer_->NextToken(); in ProcessClear() local
489 auto token = tokenizer_->NextToken(); in ParseValues() local
536 auto token = tokenizer_->NextToken(); in ProcessSSBO() local
670 auto token = tokenizer_->NextToken(); in ProcessUniform() local
805 auto token = tokenizer_->NextToken(); in ProcessTolerance() local
853 auto token = tokenizer_->NextToken(); in ProcessPatch() local
[all …]
/third_party/selinux/libsepol/cil/src/
Dcil_lexer.h45 struct token { struct
53 int cil_lexer_next(struct token *tok); argument
/third_party/parse5/packages/parse5/lib/tokenizer/
Dindex.ts475 const token = this.currentToken as TagToken; constant
1249 const token = this.currentToken as TagToken; constant
1315 const token = this.currentToken as TagToken; constant
2028 const token = this.currentToken as TagToken; constant
2050 const token = this.currentToken as CommentToken; constant
2116 const token = this.currentToken as CommentToken; constant
2130 const token = this.currentToken as CommentToken; constant
2159 const token = this.currentToken as CommentToken; constant
2191 const token = this.currentToken as CommentToken; constant
2246 const token = this.currentToken as CommentToken; constant
[all …]
/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/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()
536 int TPpContext::evalToToken(int token, bool shortCircuit, int& res, bool& err, TPpToken* ppToken) in evalToToken()
569 int token = scanToken(ppToken); in CPPif() local
590 int token = scanToken(ppToken); in CPPifdef() local
[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/jsoncpp/src/lib_json/
Djson_reader.cpp130 Token token; in parse() local
158 Token token; in readValue() local
227 void Reader::skipCommentTokens(Token& token) { in skipCommentTokens()
237 bool Reader::readToken(Token& token) { in readToken()
442 bool Reader::readObject(Token& token) { in readObject()
498 bool Reader::readArray(Token& token) { in readArray()
536 bool Reader::decodeNumber(Token& token) { in decodeNumber()
546 bool Reader::decodeNumber(Token& token, Value& decoded) { in decodeNumber()
589 bool Reader::decodeDouble(Token& token) { in decodeDouble()
599 bool Reader::decodeDouble(Token& token, Value& decoded) { in decodeDouble()
[all …]
/third_party/rust/crates/syn/
Dsyn.json14 "token": "Extern" string
34 "token": "Colon2" string
38 "token": "Lt" string
49 "token": "Gt" string
73 "token": "If" string
84 "token": "FatArrow" string
93 "token": "Comma" string
110 "token": "Bang" string
125 "token": "Pound" string
162 "token": "Colon" string
[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
/third_party/typescript/tests/baselines/reference/
Dparserindenter.js779 Indenter.prototype.GetIndentationEdits = function (token, nextToken, node, sameLineIndent) { argument
795 … Indenter.prototype.GetIndentationEditsWorker = function (token, nextToken, node, sameLineIndent) { argument
868 Indenter.prototype.GetCommentIndentationEdits = function (token) { argument
912 Indenter.prototype.GetSpecialCaseIndentation = function (token, node) { argument
958 Indenter.prototype.GetSpecialCaseIndentationForSemicolon = function (token, node) { argument
978 Indenter.prototype.GetSpecialCaseIndentationForComment = function (token, node) { argument
994 Indenter.prototype.CanIndentComment = function (token, node) { argument
1132 Indenter.prototype.ApplyIndentationDeltaFromParent = function (token, node) { argument
1319 Indenter.prototype.AdjustStartOffsetIfNeeded = function (token, node) { argument
1338 Indenter.prototype.IsMultiLineString = function (token) { argument

12345678910>>...25