Lines Matching refs:scanner
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)-1);
130 yyscan_t scanner;
139 testlex_init( &scanner );
145 testset_in(fp,scanner);
147 while( testlex( scanner) != 0)
151 testlex_destroy(scanner);