Lines Matching refs:YY_BUFFER_STATE
215 typedef struct yy_buffer_state *YY_BUFFER_STATE;
257 struct yy_buffer_state
333 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
378 void code__switch_to_buffer (YY_BUFFER_STATE new_buffer );
379 YY_BUFFER_STATE code__create_buffer (FILE *file,int size );
380 void code__delete_buffer (YY_BUFFER_STATE b );
381 void code__flush_buffer (YY_BUFFER_STATE b );
382 void code_push_buffer_state (YY_BUFFER_STATE new_buffer );
387 static void code__init_buffer (YY_BUFFER_STATE b,FILE *file );
391 YY_BUFFER_STATE code__scan_buffer (char *base,yy_size_t size );
392 YY_BUFFER_STATE code__scan_string (yyconst char *yy_str );
393 YY_BUFFER_STATE code__scan_bytes (yyconst char *bytes,yy_size_t len );
1606 YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
1868 void code__switch_to_buffer (YY_BUFFER_STATE new_buffer )
1921 YY_BUFFER_STATE code__create_buffer (FILE * file, int size )
1926 YY_BUFFER_STATE b;
1928 b = (YY_BUFFER_STATE) code_alloc(sizeof( struct yy_buffer_state ) );
1953 void code__delete_buffer (YY_BUFFER_STATE b )
1963 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
1976 static void code__init_buffer (YY_BUFFER_STATE b, FILE * file )
2013 void code__flush_buffer (YY_BUFFER_STATE b )
2047 void code_push_buffer_state (YY_BUFFER_STATE new_buffer )
2122 (yy_buffer_stack) = (struct yy_buffer_state**)code_alloc
2123 (num_to_alloc * sizeof(struct yy_buffer_state*)
2128 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2141 (yy_buffer_stack) = (struct yy_buffer_state**)code_realloc
2143 num_to_alloc * sizeof(struct yy_buffer_state*)
2149 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
2162 YY_BUFFER_STATE code__scan_buffer (char * base, yy_size_t size )
2164 YY_BUFFER_STATE b;
2172 b = (YY_BUFFER_STATE) code_alloc(sizeof( struct yy_buffer_state ) );
2201 YY_BUFFER_STATE code__scan_string (yyconst char * yystr )
2216 YY_BUFFER_STATE code__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
2218 YY_BUFFER_STATE b;