Searched refs:scanner (Results 1 - 25 of 29) sorted by relevance

12

/netbsd-current/external/bsd/flex/dist/tests/
H A Dbison_yylloc_main.c29 yyscan_t scanner; local
35 testlex_init ( &scanner );
36 testset_in(stdin,scanner);
37 testparse ( scanner );
38 testlex_destroy ( scanner );
H A Dbison_yylval_main.c29 yyscan_t scanner; local
35 testlex_init ( &scanner );
36 testset_in(stdin,scanner);
37 testparse ( scanner );
38 testlex_destroy ( scanner );
H A Dheader_r_main.c28 /* The scanner itself is not important here.
38 yyscan_t scanner; local
42 testlex_init(&scanner);
43 testset_in(stdin,scanner);
44 testset_out(stdout,scanner);
45 testset_extra(extra,scanner);
47 fp = testget_in(scanner);
49 fp = testget_out(scanner);
52 while(testlex(scanner)) {
55 line = testget_lineno(scanner);
[all...]
H A Dtop_main.c28 /* The scanner itself is not important here.
38 yyscan_t scanner; local
42 testlex_init(&scanner);
43 testset_in(stdin,scanner);
44 testset_out(stdout,scanner);
45 testset_extra(extra,scanner);
47 fp = testget_in(scanner);
49 fp = testget_out(scanner);
52 while(testlex(scanner)) {
55 line = testget_lineno(scanner);
[all...]
H A Dstring_r.l25 /* A template scanner file to build "scanner.c". */
67 yyscan_t scanner=NULL;
72 testlex_init(&scanner);
73 state = test_scan_string ( INPUT_STRING_1 ,scanner);
74 testlex(scanner);
75 test_delete_buffer(state, scanner);
76 testlex_destroy(scanner);
80 testlex_init(&scanner);
81 state = test_scan_bytes ( INPUT_STRING_2, 12 ,scanner);
[all...]
H A Dalloc_extra.l25 /* A file to build "scanner.c". */
44 static void check_extra ( yyscan_t scanner );
67 yyscan_t scanner;
74 testlex_init_extra(&check, &scanner);
75 testset_in(stdin, scanner);
76 testset_out(stdout, scanner);
81 check_extra(scanner);
83 testlex(scanner);
85 testlex_destroy(scanner);
89 void *testalloc(size_t size, yyscan_t scanner)
[all...]
H A Dinclude_by_reentrant.direct.l25 /* A scanner file to build "scanner.c".
27 "#include <filename>" causes a new scanner to be created.
53 yyscan_t scanner;
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;
[all...]
H A 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;
H A Dyyextra.l25 /* A file to build "scanner.c". */
46 static void append_char (char c, yyscan_t scanner );
67 yyscan_t scanner;
77 testlex_init(&scanner);
78 testset_in( stdin, scanner);
79 testset_out( stdout, scanner);
80 testset_extra( buf, scanner );
81 testlex(scanner);
83 buf = testget_extra(scanner);
89 testlex_destroy(scanner);
[all...]
H A 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;
H A Dprefix_r.l25 /* Builds "scanner.c". */
26 /* The scanner itself is a no-op. A successful compilation is all we want. */
76 yyscan_t scanner;
77 FOOlex_init( &scanner);
78 FOOlex( scanner);
79 FOOlex_destroy( scanner);
H A Dpthread.l25 /* A scanner file to build "scanner.c".
28 We create N_THREADS number of threads. Each thread has it's own scanner.
32 The idea is to press the scanner to break under threads.
45 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)
87 (void)scanner;
88 return (int)(*s) + (int) *(s + testget_leng(scanner)
[all...]
H A Dmem_r.l25 /* A template scanner file to build "scanner.c".
169 yyscan_t scanner;
174 testlex_init(&scanner);
175 testset_in(stdin,scanner);
176 testset_out(stdout,scanner);
177 testlex(scanner);
178 testlex_destroy(scanner);
/netbsd-current/external/bsd/flex/dist/src/
H A Dscanopt.h81 /* Initializes scanner and checks option list for errors.
92 /* Frees memory used by scanner.
94 int scanopt_destroy (scanopt_t * scanner);
99 * scanner - The scanner, already initialized with scanopt_init().
104 int scanopt_usage (scanopt_t * scanner, FILE * fp, const char *usage);
109 * scanner - The scanner, already initialized with scanopt_init().
121 int scanopt (scanopt_t * scanner, char **optarg, int *optindex);
H A Dscanopt.c224 * scanner - The scanner, already initialized with scanopt_init().
233 int scanopt_usage (scanopt_t *scanner, FILE *fp, const char *usage)
248 s = (struct _scanopt_t *) scanner;
232 scanopt_usage(scanopt_t *scanner, FILE *fp, const char *usage) argument
/netbsd-current/external/gpl3/gcc.old/dist/libcc1/
H A Dfindcomp.cc30 class scanner class
34 scanner (const std::string &dir) function in class:scanner
39 ~scanner ()
65 scanner scan (dir);
/netbsd-current/external/gpl3/gcc/dist/libcc1/
H A Dfindcomp.cc30 class scanner class
34 scanner (const std::string &dir) function in class:scanner
39 ~scanner ()
65 scanner scan (dir);
/netbsd-current/external/bsd/libpcap/dist/msdos/
H A Dmakefile.dj14 PREREQUISITES = scanner.c grammar.c tokdefs.h version.h msdos/pkt_stub.inc
25 SOURCES = grammar.c scanner.c bpf/net/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
H A 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 \
H A Dmakefile.wc27 OBJS = $(OBJDIR)\grammar.obj $(OBJDIR)\scanner.obj $(OBJDIR)\pcap.obj &
72 scanner.c: scanner.l
88 @del scanner.c
114 $(OBJDIR)\scanner.obj: scanner.c pcap-int.h pcap.h pcap-bpf.h gencode.h &
/netbsd-current/external/bsd/libpcap/lib/
H A DMakefile116 LFLAGS+= --header-file=scanner.h
148 scanner.l \
161 scanner.d scanner.o: tokdefs.h
166 CLEANFILES+= tokdefs.h scanner.h grammar.y
/netbsd-current/external/bsd/libpcap/dist/
H A DMakefile.in98 GENERATED_C_SRC = scanner.c grammar.c
163 scanner.h grammar.h
400 scanner.l \
515 scanner.c: $(srcdir)/scanner.l
516 $(LEX) -P pcap_ --header-file=scanner.h --nounput -o scanner.c $<
517 scanner.h: scanner.c
520 rm -f scanner
[all...]
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dkeyword-gen.c4 * keyword-gen.c -- generate keyword scanner finite state machine and
283 big_scan_state sst[MAXSTATES]; /* scanner FSM state entries */
459 * scanner state machine is built and the practice of
510 /* Define a function to create the states of the scanner. This function
563 "fatal, keyword scanner state array "
621 * creates a keywords scanner out of it.
627 u_short scanner; local
631 scanner = 0;
635 scanner =
640 scanner);
[all...]
/netbsd-current/sys/dev/ic/
H A Dapple_smc_temp.c373 void (*scanner)(struct apple_smc_tag *, void *, struct apple_smc_key *))
405 (*scanner)(smc, arg, key);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DYAMLParser.cpp426 /// position of the scanner.
510 /// The current position of the scanner.
588 Scanner scanner(Input, SM);
590 Token T = scanner.getNext();
672 Scanner scanner(Input, SM);
674 Token T = scanner.getNext();
1844 : scanner(new Scanner(Input, SM, ShowColors, EC)), CurrentDoc() {}
1848 : scanner(new Scanner(InputBuffer, SM, ShowColors, EC)), CurrentDoc() {}
1852 bool Stream::failed() { return scanner->failed(); }
1860 scanner
[all...]

Completed in 390 milliseconds

12