Home
last modified time | relevance | path

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

/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe.cc165 rtc::scoped_refptr<webrtc::VideoFrameBuffer> new_buffer = in MakeExclusive() local
173 new_buffer->MutableData(kYPlane), new_buffer->MutableData(kUPlane), in MakeExclusive()
174 new_buffer->MutableData(kVPlane), new_buffer->stride(kYPlane), in MakeExclusive()
175 new_buffer->stride(kUPlane), new_buffer->stride(kVPlane))) { in MakeExclusive()
179 video_frame_buffer_ = new_buffer; in MakeExclusive()
/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.h153 void CopyYoungSequenceTo(byte* new_buffer) const { in CopyYoungSequenceTo() argument
154 CopyBytes(new_buffer, young_sequence_.start(), young_sequence_.length()); in CopyYoungSequenceTo()
Dstring-stream.cc41 char* new_buffer = allocator_->grow(&new_capacity); in Put() local
44 buffer_ = new_buffer; in Put()
/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/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/boringssl/src/crypto/ec/
Dec_asn1.c549 int new_buffer = 0; in i2o_ECPublicKey() local
570 new_buffer = 1; in i2o_ECPublicKey()
575 if (new_buffer) { in i2o_ECPublicKey()
582 if (!new_buffer) { in i2o_ECPublicKey()
/external/libpcap/
Dscanner.c320 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer );
324 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer );
4280 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in pcap__switch_to_buffer() argument
4289 if ( YY_CURRENT_BUFFER == new_buffer ) in pcap__switch_to_buffer()
4300 YY_CURRENT_BUFFER_LVALUE = new_buffer; in pcap__switch_to_buffer()
4429 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer ) in pcap_push_buffer_state() argument
4431 if (new_buffer == NULL) in pcap_push_buffer_state()
4448 YY_CURRENT_BUFFER_LVALUE = new_buffer; in pcap_push_buffer_state()
/external/libweave/src/privet/
Dauth_manager.cc196 std::vector<uint8_t> new_buffer(kMaxMacaroonSize); in ExtendMacaroonToken() local
201 new_buffer.data(), new_buffer.size())); in ExtendMacaroonToken()
202 new_buffer.swap(prev_buffer); in ExtendMacaroonToken()
/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/third_party/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/webrtc/webrtc/base/
Dstream.cc653 char* new_buffer = reinterpret_cast<char*>( in DoReserve() local
655 memcpy(new_buffer, buffer_, data_length_); in DoReserve()
658 buffer_ = new_buffer; in DoReserve()
/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/v8/src/debug/
Dliveedit.cc1262 byte* new_buffer = NewArray<byte>(new_buffer_size); in Grow() local
1267 MemMove(new_buffer + new_buffer_size - curently_used_size, in Grow()
1271 new_buffer + new_buffer_size - curently_used_size, in Grow()
1275 buffer_ = new_buffer; in Grow()
/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