Home
last modified time | relevance | path

Searched defs:Token (Results 1 – 25 of 1424) sorted by relevance

12345678910>>...57

/aosp_15_r20/external/golang-protobuf/internal/encoding/text/
H A Ddecode_token.go109 type Token struct { struct
111 kind Kind
115 attrs uint8
119 numAttrs uint8
121 pos int
124 raw []byte
129 str string
133 func (t Token) Kind() Kind {
138 func (t Token) RawString() string {
143 func (t Token) Pos() int {
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/binary/
Dmod.rs74 I: Stream<Token = u8>, in be_u8()
118 I: Stream<Token = u8>, in be_u16()
163 I: Stream<Token = u8>, in be_u24()
208 I: Stream<Token = u8>, in be_u32()
253 I: Stream<Token = u8>, in be_u64()
298 I: Stream<Token = u8>, in be_u128()
308 I: Stream<Token = u8>, in be_uint()
370 I: Stream<Token = u8>, in be_i8()
414 I: Stream<Token = u8>, in be_i16()
462 I: Stream<Token = u8>, in be_i24()
[all …]
/aosp_15_r20/external/golang-protobuf/internal/encoding/json/
H A Ddecode_token.go68 type Token struct { struct
70 kind Kind
72 pos int
75 raw []byte
77 boo bool
79 str string
83 func (t Token) Kind() Kind {
88 func (t Token) RawString() string {
93 func (t Token) Pos() int {
98 func (t Token) Name() string {
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp159 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName()
261 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) { in maybeLexIdentifier()
273 static Cursor maybeLexMachineBasicBlock(Cursor C, MIToken &Token, in maybeLexMachineBasicBlock()
308 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex()
321 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndexAndName()
344 static Cursor maybeLexJumpTableIndex(Cursor C, MIToken &Token) { in maybeLexJumpTableIndex()
348 static Cursor maybeLexStackObject(Cursor C, MIToken &Token) { in maybeLexStackObject()
352 static Cursor maybeLexFixedStackObject(Cursor C, MIToken &Token) { in maybeLexFixedStackObject()
356 static Cursor maybeLexConstantPoolItem(Cursor C, MIToken &Token) { in maybeLexConstantPoolItem()
360 static Cursor maybeLexSubRegisterIndex(Cursor C, MIToken &Token, in maybeLexSubRegisterIndex()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp168 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName()
286 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) { in maybeLexIdentifier()
298 static Cursor maybeLexMachineBasicBlock(Cursor C, MIToken &Token, in maybeLexMachineBasicBlock()
333 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex()
346 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndexAndName()
369 static Cursor maybeLexJumpTableIndex(Cursor C, MIToken &Token) { in maybeLexJumpTableIndex()
373 static Cursor maybeLexStackObject(Cursor C, MIToken &Token) { in maybeLexStackObject()
377 static Cursor maybeLexFixedStackObject(Cursor C, MIToken &Token) { in maybeLexFixedStackObject()
381 static Cursor maybeLexConstantPoolItem(Cursor C, MIToken &Token) { in maybeLexConstantPoolItem()
385 static Cursor maybeLexSubRegisterIndex(Cursor C, MIToken &Token, in maybeLexSubRegisterIndex()
[all …]
/aosp_15_r20/external/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp154 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName()
176 static Cursor maybeLexIntegerType(Cursor C, MIToken &Token) { in maybeLexIntegerType()
233 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) { in maybeLexIdentifier()
245 static Cursor maybeLexMachineBasicBlock(Cursor C, MIToken &Token, in maybeLexMachineBasicBlock()
277 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex()
290 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndexAndName()
313 static Cursor maybeLexJumpTableIndex(Cursor C, MIToken &Token) { in maybeLexJumpTableIndex()
317 static Cursor maybeLexStackObject(Cursor C, MIToken &Token) { in maybeLexStackObject()
321 static Cursor maybeLexFixedStackObject(Cursor C, MIToken &Token) { in maybeLexFixedStackObject()
325 static Cursor maybeLexConstantPoolItem(Cursor C, MIToken &Token) { in maybeLexConstantPoolItem()
[all …]
/aosp_15_r20/external/angle/src/compiler/preprocessor/
H A DToken.h21 struct Token struct
23 enum Type
70 Token() : type(0), flags(0) {} in Token() function
97 inline bool operator==(const Token &lhs, const Token &rhs) argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Lex/
DDependencyDirectivesScanner.h34 struct Token { struct
38 tok::TokenKind Kind; argument
41 Token(unsigned Offset, unsigned Length, tok::TokenKind Kind, in Token() argument
47 bool is(tok::TokenKind K) const { return Kind == K; } in is() argument
48 bool isNot(tok::TokenKind K) const { return Kind != K; } in isNot() argument
49 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf() argument
52 template <typename... Ts> bool isOneOf(tok::TokenKind K1, Ts... Ks) const { in isOneOf() argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Lex/
DDependencyDirectivesScanner.h34 struct Token { struct
38 tok::TokenKind Kind; argument
41 Token(unsigned Offset, unsigned Length, tok::TokenKind Kind, in Token() argument
47 bool is(tok::TokenKind K) const { return Kind == K; } in is() argument
48 bool isNot(tok::TokenKind K) const { return Kind != K; } in isNot() argument
49 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf() argument
52 template <typename... Ts> bool isOneOf(tok::TokenKind K1, Ts... Ks) const { in isOneOf() argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Lex/
DDependencyDirectivesScanner.h34 struct Token { struct
38 tok::TokenKind Kind; argument
41 Token(unsigned Offset, unsigned Length, tok::TokenKind Kind, in Token() argument
47 bool is(tok::TokenKind K) const { return Kind == K; } in is() argument
48 bool isNot(tok::TokenKind K) const { return Kind != K; } in isNot() argument
49 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf() argument
52 template <typename... Ts> bool isOneOf(tok::TokenKind K1, Ts... Ks) const { in isOneOf() argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Lex/
DDependencyDirectivesScanner.h34 struct Token { struct
38 tok::TokenKind Kind; argument
41 Token(unsigned Offset, unsigned Length, tok::TokenKind Kind, in Token() argument
47 bool is(tok::TokenKind K) const { return Kind == K; } in is() argument
48 bool isNot(tok::TokenKind K) const { return Kind != K; } in isNot() argument
49 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf() argument
52 template <typename... Ts> bool isOneOf(tok::TokenKind K1, Ts... Ks) const { in isOneOf() argument
/aosp_15_r20/external/cldr/tools/c/genldml/
H A Dgenldml.h49 struct Token{ struct
50 UChar* start;
51 UChar* end ;
52 UChar* current;
53 UChar* prevCurrent;
54 UChar* chars;
55 int32_t charsCapacity;
56 int32_t charsLen;
/aosp_15_r20/external/antlr/runtime/ObjC/Framework/
H A DDebugTreeAdaptor.m92 - (id<BaseTree>) newTreeWithToken:(id<Token>) payload
136 - (void) addTokenAsChild:(id<Token>)child toTree:(id<BaseTree>)aTree
142 - (id<BaseTree>) makeToken:(id<Token>)newRoot parentOf:(id<BaseTree>)oldRoot
161 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken tokenType:(NSInteger)tokenType
168 …e>) newTreeWithToken:(id<Token>)fromToken tokenType:(NSInteger)tokenType text:(NSString *)tokenText
175 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken text:(NSString *)tokenText
201 …tBoundariesForTree:(id<BaseTree>)aTree fromToken:(id<Token>)startToken toToken:(id<Token>)stopToken
H A DTokenRewriteStream.m279 - (void) insertAfterToken:(id<Token>)t Text:(NSString *)theText
304 - (void) insertBeforeToken:(id<Token>)t Text:(NSString *)theText
333 - (void) replaceFromToken:(id<Token>)anIndexT Text:(NSString *)theText
338 - (void) replaceFromToken:(id<Token>)from ToToken:(id<Token>)to Text:(NSString *)theText
343 …eProgNam:(NSString *)programName Token:(id<Token>)from Token:(id<Token>)to Text:(NSString *)theText
369 - (void) deleteToken:(id<Token>)anIndexT
374 - (void) deleteFromToken:(id<Token>)from ToToken:(id<Token>)to
379 - (void) delete:(NSString *)programName FromToken:(id<Token>)from ToToken:(id<Token>)to
H A DBaseTreeAdaptor.m84 - (id) errorNode:(id<TokenStream>)anInput
215 - (id)becomeRootfromToken:(id<Token>)newRoot old:(id)oldRoot
220 - (id) create:(id<Token>)aToken
225 - (id)createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken
234 - (id)createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken Text:(NSString *)text
381 - (id<Token>) createToken:(id<Token>) fromToken
391 - (void) setTokenBoundaries:(id)aTree From:(id<Token>)startToken To:(id<Token>)stopToken
H A DTreeAdaptor.m50 - (id) initWithPayload:(id<Token>)payload
64 - (id) create:(id<Token>) payload
75 - (id) createTree:(NSInteger)tokenType fromToken:(id<Token>)fromToken
91 - (id) createTree:(NSInteger)tokenType fromToken:(id<Token>)fromToken text:(NSString *)tokenText
220 - (void) setBoundariesForTree:(id)aTree fromToken:(id<Token>)startToken toToken:(id<Token>)stopToken
/aosp_15_r20/external/golang-protobuf/encoding/protojson/
H A Ddecode.go343 func unmarshalInt(tok json.Token, bitSize int) (protoreflect.Value, bool) {
364 func getInt(tok json.Token, bitSize int) (protoreflect.Value, bool) {
375 func unmarshalUint(tok json.Token, bitSize int) (protoreflect.Value, bool) {
396 func getUint(tok json.Token, bitSize int) (protoreflect.Value, bool) {
407 func unmarshalFloat(tok json.Token, bitSize int) (protoreflect.Value, bool) {
446 func getFloat(tok json.Token, bitSize int) (protoreflect.Value, bool) {
457 func unmarshalBytes(tok json.Token) (protoreflect.Value, bool) {
477 func unmarshalEnum(tok json.Token, fd protoreflect.FieldDescriptor) (protoreflect.Value, bool) {
/aosp_15_r20/external/skia/src/sksl/
H A DSkSLLexer.h16 struct Token { struct
17 enum class Kind {
114 Token() {} in Token() argument
115 Token(Kind kind, int32_t offset, int32_t length) in Token() argument
130 Token next(); argument
/aosp_15_r20/external/rust/android-crates-io/crates/cexpr/src/
Dtoken.rs24 pub struct Token { struct
31 impl<'a> From<(Kind, &'a [u8])> for Token { argument
32 fn from((kind, value): (Kind, &'a [u8])) -> Token { in from()
41 pub fn remove_comments(v: &mut Vec<Token>) -> &mut Vec<Token> { in remove_comments()
/aosp_15_r20/external/ComputeLibrary/src/runtime/CL/mlgo/
H A DMLGOParser.h106 struct Token struct
108 Token(TokenType t, std::string v, CharPosition pos) in Token() function
118 TokenType type; /**< Token type */ argument
119 std::string value; /**< Token value */ argument
126 // NOTE: _tokens is never empty. The end of token stream is signalled by the End Token argument
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/asm/internal/asm/
Dasm.go100 func (p *Parser) evalInteger(pseudo string, operands []lex.Token) int64 {
116 func (p *Parser) asmText(operands [][]lex.Token) {
205 func (p *Parser) asmData(operands [][]lex.Token) {
278 func (p *Parser) asmGlobl(operands [][]lex.Token) {
310 func (p *Parser) asmPCData(operands [][]lex.Token) {
341 func (p *Parser) asmPCAlign(operands [][]lex.Token) {
363 func (p *Parser) asmFuncData(operands [][]lex.Token) {
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/token/
Dmod.rs46 pub fn any<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Token, E> in any()
63 ) -> PResult<<I as Stream>::Token, E> in any_()
313 pub fn one_of<I, T, Error: ParserError<I>>(list: T) -> impl Parser<I, <I as Stream>::Token, Error> in one_of()
318 T: ContainsToken<<I as Stream>::Token>, in one_of()
353 pub fn none_of<I, T, Error: ParserError<I>>(list: T) -> impl Parser<I, <I as Stream>::Token, Error> in none_of()
358 T: ContainsToken<<I as Stream>::Token>, in none_of()
509 T: ContainsToken<<I as Stream>::Token>, in take_while()
550 T: ContainsToken<<I as Stream>::Token>, in take_while0_()
566 T: ContainsToken<<I as Stream>::Token>, in take_while1_()
584 T: ContainsToken<<I as Stream>::Token>, in take_while_m_n_()
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Dunesctrn.cpp98 static Transliterator* _createUnicode(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createUnicode()
101 static Transliterator* _createJava(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createJava()
104 static Transliterator* _createC(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createC()
107 static Transliterator* _createXML(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createXML()
110 static Transliterator* _createXML10(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createXML10()
113 static Transliterator* _createPerl(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createPerl()
116 static Transliterator* _createAny(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createAny()
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Dunesctrn.cpp98 static Transliterator* _createUnicode(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createUnicode()
101 static Transliterator* _createJava(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createJava()
104 static Transliterator* _createC(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createC()
107 static Transliterator* _createXML(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createXML()
110 static Transliterator* _createXML10(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createXML10()
113 static Transliterator* _createPerl(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createPerl()
116 static Transliterator* _createAny(const UnicodeString& ID, Transliterator::Token /*context*/) { in _createAny()
/aosp_15_r20/external/libtextclassifier/native/annotator/
H A Dtypes.h202 struct Token { struct
214 Token() in Token() argument
219 Token(const std::string& arg_value, CodepointIndex arg_start, in Token() argument
225 Token(const std::string& arg_value, CodepointIndex arg_start, in Token() argument
243 // Pretty-printing function for Token. argument

12345678910>>...57