Home
last modified time | relevance | path

Searched refs:yy_buffer_state (Results 1 – 6 of 6) sorted by relevance

/external/bison/examples/calc++/
Dcalc++-scanner.cc196 typedef struct yy_buffer_state *YY_BUFFER_STATE;
238 struct yy_buffer_state struct
1507 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); in yy_create_buffer()
1701 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc in yyensure_buffer_stack()
1702 (num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
1707 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
1720 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc in yyensure_buffer_stack()
1722 num_to_alloc * sizeof(struct yy_buffer_state*) in yyensure_buffer_stack()
1728 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in yyensure_buffer_stack()
1751 b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); in yy_scan_buffer()
/external/bison/src/
Dscan-skel.c215 typedef struct yy_buffer_state *YY_BUFFER_STATE;
257 struct yy_buffer_state struct
1715 b = (YY_BUFFER_STATE) skel_alloc(sizeof( struct yy_buffer_state ) ); in skel__create_buffer()
1909 (yy_buffer_stack) = (struct yy_buffer_state**)skel_alloc in skel_ensure_buffer_stack()
1910 (num_to_alloc * sizeof(struct yy_buffer_state*) in skel_ensure_buffer_stack()
1915 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in skel_ensure_buffer_stack()
1928 (yy_buffer_stack) = (struct yy_buffer_state**)skel_realloc in skel_ensure_buffer_stack()
1930 num_to_alloc * sizeof(struct yy_buffer_state*) in skel_ensure_buffer_stack()
1936 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in skel_ensure_buffer_stack()
1959 b = (YY_BUFFER_STATE) skel_alloc(sizeof( struct yy_buffer_state ) ); in skel__scan_buffer()
Dscan-gram.c215 typedef struct yy_buffer_state *YY_BUFFER_STATE;
257 struct yy_buffer_state struct
2966 b = (YY_BUFFER_STATE) gram_alloc(sizeof( struct yy_buffer_state ) ); in gram__create_buffer()
3160 (yy_buffer_stack) = (struct yy_buffer_state**)gram_alloc in gram_ensure_buffer_stack()
3161 (num_to_alloc * sizeof(struct yy_buffer_state*) in gram_ensure_buffer_stack()
3166 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in gram_ensure_buffer_stack()
3179 (yy_buffer_stack) = (struct yy_buffer_state**)gram_realloc in gram_ensure_buffer_stack()
3181 num_to_alloc * sizeof(struct yy_buffer_state*) in gram_ensure_buffer_stack()
3187 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in gram_ensure_buffer_stack()
3210 b = (YY_BUFFER_STATE) gram_alloc(sizeof( struct yy_buffer_state ) ); in gram__scan_buffer()
Dscan-code.c215 typedef struct yy_buffer_state *YY_BUFFER_STATE;
257 struct yy_buffer_state struct
1928 b = (YY_BUFFER_STATE) code_alloc(sizeof( struct yy_buffer_state ) ); in code__create_buffer()
2122 (yy_buffer_stack) = (struct yy_buffer_state**)code_alloc in code_ensure_buffer_stack()
2123 (num_to_alloc * sizeof(struct yy_buffer_state*) in code_ensure_buffer_stack()
2128 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in code_ensure_buffer_stack()
2141 (yy_buffer_stack) = (struct yy_buffer_state**)code_realloc in code_ensure_buffer_stack()
2143 num_to_alloc * sizeof(struct yy_buffer_state*) in code_ensure_buffer_stack()
2149 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in code_ensure_buffer_stack()
2172 b = (YY_BUFFER_STATE) code_alloc(sizeof( struct yy_buffer_state ) ); in code__scan_buffer()
/external/libpcap/
Dscanner.c184 typedef struct yy_buffer_state *YY_BUFFER_STATE;
221 struct yy_buffer_state struct
4329 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) ); in pcap__create_buffer()
4489 (yy_buffer_stack) = (struct yy_buffer_state**)pcap_alloc in pcap_ensure_buffer_stack()
4490 (num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4495 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); in pcap_ensure_buffer_stack()
4508 (yy_buffer_stack) = (struct yy_buffer_state**)pcap_realloc in pcap_ensure_buffer_stack()
4510 num_to_alloc * sizeof(struct yy_buffer_state*) in pcap_ensure_buffer_stack()
4516 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); in pcap_ensure_buffer_stack()
4537 b = (YY_BUFFER_STATE) pcap_alloc(sizeof( struct yy_buffer_state ) ); in pcap__scan_buffer()
/external/toybox/kconfig/
Dlex.zconf.c_shipped151 typedef struct yy_buffer_state *YY_BUFFER_STATE;
192 struct yy_buffer_state
1761 b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) );
1921 (yy_buffer_stack) = (struct yy_buffer_state**)zconfalloc
1922 (num_to_alloc * sizeof(struct yy_buffer_state*)
1925 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
1938 (yy_buffer_stack) = (struct yy_buffer_state**)zconfrealloc
1940 num_to_alloc * sizeof(struct yy_buffer_state*)
1944 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
1965 b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) );