Home
last modified time | relevance | path

Searched refs:new_buffer (Results 1 – 23 of 23) sorted by relevance

/external/libvpx/libvpx/
Divfdec.c89 uint8_t *new_buffer = realloc(*buffer, 2 * frame_size); in ivf_read_frame() local
91 if (new_buffer) { in ivf_read_frame()
92 *buffer = new_buffer; in ivf_read_frame()
/external/icu/icu4c/source/test/cintltst/
Ducnvseltst.c349 char *new_buffer; in serializeAndUnserialize() local
357 new_buffer = (char *)uprv_malloc(ser_len); in serializeAndUnserialize()
359 ser_len2 = ucnvsel_serialize(sel, new_buffer, ser_len, status); in serializeAndUnserialize()
362 uprv_free(new_buffer); in serializeAndUnserialize()
367 *buffer = new_buffer; in serializeAndUnserialize()
368 sel = ucnvsel_openFromSerialized(new_buffer, ser_len, status); in serializeAndUnserialize()
/external/v8/src/
Dcodegen.h162 void CopyYoungSequenceTo(byte* new_buffer) const { in CopyYoungSequenceTo() argument
163 CopyBytes(new_buffer, young_sequence_.start(), young_sequence_.length()); in CopyYoungSequenceTo()
Dstring-stream.cc29 char* new_buffer = allocator_->grow(&new_capacity); in Put() local
32 buffer_ = new_buffer; in Put()
Dliveedit.cc1344 byte* new_buffer = NewArray<byte>(new_buffer_size); in Grow() local
1349 MemMove(new_buffer + new_buffer_size - curently_used_size, in Grow()
1353 new_buffer + new_buffer_size - curently_used_size, in Grow()
1357 buffer_ = new_buffer; in Grow()
/external/linux-tools-perf/src/tools/perf/util/
Dpmu-flex.c315 void perf_pmu__switch_to_buffer (YY_BUFFER_STATE new_buffer );
319 void perf_pmu_push_buffer_state (YY_BUFFER_STATE new_buffer );
1291 void perf_pmu__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in perf_pmu__switch_to_buffer() argument
1300 if ( YY_CURRENT_BUFFER == new_buffer ) in perf_pmu__switch_to_buffer()
1311 YY_CURRENT_BUFFER_LVALUE = new_buffer; in perf_pmu__switch_to_buffer()
1444 void perf_pmu_push_buffer_state (YY_BUFFER_STATE new_buffer ) in perf_pmu_push_buffer_state() argument
1446 if (new_buffer == NULL) in perf_pmu_push_buffer_state()
1463 YY_CURRENT_BUFFER_LVALUE = new_buffer; in perf_pmu_push_buffer_state()
Dparse-events-flex.h206 void parse_events__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
210 void parse_events_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
Dparse-events-flex.c289 void parse_events__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
293 void parse_events_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
2249 void parse_events__switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in parse_events__switch_to_buffer() argument
2259 if ( YY_CURRENT_BUFFER == new_buffer ) in parse_events__switch_to_buffer()
2270 YY_CURRENT_BUFFER_LVALUE = new_buffer; in parse_events__switch_to_buffer()
2407 void parse_events_push_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in parse_events_push_buffer_state() argument
2410 if (new_buffer == NULL) in parse_events_push_buffer_state()
2427 YY_CURRENT_BUFFER_LVALUE = new_buffer; in parse_events_push_buffer_state()
/external/bison/examples/calc++/
Dcalc++-scanner.cc359 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
363 void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
1447 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) in yy_switch_to_buffer() argument
1459 if ( YY_CURRENT_BUFFER == new_buffer ) in yy_switch_to_buffer()
1470 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yy_switch_to_buffer()
1626 void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) in yypush_buffer_state() argument
1631 if (new_buffer == NULL) in yypush_buffer_state()
1648 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yypush_buffer_state()
/external/elfutils/src/libcpu/
Di386_lex.c320 void i386__switch_to_buffer (YY_BUFFER_STATE new_buffer );
324 void i386_push_buffer_state (YY_BUFFER_STATE new_buffer );
1452 void i386__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in i386__switch_to_buffer() argument
1461 if ( YY_CURRENT_BUFFER == new_buffer ) in i386__switch_to_buffer()
1472 YY_CURRENT_BUFFER_LVALUE = new_buffer; in i386__switch_to_buffer()
1601 void i386_push_buffer_state (YY_BUFFER_STATE new_buffer ) in i386_push_buffer_state() argument
1603 if (new_buffer == NULL) in i386_push_buffer_state()
1620 YY_CURRENT_BUFFER_LVALUE = new_buffer; in i386_push_buffer_state()
/external/bison/src/
Dscan-skel.c378 void skel__switch_to_buffer (YY_BUFFER_STATE new_buffer );
382 void skel_push_buffer_state (YY_BUFFER_STATE new_buffer );
1655 void skel__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in skel__switch_to_buffer() argument
1667 if ( YY_CURRENT_BUFFER == new_buffer ) in skel__switch_to_buffer()
1678 YY_CURRENT_BUFFER_LVALUE = new_buffer; in skel__switch_to_buffer()
1834 void skel_push_buffer_state (YY_BUFFER_STATE new_buffer ) in skel_push_buffer_state() argument
1839 if (new_buffer == NULL) in skel_push_buffer_state()
1856 YY_CURRENT_BUFFER_LVALUE = new_buffer; in skel_push_buffer_state()
Dscan-gram.c378 void gram__switch_to_buffer (YY_BUFFER_STATE new_buffer );
382 void gram_push_buffer_state (YY_BUFFER_STATE new_buffer );
2906 void gram__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in gram__switch_to_buffer() argument
2918 if ( YY_CURRENT_BUFFER == new_buffer ) in gram__switch_to_buffer()
2929 YY_CURRENT_BUFFER_LVALUE = new_buffer; in gram__switch_to_buffer()
3085 void gram_push_buffer_state (YY_BUFFER_STATE new_buffer ) in gram_push_buffer_state() argument
3090 if (new_buffer == NULL) in gram_push_buffer_state()
3107 YY_CURRENT_BUFFER_LVALUE = new_buffer; in gram_push_buffer_state()
Dscan-code.c378 void code__switch_to_buffer (YY_BUFFER_STATE new_buffer );
382 void code_push_buffer_state (YY_BUFFER_STATE new_buffer );
1868 void code__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in code__switch_to_buffer() argument
1880 if ( YY_CURRENT_BUFFER == new_buffer ) in code__switch_to_buffer()
1891 YY_CURRENT_BUFFER_LVALUE = new_buffer; in code__switch_to_buffer()
2047 void code_push_buffer_state (YY_BUFFER_STATE new_buffer ) in code_push_buffer_state() argument
2052 if (new_buffer == NULL) in code_push_buffer_state()
2069 YY_CURRENT_BUFFER_LVALUE = new_buffer; in code_push_buffer_state()
/external/elfutils/src/src/
Dldlex.c321 void ld_switch_to_buffer (YY_BUFFER_STATE new_buffer );
325 void ldpush_buffer_state (YY_BUFFER_STATE new_buffer );
2233 void ld_switch_to_buffer (YY_BUFFER_STATE new_buffer ) in ld_switch_to_buffer() argument
2242 if ( YY_CURRENT_BUFFER == new_buffer ) in ld_switch_to_buffer()
2253 YY_CURRENT_BUFFER_LVALUE = new_buffer; in ld_switch_to_buffer()
2382 void ldpush_buffer_state (YY_BUFFER_STATE new_buffer ) in ldpush_buffer_state() argument
2384 if (new_buffer == NULL) in ldpush_buffer_state()
2401 YY_CURRENT_BUFFER_LVALUE = new_buffer; in ldpush_buffer_state()
/external/libpcap/
Dscanner.c316 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer );
320 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer );
4271 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in pcap__switch_to_buffer() argument
4280 if ( YY_CURRENT_BUFFER == new_buffer ) in pcap__switch_to_buffer()
4291 YY_CURRENT_BUFFER_LVALUE = new_buffer; in pcap__switch_to_buffer()
4424 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer ) in pcap_push_buffer_state() argument
4426 if (new_buffer == NULL) in pcap_push_buffer_state()
4443 YY_CURRENT_BUFFER_LVALUE = new_buffer; in pcap_push_buffer_state()
/external/boringssl/src/crypto/ec/
Dec_asn1.c541 int new_buffer = 0; in i2o_ECPublicKey() local
562 new_buffer = 1; in i2o_ECPublicKey()
567 if (new_buffer) { in i2o_ECPublicKey()
574 if (!new_buffer) { in i2o_ECPublicKey()
/external/flac/libFLAC/
Dbitwriter.c88 uint32_t *new_buffer; in bitwriter_grow_() local
110 new_buffer = safe_realloc_mul_2op_(bw->buffer, sizeof(uint32_t), /*times*/new_capacity); in bitwriter_grow_()
111 if(new_buffer == 0) in bitwriter_grow_()
113 bw->buffer = new_buffer; in bitwriter_grow_()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dmqc.c538 void* new_buffer = opj_realloc(mqc->buffer, (len + 1) * sizeof(OPJ_UINT32)); in opj_mqc_init_dec() local
539 if (! new_buffer) { in opj_mqc_init_dec()
544 mqc->buffer = new_buffer; in opj_mqc_init_dec()
/external/toybox/kconfig/
Dlex.zconf.c_shipped291 void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer );
295 void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer );
1709 * @param new_buffer The new input buffer.
1712 void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer )
1718 * zconfpush_buffer_state(new_buffer);
1721 if ( YY_CURRENT_BUFFER == new_buffer )
1732 YY_CURRENT_BUFFER_LVALUE = new_buffer;
1858 * @param new_buffer The new state.
1861 void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer )
1863 if (new_buffer == NULL)
[all …]
/external/libvterm/src/
Dscreen.c82 …ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_co… in realloc_buffer() local
86 ScreenCell *new_cell = new_buffer + row*new_cols + col; in realloc_buffer()
100 return new_buffer; in realloc_buffer()
/external/pcre/dist/
Dpcretest.c1919 pcre_uint8 *new_buffer = (pcre_uint8 *)malloc(new_buffer_size); in extend_inputline() local
1922 if (new_buffer == NULL || new_pbuffer == NULL) in extend_inputline()
1928 memcpy(new_buffer, buffer, buffer_size); in extend_inputline()
1933 start = new_buffer + (start - buffer); in extend_inputline()
1934 here = new_buffer + (here - buffer); in extend_inputline()
1939 buffer = new_buffer; in extend_inputline()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp2438 unsigned char *chunk_start, *new_buffer; in lodepng_chunk_append() local
2442 new_buffer = (unsigned char*)lodepng_realloc(*out, new_length); in lodepng_chunk_append()
2443 if(!new_buffer) return 83; /*alloc fail*/ in lodepng_chunk_append()
2444 (*out) = new_buffer; in lodepng_chunk_append()
2457 unsigned char *chunk, *new_buffer; in lodepng_chunk_create() local
2460 new_buffer = (unsigned char*)lodepng_realloc(*out, new_length); in lodepng_chunk_create()
2461 if(!new_buffer) return 83; /*alloc fail*/ in lodepng_chunk_create()
2462 (*out) = new_buffer; in lodepng_chunk_create()
/external/deqp/doc/testspecs/GLES3/
Dperformance.buffer.data_upload.txt151 new_buffer.* group cases, the uploaded buffer is generated just before uploading. In this