Home
last modified time | relevance | path

Searched refs:allocatedSize (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/llvm/unittests/Support/
DMemoryTest.cpp79 return (unsigned char *)M2.base() + M2.allocatedSize() > M1.base(); in doesOverlap()
81 return (unsigned char *)M1.base() + M1.allocatedSize() > M2.base(); in doesOverlap()
103 EXPECT_LE(sizeof(int), M1.allocatedSize()); in TEST_P()
119 EXPECT_LE(sizeof(int), M1.allocatedSize()); in TEST_P()
135 EXPECT_LE(16U, M1.allocatedSize()); in TEST_P()
137 EXPECT_LE(64U, M2.allocatedSize()); in TEST_P()
139 EXPECT_LE(32U, M3.allocatedSize()); in TEST_P()
150 EXPECT_LE(16U, M4.allocatedSize()); in TEST_P()
167 EXPECT_LE(sizeof(int), M1.allocatedSize()); in TEST_P()
199 EXPECT_LE(1U * sizeof(int), M1.allocatedSize()); in TEST_P()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMemory.h35 MemoryBlock(void *addr, size_t allocatedSize) in MemoryBlock() argument
36 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock()
40 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize() function
158 size_t allocatedSize() const { return M.allocatedSize(); } in allocatedSize() function
/external/llvm-project/llvm/include/llvm/Support/
DMemory.h35 MemoryBlock(void *addr, size_t allocatedSize) in MemoryBlock() argument
36 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock()
40 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize() function
158 size_t allocatedSize() const { return M.allocatedSize(); } in allocatedSize() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp67 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()
69 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()
118 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection()
179 size_t TrimmedSize = M.allocatedSize(); in trimBlockToPageSize()
187 assert((Trimmed.allocatedSize() % PageSize) == 0); in trimBlockToPageSize()
189 Trimmed.allocatedSize() <= M.allocatedSize()); in trimBlockToPageSize()
214 return FreeMB.Free.allocatedSize() == 0; in applyMemoryGroupPermissions()
224 Block.allocatedSize()); in invalidateInstructionCache()
/external/llvm-project/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp67 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()
69 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()
127 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection()
188 size_t TrimmedSize = M.allocatedSize(); in trimBlockToPageSize()
196 assert((Trimmed.allocatedSize() % PageSize) == 0); in trimBlockToPageSize()
198 Trimmed.allocatedSize() <= M.allocatedSize()); in trimBlockToPageSize()
223 return FreeMB.Free.allocatedSize() == 0; in applyMemoryGroupPermissions()
233 Block.allocatedSize()); in invalidateInstructionCache()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemory.cpp46 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" in operator <<()
47 << MB.allocatedSize() << " bytes)"; in operator <<()
/external/llvm-project/llvm/lib/Support/
DMemory.cpp46 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" in operator <<()
47 << MB.allocatedSize() << " bytes)"; in operator <<()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp31 SegBlocks[Seg].allocatedSize()}; in allocate()
48 KV.second.allocatedSize()); in allocate()
68 Block.allocatedSize()); in allocate()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp31 SegBlocks[Seg].allocatedSize()}; in allocate()
48 KV.second.allocatedSize()); in allocate()
68 Block.allocatedSize()); in allocate()
/external/eigen/Eigen/src/SparseCore/
DSparseMatrix.h1141 if(m_data.allocatedSize()==0)
1152 StorageIndex end = convert_index(m_data.allocatedSize());
1167 Index data_end = m_data.allocatedSize();
1187 if(data_end != m_data.allocatedSize())
1192 eigen_internal_assert(data_end < m_data.allocatedSize());
1193 StorageIndex new_end = convert_index(m_data.allocatedSize());
1212 if(data_end != m_data.allocatedSize())
1217 eigen_internal_assert(data_end < m_data.allocatedSize());
1218 StorageIndex new_end = convert_index(m_data.allocatedSize());
1238 if(m_data.size() != m_data.allocatedSize())
[all …]
DCompressedStorage.h110 inline Index allocatedSize() const { return m_allocatedSize; } in allocatedSize() function
DSparseBlock.h139 ? Index(matrix.data().allocatedSize()) + block_size
148 … typename SparseMatrixType::Storage newdata(m_matrix.data().allocatedSize() - block_size + nnz);
/external/oss-fuzz/projects/giflib/
Degif_fuzz_common.cc14 if (gud->allocatedSize < (gud->gifLen + len)) in stub_output_writer()
22 gud->allocatedSize = newSize; in stub_output_writer()
Degif_fuzz_common.h10 size_t allocatedSize; member
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetClient.h362 HostSegBlocks[Seg].allocatedSize()}; in getWorkingMemory()
412 char *SlabAddrEnd = SlabAddr + HostAllocation.allocatedSize(); in allocateHostBlocks()
440 TargetSegmentAddr = Client.reserveMem(Id, HostAllocation.allocatedSize(), in allocateTargetBlocks()
449 size_t TargetAllocSize = KV.second.allocatedSize(); in allocateTargetBlocks()
457 HostAllocation.allocatedSize() && in allocateTargetBlocks()
474 size_t TargetAllocSize = TargetBlock.allocatedSize(); in copyAndProtect()
/external/llvm-project/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp672 AlreadyAllocated[LoadAddr] = (*Tmp)->MB.allocatedSize(); in remapSectionsAndSymbols()
696 if (NextSectionAddr + CurEntry->MB.allocatedSize() + TargetSectionSep <= in remapSectionsAndSymbols()
703 AlreadyAllocated[NextSectionAddr] = CurEntry->MB.allocatedSize(); in remapSectionsAndSymbols()
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineStorage.h128 inline Index allocatedSize() const { in allocatedSize() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DMemory.inc124 NearBlock->allocatedSize()
/external/llvm-project/llvm/lib/Support/Windows/
DMemory.inc124 NearBlock->allocatedSize()
/external/swiftshader/src/Reactor/
DLLVMJIT.cpp281 size_t size = block.allocatedSize(); in protectMappedMemory()
294 size_t size = block.allocatedSize(); in releaseMappedMemory()
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink.cpp345 SegBlocks[Seg].allocatedSize()}; in allocate()
371 Block.allocatedSize()); in allocate()
403 uint64_t SlabRemainingSize = SlabRemaining.allocatedSize(); in allocate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DMemory.inc115 NearBlock->allocatedSize() : 0;
/external/llvm-project/llvm/lib/Support/Unix/
DMemory.inc116 NearBlock->allocatedSize() : 0;
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DOrcRPCTPCServer.h494 memset(MB.base(), 0, MB.allocatedSize()); in reserveMemory()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp206 int allocatedSize; member
1075 DE_ASSERT(samples[sampleNdx].allocatedSize != 0); in bucketizeSamplesUniformly()
1077 if (!minBufferSize || samples[sampleNdx].allocatedSize < minBufferSize) in bucketizeSamplesUniformly()
1078 minBufferSize = samples[sampleNdx].allocatedSize; in bucketizeSamplesUniformly()
1079 if (!maxBufferSize || samples[sampleNdx].allocatedSize > maxBufferSize) in bucketizeSamplesUniformly()
1080 maxBufferSize = samples[sampleNdx].allocatedSize; in bucketizeSamplesUniformly()
1085 …const float bucketNdxFloat = (float)(samples[sampleNdx].allocatedSize - minBufferSize) / (float)(m… in bucketizeSamplesUniformly()
1953 m_results[sampleNdx].allocatedSize = allocatedBufferSize; in BasicBufferCase()
2346 const int allocatedBufferSize = sample.allocatedSize; in runSample()

12