Home
last modified time | relevance | path

Searched refs:lex (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/external/javassist/src/main/javassist/compiler/
DParser.java21 private Lex lex; field in Parser
23 public Parser(Lex lex) { in Parser() argument
24 this.lex = lex; in Parser()
27 public boolean hasMore() { return lex.lookAhead() >= 0; } in hasMore()
46 if (lex.lookAhead() == Identifier && lex.lookAhead(1) == '(') { in parseMember1()
53 if (lex.get() != Identifier) in parseMember1()
54 throw new SyntaxError(lex); in parseMember1()
60 name = lex.getString(); in parseMember1()
63 if (isConstructor || lex.lookAhead() == '(') in parseMember1()
78 if (lex.lookAhead() == '=') { in parseField()
[all …]
DCompileError.java22 private Lex lex; field in CompileError
27 lex = l; in CompileError()
32 lex = null; in CompileError()
43 public Lex getLex() { return lex; } in getLex()
/external/srec/srec/Semproc/src/
DLexicalAnalyzer.c49 ESR_ReturnCode LA_Analyze(LexicalAnalyzer *lex, LCHAR *script) in LA_Analyze() argument
51 if (lex == NULL || script == NULL) in LA_Analyze()
58 lex->nextToken = lex->script = script; in LA_Analyze()
62 ESR_ReturnCode LA_Free(LexicalAnalyzer *lex) in LA_Free() argument
64 if (lex == NULL) in LA_Free()
69 FREE(lex); in LA_Free()
74 ESR_ReturnCode LA_nextToken(LexicalAnalyzer *lex, LCHAR *tokenBuf, size_t* tokenLen) in LA_nextToken() argument
79 while (LISSPACE(*lex->nextToken)) in LA_nextToken()
80 ++lex->nextToken; in LA_nextToken()
82 switch (*lex->nextToken) in LA_nextToken()
[all …]
/external/llvm/utils/lit/lit/
DShUtil.py162 def lex(self): member in ShLexer
175 self.tokens = ShLexer(data, win32Escapes = win32Escapes).lex()
177 def lex(self): member in ShParser
183 token = self.lex()
189 tok = self.lex()
206 args.append(self.lex())
215 op = self.lex()
216 arg = self.lex()
228 self.lex()
236 operator = self.lex()
[all …]
/external/bison/m4/
Dflex.m49 # Look for flex or lex. Set its associated library to LEXLIB.
10 # Check if lex declares yytext as a char * by default, not a char[].
12 AN_PROGRAM([lex], [AC_PROG_LEX])
15 [AC_CHECK_PROGS([LEX], [flex lex], [:])
26 [AC_CACHE_CHECK([whether lex is flex],
64 AC_CACHE_CHECK([lex output file root], [ac_cv_prog_lex_root], [
65 if test -f lex.yy.c; then
66 ac_cv_prog_lex_root=lex.yy
75 AC_CACHE_CHECK([lex library], [ac_cv_lib_lex], [
92 [# POSIX says lex can declare yytext either as a pointer or an array; the
[all …]
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DDirectiveParser.cpp114 lexer->lex(token); in skipUntilEOD()
156 virtual void lex(Token *token) in lex() function in pp::DefinedParser
160 mLexer->lex(token); in lex()
167 mLexer->lex(token); in lex()
171 mLexer->lex(token); in lex()
186 mLexer->lex(token); in lex()
220 void DirectiveParser::lex(Token *token) in lex() function in pp::DirectiveParser
224 mTokenizer->lex(token); in lex()
253 mTokenizer->lex(token); in parseDirective()
333 mTokenizer->lex(token); in parseDefine()
[all …]
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
Dif_test.cpp620 mPreprocessor.lex(&token); in TEST_F()
634 mPreprocessor.lex(&token); in TEST_F()
648 mPreprocessor.lex(&token); in TEST_F()
662 mPreprocessor.lex(&token); in TEST_F()
676 mPreprocessor.lex(&token); in TEST_F()
690 mPreprocessor.lex(&token); in TEST_F()
709 mPreprocessor.lex(&token); in TEST_F()
743 mPreprocessor.lex(&token); in TEST_F()
757 mPreprocessor.lex(&token); in TEST_F()
771 mPreprocessor.lex(&token); in TEST_F()
[all …]
Dlocation_test.cpp21 mPreprocessor.lex(&token); in expectLocation()
85 mPreprocessor.lex(&token); in TEST_F()
115 mPreprocessor.lex(&token); in TEST_F()
121 mPreprocessor.lex(&token); in TEST_F()
133 mPreprocessor.lex(&token); in TEST_F()
139 mPreprocessor.lex(&token); in TEST_F()
151 mPreprocessor.lex(&token); in TEST_F()
157 mPreprocessor.lex(&token); in TEST_F()
267 mPreprocessor.lex(&token); in TEST_F()
291 mPreprocessor.lex(&token); in TEST_P()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dlexer.ml5 let rec lex = parser var
7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream
27 [< 'Token.Kwd c; lex stream >]
36 | [< stream=lex >] ->
43 | [< stream=lex >] ->
50 | [< ' ('\n'); stream=lex >] -> stream
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dlexer.ml5 let rec lex = parser var
7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream
27 [< 'Token.Kwd c; lex stream >]
36 | [< stream=lex >] ->
43 | [< stream=lex >] ->
50 | [< ' ('\n'); stream=lex >] -> stream
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dlexer.ml5 let rec lex = parser var
7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream
27 [< 'Token.Kwd c; lex stream >]
36 | [< stream=lex >] ->
43 | [< stream=lex >] ->
50 | [< ' ('\n'); stream=lex >] -> stream
/external/owasp/sanitizer/src/tests/org/owasp/html/
DCssTokensTest.java45 private static CssTokens lex(String s) { in lex() method in CssTokensTest
46 CssTokens tokens = CssTokens.lex(s); in lex()
51 CssTokens.lex(tokens.normalizedCss).normalizedCss); in lex()
57 CssTokens tokens = lex("([foo[[||]])"); in testBracketIndices()
118 CssTokens tokens = lex(input); in testStringEscaping()
134 lex( in testComments()
141 assertEquals("foo/ bar/", lex("foo/bar/").normalizedCss); in testNonCommentSlash()
148 lex("||<!-- and --> are ignorable||").normalizedCss); in testCdoCdc()
151 lex("<!-\\- and -\\-> are not ignorable").normalizedCss); in testCdoCdc()
208 CssTokens tokens = lex(input); in testIdentReencoding()
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dlexer.ml5 let rec lex = parser var
7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream
27 [< 'Token.Kwd c; lex stream >]
36 | [< stream=lex >] ->
43 | [< stream=lex >] ->
57 | [< ' ('\n'); stream=lex >] -> stream
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dlexer.ml5 let rec lex = parser var
7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream
27 [< 'Token.Kwd c; lex stream >]
36 | [< stream=lex >] ->
43 | [< stream=lex >] ->
55 | [< ' ('\n'); stream=lex >] -> stream
/external/checkpolicy/
DMakefile17 CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \
24 GENERATED=lex.yy.c y.tab.c y.tab.h
39 lex.yy.o: lex.yy.c
45 lex.yy.c: policy_scan.l y.tab.c
60 -rm -f $(TARGETS) $(CHECKPOLOBJS) $(CHECKMODOBJS) y.tab.c y.tab.h lex.yy.c
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dlexer.ml5 let rec lex = parser var
7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream
27 [< 'Token.Kwd c; lex stream >]
36 | [< stream=lex >] ->
43 | [< stream=lex >] ->
58 | [< ' ('\n'); stream=lex >] -> stream
/external/libopus/
Dmissing120 lex*|yacc*)
241 lex*|flex*)
247 rm -f lex.yy.c
254 cp "$SRCFILE" lex.yy.c
259 if test ! -f lex.yy.c; then
260 echo 'main() { return 0; }' >lex.yy.c
/external/openfst/
Dmissing120 lex*|yacc*)
241 lex*|flex*)
247 rm -f lex.yy.c
254 cp "$SRCFILE" lex.yy.c
259 if test ! -f lex.yy.c; then
260 echo 'main() { return 0; }' >lex.yy.c
/external/bison/build-aux/
Dmissing119 lex*|yacc*)
240 lex*|flex*)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if test ! -f lex.yy.c; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/llvm/autoconf/
Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/chromium_org/third_party/opus/src/
Dmissing120 lex*|yacc*)
241 lex*|flex*)
247 rm -f lex.yy.c
254 cp "$SRCFILE" lex.yy.c
259 if test ! -f lex.yy.c; then
260 echo 'main() { return 0; }' >lex.yy.c
/external/pixman/
Dmissing120 lex*|yacc*)
241 lex*|flex*)
247 rm -f lex.yy.c
254 cp "$SRCFILE" lex.yy.c
259 if test ! -f lex.yy.c; then
260 echo 'main() { return 0; }' >lex.yy.c
/external/libcap-ng/libcap-ng-0.7/
Dmissing120 lex*|yacc*)
241 lex*|flex*)
247 rm -f lex.yy.c
254 cp "$SRCFILE" lex.yy.c
259 if test ! -f lex.yy.c; then
260 echo 'main() { return 0; }' >lex.yy.c
/external/genext2fs/
Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/protobuf/
Dmissing113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c

12345678910>>...13