/external/compiler-rt/lib/lsan/ |
D | lsan_allocator.cc | 31 uptr requested_size : 54; member 77 m->requested_size = size; in RegisterAllocation() 134 return m->requested_size; in GetMallocUsableSize() 163 if (addr < chunk + m->requested_size) in PointsIntoChunk() 165 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr)) in PointsIntoChunk() 191 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata 192 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size() 208 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) { in IgnoreObjectLocked()
|
D | lsan_common.cc | 170 pp, p, chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers() 176 chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers() 311 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag() 322 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb() 335 chunk, chunk + m.requested_size(), m.requested_size()); in CollectIgnoredCb() 397 leak_report->AddLeakedChunk(chunk, stack_trace_id, m.requested_size(), in CollectLeaksCb()
|
D | lsan_common.h | 181 uptr requested_size() const;
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 26 uptr requested_size; member 129 meta->requested_size = size; in MsanAllocate() 148 uptr size = meta->requested_size; in MsanDeallocate() 149 meta->requested_size = 0; in MsanDeallocate() 186 uptr old_size = meta->requested_size; in MsanReallocate() 190 meta->requested_size = new_size; in MsanReallocate() 217 return b->requested_size; in AllocationSize()
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 203 EXPECT_EQ(memory1.requested_size(), kDataSize); in TEST_P() 227 EXPECT_EQ(memory2.requested_size(), 0U); in TEST_P() 510 shmem.requested_size()); in TEST_P() 518 ASSERT_EQ(0U, shared.requested_size()); in TEST_P() 520 shmem.requested_size()); in TEST_P() 527 ASSERT_EQ(0U, readonly.requested_size()); in TEST_P() 530 shmem.requested_size()); in TEST_P() 612 EXPECT_TRUE(shared_memory.Map(shared_memory.requested_size())); in TEST_P() 614 EXPECT_EQ(0, mprotect(shared_memory.memory(), shared_memory.requested_size(), in TEST_P() 633 EXPECT_TRUE(shared_memory.Map(shared_memory.requested_size())); in TEST() [all …]
|
D | shared_memory.h | 178 size_t requested_size() const { return requested_size_; } in requested_size() function
|
/external/v8/src/builtins/ |
D | builtins-internal-gen.cc | 791 auto requested_size = UncheckedParameter<IntPtrT>(Descriptor::kRequestedSize); in TF_BUILTIN() local 792 CSA_CHECK(this, IsValidPositiveSmi(requested_size)); in TF_BUILTIN() 798 SmiFromIntPtr(requested_size), allocation_flags); in TF_BUILTIN() 802 auto requested_size = UncheckedParameter<IntPtrT>(Descriptor::kRequestedSize); in TF_BUILTIN() local 803 CSA_CHECK(this, IsValidPositiveSmi(requested_size)); in TF_BUILTIN() 809 SmiFromIntPtr(requested_size), allocation_flags); in TF_BUILTIN() 813 auto requested_size = UncheckedParameter<IntPtrT>(Descriptor::kRequestedSize); in TF_BUILTIN() local 814 CSA_CHECK(this, IsValidPositiveSmi(requested_size)); in TF_BUILTIN() 820 SmiFromIntPtr(requested_size), runtime_flags); in TF_BUILTIN() 824 auto requested_size = UncheckedParameter<IntPtrT>(Descriptor::kRequestedSize); in TF_BUILTIN() local [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_bfc_allocator_test.cc | 460 const size_t requested_size = 2 * (256 << i); in TestBinDebugInfo() local 461 EXPECT_EQ(requested_size, in TestBinDebugInfo() 470 EXPECT_EQ(bin_info.total_requested_bytes_in_use, requested_size); in TestBinDebugInfo() 509 size_t requested_size = 256 << i; in TestBinDebugInfo() local 510 EXPECT_EQ(requested_size, a.RequestedSize(initial_ptrs[2 * i])); in TestBinDebugInfo() 515 EXPECT_EQ(bin_info.total_requested_bytes_in_use, requested_size); in TestBinDebugInfo()
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | partition_alloc.h | 319 size_t requested_size = size; in AllocFlags() 328 PartitionAllocHooks::AllocationObserverHookIfEnabled(result, requested_size, in AllocFlags() 419 size_t requested_size = size; in PartitionAllocGenericFlags() local 427 PartitionAllocHooks::AllocationObserverHookIfEnabled(result, requested_size, in PartitionAllocGenericFlags()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | shared_memory.py | 303 requested_size = struct.calcsize( 311 requested_size = 8 # Some platforms require > 0. 316 self.shm = SharedMemory(name, create=True, size=requested_size)
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | bfc_memory_map.proto | 19 int64 requested_size = 3; field
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.cc | 493 chunk->requested_size = num_bytes; in FindChunkPtr() 828 return c->requested_size; in RequestedSize() 902 size_t wasted = c->size - c->requested_size; in RenderOccupancy() 905 region_offset + c->requested_size, region.ptr(), c->ptr, in RenderOccupancy() 910 region.ptr(), c->ptr, c->requested_size, '*'); in RenderOccupancy() 1061 mc->set_requested_size(c->requested_size); in RecordMemoryMapInternal() 1142 bin_info.total_requested_bytes_in_use += c->requested_size; in get_bin_debug_info()
|
D | bfc_allocator.h | 154 size_t requested_size = 0; member 193 " | Requested Size: ", strings::HumanReadableNumBytes(requested_size), in DebugString()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tracking_allocator.h | 122 size_t requested_size; member
|
D | tracking_allocator.cc | 121 return (*it).second.requested_size; in RequestedSize()
|
/external/python/cpython3/Objects/ |
D | bytearrayobject.c | 179 PyByteArray_Resize(PyObject *self, Py_ssize_t requested_size) in PyByteArray_Resize() argument 187 size_t size = (size_t) requested_size; in PyByteArray_Resize() 192 assert(requested_size >= 0); in PyByteArray_Resize() 194 if (requested_size == Py_SIZE(self)) { in PyByteArray_Resize() 238 Py_MIN((size_t)requested_size, (size_t)Py_SIZE(self))); in PyByteArray_Resize()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 1098 unsigned requested_size = rcs->prev_dw + rcs->current.cdw + dw; in amdgpu_cs_check_space() local 1113 if (requested_size > amdgpu_ib_max_submit_dwords(ib->ib_type)) in amdgpu_cs_check_space() 1116 ib->max_ib_size = MAX2(ib->max_ib_size, requested_size); in amdgpu_cs_check_space()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 856 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
|