Home
last modified time | relevance | path

Searched refs:old_buffer (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/core/fxcrt/
Dbytestring_unittest.cpp481 const char* old_buffer = freed.c_str(); in TEST() local
486 EXPECT_EQ(old_buffer, freed.c_str()); in TEST()
491 EXPECT_EQ(old_buffer, freed.c_str()); in TEST()
497 EXPECT_EQ(old_buffer, freed.c_str()); in TEST()
498 EXPECT_EQ(old_buffer, shared.c_str()); in TEST()
503 EXPECT_NE(old_buffer, freed.c_str()); in TEST()
505 EXPECT_EQ(old_buffer, shared.c_str()); in TEST()
822 const char* old_buffer = fred.c_str(); in TEST() local
825 EXPECT_EQ(old_buffer, fred.c_str()); in TEST()
831 const char* old_buffer = fred.c_str(); in TEST() local
[all …]
Dwidestring_unittest.cpp489 const wchar_t* old_buffer = freed.c_str(); in TEST() local
494 EXPECT_EQ(old_buffer, freed.c_str()); in TEST()
499 EXPECT_EQ(old_buffer, freed.c_str()); in TEST()
505 EXPECT_EQ(old_buffer, freed.c_str()); in TEST()
506 EXPECT_EQ(old_buffer, shared.c_str()); in TEST()
511 EXPECT_NE(old_buffer, freed.c_str()); in TEST()
513 EXPECT_EQ(old_buffer, shared.c_str()); in TEST()
829 const wchar_t* old_buffer = fred.c_str(); in TEST() local
832 EXPECT_EQ(old_buffer, fred.c_str()); in TEST()
838 const wchar_t* old_buffer = fred.c_str(); in TEST() local
[all …]
/external/v8/src/regexp/
Dregexp-bytecode-generator.cc396 Vector<byte> old_buffer = buffer_; in Expand() local
397 buffer_ = Vector<byte>::New(old_buffer.length() * 2); in Expand()
398 MemCopy(buffer_.begin(), old_buffer.begin(), old_buffer.length()); in Expand()
399 old_buffer.Dispose(); in Expand()
/external/libpng/
Dpngpread.c486 png_bytep old_buffer; in png_push_save_buffer() local
495 old_buffer = png_ptr->save_buffer; in png_push_save_buffer()
501 png_free(png_ptr, old_buffer); in png_push_save_buffer()
505 if (old_buffer) in png_push_save_buffer()
506 memcpy(png_ptr->save_buffer, old_buffer, png_ptr->save_buffer_size); in png_push_save_buffer()
509 png_free(png_ptr, old_buffer); in png_push_save_buffer()
DCHANGES2681 Return allocated "old_buffer" in png_push_save_buffer() before
/external/pdfium/third_party/libpng16/
Dpngpread.c486 png_bytep old_buffer; in png_push_save_buffer() local
495 old_buffer = png_ptr->save_buffer; in png_push_save_buffer()
501 png_free(png_ptr, old_buffer); in png_push_save_buffer()
505 if (old_buffer) in png_push_save_buffer()
506 memcpy(png_ptr->save_buffer, old_buffer, png_ptr->save_buffer_size); in png_push_save_buffer()
509 png_free(png_ptr, old_buffer); in png_push_save_buffer()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_rematerialization.cc968 Buffer& old_buffer = buffers_.at(old_buffer_id); in AddRematerializedInstruction() local
972 for (Item* user : old_buffer.users) { in AddRematerializedInstruction()
980 old_buffer.users = std::move(placed_users); in AddRematerializedInstruction()
981 old_buffer.unfinished_user_count = 0; in AddRematerializedInstruction()
984 memory_usage_ -= AllocatedSize(old_buffer.id); in AddRematerializedInstruction()
987 RematerializeBuffer(old_buffer, remat_item, std::move(unplaced_users)); in AddRematerializedInstruction()
/external/v8/src/wasm/
Dwasm-objects.cc911 Handle<JSArrayBuffer> old_buffer(memory_object->array_buffer(), isolate); in Grow() local
914 if (old_buffer->is_asmjs_memory()) return -1; in Grow()
922 size_t old_size = old_buffer->byte_length(); in Grow()
927 std::shared_ptr<BackingStore> backing_store = old_buffer->GetBackingStore(); in Grow()
931 if (old_buffer->is_shared()) { in Grow()
939 CHECK_NE(*old_buffer, memory_object->array_buffer()); in Grow()
963 old_buffer->Detach(true); in Grow()
984 old_buffer->Detach(true); in Grow()
Dwasm-js.cc1741 i::Handle<i::JSArrayBuffer> old_buffer(receiver->array_buffer(), i_isolate); in WebAssemblyMemoryGrow() local
1745 uint64_t old_size64 = old_buffer->byte_length() / i::wasm::kWasmPageSize; in WebAssemblyMemoryGrow()
/external/v8/src/objects/
Dbacking-store.cc805 Handle<JSArrayBuffer> old_buffer(memory_object->array_buffer(), isolate); in UpdateSharedWasmMemoryObjects() local
806 std::shared_ptr<BackingStore> backing_store = old_buffer->GetBackingStore(); in UpdateSharedWasmMemoryObjects()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c1304 struct ANativeWindowBuffer *old_buffer UNUSED = dri2_surf->buffer; in droid_display_shared_buffer()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c4798 void *old_buffer = *ptr; in ensure_array_state() local
4810 memcpy(*ptr, old_buffer, prev_slot_count * slot_size); in ensure_array_state()
/external/v8/src/d8/
Dd8.cc3833 void* ReallocateBufferMemory(void* old_buffer, size_t size, in ReallocateBufferMemory() argument
3840 void* result = realloc(old_buffer, size); in ReallocateBufferMemory()
/external/v8/include/
Dv8.h2398 virtual void* ReallocateBufferMemory(void* old_buffer, size_t size,
/external/v8/src/api/
Dapi.cc3165 void* ValueSerializer::Delegate::ReallocateBufferMemory(void* old_buffer, in ReallocateBufferMemory() argument
3169 return realloc(old_buffer, size); in ReallocateBufferMemory()