/netbsd-current/external/bsd/flex/dist/tests/ |
H A D | bison_yylloc_main.c | 29 yyscan_t scanner; local 35 testlex_init ( &scanner ); 36 testset_in(stdin,scanner); 37 testparse ( scanner ); 38 testlex_destroy ( scanner );
|
H A D | bison_yylval_main.c | 29 yyscan_t scanner; local 35 testlex_init ( &scanner ); 36 testset_in(stdin,scanner); 37 testparse ( scanner ); 38 testlex_destroy ( scanner );
|
H A D | header_r_main.c | 28 /* 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 D | top_main.c | 28 /* 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 D | string_r.l | 25 /* 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 D | alloc_extra.l | 25 /* 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 D | include_by_reentrant.direct.l | 25 /* 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 D | bison_yylloc_parser.y | 24 %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 D | yyextra.l | 25 /* 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 D | bison_yylval_parser.y | 28 %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 D | prefix_r.l | 25 /* 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 D | pthread.l | 25 /* 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 D | mem_r.l | 25 /* 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 D | scanopt.h | 81 /* 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 D | scanopt.c | 224 * 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 D | findcomp.cc | 30 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 D | findcomp.cc | 30 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 D | makefile.dj | 14 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 D | makefile | 24 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 D | makefile.wc | 27 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 D | Makefile | 116 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 D | Makefile.in | 98 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 D | keyword-gen.c | 4 * keyword-gen.c -- generate keyword scanner finite state machine and 287 big_scan_state sst[MAXSTATES]; /* scanner FSM state entries */ 463 * scanner state machine is built and the practice of 514 /* Define a function to create the states of the scanner. This function 567 "fatal, keyword scanner state array " 625 * creates a keywords scanner out of it. 631 u_short scanner; local 635 scanner = 0; 639 scanner = 644 scanner); [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | apple_smc_temp.c | 373 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 D | YAMLParser.cpp | 426 /// 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...] |