Home
last modified time | relevance | path

Searched refs:requested_size (Results 1 – 25 of 36) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/api/
Dtest_queue_properties_queries.cpp30 cl_uint requested_size) in verify_if_properties_supported() argument
39 if (requested_size > 0) in verify_if_properties_supported()
48 if (requested_size > max_queue_size) in verify_if_properties_supported()
53 requested_size, max_queue_size); in verify_if_properties_supported()
178 cl_uint requested_size = 0; in run_test_queue_array_properties() local
187 requested_size = requested_properties[i + 1]; in run_test_queue_array_properties()
192 requested_size); in run_test_queue_array_properties()
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc31 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()
Dlsan_common.cc170 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()
Dlsan_common.h181 uptr requested_size() const;
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc26 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/llvm-project/compiler-rt/lib/lsan/
Dlsan_allocator.cpp66 m->requested_size = size; in RegisterAllocation()
144 return m->requested_size; in GetMallocUsableSize()
258 if (addr < chunk + m->requested_size) in PointsIntoChunk()
260 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr)) in PointsIntoChunk()
286 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
287 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size()
303 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) { in IgnoreObjectLocked()
Dlsan_common.cpp177 pp, p, chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers()
183 chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers()
377 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
388 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb()
401 chunk, chunk + m.requested_size(), m.requested_size()); in CollectIgnoredCb()
530 leak_report->AddLeakedChunk(chunk, stack_trace_id, m.requested_size(), in CollectLeaksCb()
Dlsan_allocator.h44 uptr requested_size : 54; member
46 uptr requested_size : 32; member
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_allocator.cpp28 uptr requested_size; member
181 meta->requested_size = size; in MsanAllocate()
200 uptr size = meta->requested_size; in MsanDeallocate()
201 meta->requested_size = 0; in MsanDeallocate()
226 uptr old_size = meta->requested_size; in MsanReallocate()
230 meta->requested_size = new_size; in MsanReallocate()
262 return b->requested_size; in AllocationSize()
/external/libchrome/base/memory/
Dshared_memory_unittest.cc203 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 …]
Dshared_memory.h178 size_t requested_size() const { return requested_size_; } in requested_size() function
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_report.cpp128 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack) { in ReportOutOfMemory() argument
132 "bytes\n", SanitizerToolName, requested_size); in ReportOutOfMemory()
Dsanitizer_allocator_report.h35 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack);
Dsanitizer_allocator.cpp148 static void NORETURN ReportInternalAllocatorOutOfMemory(uptr requested_size) { in ReportInternalAllocatorOutOfMemory() argument
151 "0x%zx bytes\n", SanitizerToolName, requested_size); in ReportInternalAllocatorOutOfMemory()
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.h319 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/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc469 const size_t requested_size = 2 * (256 << i); in TestBinDebugInfo() local
470 EXPECT_EQ(requested_size, in TestBinDebugInfo()
479 EXPECT_EQ(bin_info.total_requested_bytes_in_use, requested_size); in TestBinDebugInfo()
518 size_t requested_size = 256 << i; in TestBinDebugInfo() local
519 EXPECT_EQ(requested_size, a.RequestedSize(initial_ptrs[2 * i])); in TestBinDebugInfo()
524 EXPECT_EQ(bin_info.total_requested_bytes_in_use, requested_size); in TestBinDebugInfo()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc487 AddTraceMe(traceme_name, chunk->ptr, chunk->requested_size, chunk->size); in AddTraceMe()
556 chunk->requested_size = num_bytes; in FindChunkPtr()
655 int64 req_bytes = chunk->requested_size; in DeallocateRawInternal()
894 return c->requested_size; in RequestedSize()
968 size_t wasted = c->size - c->requested_size; in RenderOccupancy()
971 region_offset + c->requested_size, region.ptr(), c->ptr, in RenderOccupancy()
976 region.ptr(), c->ptr, c->requested_size, '*'); in RenderOccupancy()
1126 mc->set_requested_size(c->requested_size); in RecordMemoryMapInternal()
1177 bin_info.total_requested_bytes_in_use += c->requested_size; in get_bin_debug_info()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_report.cpp152 h.tagged_addr + h.requested_size > tagged_addr) { in FindHeapAllocation()
163 UntagAddr(h.tagged_addr) + h.requested_size > UntagAddr(tagged_addr)) { in FindHeapAllocation()
173 untag_4b(h.tagged_addr) + h.requested_size > untag_4b(tagged_addr)) { in FindHeapAllocation()
404 har.requested_size, UntagAddr(har.tagged_addr), in PrintAddressDescription()
405 UntagAddr(har.tagged_addr) + har.requested_size); in PrintAddressDescription()
Dhwasan_allocator.h98 u32 requested_size; member
/external/kernel-headers/original/uapi/linux/
Dvirtio_mem.h208 __le64 requested_size; member
/external/tensorflow/tensorflow/core/protobuf/
Dbfc_memory_map.proto19 int64 requested_size = 3; field
/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator.h122 size_t requested_size; member
/external/llvm-project/compiler-rt/lib/asan/
Dasan_report.h76 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack);
Dasan_errors.h264 uptr requested_size; member
270 requested_size(requested_size_) {} in ErrorOutOfMemory()
/external/python/cpython3/Lib/multiprocessing/
Dshared_memory.py320 requested_size = struct.calcsize(
327 self.shm = SharedMemory(name, create=True, size=requested_size)

12