Home
last modified time | relevance | path

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

12345678910>>...13

/openbsd/src/gnu/usr.bin/perl/t/opbasic/
Dconcat.t262 my $lex;
456 $lex = "-";
457 is($lex, '-', '$lex = "-"');
458 $lex = "-";
459 is($lex, '-', '$lex = "-"');
460 $lex = "-";
461 is($lex, '-', '$lex = "-"');
462 $lex = "-";
463 is($lex, '-', '$lex = "-"');
464 $lex = $a1;
[all …]
/openbsd/src/usr.bin/dig/lib/isc/
Dlex.c62 grow_data(isc_lex_t *lex, size_t *remainingp, char **currp, char **prevp) { in grow_data() argument
65 tmp = malloc(lex->max_token * 2 + 1); in grow_data()
68 memmove(tmp, lex->data, lex->max_token + 1); in grow_data()
69 *currp = tmp + (*currp - lex->data); in grow_data()
71 *prevp = tmp + (*prevp - lex->data); in grow_data()
72 free(lex->data); in grow_data()
73 lex->data = tmp; in grow_data()
74 *remainingp += lex->max_token; in grow_data()
75 lex->max_token *= 2; in grow_data()
81 isc_lex_t *lex; in isc_lex_create() local
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/java/
Dlex.c224 java_lexer *lex = xmalloc (sizeof (java_lexer)); local
227 lex->finput = finput;
228 lex->bs_count = 0;
229 lex->unget_value = 0;
230 lex->hit_eof = 0;
233 lex->handle = iconv_open ("UCS-2", encoding);
234 if (lex->handle != (iconv_t) -1)
236 lex->first = -1;
237 lex->last = -1;
238 lex->out_first = -1;
[all …]
/openbsd/src/gnu/usr.bin/binutils/gas/
Dapp.c58 static char lex[256]; variable
82 #define IS_SYMBOL_COMPONENT(c) (lex[c] == LEX_IS_SYMBOL_COMPONENT)
83 #define IS_WHITESPACE(c) (lex[c] == LEX_IS_WHITESPACE)
84 #define IS_LINE_SEPARATOR(c) (lex[c] == LEX_IS_LINE_SEPARATOR)
85 #define IS_PARALLEL_SEPARATOR(c) (lex[c] == LEX_IS_PARALLEL_SEPARATOR)
86 #define IS_COMMENT(c) (lex[c] == LEX_IS_COMMENT_START)
87 #define IS_LINE_COMMENT(c) (lex[c] == LEX_IS_LINE_COMMENT_START)
88 #define IS_NEWLINE(c) (lex[c] == LEX_IS_NEWLINE)
102 lex[' '] = LEX_IS_WHITESPACE; in do_scrub_begin()
103 lex['\t'] = LEX_IS_WHITESPACE; in do_scrub_begin()
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/gas/
Dapp.c58 static char lex[256]; variable
82 #define IS_SYMBOL_COMPONENT(c) (lex[c] == LEX_IS_SYMBOL_COMPONENT)
83 #define IS_WHITESPACE(c) (lex[c] == LEX_IS_WHITESPACE)
84 #define IS_LINE_SEPARATOR(c) (lex[c] == LEX_IS_LINE_SEPARATOR)
85 #define IS_PARALLEL_SEPARATOR(c) (lex[c] == LEX_IS_PARALLEL_SEPARATOR)
86 #define IS_COMMENT(c) (lex[c] == LEX_IS_COMMENT_START)
87 #define IS_LINE_COMMENT(c) (lex[c] == LEX_IS_LINE_COMMENT_START)
88 #define IS_NEWLINE(c) (lex[c] == LEX_IS_NEWLINE)
102 lex[' '] = LEX_IS_WHITESPACE; in do_scrub_begin()
103 lex['\t'] = LEX_IS_WHITESPACE; in do_scrub_begin()
[all …]
/openbsd/src/gnu/llvm/llvm/utils/lit/tests/unit/
DShUtil.py9 def lex(self, str, *args, **kwargs): member in TestShLexer
10 return list(ShLexer(str, *args, **kwargs).lex())
13 self.assertEqual(self.lex('a|b>c&d<e;f'),
18 self.assertEqual(self.lex('a2>c'),
20 self.assertEqual(self.lex('a 2>c'),
24 self.assertEqual(self.lex(""" 'a' """),
26 self.assertEqual(self.lex(""" "hello\\"world" """),
28 self.assertEqual(self.lex(""" "hello\\'world" """),
30 self.assertEqual(self.lex(""" "hello\\\\world" """),
32 self.assertEqual(self.lex(""" he"llo wo"rld """),
[all …]
/openbsd/src/usr.bin/dig/lib/isc/include/isc/
Dlex.h156 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments);
167 isc_lex_setspecials(isc_lex_t *lex, isc_lexspecials_t specials);
181 isc_lex_openfile(isc_lex_t *lex, const char *filename);
200 isc_lex_close(isc_lex_t *lex);
210 isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp);
236 isc_lex_ungettoken(isc_lex_t *lex, isc_token_t *tokenp);
251 isc_lex_getlasttokentext(isc_lex_t *lex, isc_token_t *tokenp, isc_region_t *r);
266 isc_lex_getsourcename(isc_lex_t *lex);
279 isc_lex_getsourceline(isc_lex_t *lex);
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp408 void lex(unsigned SkipChar = 0);
579 void MIParser::lex(unsigned SkipChar) { in lex() function in MIParser
634 lex(); in expectAndConsume()
641 lex(); in consumeIfPresent()
648 lex(); in parseSectionID()
663 lex(); in parseSectionID()
670 lex(); in parseBBID()
675 lex(); in parseBBID()
687 lex(); in parseBasicBlockDefinition()
703 lex(); in parseBasicBlockDefinition()
[all …]
/openbsd/src/usr.bin/file/magdir/
Dlex1 # $OpenBSD: lex,v 1.4 2009/04/24 18:54:34 chl Exp $
4 # lex: file(1) magic for lex
7 0 search/100 yyprevious C program text (from lex)
11 # lex description file, from Daniel Quinlan <quinlan@yggdrasil.com>
12 0 search/1 %{ lex description text
/openbsd/src/gnu/usr.bin/perl/cpan/IO-Compress/t/compress/
Doneshot.pl95 my $lex = LexDir->new( $dir );
121 my $lex = LexFile->new( my $out_file );
338 my $lex = LexFile->new( my $in_file );
353 my $lex = LexFile->new( my $out_file );
368 my $lex = LexFile->new( my $out_file );
387 my $lex = LexFile->new( my $in_file, my $out_file) ;
405 my $lex = LexFile->new( my $in_file, my $out_file) ;
424 my $lex = LexFile->new( my $in_file, my $out_file) ;
440 my $lex = LexFile->new( my $in_file, my $out_file) ;
460 my $lex = LexFile->new( my $in_file, my $out_file) ;
[all …]
Dmerge.pl64 my $lex = LexFile->new( my $out_file );
102 my $lex = LexFile->new( my $out_file );
141 my $lex = LexFile->new( my $out_file );
185 my $lex = LexFile->new( my $out_file );
203 my $lex = LexFile->new( my $out_file );
281 my $lex = LexFile->new( my $out_file );
Dgeneric.pl86 my $lex = LexFile->new( my $name );
152 my $lex = LexFile->new( my $name );
195 my $lex = LexFile->new( my $name );
232 my $lex = LexFile->new( my $name );
275 my $lex = LexFile->new( my $name );
319 my $lex = LexFile->new( my $name );
379 my $lex = LexFile->new( my $name );
457 my $lex = LexFile->new( my $name );
500 my $lex = LexFile->new( my $name );
582 my $lex = LexFile->new( my $name );
[all …]
Dtruncate.pl55 my $lex = LexFile->new( my $name );
95 my $lex = LexFile->new( my $name );
127 my $lex = LexFile->new( my $name );
197 my $lex = LexFile->new( my $name );
245 my $lex = LexFile->new( my $name );
/openbsd/src/gnu/llvm/llvm/utils/lit/lit/
DShUtil.py180 def lex(self): member in ShLexer
193 self.tokens = ShLexer(data, win32Escapes = win32Escapes).lex()
195 def lex(self): member in ShParser
201 token = self.lex()
207 tok = self.lex()
224 args.append(self.lex())
233 op = self.lex()
234 arg = self.lex()
246 self.lex()
254 operator = self.lex()
/openbsd/src/bin/csh/
Dexec.c586 struct wordent lex[3]; in dowhich() local
589 lex[0].next = &lex[1]; in dowhich()
590 lex[1].next = &lex[2]; in dowhich()
591 lex[2].next = &lex[0]; in dowhich()
593 lex[0].prev = &lex[2]; in dowhich()
594 lex[1].prev = &lex[0]; in dowhich()
595 lex[2].prev = &lex[1]; in dowhich()
597 lex[0].word = STRNULL; in dowhich()
598 lex[2].word = STRret; in dowhich()
608 lex[1].word = *v; in dowhich()
[all …]
/openbsd/src/gnu/usr.bin/texinfo/
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
/openbsd/src/gnu/usr.bin/binutils-2.17/
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
/openbsd/src/gnu/usr.bin/cvs/
Dmissing155 lex|flex)
161 rm -f lex.yy.c
168 cp "$SRCFILE" lex.yy.c
173 if [ ! -f lex.yy.c ]; then
174 echo 'main() { return 0; }' >lex.yy.c
/openbsd/src/gnu/usr.bin/perl/dist/Locale-Maketext/t/
D04_use_external_lex_cache.t26 …::Lexicon{'Hello World'} && !ref $MyTestLocale::fr::Lexicon{'Hello World'}, 'lex value not a ref');
30 …Lexicon{'Hello World'} && !ref $MyTestLocale::fr::Lexicon{'Hello World'}, 'lex value still not a r…
34 …Lexicon{'Hello World'} && !ref $MyTestLocale::fr::Lexicon{'Hello World'}, 'lex value still not a r…
38 ok(!exists $MyTestLocale::fr::Lexicon{'This is not a key'}, '_AUTO lex value not added to lex');
/openbsd/src/gnu/usr.bin/perl/cpan/IO-Compress/t/
D011-streamzip.t57 my $lex = LexFile->new( my $stderr );
65 my $lex = LexFile->new( my $stderr );
96 my $lex = LexFile->new( $infile, $outfile );
110 my $lex = LexFile->new( $infile, $outfile );
155 my $lex = LexFile->new( $infile, $outfile );
169 my $lex = LexFile->new( $infile, $outfile );
187 my $lex = LexFile->new( $infile, $outfile );
201 my $lex = LexFile->new( $infile, $outfile );
Dcz-14gzopen.t44 my $lex = LexFile->new( my $name );
96 my $lex = LexFile->new( my $name );
141 my $lex = LexFile->new( my $file );
179 my $lex = LexFile->new( my $name );
223 my $lex = LexFile->new( my $name );
254 my $lex = LexFile->new( my $name );
288 my $lex = LexFile->new( my $name );
322 my $lex = LexFile->new( my $name );
355 my $lex = LexFile->new( my $name );
392 my $lex = LexFile->new( my $name );
[all …]
/openbsd/src/gnu/usr.bin/binutils/
Dmissing216 lex|flex)
222 rm -f lex.yy.c
229 cp "$SRCFILE" lex.yy.c
234 if [ ! -f lex.yy.c ]; then
235 echo 'main() { return 0; }' >lex.yy.c
/openbsd/src/gnu/llvm/clang/include/clang/Tooling/Syntax/
DNodes.td59 Expression for literals. C++ [lex.literal]
64 Expression for integer literals. C++ [lex.icon]
76 Expression for character literals. C++ [lex.ccon]
84 Expression for floating-point literals. C++ [lex.fcon]
96 Expression for string-literals. C++ [lex.string]
107 Expression for boolean literals. C++ [lex.bool]
115 Expression for the `nullptr` literal. C++ [lex.nullptr]
123 Expression for user-defined literal. C++ [lex.ext]
133 Expression for user-defined-integer-literal. C++ [lex.ext]
141 Expression for user-defined-floating-point-literal. C++ [lex.ext]
[all …]
/openbsd/src/share/mk/
Dsys.mk59 LEX?= lex
188 ${LEX.l} -o lex.${.PREFIX}.c ${.IMPSRC}
189 ${LINK.c} -o ${.TARGET} lex.${.PREFIX}.c ${LDLIBS} -ll
190 rm -f lex.${.PREFIX}.c
194 ${LEX.l} -o lex.${.PREFIX}.c ${.IMPSRC}
195 ${COMPILE.c} -o ${.TARGET} lex.${.PREFIX}.c
196 rm -f lex.${.PREFIX}.c
/openbsd/src/usr.bin/keynote/
DMakefile5 keynote-main.c z.tab.c lex.kv.c
11 CLEANFILES+= lex.kv.c z.tab.c z.tab.h
18 lex.kv.c: keynote-ver.l

12345678910>>...13