Home
last modified time | relevance | path

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

12

/external/v8/src/heap/
Darray-buffer-tracker.cc26 JSArrayBuffer* new_buffer = nullptr; in Process() local
34 const CallbackResult result = callback(old_buffer, &new_buffer); in Process()
38 DCHECK_NOT_NULL(new_buffer); in Process()
39 Page* target_page = Page::FromAddress(new_buffer->address()); in Process()
54 tracker->Add(new_buffer, length); in Process()
109 [mode](JSArrayBuffer* old_buffer, JSArrayBuffer** new_buffer) { in ProcessBuffers() argument
112 *new_buffer = JSArrayBuffer::cast(map_word.ToForwardingAddress()); in ProcessBuffers()
/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/libaom/libaom/common/
Divfdec.c80 uint8_t *new_buffer = (uint8_t *)realloc(*buffer, 2 * frame_size); in ivf_read_frame() local
82 if (new_buffer) { in ivf_read_frame()
83 *buffer = new_buffer; in ivf_read_frame()
Dobudec.c206 uint8_t *new_buffer = (uint8_t *)realloc(*obu_buffer, new_capacity); in obudec_grow_buffer() local
207 if (!new_buffer) { in obudec_grow_buffer()
212 *obu_buffer = new_buffer; in obudec_grow_buffer()
441 uint8_t *new_buffer = (uint8_t *)realloc(*buffer, tu_size); in obudec_read_temporal_unit() local
442 if (!new_buffer) { in obudec_read_temporal_unit()
447 *buffer = new_buffer; in obudec_read_temporal_unit()
/external/libvpx/libvpx/examples/
Dvpx_dec_fuzzer.cc99 uint8_t *new_buffer = (uint8_t *)realloc(*buffer, 2 * frame_size); in ReadFrame() local
101 if (new_buffer) { in ReadFrame()
102 *buffer = new_buffer; in ReadFrame()
/external/mesa3d/src/loader/
Dloader_dri3_helper.c1414 struct loader_dri3_buffer *new_buffer; in dri3_get_buffer() local
1418 new_buffer = dri3_alloc_render_buffer(draw, in dri3_get_buffer()
1423 if (!new_buffer) in dri3_get_buffer()
1436 new_buffer->image, in dri3_get_buffer()
1441 dri3_fence_reset(draw->conn, new_buffer); in dri3_get_buffer()
1444 new_buffer->pixmap, in dri3_get_buffer()
1448 dri3_fence_trigger(draw->conn, new_buffer); in dri3_get_buffer()
1454 dri3_fence_reset(draw->conn, new_buffer); in dri3_get_buffer()
1457 new_buffer->pixmap, in dri3_get_buffer()
1461 dri3_fence_trigger(draw->conn, new_buffer); in dri3_get_buffer()
[all …]
/external/v8/src/wasm/
Dwasm-module-builder.h129 byte* new_buffer = reinterpret_cast<byte*>(zone_->New(new_size)); in EnsureSpace() local
130 memcpy(new_buffer, buffer_, (pos_ - buffer_)); in EnsureSpace()
131 pos_ = new_buffer + (pos_ - buffer_); in EnsureSpace()
132 buffer_ = new_buffer; in EnsureSpace()
133 end_ = new_buffer + new_size; in EnsureSpace()
Dwasm-objects.cc920 Handle<JSArrayBuffer> new_buffer = in GrowMemoryBuffer() local
922 return new_buffer; in GrowMemoryBuffer()
926 Handle<JSArrayBuffer> new_buffer; in GrowMemoryBuffer() local
927 if (!wasm::NewArrayBuffer(isolate, new_size).ToHandle(&new_buffer)) { in GrowMemoryBuffer()
936 !memory_tracker->HasFullGuardRegions(new_buffer->backing_store())) { in GrowMemoryBuffer()
939 if (old_size == 0) return new_buffer; in GrowMemoryBuffer()
940 memcpy(new_buffer->backing_store(), old_mem_start, old_size); in GrowMemoryBuffer()
944 return new_buffer; in GrowMemoryBuffer()
1055 Handle<JSArrayBuffer> new_buffer; in Grow() local
1063 .ToHandle(&new_buffer)) { in Grow()
[all …]
/external/icu/icu4c/source/test/cintltst/
Ducnvseltst.c352 char *new_buffer; in serializeAndUnserialize() local
360 new_buffer = (char *)uprv_malloc(ser_len); in serializeAndUnserialize()
362 ser_len2 = ucnvsel_serialize(sel, new_buffer, ser_len, status); in serializeAndUnserialize()
365 uprv_free(new_buffer); in serializeAndUnserialize()
370 *buffer = new_buffer; in serializeAndUnserialize()
371 sel = ucnvsel_openFromSerialized(new_buffer, ser_len, status); in serializeAndUnserialize()
/external/libxcam/plugins/smart/dvs/
Dxcam_plugin_dvs.cpp118 XCam::SmartPtr<XCam::VideoBuffer> new_buffer = new XCam::DmaVideoBuffer(buffer_info, buffer_fd); in dvs_analyze() local
123 video_buffer = display->convert_to_drm_bo_buf (display, new_buffer); in dvs_analyze()
125 video_buffer = new_buffer; in dvs_analyze()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtensor_list_utils.cc91 auto new_buffer = xla::Broadcast( in InitializeTensorList() local
97 return BuildTensorList(new_buffer, push_index, output_list); in InitializeTensorList()
/external/iproute2/tc/
Demp_ematch.lex.c305 void ematch__switch_to_buffer (YY_BUFFER_STATE new_buffer );
309 void ematch_push_buffer_state (YY_BUFFER_STATE new_buffer );
1485 void ematch__switch_to_buffer (YY_BUFFER_STATE new_buffer ) in ematch__switch_to_buffer() argument
1494 if ( YY_CURRENT_BUFFER == new_buffer ) in ematch__switch_to_buffer()
1505 YY_CURRENT_BUFFER_LVALUE = new_buffer; in ematch__switch_to_buffer()
1634 void ematch_push_buffer_state (YY_BUFFER_STATE new_buffer ) in ematch_push_buffer_state() argument
1636 if (new_buffer == NULL) in ematch_push_buffer_state()
1653 YY_CURRENT_BUFFER_LVALUE = new_buffer; in ematch_push_buffer_state()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c525 int new_buffer = 0; in i2o_ECPublicKey() local
546 new_buffer = 1; in i2o_ECPublicKey()
551 if (new_buffer) { in i2o_ECPublicKey()
558 if (!new_buffer) { in i2o_ECPublicKey()
/external/libpcap/
Dscanner.h222 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
226 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
Dscanner.c305 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
309 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
4695 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in pcap__switch_to_buffer() argument
4705 if ( YY_CURRENT_BUFFER == new_buffer ) in pcap__switch_to_buffer()
4716 YY_CURRENT_BUFFER_LVALUE = new_buffer; in pcap__switch_to_buffer()
4849 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in pcap_push_buffer_state() argument
4852 if (new_buffer == NULL) in pcap_push_buffer_state()
4869 YY_CURRENT_BUFFER_LVALUE = new_buffer; in pcap_push_buffer_state()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DTokenizer.cpp656 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
660 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
2165 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yy_switch_to_buffer() argument
2175 if ( YY_CURRENT_BUFFER == new_buffer ) in yy_switch_to_buffer()
2186 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yy_switch_to_buffer()
2325 void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yypush_buffer_state() argument
2328 if (new_buffer == NULL) in yypush_buffer_state()
2345 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yypush_buffer_state()
/external/flac/libFLAC/
Dbitwriter.c105 bwword *new_buffer; in bitwriter_grow_() local
127 new_buffer = safe_realloc_mul_2op_(bw->buffer, sizeof(bwword), /*times*/new_capacity); in bitwriter_grow_()
128 if(new_buffer == 0) in bitwriter_grow_()
130 bw->buffer = new_buffer; in bitwriter_grow_()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_alias_analysis.cc105 BufferNumber new_buffer = aliased_buffers[0]; in MergeAliasedBuffers() local
106 if (current_buffer != new_buffer) { in MergeAliasedBuffers()
107 MoveValueToBuffer(*value, new_buffer); in MergeAliasedBuffers()
Dhlo_rematerialization.cc730 Buffer& new_buffer = in AddRematerializedInstruction() local
733 remat_item->buffers_defined.push_back(new_buffer.id); in AddRematerializedInstruction()
734 for (Item* user : new_buffer.users) { in AddRematerializedInstruction()
737 new_buffer.id); in AddRematerializedInstruction()
/external/swiftshader/src/OpenGL/compiler/
Dglslang_lex.cpp441 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
445 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
2806 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yy_switch_to_buffer() argument
2816 if ( YY_CURRENT_BUFFER == new_buffer ) in yy_switch_to_buffer()
2827 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yy_switch_to_buffer()
2966 void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yypush_buffer_state() argument
2969 if (new_buffer == NULL) in yypush_buffer_state()
2986 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yypush_buffer_state()
/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/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri3.c371 struct vl_dri3_buffer *new_buffer; in dri3_get_back_buffer() local
373 new_buffer = dri3_alloc_back_buffer(scrn); in dri3_get_back_buffer()
374 if (!new_buffer) in dri3_get_back_buffer()
382 buffer = new_buffer; in dri3_get_back_buffer()
/external/v8/src/
Dstring-stream.cc46 char* new_buffer = allocator_->grow(&new_capacity); in Put() local
49 buffer_ = new_buffer; in Put()
/external/libchrome/base/containers/
Dcircular_deque.h943 VectorBuffer new_buffer(new_capacity + 1); in SetCapacityTo()
944 MoveBuffer(buffer_, begin_, end_, &new_buffer, &begin_, &end_); in SetCapacityTo()
945 buffer_ = std::move(new_buffer); in SetCapacityTo()

12