Home
last modified time | relevance | path

Searched defs:lexer (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/aosp_15_r20/prebuilts/go/linux-x86/src/text/template/parse/
Dlex.go113 type lexer struct { struct
114 name string // the name of the input; used only for error reports
115 input string // the string being scanned
116 leftDelim string // start of action marker
117 rightDelim string // end of action marker
118 pos Pos // current position in the input
119 start Pos // start position of this item
120 atEOF bool // we have hit the end of input and returned eof
121 parenDepth int // nesting depth of ( ) exprs
122 line int // 1+number of newlines seen
[all …]
/aosp_15_r20/external/pdfium/xfa/fxfa/formcalc/
H A Dcxfa_fmlexer_unittest.cpp13 CXFA_FMLexer lexer(null_string); in TEST() local
20 CXFA_FMLexer lexer(L""); in TEST() local
28 CXFA_FMLexer lexer(L"-12"); in TEST() local
38 CXFA_FMLexer lexer(L"1.5362"); in TEST() local
44 CXFA_FMLexer lexer(L"0.875"); in TEST() local
50 CXFA_FMLexer lexer(L"5.56e-2"); in TEST() local
56 CXFA_FMLexer lexer(L"1.234E10"); in TEST() local
62 CXFA_FMLexer lexer(L"123456789.012345678"); in TEST() local
70 CXFA_FMLexer lexer(L"99999999999999999"); in TEST() local
84 CXFA_FMLexer lexer(L"\"The cat jumped over the fence.\""); in TEST() local
[all …]
H A Dcxfa_fmparser_unittest.cpp15 CXFA_FMLexer lexer(L""); in TEST_F() local
29 CXFA_FMLexer lexer(L"; Just comment"); in TEST_F() local
61 CXFA_FMLexer lexer(L"; Just comment\n12"); in TEST_F() local
131 CXFA_FMLexer lexer(input); in TEST_F() local
144 CXFA_FMLexer lexer(L"foo(bar[baz(fizz[0])])"); in TEST_F() local
152 CXFA_FMLexer lexer( in TEST_F() local
163 CXFA_FMLexer lexer(L"(a=(b=t))=u"); in TEST_F() local
197 CXFA_FMLexer lexer(input); in TEST_F() local
236 CXFA_FMLexer lexer(input); in TEST_F() local
254 CXFA_FMLexer lexer(input); in TEST_F() local
[all …]
/aosp_15_r20/external/icing/icing/query/advanced_query_parser/
H A Dparser_integration_test.cc40 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
51 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
61 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
83 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
110 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
137 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
164 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
189 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
214 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
241 Lexer lexer(query, Lexer::Language::QUERY); in TEST() local
[all …]
H A Dlexer_test.cc49 std::unique_ptr<Lexer> lexer = in TEST() local
73 std::unique_ptr<Lexer> lexer = in TEST() local
101 std::unique_ptr<Lexer> lexer = in TEST() local
125 std::unique_ptr<Lexer> lexer = in TEST() local
158 std::unique_ptr<Lexer> lexer = in TEST() local
194 std::unique_ptr<Lexer> lexer = in TEST() local
203 std::unique_ptr<Lexer> lexer = in TEST() local
229 std::unique_ptr<Lexer> lexer = in TEST() local
291 std::unique_ptr<Lexer> lexer = std::make_unique<Lexer>( in TEST() local
334 std::unique_ptr<Lexer> lexer = std::make_unique<Lexer>( in TEST() local
[all …]
/aosp_15_r20/external/antlr/runtime/C/src/
H A Dantlr3lexer.c74 pANTLR3_LEXER lexer; in antlr3LexerNew() local
177 pANTLR3_LEXER lexer; in reset() local
219 pANTLR3_LEXER lexer; in nextTokenStr() local
353 pANTLR3_LEXER lexer; in nextToken() local
386 pANTLR3_LEXER lexer; in antlr3LexerNewStream() local
402 static void mTokens (pANTLR3_LEXER lexer) in mTokens()
429 pANTLR3_LEXER lexer; in displayRecognitionError() local
492 static void setCharStream (pANTLR3_LEXER lexer, pANTLR3_INPUT_STREAM input) in setCharStream()
564 pushCharStream (pANTLR3_LEXER lexer, pANTLR3_INPUT_STREAM input) in pushCharStream()
610 popCharStream (pANTLR3_LEXER lexer) in popCharStream()
[all …]
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/utils/vscode/src/parser/
Dparser.go164 type lexer struct { struct
165 source string
166 lexerState
167 diags []Diagnostic
168 e error
178 func (l *lexer) err(tok *Token, msg string, args ...interface{}) {
192 func (l *lexer) next() rune {
213 func (l *lexer) save() lexerState {
218 func (l *lexer) restore(s lexerState) {
224 func (l *lexer) pident() {
[all …]
/aosp_15_r20/external/angle/third_party/spirv-tools/src/utils/vscode/src/parser/
H A Dparser.go164 type lexer struct { struct
165 source string
166 lexerState
167 diags []Diagnostic
168 e error
178 func (l *lexer) err(tok *Token, msg string, args ...interface{}) {
192 func (l *lexer) next() rune {
213 func (l *lexer) save() lexerState {
218 func (l *lexer) restore(s lexerState) {
224 func (l *lexer) pident() {
[all …]
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/
H A Dparser.go164 type lexer struct { struct
165 source string
166 lexerState
167 diags []Diagnostic
168 e error
178 func (l *lexer) err(tok *Token, msg string, args ...interface{}) {
192 func (l *lexer) next() rune {
213 func (l *lexer) save() lexerState {
218 func (l *lexer) restore(s lexerState) {
224 func (l *lexer) pident() {
[all …]
/aosp_15_r20/external/python/pyyaml/examples/pygments-lexer/
Dyaml.py34 def callback(lexer, match, context): argument
44 def callback(lexer, match, context): argument
56 def callback(lexer, match, context): argument
78 def callback(lexer, match, context): argument
91 def callback(lexer, match, context): argument
108 def callback(lexer, match, context): argument
125 def callback(lexer, match, context): argument
145 def callback(lexer, match, context): argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/pygments/filters/
D__init__.py86 def filter(self, lexer, stream): argument
679 def filter(self, lexer, stream): argument
707 def filter(self, lexer, stream): argument
748 def filter(self, lexer, stream): argument
782 def filter(self, lexer, stream): argument
836 def filter(self, lexer, stream): argument
892 def filter(self, lexer, stream): argument
916 def filter(self, lexer, stream): argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/pygments/filters/
D__init__.py86 def filter(self, lexer, stream): argument
679 def filter(self, lexer, stream): argument
707 def filter(self, lexer, stream): argument
748 def filter(self, lexer, stream): argument
782 def filter(self, lexer, stream): argument
836 def filter(self, lexer, stream): argument
892 def filter(self, lexer, stream): argument
916 def filter(self, lexer, stream): argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/pygments/filters/
D__init__.py86 def filter(self, lexer, stream): argument
679 def filter(self, lexer, stream): argument
707 def filter(self, lexer, stream): argument
748 def filter(self, lexer, stream): argument
782 def filter(self, lexer, stream): argument
836 def filter(self, lexer, stream): argument
892 def filter(self, lexer, stream): argument
916 def filter(self, lexer, stream): argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/pygments/filters/
D__init__.py86 def filter(self, lexer, stream): argument
679 def filter(self, lexer, stream): argument
707 def filter(self, lexer, stream): argument
748 def filter(self, lexer, stream): argument
782 def filter(self, lexer, stream): argument
836 def filter(self, lexer, stream): argument
892 def filter(self, lexer, stream): argument
916 def filter(self, lexer, stream): argument
/aosp_15_r20/external/apache-xml/test/tools/
HDjtidy-1.0.3.jar ... public void checkAttributes (org.w3c.tidy.Lexer) org.w3c.tidy.Lexer lexer org
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/test/lex/
Dregression_file_iterator2.cpp51 struct lexer struct
54 lexer() in lexer() argument
81 typedef lexer::iterator_type token_iterator; argument
Dregression_file_iterator1.cpp52 struct lexer struct
55 lexer() in lexer() function
73 typedef lexer::iterator_type token_iterator; argument
Dauto_switch_lexerstate.cpp40 struct lexer struct
43 lexer() : word("^[a-zA-Z0-9]+$", 1) in lexer() argument
63 typedef lexer::iterator_type token_iterator; argument
Dregression_file_iterator4.cpp39 struct lexer struct
42 lexer() : word("^[a-zA-Z0-9]+$", 1) in lexer() argument
67 typedef lexer::iterator_type token_iterator; argument
Did_type_enum.cpp42 struct lexer struct
45 lexer() : word("^[a-zA-Z0-9]+$", ID_WORD) in lexer() function
67 typedef lexer::iterator_type token_iterator; argument
Dregression_file_iterator3.cpp54 struct lexer struct
57 lexer() : st("'[^'\\n]*'", 1) in lexer() argument
73 typedef lexer::iterator_type token_iterator; argument
Dtoken_omit.cpp189 token_definitions<lexer_type> lexer; in main() local
205 token_definitions<lexer_type> lexer; in main() local
223 token_definitions_with_state<lexer_type> lexer; in main() local
240 token_definitions_with_state<lexer_type> lexer; in main() local
Dtoken_iterpair.cpp186 token_definitions<lexer_type> lexer; in main() local
202 token_definitions<lexer_type> lexer; in main() local
220 token_definitions_with_state<lexer_type> lexer; in main() local
237 token_definitions_with_state<lexer_type> lexer; in main() local
Dset_token_value.cpp166 set_token_value<lexer_type> lexer; in main() local
184 set_token_value<lexer_type> lexer; in main() local
206 set_token_value<lexer_type> lexer; in main() local
230 set_token_value<lexer_type> lexer; in main() local
/aosp_15_r20/external/kotlinx.serialization/formats/json/commonMain/src/kotlinx/serialization/json/internal/
H A DJsonStreams.kt40 val lexer = ReaderJsonLexer(reader) in decodeByReader() constant
59 …val lexer = ReaderJsonLexer(reader, CharArray(BATCH_SIZE)) // Unpooled buffer due to lazy nature o… in decodeToSequenceByReader() constant

12345678910>>...16