/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...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
RuntimeMemAllocation.c | 126 @param[in] AllocationSize Bytes to be allocated.
133 IN UINTN AllocationSize
142 ReqPages = RT_SIZE_TO_PAGES (AllocationSize);
216 @param[in] AllocationSize Bytes to be allocated.
223 IN UINTN AllocationSize
240 AllocOffset = LookupFreeMemRegion (AllocationSize);
249 ReqPages = RT_SIZE_TO_PAGES (AllocationSize);
262 ZeroMem (AllocPtr, AllocationSize);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/ |
EfiDriverLib.h | 679 IN UINTN AllocationSize
685 Allocate EfiBootServicesData pool of size AllocationSize
689 AllocationSize - Pool size
700 IN UINTN AllocationSize
706 Allocate EfiRuntimeServicesData pool of size AllocationSize
710 AllocationSize - Pool size
721 IN UINTN AllocationSize
727 Allocate EfiBootServicesData pool of size AllocationSize and set memory to zero.
731 AllocationSize - Pool size
742 IN UINTN AllocationSize
[all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
avrfsdk.h | 60 ULONG64 AllocationSize;
|
winternl.h | 267 LARGE_INTEGER AllocationSize; 281 LARGE_INTEGER AllocationSize; 296 LARGE_INTEGER AllocationSize; 312 LARGE_INTEGER AllocationSize; 329 LARGE_INTEGER AllocationSize; 359 LARGE_INTEGER AllocationSize; 417 LARGE_INTEGER AllocationSize; 429 LARGE_INTEGER AllocationSize; 944 NTSTATUS NTAPI NtCreateFile(PHANDLE FileHandle,ACCESS_MASK DesiredAccess,POBJECT_ATTRIBUTES ObjectAttributes,PIO_STATUS_BLOCK IoStatusBlock,PLARGE_INTEGER AllocationSize,ULONG FileAttributes,ULONG ShareAccess,ULONG CreateDisposition,ULONG CreateOptions,PVOID EaBuffer,ULONG EaLength); [all...] |
/art/runtime/gc/space/ |
space_create_test.cc | 144 size_t free3 = space->AllocationSize(ptr3.Get(), nullptr); 164 size_t free1 = space->AllocationSize(ptr1.Get(), nullptr); 221 free1 = space->AllocationSize(ptr1.Get(), nullptr); 278 size_t free3 = space->AllocationSize(ptr3.Get(), nullptr); 298 size_t free1 = space->AllocationSize(ptr1.Get(), nullptr); 325 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); 345 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size));
|
memory_tool_malloc_space.h | 43 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) OVERRIDE;
|
memory_tool_malloc_space-inl.h | 173 kUseObjSizeForUsable>::AllocationSize( 175 size_t result = S::AllocationSize(reinterpret_cast<mirror::Object*>( 202 size_t allocation_size = AllocationSize(ptr, &usable_size);
|
zygote_space.h | 51 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) OVERRIDE;
|
zygote_space.cc | 84 size_t ZygoteSpace::AllocationSize(mirror::Object*, size_t*) {
|
large_object_space.h | 137 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) REQUIRES(!lock_); 172 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) OVERRIDE
|
large_object_space.cc | 69 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) OVERRIDE { 70 return LargeObjectMapSpace::AllocationSize(ObjectWithRedzone(obj), usable_size); 79 MEMORY_TOOL_MAKE_UNDEFINED(object_with_rdz, AllocationSize(obj, nullptr)); 199 size_t LargeObjectMapSpace::AllocationSize(mirror::Object* obj, size_t* usable_size) { 458 size_t FreeListSpace::AllocationSize(mirror::Object* obj, size_t* usable_size) {
|
space_test.h | 205 size_t allocation_size = space->AllocationSize(object.Get(), nullptr); 262 size_t allocation_size = space->AllocationSize(object, nullptr);
|
bump_pointer_space.h | 60 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) OVERRIDE
|
dlmalloc_space.h | 62 virtual size_t AllocationSize(mirror::Object* obj, size_t* usable_size) OVERRIDE {
|
/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/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));
|
/external/compiler-rt/lib/msan/ |
msan_allocator.cc | 212 static uptr AllocationSize(const void *p) { 242 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } 244 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); }
|
/external/swiftshader/src/OpenGL/libGL/ |
utilities.h | 41 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/ |
VarCheckHiiGen.c | 346 Allocates the number bytes specified by AllocationSize of a certain pool type and returns a
347 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
351 @param AllocationSize The number of bytes to allocate.
359 IN UINTN AllocationSize
365 Status = gBS->AllocatePool (MemoryType, AllocationSize, &Memory);
375 Allocates the number bytes specified by AllocationSize of type EfiBootServicesData, clears the
376 buffer with zeros, and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
380 @param AllocationSize The number of bytes to allocate and zero.
387 IN UINTN AllocationSize
392 Memory = InternalVarCheckAllocatePool (EfiBootServicesData, AllocationSize);
[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...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
utilities.h | 42 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
|
/external/vulkan-validation-layers/tests/ |
vkrenderframework.cpp | [all...] |