/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
AllocationStats.java | 38 private final long allocationSize; 44 * ({@code allocationCount}), cumulative size of the allocations ({@code allocationSize}) and the 47 AllocationStats(int allocationCount, long allocationSize, int reps) { 48 this(allocationCount, allocationSize, reps, ImmutableMultiset.<Allocation>of()); 60 private AllocationStats(int allocationCount, long allocationSize, int reps, 64 checkArgument(allocationSize >= 0, "allocationSize (%s) was negative", allocationSize); 65 this.allocationSize = allocationSize; [all...] |
AggregateAllocationsRecorder.java | 32 private final AtomicLong allocationSize = new AtomicLong(); 40 allocationSize.getAndAdd(size); 52 allocationSize.set(0); 59 return new AllocationStats(allocationCount.get(), allocationSize.get(), reps);
|
/external/swiftshader/src/OpenGL/compiler/ |
PoolAlloc.cpp | 223 // much memory the caller asked for. allocationSize is the total 226 size_t allocationSize = TAllocation::allocationSize(numBytes); 228 if (allocationSize < numBytes) 235 if (allocationSize <= pageSize - currentPageOffset) { 240 currentPageOffset += allocationSize; 246 if (allocationSize > pageSize - headerSkip) { 251 size_t numBytesToAlloc = allocationSize + headerSkip; 253 if (numBytesToAlloc < allocationSize) 288 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask [all...] |
PoolAlloc.h | 76 inline static size_t allocationSize(size_t size) {
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
PoolAlloc.cpp | 268 // much memory the caller asked for. allocationSize is the total 271 size_t allocationSize = TAllocation::allocationSize(numBytes); 283 if (currentPageOffset + allocationSize <= pageSize) { 288 currentPageOffset += allocationSize; 294 if (allocationSize + headerSkip > pageSize) { 299 size_t numBytesToAlloc = allocationSize + headerSkip; 332 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask;
|
/external/skia/src/core/ |
SkArenaAlloc.cpp | 103 uint32_t allocationSize = std::max(objSizeAndOverhead, fExtraSize * fFib0); 110 uint32_t mask = allocationSize > (1 << 15) ? (1 << 12) - 1 : 16 - 1; 111 allocationSize = (allocationSize + mask) & ~mask; 114 char* newBlock = new char[allocationSize]; 119 fEnd = fCursor + allocationSize;
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryAllocationTests.cpp | 139 const VkDeviceSize allocationSize = (m_config.memorySize ? *m_config.memorySize : (VkDeviceSize)(*m_config.memoryPercentage * (float)memoryHeap.size)); 151 if (allocationSize * m_config.memoryAllocationCount * 8 > memoryHeap.size) 164 allocationSize, // allocationSize 202 allocationSize, // allocationSize 442 const VkDeviceSize allocationSize = 1 + (m_rng.getUint64() % maxAllocSize); 444 if ((allocationSize > (deUint64)(heap.maxMemoryUsage - heap.memoryUsage)) && (allocationSize != 1)) 450 allocationSize [all...] |
vktMemoryMappingTests.cpp | 323 : allocationSize (~(VkDeviceSize)0) 327 VkDeviceSize allocationSize; 404 log << TestLog::Message << "Allocation size: " << config.allocationSize << " * atom" << TestLog::EndMessage; 441 log << TestLog::Message << "AllocationSize: " << config.allocationSize * atomSize << TestLog::EndMessage; 464 else if (memoryHeap.size <= 4 * atomSize * config.allocationSize) 470 const Unique<VkDeviceMemory> memory (allocMemory(vkd, device, config.allocationSize * atomSize, memoryTypeIndex)); 472 vector<deUint8> reference ((size_t)(config.allocationSize * atomSize)); [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
utilities.h | 41 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
|
utilities.cpp | 171 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize) 173 ASSERT(allocationSize <= bitsSize); 175 unsigned int mask = std::numeric_limits<unsigned int>::max() >> (std::numeric_limits<unsigned int>::digits - allocationSize); 177 for(unsigned int i = 0; i < bitsSize - allocationSize + 1; i++)
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkMemUtil.cpp | 185 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); 197 memReqs.size, // VkDeviceSize allocationSize; 207 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u));
|
vkNullDriver.cpp | 252 if (pAllocInfo->allocationSize > 0) 254 void* const heapPtr = deMalloc((size_t)pAllocInfo->allocationSize); 277 deMemset(m_memory, 0xcd, (size_t)pAllocInfo->allocationSize); [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
utilities.h | 42 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
|
utilities.cpp | 447 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize) 449 ASSERT(allocationSize <= bitsSize); 451 unsigned int mask = std::numeric_limits<unsigned int>::max() >> (std::numeric_limits<unsigned int>::digits - allocationSize); 453 for(unsigned int i = 0; i < bitsSize - allocationSize + 1; i++) [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/Include/ |
PoolAlloc.h | 100 inline static size_t allocationSize(size_t size) {
|
/external/vulkan-validation-layers/tests/ |
vkrenderframework.cpp | [all...] |
layer_validation_tests.cpp | 645 memory_allocate_info.allocationSize = memory_requirements.size; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesTestsUtil.cpp | 811 const VkDeviceSize allocationSize, 821 allocationSize, // VkDeviceSize allocationSize; 842 const VkDeviceSize allocationSize, 850 allocationSize, // VkDeviceSize allocationSize; 860 memoryBind.size = allocationSize; [all...] |
vktSparseResourcesTestsUtil.hpp | 241 const vk::VkDeviceSize allocationSize, 249 const vk::VkDeviceSize allocationSize,
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldImpl.h | 69 size_t AllocationSize; 77 size_t allocationSize, uintptr_t objAddress) 80 AllocationSize(allocationSize), ObjAddress(objAddress) { 81 // AllocationSize is used only in asserts, prevent an "unused private field" 83 (void)AllocationSize; 92 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); 103 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); 111 assert(StubOffset <= AllocationSize && "Not enough space allocated!");
|
/external/guice/extensions/persist/lib/ |
ejb3-persistence.jar | |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 629 // care because it only overflows if allocationSize does, too, and 636 llvm::APInt allocationSize 644 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); 646 allocationSize = allocationSize.uadd_ov(cookieSize, overflow); 654 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Meshes.cpp | 513 mem_info.allocationSize = ib_mem_offset_ + ib_mem_reqs.size;
|
/frameworks/native/vulkan/nulldrv/ |
null_driver.cpp | 775 if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize) 780 size_t size = sizeof(DeviceMemory) + size_t(alloc_info->allocationSize); [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/generated/layer-src/core_validation/ |
vk_safe_struct.cpp | 506 allocationSize(pInStruct->allocationSize), 517 allocationSize = src.allocationSize; 529 allocationSize = pInStruct->allocationSize; 537 allocationSize = src->allocationSize; [all...] |