Home
last modified time | relevance | path

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

/external/webrtc/modules/desktop_capture/
Ddesktop_capturer_differ_wrapper.cc31 bool PartialBlockDifference(const uint8_t* old_buffer, in PartialBlockDifference() argument
39 if (memcmp(old_buffer, new_buffer, width_bytes) != 0) { in PartialBlockDifference()
42 old_buffer += stride; in PartialBlockDifference()
52 void CompareRow(const uint8_t* old_buffer, in CompareRow() argument
74 if (BlockDifference(old_buffer, new_buffer, height, stride)) { in CompareRow()
87 old_buffer += block_x_offset; in CompareRow()
94 last_block_diff = PartialBlockDifference(old_buffer, new_buffer, in CompareRow()
97 last_block_diff = BlockDifference(old_buffer, new_buffer, height, stride); in CompareRow()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dbuffer_reuse_pass.cc215 for (BlockArgument old_buffer : arguments) { in find_reuse_candiates() local
216 if (!old_buffer.getType().isa<BaseMemRefType>()) continue; in find_reuse_candiates()
220 if (!size_equivalences.is_same_size(new_buffer, old_buffer)) continue; in find_reuse_candiates()
225 for (Value old_buffer_alias : aliases.resolve(old_buffer)) { in find_reuse_candiates()
259 int32_t old_buffer_index = old_buffer.getArgNumber(); in find_reuse_candiates()
287 bool can_reuse_locally(Operation *op, Value old_buffer, Value new_buffer) { in can_reuse_locally() argument
289 auto old_buffer_ty = old_buffer.getType().dyn_cast<MemRefType>(); in can_reuse_locally()
290 auto new_buffer_ty = old_buffer.getType().dyn_cast<MemRefType>(); in can_reuse_locally()
296 assert(llvm::find(op->getOperands(), old_buffer) != in can_reuse_locally()
307 llvm::find(operand_buffers, old_buffer) - operand_buffers.begin(); in can_reuse_locally()
/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/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_all_reduce_code_motion.cc370 HloInstruction* old_buffer = old_while_init->mutable_operand(tuple_index); in CreateNewWhileInit() local
373 old_buffer->shape().element_type(), in CreateNewWhileInit()
374 old_buffer->shape().dimensions()))); in CreateNewWhileInit()
443 HloInstruction* old_buffer = tuple_index_to_old_buffer.at(tuple_index); in CreateSinkedAllReduces() local
444 CHECK(Shape::Equal().IgnoreLayout()(old_buffer->shape(), in CreateSinkedAllReduces()
448 all_reduced_delta->shape(), HloOpcode::kAdd, old_buffer, in CreateSinkedAllReduces()
Dhlo_rematerialization.cc1104 Buffer& old_buffer = buffers_.at(old_buffer_id); in AddRematerializedInstruction() local
1108 for (ItemUse& user : old_buffer.users) { in AddRematerializedInstruction()
1127 old_buffer.users = std::move(placed_users); in AddRematerializedInstruction()
1128 old_buffer.unfinished_user_count = 0; in AddRematerializedInstruction()
1131 memory_usage_ -= AllocatedSize(old_buffer.id); in AddRematerializedInstruction()
1134 RematerializeBuffer(old_buffer, remat_item, std::move(unplaced_users)); in AddRematerializedInstruction()
/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/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/kmod/libkmod/
Dlibkmod-file.c101 uint8_t *old_buffer = buffer->dst; in zstd_ensure_outbuffer_space() local
111 free(old_buffer); in zstd_ensure_outbuffer_space()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtensor_array_ops_decomposition.cc350 auto old_buffer = in HandleTensorArraySplitV3Op() local
353 cutil::AccumulateBuffers(old_buffer, buffer, builder, split.getLoc()); in HandleTensorArraySplitV3Op()
/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()