Home
last modified time | relevance | path

Searched refs:mem_size_ (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcopy_thunk.cc30 mem_size_(mem_size) {} in HostToDeviceCopyThunk()
37 params.stream->ThenMemcpy(&destination_data, source_address_, mem_size_); in ExecuteOnStream()
47 mem_size_(mem_size) {} in DeviceToDeviceCopyThunk()
56 params.stream->ThenMemcpy(&destination_data, source_data, mem_size_); in ExecuteOnStream()
Dcopy_thunk.h48 const uint64 mem_size_; variable
70 const uint64 mem_size_; variable
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc259 allocator_->mem_size_); in GetNext()
321 mem_size_(static_cast<uint32_t>(size)), in PersistentMemoryAllocator()
389 shared_meta()->size = mem_size_; in PersistentMemoryAllocator()
430 if (shared_meta()->size < mem_size_) in PersistentMemoryAllocator()
431 *const_cast<uint32_t*>(&mem_size_) = shared_meta()->size; in PersistentMemoryAllocator()
436 if (!IsMemoryAcceptable(memory.base, mem_size_, mem_page_, readonly)) in PersistentMemoryAllocator()
512 mem_size_); in used()
523 if (offset >= mem_size_ || offset < sizeof(BlockHeader)) in GetAsReference()
540 if (size <= sizeof(BlockHeader) || ref + size > mem_size_) { in GetAllocSize()
665 if (freeptr + size > mem_size_) { in AllocateImpl()
[all …]
Dpersistent_memory_allocator.h339 size_t length() const { return mem_size_; } in length()
340 size_t size() const { return mem_size_; } in size()
628 const uint32_t mem_size_; // Size of entire memory segment. variable
/external/webp/src/dec/
Dframe_dec.c709 if (needed > dec->mem_size_) { in AllocateMemory()
711 dec->mem_size_ = 0; in AllocateMemory()
718 dec->mem_size_ = (size_t)needed; in AllocateMemory()
772 assert(mem <= (uint8_t*)dec->mem_ + dec->mem_size_); in AllocateMemory()
Dvp8i_dec.h246 size_t mem_size_; member
Dvp8_dec.c717 dec->mem_size_ = 0; in VP8Clear()