Lines Matching refs:scanner
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);
82 testlex(scanner);
83 test_delete_buffer(state,scanner);
84 testlex_destroy(scanner);
95 testlex_init(&scanner);
96 state = test_scan_buffer( buf, len ,scanner);
97 testlex(scanner);
98 test_delete_buffer(state,scanner);
99 testlex_destroy(scanner);