Home
last modified time | relevance | path

Searched refs:scanner (Results 1 – 25 of 104) sorted by relevance

12345

/netbsd/src/external/bsd/flex/dist/tests/
Dstring_r.l67 yyscan_t scanner=NULL; in main() local
72 testlex_init(&scanner); in main()
73 state = test_scan_string ( INPUT_STRING_1 ,scanner); in main()
74 testlex(scanner); in main()
75 test_delete_buffer(state, scanner); in main()
76 testlex_destroy(scanner); in main()
80 testlex_init(&scanner); in main()
81 state = test_scan_bytes ( INPUT_STRING_2, 12 ,scanner); in main()
82 testlex(scanner); in main()
83 test_delete_buffer(state,scanner); in main()
[all …]
Dtop_main.c38 yyscan_t scanner; in main() local
42 testlex_init(&scanner); in main()
43 testset_in(stdin,scanner); in main()
44 testset_out(stdout,scanner); in main()
45 testset_extra(extra,scanner); in main()
47 fp = testget_in(scanner); in main()
49 fp = testget_out(scanner); in main()
52 while(testlex(scanner)) { in main()
55 line = testget_lineno(scanner); in main()
56 text = testget_text(scanner); in main()
[all …]
Dheader_r_main.c38 yyscan_t scanner; in main() local
42 testlex_init(&scanner); in main()
43 testset_in(stdin,scanner); in main()
44 testset_out(stdout,scanner); in main()
45 testset_extra(extra,scanner); in main()
47 fp = testget_in(scanner); in main()
49 fp = testget_out(scanner); in main()
52 while(testlex(scanner)) { in main()
55 line = testget_lineno(scanner); in main()
56 text = testget_text(scanner); in main()
[all …]
Dalloc_extra.l44 static void check_extra ( yyscan_t scanner );
67 yyscan_t scanner; in main() local
74 testlex_init_extra(&check, &scanner); in main()
75 testset_in(stdin, scanner); in main()
76 testset_out(stdout, scanner); in main()
81 check_extra(scanner); in main()
83 testlex(scanner); in main()
85 testlex_destroy(scanner); in main()
89 void *testalloc(size_t size, yyscan_t scanner) in testalloc() argument
92 check = testget_extra(scanner); in testalloc()
[all …]
Dinclude_by_reentrant.direct.l53 yyscan_t scanner; variable
62 testlex_init(&scanner);
63 testset_in( fp, scanner);
64 testset_out( stdout, scanner);
65 testlex(scanner);
66 testlex_destroy(scanner);
87 yyscan_t scanner; in main() local
96 testlex_init(&scanner); in main()
97 testset_in( fp, scanner); in main()
98 testset_out( stdout, scanner); in main()
[all …]
Dyyextra.l46 static void append_char (char c, yyscan_t scanner );
67 yyscan_t scanner; in main() local
77 testlex_init(&scanner); in main()
78 testset_in( stdin, scanner); in main()
79 testset_out( stdout, scanner); in main()
80 testset_extra( buf, scanner ); in main()
81 testlex(scanner); in main()
83 buf = testget_extra(scanner); in main()
89 testlex_destroy(scanner); in main()
94 static void append_char (char c, yyscan_t scanner ) in append_char() argument
[all …]
Dpthread.l45 static int process_text(char* s, yyscan_t scanner);
81 int testwrap( yyscan_t scanner) {
82 (void)scanner;
85 static int process_text(char* s, yyscan_t scanner) in process_text() argument
87 (void)scanner; in process_text()
88 return (int)(*s) + (int) *(s + testget_leng(scanner)-1); in process_text()
130 yyscan_t scanner; in thread_func() local
139 testlex_init( &scanner ); in thread_func()
145 testset_in(fp,scanner); in thread_func()
147 while( testlex( scanner) != 0) in thread_func()
[all …]
Dbison_yylloc_parser.y24 %parse-param { void* scanner }
25 %lex-param { void* scanner }
39 int yyerror(YYLTYPE *location, void* scanner, const char* msg);
81 if( $1 != @1.first_line || $1 != testget_lineno(scanner))
94 int yyerror(YYLTYPE *location, void* scanner, const char* msg) {
96 (void)scanner;
Dbison_yylloc_main.c29 yyscan_t scanner; in main() local
35 testlex_init ( &scanner ); in main()
36 testset_in(stdin,scanner); in main()
37 testparse ( scanner ); in main()
38 testlex_destroy ( scanner ); in main()
Dbison_yylval_main.c29 yyscan_t scanner; in main() local
35 testlex_init ( &scanner ); in main()
36 testset_in(stdin,scanner); in main()
37 testparse ( scanner ); in main()
38 testlex_destroy ( scanner ); in main()
Dbison_yylval_parser.y28 %parse-param { void* scanner }
29 %lex-param { void* scanner }
40 int yyerror(void* scanner, const char* msg);
80 int yyerror(void* scanner, const char* msg) {
81 (void)scanner;
Dmem_r.l169 yyscan_t scanner; in main() local
174 testlex_init(&scanner); in main()
175 testset_in(stdin,scanner); in main()
176 testset_out(stdout,scanner); in main()
177 testlex(scanner); in main()
178 testlex_destroy(scanner); in main()
Dprefix_r.l76 yyscan_t scanner; in main() local
77 FOOlex_init( &scanner); in main()
78 FOOlex( scanner); in main()
79 FOOlex_destroy( scanner); in main()
/netbsd/src/external/bsd/flex/dist/doc/
Dflex.info-1146 * How can I have multiple input sources feed into the same scanner at the same time?::
168 * How can I build a two-pass scanner?::
172 * Whenever flex can not match the input it says "flex scanner jammed".::
176 * How do I use my own I/O classes in a C++ scanner?::
316 'flex' is a tool for generating "scanners". A scanner is a program
319 a description of a scanner to generate. The description is in the form
336 The following 'flex' input specifies a scanner which, when it
343 By default, any text not matched by a 'flex' scanner is copied to the
344 output, so the net effect of this scanner is to copy its input file to
366 This scanner counts the number of characters and the number of lines
[all …]
Dflex.texi170 * How can I have multiple input sources feed into the same scanner at the same time?::
192 * How can I build a two-pass scanner?::
196 * Whenever flex can not match the input it says "flex scanner jammed".::
200 * How do I use my own I/O classes in a C++ scanner?::
304 @cindex scanner, definition of
305 @code{flex} is a tool for generating @dfn{scanners}. A scanner is a
308 names are given, for a description of a scanner to generate. The
324 The following @code{flex} input specifies a scanner which, when it
337 By default, any text not matched by a @code{flex} scanner is copied to
338 the output, so the net effect of this scanner is to copy its input file
[all …]
/netbsd/src/external/bsd/libpcap/dist/msdos/
Dmakefile.dj14 PREREQUISITES = scanner.c grammar.c tokdefs.h version.h msdos/pkt_stub.inc
25 SOURCES = grammar.c scanner.c bpf_filter.c bpf_image.c bpf_dump.c \
93 scanner.c: scanner.l
112 scanner.c: scanner.l
115 scanner.l: pcap-int.h pcap-namedb.h gencode.h grammar.h
Dmakefile24 SOURCE = grammar.c scanner.c bpf_filt.c bpf_imag.c bpf_dump.c \
62 scanner.c: scanner.l
63 flex -Ppcap_ -7 -oscanner.c scanner.l
99 @del scanner.c
124 scanner.obj: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h \
162 scanner.o32: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h \
/netbsd/src/external/bsd/flex/dist/po/
Dfr.po237 msgid "bison bridge not supported for the C++ scanner."
324 msgid " scanner options: -"
562 " -Cr, --read use read() instead of stdio for scanner input\n"
563 " -f, --full generate fast, large scanner. Same as -Cfr\n"
568 " -d, --debug enable debug mode in scanner\n"
574 " -v, --verbose write summary of scanner statistics to stdout\n"
581 " -t, --stdout write scanner on stdout instead of %s\n"
584 "scanner\n"
588 " -7, --7bit generate 7-bit scanner\n"
589 " -8, --8bit generate 8-bit scanner\n"
[all …]
Den@quot.po248 msgid "bison bridge not supported for the C++ scanner."
249 msgstr "bison bridge not supported for the C++ scanner."
335 msgid " scanner options: -"
336 msgstr " scanner options: -"
566 " -Cr, --read use read() instead of stdio for scanner input\n"
567 " -f, --full generate fast, large scanner. Same as -Cfr\n"
572 " -d, --debug enable debug mode in scanner\n"
578 " -v, --verbose write summary of scanner statistics to stdout\n"
585 " -t, --stdout write scanner on stdout instead of %s\n"
588 "scanner\n"
[all …]
Den@boldquot.po251 msgid "bison bridge not supported for the C++ scanner."
252 msgstr "bison bridge not supported for the C++ scanner."
338 msgid " scanner options: -"
339 msgstr " scanner options: -"
569 " -Cr, --read use read() instead of stdio for scanner input\n"
570 " -f, --full generate fast, large scanner. Same as -Cfr\n"
575 " -d, --debug enable debug mode in scanner\n"
581 " -v, --verbose write summary of scanner statistics to stdout\n"
588 " -t, --stdout write scanner on stdout instead of %s\n"
591 "scanner\n"
[all …]
Dko.po233 msgid "bison bridge not supported for the C++ scanner."
321 msgid " scanner options: -"
551 " -Cr, --read use read() instead of stdio for scanner input\n"
552 " -f, --full generate fast, large scanner. Same as -Cfr\n"
557 " -d, --debug enable debug mode in scanner\n"
563 " -v, --verbose write summary of scanner statistics to stdout\n"
570 " -t, --stdout write scanner on stdout instead of %s\n"
573 "scanner\n"
577 " -7, --7bit generate 7-bit scanner\n"
578 " -8, --8bit generate 8-bit scanner\n"
[all …]
Dpt_BR.po231 msgid "bison bridge not supported for the C++ scanner."
232 msgstr "sem suporte à ponte bison pelo scanner de C++."
318 msgid " scanner options: -"
319 msgstr " opções de scanner: -"
557 " -Cr, --read use read() instead of stdio for scanner input\n"
558 " -f, --full generate fast, large scanner. Same as -Cfr\n"
563 " -d, --debug enable debug mode in scanner\n"
569 " -v, --verbose write summary of scanner statistics to stdout\n"
576 " -t, --stdout write scanner on stdout instead of %s\n"
579 "scanner\n"
[all …]
Dnl.po232 msgid "bison bridge not supported for the C++ scanner."
233 msgstr "bison bridge wordt niet ondersteund voor de C++-scanner."
319 msgid " scanner options: -"
558 " -Cr, --read use read() instead of stdio for scanner input\n"
559 " -f, --full generate fast, large scanner. Same as -Cfr\n"
564 " -d, --debug enable debug mode in scanner\n"
570 " -v, --verbose write summary of scanner statistics to stdout\n"
577 " -t, --stdout write scanner on stdout instead of %s\n"
580 "scanner\n"
584 " -7, --7bit generate 7-bit scanner\n"
[all …]
Dflex.pot213 msgid "bison bridge not supported for the C++ scanner."
300 msgid " scanner options: -"
528 " -Cr, --read use read() instead of stdio for scanner input\n"
529 " -f, --full generate fast, large scanner. Same as -Cfr\n"
534 " -d, --debug enable debug mode in scanner\n"
540 " -v, --verbose write summary of scanner statistics to stdout\n"
547 " -t, --stdout write scanner on stdout instead of %s\n"
550 "scanner\n"
554 " -7, --7bit generate 7-bit scanner\n"
555 " -8, --8bit generate 8-bit scanner\n"
[all …]
/netbsd/src/external/bsd/flex/dist/
DONEWS6 - Fixed scanner skeleton so the example in the man page of
128 a flex scanner to control scanner-generation options. Most
132 in your scanner source is equivalent to always specifying
164 always-interactive generate a scanner which always
166 will be made when the scanner runs)
167 main supply a main program for the scanner, which
169 never-interactive generate a scanner which never
171 will be made when the scanner runs)
181 yywrap if unset ("%option noyywrap"), scanner does not
203 the generated scanner. Each of the following, if unset,
[all …]

12345