Lines Matching refs:yyscanner

352 #define YY_NEW_FILE yyrestart( yyin , yyscanner )
402 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
483 void yyrestart ( FILE *input_file , yyscan_t yyscanner );
484 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
485 YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner );
486 void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
487 void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
488 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
489 void yypop_buffer_state ( yyscan_t yyscanner );
491 static void yyensure_buffer_stack ( yyscan_t yyscanner );
492 static void yy_load_buffer_state ( yyscan_t yyscanner );
493 static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file , yyscan_t yyscanner );
494 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER , yyscanner)
496 YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner );
497 YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner );
498 YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
500 void *yyalloc ( yy_size_t , yyscan_t yyscanner );
501 void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner );
502 void yyfree ( void * , yyscan_t yyscanner );
508 yyensure_buffer_stack (yyscanner); \
510 yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \
517 yyensure_buffer_stack (yyscanner); \
519 yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \
532 static yy_state_type yy_get_previous_state ( yyscan_t yyscanner );
533 static yy_state_type yy_try_NUL_trans ( yy_state_type current_state , yyscan_t yyscanner);
534 static int yy_get_next_buffer ( yyscan_t yyscanner );
535 static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner );
875 static int yy_init_globals ( yyscan_t yyscanner );
884 int yylex_destroy ( yyscan_t yyscanner );
886 int yyget_debug ( yyscan_t yyscanner );
888 void yyset_debug ( int debug_flag , yyscan_t yyscanner );
890 YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner );
892 void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
894 FILE *yyget_in ( yyscan_t yyscanner );
896 void yyset_in ( FILE * _in_str , yyscan_t yyscanner );
898 FILE *yyget_out ( yyscan_t yyscanner );
900 void yyset_out ( FILE * _out_str , yyscan_t yyscanner );
902 int yyget_leng ( yyscan_t yyscanner );
904 char *yyget_text ( yyscan_t yyscanner );
906 int yyget_lineno ( yyscan_t yyscanner );
908 void yyset_lineno ( int _line_number , yyscan_t yyscanner );
910 int yyget_column ( yyscan_t yyscanner );
912 void yyset_column ( int _column_no , yyscan_t yyscanner );
920 extern "C" int yywrap ( yyscan_t yyscanner );
922 extern int yywrap ( yyscan_t yyscanner );
931 static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner);
935 static int yy_flex_strlen ( const char * , yyscan_t yyscanner);
940 static int yyinput ( yyscan_t yyscanner );
942 static int input ( yyscan_t yyscanner );
1016 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
1027 extern int yylex (yyscan_t yyscanner);
1029 #define YY_DECL int yylex (yyscan_t yyscanner)
1054 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
1074 yyensure_buffer_stack (yyscanner);
1076 yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
1079 yy_load_buffer_state( yyscanner );
1141 { GeoJsonget_extra(yyscanner)->geoJson_col += (int) strlen(yytext); GeoJsonget_extra(yyscanner)->G…
1145 { GeoJsonget_extra(yyscanner)->geoJson_col += (int) strlen(yytext); GeoJsonget_extra(yyscanner)->G…
1149 { GeoJsonget_extra(yyscanner)->geoJson_col += (int) strlen(yytext); GeoJsonget_extra(yyscanner)->G…
1153 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_COMMA; }
1157 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_COLON; }
1161 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_OPEN_BRACE; }
1165 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_CLOSE_BRACE; }
1169 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_OPEN_BRACKET; }
1173 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_CLOSE_BRACKET; }
1177 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_TYPE; }
1181 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_COORDS; }
1185 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_GEOMS; }
1189 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_BBOX; }
1193 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_NAME; }
1197 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_PROPS; }
1201 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_CRS; }
1205 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_POINT; }
1209 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_LINESTRING; }
1213 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_POLYGON; }
1217 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_MULTIPOINT; }
1221 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_MULTILINESTRING; }
1225 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_MULTIPOLYGON; }
1229 { GeoJsonget_extra(yyscanner)->GeoJsonLval.dval = 0; return GEOJSON_GEOMETRYCOLLECTION; }
1233 { GeoJsonget_extra(yyscanner)->geoJson_col += (int) strlen(yytext); } /* ignore but c…
1238 { GeoJsonget_extra(yyscanner)->geoJson_col = 0; GeoJsonget_extra(yyscanner)->geoJson_line++; }
1242 { GeoJsonget_extra(yyscanner)->geoJson_col += (int) strlen(yytext); return -1; }
1289 yy_current_state = yy_get_previous_state( yyscanner );
1300 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
1319 else switch ( yy_get_next_buffer( yyscanner ) )
1325 if ( yywrap( yyscanner ) )
1354 yy_current_state = yy_get_previous_state( yyscanner );
1364 yy_current_state = yy_get_previous_state( yyscanner );
1388 static int yy_get_next_buffer (yyscan_t yyscanner) in yy_get_next_buffer() argument
1390 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_next_buffer()
1459 (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); in yy_get_next_buffer()
1491 yyrestart( yyin , yyscanner); in yy_get_next_buffer()
1509 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner ); in yy_get_next_buffer()
1527 static yy_state_type yy_get_previous_state (yyscan_t yyscanner) in yy_get_previous_state() argument
1531 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_get_previous_state()
1560 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner) in yy_try_NUL_trans() argument
1563 …struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon opti… in yy_try_NUL_trans()
1591 static int yyinput (yyscan_t yyscanner) in yyinput() argument
1593 static int input (yyscan_t yyscanner) in yyinput()
1598 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyinput()
1617 switch ( yy_get_next_buffer( yyscanner ) ) in yyinput()
1631 yyrestart( yyin , yyscanner); in yyinput()
1637 if ( yywrap( yyscanner ) ) in yyinput()
1643 return yyinput(yyscanner); in yyinput()
1645 return input(yyscanner); in yyinput()
1669 void yyrestart (FILE * input_file , yyscan_t yyscanner) in yyrestart() argument
1671 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrestart()
1674 yyensure_buffer_stack (yyscanner); in yyrestart()
1676 yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); in yyrestart()
1679 yy_init_buffer( YY_CURRENT_BUFFER, input_file , yyscanner); in yyrestart()
1680 yy_load_buffer_state( yyscanner ); in yyrestart()
1687 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yy_switch_to_buffer() argument
1689 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_switch_to_buffer()
1696 yyensure_buffer_stack (yyscanner); in yy_switch_to_buffer()
1709 yy_load_buffer_state( yyscanner ); in yy_switch_to_buffer()
1719 static void yy_load_buffer_state (yyscan_t yyscanner) in yy_load_buffer_state() argument
1721 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_load_buffer_state()
1734 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size , yyscan_t yyscanner) in yy_create_buffer() argument
1738 b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); in yy_create_buffer()
1747 b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) , yyscanner ); in yy_create_buffer()
1753 yy_init_buffer( b, file , yyscanner); in yy_create_buffer()
1762 void yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) in yy_delete_buffer() argument
1764 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_delete_buffer()
1773 yyfree( (void *) b->yy_ch_buf , yyscanner ); in yy_delete_buffer()
1775 yyfree( (void *) b , yyscanner ); in yy_delete_buffer()
1782 static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner) in yy_init_buffer() argument
1786 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_buffer()
1788 yy_flush_buffer( b , yyscanner); in yy_init_buffer()
1811 void yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) in yy_flush_buffer() argument
1813 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flush_buffer()
1832 yy_load_buffer_state( yyscanner ); in yy_flush_buffer()
1841 void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yypush_buffer_state() argument
1843 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypush_buffer_state()
1847 yyensure_buffer_stack(yyscanner); in yypush_buffer_state()
1864 yy_load_buffer_state( yyscanner ); in yypush_buffer_state()
1872 void yypop_buffer_state (yyscan_t yyscanner) in yypop_buffer_state() argument
1874 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yypop_buffer_state()
1878 yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner); in yypop_buffer_state()
1884 yy_load_buffer_state( yyscanner ); in yypop_buffer_state()
1892 static void yyensure_buffer_stack (yyscan_t yyscanner) in yyensure_buffer_stack() argument
1895 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyensure_buffer_stack()
1906 , yyscanner); in yyensure_buffer_stack()
1926 , yyscanner); in yyensure_buffer_stack()
1942 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner) in yy_scan_buffer() argument
1952 b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner ); in yy_scan_buffer()
1966 yy_switch_to_buffer( b , yyscanner ); in yy_scan_buffer()
1979 YY_BUFFER_STATE yy_scan_string (const char * yystr , yyscan_t yyscanner) in yy_scan_string() argument
1982 return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner); in yy_scan_string()
1992 YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len , yyscan_t yyscanner) in yy_scan_bytes() argument
2001 buf = (char *) yyalloc( n , yyscanner ); in yy_scan_bytes()
2010 b = yy_scan_buffer( buf, n , yyscanner); in yy_scan_bytes()
2026 static void yynoreturn yy_fatal_error (const char* msg , yyscan_t yyscanner) in yy_fatal_error() argument
2028 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_fatal_error()
2056 YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner) in yyget_extra() argument
2058 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_extra()
2065 int yyget_lineno (yyscan_t yyscanner) in yyget_lineno() argument
2067 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_lineno()
2078 int yyget_column (yyscan_t yyscanner) in yyget_column() argument
2080 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_column()
2091 FILE *yyget_in (yyscan_t yyscanner) in yyget_in() argument
2093 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_in()
2100 FILE *yyget_out (yyscan_t yyscanner) in yyget_out() argument
2102 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_out()
2109 int yyget_leng (yyscan_t yyscanner) in yyget_leng() argument
2111 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_leng()
2119 char *yyget_text (yyscan_t yyscanner) in yyget_text() argument
2121 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_text()
2129 void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner) in yyset_extra() argument
2131 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_extra()
2139 void yyset_lineno (int _line_number , yyscan_t yyscanner) in yyset_lineno() argument
2141 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_lineno()
2154 void yyset_column (int _column_no , yyscan_t yyscanner) in yyset_column() argument
2156 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_column()
2171 void yyset_in (FILE * _in_str , yyscan_t yyscanner) in yyset_in() argument
2173 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_in()
2177 void yyset_out (FILE * _out_str , yyscan_t yyscanner) in yyset_out() argument
2179 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_out()
2183 int yyget_debug (yyscan_t yyscanner) in yyget_debug() argument
2185 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyget_debug()
2189 void yyset_debug (int _bdebug , yyscan_t yyscanner) in yyset_debug() argument
2191 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyset_debug()
2257 static int yy_init_globals (yyscan_t yyscanner) in yy_init_globals() argument
2259 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_init_globals()
2291 int yylex_destroy (yyscan_t yyscanner) in yylex_destroy() argument
2293 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yylex_destroy()
2297 yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner ); in yylex_destroy()
2299 yypop_buffer_state(yyscanner); in yylex_destroy()
2303 yyfree(yyg->yy_buffer_stack , yyscanner); in yylex_destroy()
2307 yyfree( yyg->yy_start_stack , yyscanner ); in yylex_destroy()
2312 yy_init_globals( yyscanner); in yylex_destroy()
2315 yyfree ( yyscanner , yyscanner ); in yylex_destroy()
2316 yyscanner = NULL; in yylex_destroy()
2325 static void yy_flex_strncpy (char* s1, const char * s2, int n , yyscan_t yyscanner) in yy_flex_strncpy() argument
2327 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yy_flex_strncpy()
2337 static int yy_flex_strlen (const char * s , yyscan_t yyscanner) in yy_flex_strlen() argument
2347 void *yyalloc (yy_size_t size , yyscan_t yyscanner) in yyalloc() argument
2349 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyalloc()
2354 void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner) in yyrealloc() argument
2356 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyrealloc()
2369 void yyfree (void * ptr , yyscan_t yyscanner) in yyfree() argument
2371 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; in yyfree()
2378 int yywrap(yyscan_t yyscanner ) in yywrap() argument