Home
last modified time | relevance | path

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

12345678

/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/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/elfutils/src/tests/
Drun-addr2line-i-lex-test.sh35 testfiles testfile-lex-inlines
37 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000680 <<\…
41 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000681 <<\…
45 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000690 <<\…
50 testrun_compare ${abs_top_builddir}/src/addr2line -i -e testfile-lex-inlines 0x0000000000000691 <<\…
56 testrun_compare ${abs_top_builddir}/src/addr2line -f -i -e testfile-lex-inlines 0x0000000000000680 …
/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/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/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/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/selinux/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/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/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/libvncserver/
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/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/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/libusb-compat/
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
/external/marisa-trie/
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
/external/libvorbis/
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/cmockery/cmockery_0_1_2/
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/libusb/
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
/external/libogg/
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

12345678