Home | History | Annotate | Download | only in sksl

Lines Matching defs:yyscanner

161 #define YY_NEW_FILE skslrestart(yyin ,yyscanner )
232 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
314 void skslrestart (FILE *input_file ,yyscan_t yyscanner );
315 void sksl_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
316 YY_BUFFER_STATE sksl_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
317 void sksl_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
318 void sksl_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
319 void skslpush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
320 void skslpop_buffer_state (yyscan_t yyscanner );
322 static void skslensure_buffer_stack (yyscan_t yyscanner );
323 static void sksl_load_buffer_state (yyscan_t yyscanner );
324 static void sksl_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
326 #define YY_FLUSH_BUFFER sksl_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
328 YY_BUFFER_STATE sksl_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
329 YY_BUFFER_STATE sksl_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
330 YY_BUFFER_STATE sksl_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
332 void *skslalloc (yy_size_t ,yyscan_t yyscanner );
333 void *skslrealloc (void *,yy_size_t ,yyscan_t yyscanner );
334 void skslfree (void * ,yyscan_t yyscanner );
341 skslensure_buffer_stack (yyscanner); \
343 sksl_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
351 skslensure_buffer_stack (yyscanner); \
353 sksl_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
368 static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
369 static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
370 static int yy_get_next_buffer (yyscan_t yyscanner );
371 static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
700 static int yy_init_globals (yyscan_t yyscanner );
709 int sksllex_destroy (yyscan_t yyscanner );
711 int skslget_debug (yyscan_t yyscanner );
713 void skslset_debug (int debug_flag ,yyscan_t yyscanner );
715 YY_EXTRA_TYPE skslget_extra (yyscan_t yyscanner );
717 void skslset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
719 FILE *skslget_in (yyscan_t yyscanner );
721 void skslset_in (FILE * in_str ,yyscan_t yyscanner );
723 FILE *skslget_out (yyscan_t yyscanner );
725 void skslset_out (FILE * out_str ,yyscan_t yyscanner );
727 yy_size_t skslget_leng (yyscan_t yyscanner );
729 char *skslget_text (yyscan_t yyscanner );
731 int skslget_lineno (yyscan_t yyscanner );
733 void skslset_lineno (int line_number ,yyscan_t yyscanner );
735 int skslget_column (yyscan_t yyscanner );
737 void skslset_column (int column_no ,yyscan_t yyscanner );
745 extern "C" int skslwrap (yyscan_t yyscanner );
747 extern int skslwrap (yyscan_t yyscanner );
751 static void yyunput (int c,char *buf_ptr ,yyscan_t yyscanner);
754 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
758 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
764 static int yyinput (yyscan_t yyscanner );
766 static int input (yyscan_t yyscanner );
840 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
851 extern int sksllex (yyscan_t yyscanner);
853 #define YY_DECL int sksllex (yyscan_t yyscanner)
878 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
898 skslensure_buffer_stack (yyscanner);
900 sksl_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
903 sksl_load_buffer_state(yyscanner );
1479 yy_current_state = yy_get_previous_state( yyscanner );
1490 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
1510 else switch ( yy_get_next_buffer( yyscanner ) )
1516 if ( skslwrap(yyscanner ) )
1545 yy_current_state = yy_get_previous_state( yyscanner );
1555 yy_current_state = yy_get_previous_state( yyscanner );
1579 static int yy_get_next_buffer (yyscan_t yyscanner)
1581 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1649 skslrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
1681 skslrestart(yyin ,yyscanner);
1698 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) skslrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner );
1714 static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
1718 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1747 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
1750 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
1772 static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner)
1775 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1816 static int yyinput (yyscan_t yyscanner)
1818 static int input (yyscan_t yyscanner)
1823 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1842 switch ( yy_get_next_buffer( yyscanner ) )
1856 skslrestart(yyin ,yyscanner);
1862 if ( skslwrap(yyscanner ) )
1868 return yyinput(yyscanner);
1870 return input(yyscanner);
1898 * @param yyscanner The scanner object.
1901 void skslrestart (FILE * input_file , yyscan_t yyscanner)
1903 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1906 skslensure_buffer_stack (yyscanner);
1908 sksl_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
1911 sksl_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
1912 sksl_load_buffer_state(yyscanner );
1917 * @param yyscanner The scanner object.
1919 void sksl_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
1921 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1928 skslensure_buffer_stack (yyscanner);
1941 sksl_load_buffer_state(yyscanner );
1951 static void sksl_load_buffer_state (yyscan_t yyscanner)
1953 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1963 * @param yyscanner The scanner object.
1966 YY_BUFFER_STATE sksl_create_buffer (FILE * file, int size , yyscan_t yyscanner)
1970 b = (YY_BUFFER_STATE) skslalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
1979 b->yy_ch_buf = (char *) skslalloc(b->yy_buf_size + 2 ,yyscanner );
1985 sksl_init_buffer(b,file ,yyscanner);
1992 * @param yyscanner The scanner object.
1994 void sksl_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
1996 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2005 skslfree((void *) b->yy_ch_buf ,yyscanner );
2007 skslfree((void *) b ,yyscanner );
2014 static void sksl_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
2018 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2020 sksl_flush_buffer(b ,yyscanner);
2041 * @param yyscanner The scanner object.
2043 void sksl_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
2045 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2064 sksl_load_buffer_state(yyscanner );
2071 * @param yyscanner The scanner object.
2073 void skslpush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
2075 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2079 skslensure_buffer_stack(yyscanner);
2096 sksl_load_buffer_state(yyscanner );
2102 * @param yyscanner The scanner object.
2104 void skslpop_buffer_state (yyscan_t yyscanner)
2106 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2110 sksl_delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
2116 sksl_load_buffer_state(yyscanner );
2124 static void skslensure_buffer_stack (yyscan_t yyscanner)
2127 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2138 , yyscanner);
2158 , yyscanner);
2171 * @param yyscanner The scanner object.
2174 YY_BUFFER_STATE sksl_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
2184 b = (YY_BUFFER_STATE) skslalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
2198 sksl_switch_to_buffer(b ,yyscanner );
2206 * @param yyscanner The scanner object.
2211 YY_BUFFER_STATE sksl_scan_string (yyconst char * yystr , yyscan_t yyscanner)
2214 return sksl_scan_bytes(yystr,strlen(yystr) ,yyscanner);
2221 * @param yyscanner The scanner object.
2224 YY_BUFFER_STATE sksl_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner)
2233 buf = (char *) skslalloc(n ,yyscanner );
2242 b = sksl_scan_buffer(buf,n ,yyscanner);
2258 static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
2284 * @param yyscanner The scanner object.
2286 YY_EXTRA_TYPE skslget_extra (yyscan_t yyscanner)
2288 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2293 * @param yyscanner The scanner object.
2295 int skslget_lineno (yyscan_t yyscanner)
2297 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2306 * @param yyscanner The scanner object.
2308 int skslget_column (yyscan_t yyscanner)
2310 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2319 * @param yyscanner The scanner object.
2321 FILE *skslget_in (yyscan_t yyscanner)
2323 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2328 * @param yyscanner The scanner object.
2330 FILE *skslget_out (yyscan_t yyscanner)
2332 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2337 * @param yyscanner The scanner object.
2339 yy_size_t skslget_leng (yyscan_t yyscanner)
2341 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2346 * @param yyscanner The scanner object.
2349 char *skslget_text (yyscan_t yyscanner)
2351 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2357 * @param yyscanner The scanner object.
2359 void skslset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
2361 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2367 * @param yyscanner The scanner object.
2369 void skslset_lineno (int line_number , yyscan_t yyscanner)
2371 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2382 * @param yyscanner The scanner object.
2384 void skslset_column (int column_no , yyscan_t yyscanner)
2386 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2398 * @param yyscanner The scanner object.
2401 void skslset_in (FILE * in_str , yyscan_t yyscanner)
2403 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2407 void skslset_out (FILE * out_str , yyscan_t yyscanner)
2409 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2413 int skslget_debug (yyscan_t yyscanner)
2415 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2419 void skslset_debug (int bdebug , yyscan_t yyscanner)
2421 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2491 static int yy_init_globals (yyscan_t yyscanner)
2493 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2525 int sksllex_destroy (yyscan_t yyscanner)
2527 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2531 sksl_delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
2533 skslpop_buffer_state(yyscanner);
2537 skslfree(yyg->yy_buffer_stack ,yyscanner);
2541 skslfree(yyg->yy_start_stack ,yyscanner );
2546 yy_init_globals( yyscanner);
2549 skslfree ( yyscanner , yyscanner );
2550 yyscanner = NULL;
2559 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
2568 static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
2578 void *skslalloc (yy_size_t size , yyscan_t yyscanner)
2583 void *skslrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
2595 void skslfree (void * ptr , yyscan_t yyscanner)