Home
last modified time | relevance | path

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

12

/external/v8/src/heap/
Darray-buffer-tracker.cc40 JSArrayBuffer* new_buffer = nullptr; in Process() local
44 const CallbackResult result = callback(it->first, &new_buffer); in Process()
48 DCHECK_NOT_NULL(new_buffer); in Process()
49 Page* target_page = Page::FromAddress(new_buffer->address()); in Process()
59 tracker->Add(new_buffer, it->second); in Process()
114 [mode](JSArrayBuffer* old_buffer, JSArrayBuffer** new_buffer) { in ProcessBuffers() argument
117 *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/syslinux/gpxe/src/core/
Ddownloader.c95 userptr_t new_buffer; in downloader_ensure_size() local
105 new_buffer = urealloc ( downloader->image->data, len ); in downloader_ensure_size()
106 if ( ! new_buffer ) { in downloader_ensure_size()
111 downloader->image->data = new_buffer; in downloader_ensure_size()
/external/mesa3d/src/loader/
Dloader_dri3_helper.c1222 struct loader_dri3_buffer *new_buffer; in dri3_get_buffer() local
1226 new_buffer = dri3_alloc_render_buffer(draw, in dri3_get_buffer()
1231 if (!new_buffer) in dri3_get_buffer()
1241 dri3_fence_reset(draw->conn, new_buffer); in dri3_get_buffer()
1245 new_buffer->pixmap, in dri3_get_buffer()
1249 dri3_fence_trigger(draw->conn, new_buffer); in dri3_get_buffer()
1252 new_buffer->image, in dri3_get_buffer()
1261 dri3_fence_reset(draw->conn, new_buffer); in dri3_get_buffer()
1264 new_buffer->pixmap, in dri3_get_buffer()
1268 dri3_fence_trigger(draw->conn, new_buffer); in dri3_get_buffer()
[all …]
/external/v8/src/wasm/
Dwasm-module-builder.h99 byte* new_buffer = reinterpret_cast<byte*>(zone_->New(new_size)); in EnsureSpace() local
100 memcpy(new_buffer, buffer_, (pos_ - buffer_)); in EnsureSpace()
101 pos_ = new_buffer + (pos_ - buffer_); in EnsureSpace()
102 buffer_ = new_buffer; in EnsureSpace()
103 end_ = new_buffer + new_size; in EnsureSpace()
Dwasm-module.cc2147 Handle<JSArrayBuffer> new_buffer = in GrowMemoryBuffer() local
2149 if (new_buffer.is_null()) return new_buffer; in GrowMemoryBuffer()
2150 Address new_mem_start = static_cast<Address>(new_buffer->backing_store()); in GrowMemoryBuffer()
2154 return new_buffer; in GrowMemoryBuffer()
2211 Handle<JSArrayBuffer> new_buffer; in GrowWebAssemblyMemory() local
2215 new_buffer = SetupArrayBuffer(isolate, old_buffer->backing_store(), in GrowWebAssemblyMemory()
2218 memory_object->set_buffer(*new_buffer); in GrowWebAssemblyMemory()
2240 new_buffer = GrowMemoryBuffer(isolate, memory_buffer, pages, max_pages); in GrowWebAssemblyMemory()
2241 if (new_buffer.is_null()) return -1; in GrowWebAssemblyMemory()
2252 new_buffer = GrowMemoryBuffer(isolate, memory_buffer, pages, max_pages); in GrowWebAssemblyMemory()
[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/v8/src/
Dcodegen.h117 void CopyYoungSequenceTo(byte* new_buffer) const { in CopyYoungSequenceTo() argument
118 CopyBytes(new_buffer, young_sequence_.start(), young_sequence_.length()); in CopyYoungSequenceTo()
Dstring-stream.cc45 char* new_buffer = allocator_->grow(&new_capacity); in Put() local
48 buffer_ = new_buffer; in Put()
/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/libmojo/mojo/public/cpp/bindings/lib/
Dmessage.cc145 void* new_buffer = nullptr; in TakeMojoMessage() local
146 rv = GetMessageBuffer(new_message.get(), &new_buffer); in TakeMojoMessage()
149 memcpy(new_buffer, data(), data_num_bytes()); in TakeMojoMessage()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c526 int new_buffer = 0; in i2o_ECPublicKey() local
547 new_buffer = 1; in i2o_ECPublicKey()
552 if (new_buffer) { in i2o_ECPublicKey()
559 if (!new_buffer) { in i2o_ECPublicKey()
/external/libpcap/
Dscanner.h215 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
219 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
Dscanner.c298 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
302 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
4362 void pcap__switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in pcap__switch_to_buffer() argument
4372 if ( YY_CURRENT_BUFFER == new_buffer ) in pcap__switch_to_buffer()
4383 YY_CURRENT_BUFFER_LVALUE = new_buffer; in pcap__switch_to_buffer()
4516 void pcap_push_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in pcap_push_buffer_state() argument
4519 if (new_buffer == NULL) in pcap_push_buffer_state()
4536 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/tensorflow/tensorflow/compiler/xla/service/
Dhlo_alias_analysis.cc104 BufferNumber new_buffer = aliased_buffers[0]; in MergeAliasedBuffers() local
105 if (current_buffer != new_buffer) { in MergeAliasedBuffers()
106 MoveValueToBuffer(*value, new_buffer); in MergeAliasedBuffers()
Dhlo_rematerialization.cc709 Buffer& new_buffer = in AddRematerializedInstruction() local
712 remat_item->buffers_defined.push_back(new_buffer.id); in AddRematerializedInstruction()
713 for (Item* user : new_buffer.users) { in AddRematerializedInstruction()
716 new_buffer.id); in AddRematerializedInstruction()
/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/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/syslinux/com32/libutil/
Dsha256crypt.c535 char *new_buffer = (char *)realloc(buffer, needed); in sha256_crypt() local
536 if (new_buffer == NULL) in sha256_crypt()
539 buffer = new_buffer; in sha256_crypt()
Dsha512crypt.c582 char *new_buffer = (char *)realloc(buffer, needed); in sha512_crypt() local
583 if (new_buffer == NULL) in sha512_crypt()
586 buffer = new_buffer; in sha512_crypt()
/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/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()

12