/external/tensorflow/tensorflow/compiler/xla/service/ |
D | maybe_owning_device_memory.cc | 25 return *absl::get<tensorflow::se::OwningDeviceMemory>(mem_); in AsDeviceMemoryBase() 27 return absl::get<tensorflow::se::DeviceMemoryBase>(mem_); in AsDeviceMemoryBase() 32 return absl::holds_alternative<tensorflow::se::OwningDeviceMemory>(mem_); in HasOwnership() 40 return std::move(absl::get<tensorflow::se::OwningDeviceMemory>(mem_)); in Release() 45 return HasOwnership() ? &absl::get<tensorflow::se::OwningDeviceMemory>(mem_) in AsOwningDeviceMemory()
|
D | maybe_owning_device_memory.h | 32 : mem_(std::move(owned)) {} in MaybeOwningDeviceMemory() 34 : mem_(unowned) {} in MaybeOwningDeviceMemory() 39 mem_ = unowned; 44 mem_ = std::move(owned); 70 mem_;
|
/external/webp/src/dec/ |
D | idec_dec.c | 72 MemBuffer mem_; // input memory buffer. member 113 MemBuffer* const mem = &idec->mem_; in DoRemap() 167 MemBuffer* const mem = &idec->mem_; in AppendToMemBuffer() 208 MemBuffer* const mem = &idec->mem_; in RemapMemBuffer() 299 MemBuffer* const mem = &idec->mem_; in ChangeState() 309 MemBuffer* const mem = &idec->mem_; in DecodeWebPHeaders() 348 const uint8_t* data = idec->mem_.buf_ + idec->mem_.start_; in DecodeVP8FrameHeader() 349 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader() 362 idec->mem_.part0_size_ = (bits >> 5) + VP8_FRAME_HEADER_SIZE; in DecodeVP8FrameHeader() 375 MemBuffer* const mem = &idec->mem_; in CopyParts0Data() [all …]
|
D | frame_dec.c | 710 WebPSafeFree(dec->mem_); in AllocateMemory() 712 dec->mem_ = WebPSafeMalloc(needed, sizeof(uint8_t)); in AllocateMemory() 713 if (dec->mem_ == NULL) { in AllocateMemory() 721 mem = (uint8_t*)dec->mem_; in AllocateMemory() 772 assert(mem <= (uint8_t*)dec->mem_ + dec->mem_size_); in AllocateMemory()
|
D | vp8i_dec.h | 245 void* mem_; member
|
D | vp8_dec.c | 715 WebPSafeFree(dec->mem_); in VP8Clear() 716 dec->mem_ = NULL; in VP8Clear()
|
/external/perfetto/src/tracing/internal/ |
D | in_process_tracing_backend.cc | 47 base::PagedMemory mem_; member in perfetto::internal::__anon2ffc25410111::InProcessShm 59 : mem_(base::PagedMemory::Allocate(size)) {} in InProcessShm() 62 return mem_.Get(); in start() 66 return mem_.size(); in size()
|
/external/perfetto/src/tracing/test/ |
D | test_shared_memory.h | 42 void* start() const override { return mem_.Get(); } in start() 45 base::PagedMemory mem_; variable
|
D | test_shared_memory.cc | 27 mem_ = base::PagedMemory::Allocate(size); in TestSharedMemory()
|
/external/webp/src/demux/ |
D | demux.c | 62 MemBuffer mem_; member 313 MemBuffer* const mem = &dmux->mem_; in ParseAnimationFrame() 399 MemBuffer* const mem = &dmux->mem_; in ParseSingleImage() 413 status = StoreFrame(1, 0, &dmux->mem_, frame); in ParseSingleImage() 445 MemBuffer* const mem = &dmux->mem_; in ParseVP8XChunks() 535 MemBuffer* const mem = &dmux->mem_; in ParseVP8X() 664 dmux->mem_ = *mem; in InitDemux() 743 if (!memcmp(parser->id, GetBuffer(&dmux->mem_), TAG_SIZE)) { in WebPDemuxInternal() 834 const uint8_t* const mem_buf = dmux->mem_.buf_; in SynthesizeFrame() 896 const uint8_t* const mem_buf = dmux->mem_.buf_; in ChunkCount() [all …]
|
/external/perfetto/src/profiling/memory/ |
D | shared_ring_buffer.cc | 180 mem_ = region + kMetaPageSize; in Initialize() 317 std::tie(meta_, mem_, size_, size_mask_) = in operator =() 318 std::tie(other.meta_, other.mem_, other.size_, other.size_mask_); in operator =() 319 std::tie(other.meta_, other.mem_, other.size_, other.size_mask_) = in operator =()
|
D | shared_ring_buffer.h | 109 bool is_valid() const { return !!mem_; } in is_valid() 256 inline uint8_t* at(uint64_t pos) { return mem_ + (pos & size_mask_); } in at() 260 uint8_t* mem_ = nullptr; // Start of the contents (i.e. meta_ + kPageSize). variable
|
/external/perfetto/src/trace_processor/containers/ |
D | string_pool.h | 159 : mem_(base::PagedMemory::Allocate(size, in Block() 173 return static_cast<uint8_t*>(mem_.Get()) + offset; in Get() 188 base::PagedMemory mem_;
|
D | string_pool.cc | 106 mem_.EnsureCommitted(max_pos); in TryInsert()
|
/external/webp/src/utils/ |
D | quant_levels_dec_utils.c | 55 void* mem_; // all memory member 227 p->mem_ = (void*)mem; in InitParams() 259 WebPSafeFree(p->mem_); in CleanupParams()
|
/external/perfetto/src/profiling/common/ |
D | unwind_support.cc | 34 : mem_(std::move(mem)), sp_(sp), stack_end_(sp + size), stack_(stack) {} in StackOverlayMemory() 43 return mem_->Read(addr, dst, size); in Read()
|
D | unwind_support.h | 88 std::shared_ptr<unwindstack::Memory> mem_;
|
/external/webp/src/mux/ |
D | anim_encode.c | 780 WebPMemoryWriter mem_; member 808 WebPMemoryWriterInit(&candidate->mem_); in EncodeCandidate() 816 if (!EncodeFrame(&config, sub_frame, &candidate->mem_)) { in EncodeCandidate() 825 WebPMemoryWriterClear(&candidate->mem_); in EncodeCandidate() 1019 const size_t candidate_size = candidates[i].mem_.size; in PickBestCandidate() 1034 GetEncodedData(&candidates[i].mem_, &dst->bitstream); in PickBestCandidate() 1047 WebPMemoryWriterClear(&candidates[i].mem_); in PickBestCandidate() 1179 WebPMemoryWriterClear(&candidates[i].mem_); in SetFrame()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_util.h | 57 new ((f)->getProgram()->mem_##obj.allocate()) obj(f, args) 73 new ((p)->mem_##obj.allocate()) obj(p, args)
|
/external/libevent/test/ |
D | regress.c | 3021 check_dummy_mem_ok(void *mem_) in check_dummy_mem_ok() argument 3023 char *mem = mem_; in check_dummy_mem_ok() 3037 dummy_realloc(void *mem_, size_t len) in dummy_realloc() argument 3039 char *mem = mem_; in dummy_realloc() 3042 tt_want(check_dummy_mem_ok(mem_)); in dummy_realloc() 3049 dummy_free(void *mem_) in dummy_free() argument 3051 char *mem = mem_; in dummy_free() 3052 tt_want(check_dummy_mem_ok(mem_)); in dummy_free()
|
/external/perfetto/docs/design-docs/ |
D | heapprofd-design.md | 98 return mem_->Read(addr, dst, size);
|