Lines Matching defs:yyscanner
161 #define YY_NEW_FILE layoutrestart(yyin ,yyscanner )
217 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
299 void layoutrestart (FILE *input_file ,yyscan_t yyscanner );
300 void layout_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
301 YY_BUFFER_STATE layout_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
302 void layout_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
303 void layout_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
304 void layoutpush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
305 void layoutpop_buffer_state (yyscan_t yyscanner );
307 static void layoutensure_buffer_stack (yyscan_t yyscanner );
308 static void layout_load_buffer_state (yyscan_t yyscanner );
309 static void layout_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
311 #define YY_FLUSH_BUFFER layout_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
313 YY_BUFFER_STATE layout_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
314 YY_BUFFER_STATE layout_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
315 YY_BUFFER_STATE layout_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
317 void *layoutalloc (yy_size_t ,yyscan_t yyscanner );
318 void *layoutrealloc (void *,yy_size_t ,yyscan_t yyscanner );
319 void layoutfree (void * ,yyscan_t yyscanner );
326 layoutensure_buffer_stack (yyscanner); \
328 layout_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
336 layoutensure_buffer_stack (yyscanner); \
338 layout_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
353 static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
354 static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
355 static int yy_get_next_buffer (yyscan_t yyscanner );
356 static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
645 static int yy_init_globals (yyscan_t yyscanner );
654 int layoutlex_destroy (yyscan_t yyscanner );
656 int layoutget_debug (yyscan_t yyscanner );
658 void layoutset_debug (int debug_flag ,yyscan_t yyscanner );
660 YY_EXTRA_TYPE layoutget_extra (yyscan_t yyscanner );
662 void layoutset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
664 FILE *layoutget_in (yyscan_t yyscanner );
666 void layoutset_in (FILE * in_str ,yyscan_t yyscanner );
668 FILE *layoutget_out (yyscan_t yyscanner );
670 void layoutset_out (FILE * out_str ,yyscan_t yyscanner );
672 yy_size_t layoutget_leng (yyscan_t yyscanner );
674 char *layoutget_text (yyscan_t yyscanner );
676 int layoutget_lineno (yyscan_t yyscanner );
678 void layoutset_lineno (int line_number ,yyscan_t yyscanner );
686 extern "C" int layoutwrap (yyscan_t yyscanner );
688 extern int layoutwrap (yyscan_t yyscanner );
692 static void yyunput (int c,char *buf_ptr ,yyscan_t yyscanner);
695 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
699 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
705 static int yyinput (yyscan_t yyscanner );
707 static int input (yyscan_t yyscanner );
776 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
787 extern int layoutlex (yyscan_t yyscanner);
789 #define YY_DECL int layoutlex (yyscan_t yyscanner)
814 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
839 layoutensure_buffer_stack (yyscanner);
841 layout_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
844 layout_load_buffer_state(yyscanner );
1062 yy_current_state = yy_get_previous_state( yyscanner );
1073 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
1093 else switch ( yy_get_next_buffer( yyscanner ) )
1099 if ( layoutwrap(yyscanner ) )
1128 yy_current_state = yy_get_previous_state( yyscanner );
1138 yy_current_state = yy_get_previous_state( yyscanner );
1161 static int yy_get_next_buffer (yyscan_t yyscanner)
1163 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1231 layoutrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
1263 layoutrestart(yyin ,yyscanner);
1280 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) layoutrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner );
1296 static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
1300 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1329 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
1332 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
1353 static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner)
1356 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1397 static int yyinput (yyscan_t yyscanner)
1399 static int input (yyscan_t yyscanner)
1404 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1423 switch ( yy_get_next_buffer( yyscanner ) )
1437 layoutrestart(yyin ,yyscanner);
1443 if ( layoutwrap(yyscanner ) )
1449 return yyinput(yyscanner);
1451 return input(yyscanner);
1479 * @param yyscanner The scanner object.
1482 void layoutrestart (FILE * input_file , yyscan_t yyscanner)
1484 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1487 layoutensure_buffer_stack (yyscanner);
1489 layout_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
1492 layout_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
1493 layout_load_buffer_state(yyscanner );
1498 * @param yyscanner The scanner object.
1500 void layout_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
1502 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1509 layoutensure_buffer_stack (yyscanner);
1522 layout_load_buffer_state(yyscanner );
1532 static void layout_load_buffer_state (yyscan_t yyscanner)
1534 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1544 * @param yyscanner The scanner object.
1547 YY_BUFFER_STATE layout_create_buffer (FILE * file, int size , yyscan_t yyscanner)
1551 b = (YY_BUFFER_STATE) layoutalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
1560 b->yy_ch_buf = (char *) layoutalloc(b->yy_buf_size + 2 ,yyscanner );
1566 layout_init_buffer(b,file ,yyscanner);
1573 * @param yyscanner The scanner object.
1575 void layout_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
1577 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1586 layoutfree((void *) b->yy_ch_buf ,yyscanner );
1588 layoutfree((void *) b ,yyscanner );
1595 static void layout_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
1599 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1601 layout_flush_buffer(b ,yyscanner);
1622 * @param yyscanner The scanner object.
1624 void layout_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
1626 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1645 layout_load_buffer_state(yyscanner );
1652 * @param yyscanner The scanner object.
1654 yyscanner)
1656 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1660 layoutensure_buffer_stack(yyscanner);
1677 layout_load_buffer_state(yyscanner );
1683 * @param yyscanner The scanner object.
1685 void layoutpop_buffer_state (yyscan_t yyscanner)
1687 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1691 layout_delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
1697 layout_load_buffer_state(yyscanner );
1705 static void layoutensure_buffer_stack (yyscan_t yyscanner)
1708 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1719 , yyscanner);
1739 , yyscanner);
1752 * @param yyscanner The scanner object.
1755 YY_BUFFER_STATE layout_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
1765 b = (YY_BUFFER_STATE) layoutalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
1779 layout_switch_to_buffer(b ,yyscanner );
1787 * @param yyscanner The scanner object.
1792 YY_BUFFER_STATE layout_scan_string (yyconst char * yystr , yyscan_t yyscanner)
1795 return layout_scan_bytes(yystr,strlen(yystr) ,yyscanner);
1802 * @param yyscanner The scanner object.
1805 YY_BUFFER_STATE layout_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner)
1813 buf = (char *) layoutalloc(n ,yyscanner );
1822 b = layout_scan_buffer(buf,n ,yyscanner);
1838 static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
1864 * @param yyscanner The scanner object.
1866 YY_EXTRA_TYPE layoutget_extra (yyscan_t yyscanner)
1868 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1873 * @param yyscanner The scanner object.
1875 int layoutget_lineno (yyscan_t yyscanner)
1877 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1886 * @param yyscanner The scanner object.
1888 int layoutget_column (yyscan_t yyscanner)
1890 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1899 * @param yyscanner The scanner object.
1901 FILE *layoutget_in (yyscan_t yyscanner)
1903 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1908 * @param yyscanner The scanner object.
1910 FILE *layoutget_out (yyscan_t yyscanner)
1912 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1917 * @param yyscanner The scanner object.
1919 yy_size_t layoutget_leng (yyscan_t yyscanner)
1921 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1926 * @param yyscanner The scanner object.
1929 char *layoutget_text (yyscan_t yyscanner)
1931 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1937 * @param yyscanner The scanner object.
1939 void layoutset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
1941 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1947 * @param yyscanner The scanner object.
1949 void layoutset_lineno (int line_number , yyscan_t yyscanner)
1951 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1955 yy_fatal_error( "layoutset_lineno called with no buffer" , yyscanner);
1962 * @param yyscanner The scanner object.
1964 void layoutset_column (int column_no , yyscan_t yyscanner)
1966 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1970 yy_fatal_error( "layoutset_column called with no buffer" , yyscanner);
1978 * @param yyscanner The scanner object.
1981 void layoutset_in (FILE * in_str , yyscan_t yyscanner)
1983 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1987 void layoutset_out (FILE * out_str , yyscan_t yyscanner)
1989 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1993 int layoutget_debug (yyscan_t yyscanner)
1995 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1999 void layoutset_debug (int bdebug , yyscan_t yyscanner)
2001 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2071 static int yy_init_globals (yyscan_t yyscanner)
2073 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2105 int layoutlex_destroy (yyscan_t yyscanner)
2107 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
2111 layout_delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
2113 layoutpop_buffer_state(yyscanner);
2117 layoutfree(yyg->yy_buffer_stack ,yyscanner);
2121 layoutfree(yyg->yy_start_stack ,yyscanner );
2126 yy_init_globals( yyscanner);
2129 layoutfree ( yyscanner , yyscanner );
2130 yyscanner = NULL;
2139 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
2148 static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
2158 void *layoutalloc (yy_size_t size , yyscan_t yyscanner)
2163 void *layoutrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
2175 void layoutfree (void * ptr , yyscan_t yyscanner)