| /external/mesa3d/src/freedreno/ir3/ |
| D | ir3_lexer.l | 32 #define TOKEN(t) (ir3_yylval.tok = t) macro 135 "@localsize" return TOKEN(T_A_LOCALSIZE); 136 "@const" return TOKEN(T_A_CONST); 137 "@buf" return TOKEN(T_A_BUF); 138 "@invocationid" return TOKEN(T_A_INVOCATIONID); 139 "@wgid" return TOKEN(T_A_WGID); 140 "@numwg" return TOKEN(T_A_NUMWG); 141 "@branchstack" return TOKEN(T_A_BRANCHSTACK); 142 "@in" return TOKEN(T_A_IN); 143 "@out" return TOKEN(T_A_OUT); [all …]
|
| /external/pigweed/pw_console/py/pw_console/ |
| D | pigweed_code_style.py | 21 from pygments.token import Token # type: ignore 24 Token.Comment: '#778899', # Lighter comments 25 Token.Comment.Hashbang: '#778899', 26 Token.Comment.Multiline: '#778899', 27 Token.Comment.Preproc: '#ff79c6', 28 Token.Comment.PreprocFile: '', 29 Token.Comment.Single: '#778899', 30 Token.Comment.Special: '#778899', 31 Token.Error: '#f8f8f2', 32 Token.Escape: '', [all …]
|
| /external/cronet/stable/third_party/rust/chromium_crates_io/vendor/syn-2.0.87/src/gen/ |
| D | token.css | 1 a.struct[title="struct syn::token::Abstract"], 2 a.struct[title="struct syn::token::And"], 3 a.struct[title="struct syn::token::AndAnd"], 4 a.struct[title="struct syn::token::AndEq"], 5 a.struct[title="struct syn::token::As"], 6 a.struct[title="struct syn::token::Async"], 7 a.struct[title="struct syn::token::At"], 8 a.struct[title="struct syn::token::Auto"], 9 a.struct[title="struct syn::token::Await"], 10 a.struct[title="struct syn::token::Become"], [all …]
|
| /external/rust/android-crates-io/crates/syn/src/gen/ |
| D | token.css | 1 a.struct[title="struct syn::token::Abstract"], 2 a.struct[title="struct syn::token::And"], 3 a.struct[title="struct syn::token::AndAnd"], 4 a.struct[title="struct syn::token::AndEq"], 5 a.struct[title="struct syn::token::As"], 6 a.struct[title="struct syn::token::Async"], 7 a.struct[title="struct syn::token::At"], 8 a.struct[title="struct syn::token::Auto"], 9 a.struct[title="struct syn::token::Await"], 10 a.struct[title="struct syn::token::Become"], [all …]
|
| /external/cronet/tot/third_party/rust/chromium_crates_io/vendor/syn-2.0.87/src/gen/ |
| D | token.css | 1 a.struct[title="struct syn::token::Abstract"], 2 a.struct[title="struct syn::token::And"], 3 a.struct[title="struct syn::token::AndAnd"], 4 a.struct[title="struct syn::token::AndEq"], 5 a.struct[title="struct syn::token::As"], 6 a.struct[title="struct syn::token::Async"], 7 a.struct[title="struct syn::token::At"], 8 a.struct[title="struct syn::token::Auto"], 9 a.struct[title="struct syn::token::Await"], 10 a.struct[title="struct syn::token::Become"], [all …]
|
| /external/angle/src/compiler/preprocessor/ |
| D | DirectiveParser.cpp | 19 #include "compiler/preprocessor/Token.h" 45 DirectiveType getDirective(const pp::Token *token) in getDirective() argument 61 if (token->type != pp::Token::IDENTIFIER) in getDirective() 64 if (token->text == kDirectiveDefine) in getDirective() 66 if (token->text == kDirectiveUndef) in getDirective() 68 if (token->text == kDirectiveIf) in getDirective() 70 if (token->text == kDirectiveIfdef) in getDirective() 72 if (token->text == kDirectiveIfndef) in getDirective() 74 if (token->text == kDirectiveElse) in getDirective() 76 if (token->text == kDirectiveElif) in getDirective() [all …]
|
| /external/icing/icing/tokenization/ |
| D | rfc822-tokenizer_test.cc | 49 EqualsToken(Token::Type::RFC822_TOKEN, "<alex>"), in TEST() 50 EqualsToken(Token::Type::RFC822_HOST_ADDRESS, "alex"), in TEST() 51 EqualsToken(Token::Type::RFC822_ADDRESS, "alex"), in TEST() 52 EqualsToken(Token::Type::RFC822_ADDRESS_COMPONENT_HOST, "alex"), in TEST() 53 EqualsToken(Token::Type::RFC822_TOKEN, "<tom>"), in TEST() 54 EqualsToken(Token::Type::RFC822_HOST_ADDRESS, "tom"), in TEST() 55 EqualsToken(Token::Type::RFC822_ADDRESS, "tom"), in TEST() 56 EqualsToken(Token::Type::RFC822_ADDRESS_COMPONENT_HOST, "tom")))); in TEST() 67 EqualsToken(Token::Type::RFC822_TOKEN, "<你alex@google.com>"), in TEST() 68 EqualsToken(Token::Type::RFC822_LOCAL_ADDRESS, "你alex"), in TEST() [all …]
|
| /external/antlr/runtime/Ruby/test/functional/lexer/ |
| D | basic.rb | 20 token = lexer.next_token 21 token.name.should == 'ZERO' 23 token = lexer.next_token 24 token.name.should == '<EOF>' 30 token_types = lexer.map { |token| token.name } 34 example "mismatched token" do 38 token = lexer.next_token 62 token = lexer.next_token 63 token.name.should == 'ZERO' 65 token = lexer.next_token [all …]
|
| /external/pdfium/xfa/fxfa/formcalc/ |
| D | cxfa_fmlexer_unittest.cpp | 15 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() local 16 EXPECT_EQ(TOKeof, token.GetType()); in TEST() 22 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() local 23 EXPECT_EQ(TOKeof, token.GetType()); in TEST() 30 CXFA_FMLexer::Token token = lexer.NextToken(); in TEST() local 32 EXPECT_EQ(TOKminus, token.GetType()); in TEST() 33 token = lexer.NextToken(); in TEST() 34 EXPECT_EQ(L"12", token.GetString()); in TEST() 35 token = lexer.NextToken(); in TEST() 36 EXPECT_EQ(TOKeof, token.GetType()); in TEST() [all …]
|
| /external/deqp-deps/amber/src/amberscript/ |
| D | parser.cc | 209 for (auto token = tokenizer->NextToken();; token = tokenizer->NextToken()) { in ParseBufferData() local 210 if (token->IsEOL()) in ParseBufferData() 212 if (token->IsEOS()) { in ParseBufferData() 219 if (token->IsIdentifier() && token->AsString() == "END") in ParseBufferData() 221 if (!token->IsInteger() && !token->IsDouble() && !token->IsHex()) in ParseBufferData() 222 return Result("invalid BUFFER data value: " + token->ToOriginalString()); in ParseBufferData() 232 token->ConvertToDouble(); in ParseBufferData() 234 double val = token->IsHex() ? static_cast<double>(token->AsHex()) in ParseBufferData() 235 : token->AsDouble(); in ParseBufferData() 239 if (token->IsDouble()) { in ParseBufferData() [all …]
|
| /external/rust/android-crates-io/crates/xml-rs/src/reader/ |
| D | lexer.rs | 18 /// `Token` represents a single lexeme of an XML document. These lexemes 21 pub(crate) enum Token { enum 60 impl fmt::Display for Token { implementation 64 Token::Character(c) => c.fmt(f), in fmt() 66 Token::OpeningTagStart => "<", in fmt() 67 Token::ProcessingInstructionStart => "<?", in fmt() 68 Token::DoctypeStart => "<!DOCTYPE", in fmt() 69 Token::ClosingTagStart => "</", in fmt() 70 Token::CommentStart => "<!--", in fmt() 71 Token::CDataStart => "<![CDATA[", in fmt() [all …]
|
| /external/angle/src/tests/preprocessor_tests/ |
| D | token_test.cpp | 9 #include "compiler/preprocessor/Token.h" 16 pp::Token token; in TEST() local 17 EXPECT_EQ(0, token.type); in TEST() 18 EXPECT_EQ(0u, token.flags); in TEST() 19 EXPECT_EQ(0, token.location.line); in TEST() 20 EXPECT_EQ(0, token.location.file); in TEST() 21 EXPECT_EQ("", token.text); in TEST() 26 pp::Token token; in TEST() local 27 token.type = 1; in TEST() 28 token.flags = 1; in TEST() [all …]
|
| /external/antlr/runtime/ObjC/Framework/test/runtime/token/ |
| D | CommonTokenTest.m | 17 CommonToken *token = [[CommonToken newToken] retain]; 18 STAssertNotNil(token, @"Token was nil"); 19 [token release]; 24 CommonToken *token = [[CommonToken eofToken] retain]; 25 STAssertNotNil(token, @"Token was nil"); 26 STAssertEquals(token.type, (NSInteger)TokenTypeEOF, @"Token was not of type TokenTypeEOF"); 27 [token release]; 32 CommonToken *token = [[CommonToken newToken:TokenTypeUP] retain]; 33 token.text = @"<UP>"; 34 STAssertNotNil(token, @"Token was nil"); [all …]
|
| /external/antlr/runtime/C/src/ |
| D | antlr3commontoken.c | 2 * Contains the default implementation of the common token used within 38 /* Token API 40 static pANTLR3_STRING getText (pANTLR3_COMMON_TOKEN token); 41 static void setText (pANTLR3_COMMON_TOKEN token, pANTLR3_STRING text); 42 static void setText8 (pANTLR3_COMMON_TOKEN token, pANTLR3_UINT8 text); 43 static ANTLR3_UINT32 getType (pANTLR3_COMMON_TOKEN token); 44 static void setType (pANTLR3_COMMON_TOKEN token, ANTLR3_UINT32 type); 45 static ANTLR3_UINT32 getLine (pANTLR3_COMMON_TOKEN token); 46 static void setLine (pANTLR3_COMMON_TOKEN token, ANTLR3_UINT32 line); 47 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token); [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Library/ |
| D | PcdLib.h | 27 Retrieves a token number based on a token name. 29 Returns the token number associated with the PCD token specified by TokenName. 30 If TokenName is not a valid token in the token space, then the module will not build. 32 @param TokenName The name of the PCD token to retrieve the token number for. 34 @return The token number associated with the PCD. 41 Retrieves a Boolean PCD feature flag based on a token name. 44 If TokenName is not a valid token in the token space, then the module will not build. 47 @param TokenName The name of the PCD token to retrieve a current value for. 56 Retrieves an 8-bit fixed PCD token value based on a token name. 58 Returns the 8-bit value for the token specified by TokenName. [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Library/ |
| D | PcdLib.h | 26 Retrieves a token number based on a token name. 28 Returns the token number associated with the PCD token specified by TokenName. 29 If TokenName is not a valid token in the token space, then the module will not build. 31 @param TokenName The name of the PCD token to retrieve the token number for. 33 @return The token number associated with the PCD. 39 Retrieves a Boolean PCD feature flag based on a token name. 42 If TokenName is not a valid token in the token space, then the module will not build. 45 @param TokenName The name of the PCD token to retrieve a current value for. 53 Retrieves an 8-bit fixed PCD token value based on a token name. 55 Returns the 8-bit value for the token specified by TokenName. [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Library/ |
| D | PcdLib.h | 33 Retrieves a token number based on a token name. 35 Returns the token number associated with the PCD token specified by TokenName. 36 If TokenName is not a valid token in the token space, then the module will not build. 38 @param TokenName The name of the PCD token to retrieve the token number for. 40 @return The token number associated with the PCD. 47 Retrieves a Boolean PCD feature flag based on a token name. 50 If TokenName is not a valid token in the token space, then the module will not build. 53 @param TokenName The name of the PCD token to retrieve a current value for. 62 Retrieves an 8-bit fixed PCD token value based on a token name. 64 Returns the 8-bit value for the token specified by TokenName. [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Library/ |
| D | PcdLib.h | 27 Retrieves a token number based on a token name. 29 Returns the token number associated with the PCD token specified by TokenName. 30 If TokenName is not a valid token in the token space, then the module will not build. 32 @param TokenName The name of the PCD token to retrieve the token number for. 34 @return The token number associated with the PCD. 41 Retrieves a Boolean PCD feature flag based on a token name. 44 If TokenName is not a valid token in the token space, then the module will not build. 47 @param TokenName The name of the PCD token to retrieve a current value for. 56 Retrieves an 8-bit fixed PCD token value based on a token name. 58 Returns the 8-bit value for the token specified by TokenName. [all …]
|
| /external/libxml2/doc/ |
| D | apibuild.py | 397 def push(self, token): argument 398 self.tokens.insert(0, token); 401 print("Last token: ", self.last) 402 print("Token queue: ", self.tokens) 405 def token(self): member in CLexer 626 def error(self, msg, token=-1): argument 631 if token != -1: 632 print("Got token ", token) 636 def debug(self, msg, token=-1): argument 638 if token != -1: [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/doc/lex/ |
| D | tokens_values.qbk | 9 [section:lexer_token_values About Tokens and Token Values] 13 time separated by whitespace. The different token types recognized by a lexical 14 analyzer often get assigned unique integer token identifiers (token ids). These 15 token ids are normally used by the parser to identify the current token without 17 different with respect to this, as it uses the token ids as the main means of 18 identification of the different token types defined for a particular lexical 20 sense that it returns (references to) instances of a (user defined) token class 21 to the user. The only limitation of this token class is that it must carry at 22 least the token id of the token it represents. For more information about the 23 interface a user defined token type has to expose please look at the [all …]
|
| /external/angle/util/capture/ |
| D | trace_interpreter.h | 28 using Token = char[kMaxTokenSize]; variable 30 CallCapture ParseCallCapture(const Token &nameToken, 32 const Token *paramTokens, 36 void PackParameter(ParamBuffer ¶ms, const Token &token, const TraceStringMap &strings); 40 const Token &token, 44 void PackParameter<int32_t>(ParamBuffer ¶ms, const Token &token, const TraceStringMap &strings); 47 void PackParameter<void *>(ParamBuffer ¶ms, const Token &token, const TraceStringMap &strings); 51 const Token &token, 55 void PackParameter<void **>(ParamBuffer ¶ms, const Token &token, const TraceStringMap &strings); 59 const Token &token, [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Ppi/ |
| D | Pcd.h | 6 The interfaces for dynamic type PCD do not require the token space guid as parameter, 7 but interfaces for dynamic-ex type PCD require token space guid as parameter. 23 Sets the SKU value for subsequent calls to set or get PCD token values. 28 For each item (token), the database can hold a single value that applies to all SKUs, 34 single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the 35 …l to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token, 40 set values associated with a PCD token. 52 Retrieves an 8-bit value for a given PCD token. 54 Retrieves the current byte-sized value for a PCD token number. 57 @param[in] TokenNumber The PCD token number. [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Ppi/ |
| D | Pcd.h | 6 The interfaces for dynamic type PCD do not require the token space guid as parameter, 7 but interfaces for dynamic-ex type PCD require token space guid as parameter. 30 Sets the SKU value for subsequent calls to set or get PCD token values. 35 For each item (token), the database can hold a single value that applies to all SKUs, 41 single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the 42 …l to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token, 47 set values associated with a PCD token. 61 Retrieves an 8-bit value for a given PCD token. 63 Retrieves the current byte-sized value for a PCD token number. 66 @param[in] TokenNumber The PCD token number. [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Ppi/ |
| D | Pcd.h | 6 The interfaces for dynamic type PCD do not require the token space guid as parameter, 7 but interfaces for dynamic-ex type PCD require token space guid as parameter. 24 Sets the SKU value for subsequent calls to set or get PCD token values. 29 For each item (token), the database can hold a single value that applies to all SKUs, 35 single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the 36 …l to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token, 41 set values associated with a PCD token. 55 Retrieves an 8-bit value for a given PCD token. 57 Retrieves the current byte-sized value for a PCD token number. 60 @param[in] TokenNumber The PCD token number. [all …]
|
| /external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Ppi/ |
| D | Pcd.h | 6 The interfaces for dynamic type PCD do not require the token space guid as parameter, 7 but interfaces for dynamic-ex type PCD require token space guid as parameter. 24 Sets the SKU value for subsequent calls to set or get PCD token values. 29 For each item (token), the database can hold a single value that applies to all SKUs, 35 single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the 36 …l to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token, 41 set values associated with a PCD token. 55 Retrieves an 8-bit value for a given PCD token. 57 Retrieves the current byte-sized value for a PCD token number. 60 @param[in] TokenNumber The PCD token number. [all …]
|