Home
last modified time | relevance | path

Searched refs:ALLOC_SIZE (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise05.c22 #define ALLOC_SIZE (32 * 1024 * 1024) macro
28 p = SAFE_MMAP(NULL, ALLOC_SIZE, PROT_READ, in verify_madvise()
31 TEST(mprotect(p, ALLOC_SIZE, PROT_NONE)); in verify_madvise()
34 TEST(madvise(p, ALLOC_SIZE, MADV_WILLNEED)); in verify_madvise()
35 SAFE_MUNMAP(p, ALLOC_SIZE); in verify_madvise()
/external/deqp/framework/randomshaders/
DrsgToken.hpp237 ALLOC_SIZE = 64 enumerator
247 m_tokens.resize(m_numTokens+ALLOC_SIZE); in operator <<()
DrsgToken.cpp95 : m_tokens (ALLOC_SIZE) in TokenStream()
/external/llvm-project/mlir/test/Conversion/StandardToLLVM/
Dcalling-convention.mlir133 // CHECK: %[[ALLOC_SIZE:.*]] = llvm.add %[[DOUBLE_PTR_SIZE]], %[[TABLES_SIZE]]
135 // CHECK: %[[ALLOCA:.*]] = llvm.alloca %[[ALLOC_SIZE]] x !llvm.i8
137 // CHECK: "llvm.intr.memcpy"(%[[ALLOCA]], %[[SOURCE]], %[[ALLOC_SIZE]], %[[FALSE]])
167 // CHECK: %[[ALLOC_SIZE:.*]] = llvm.add %[[DOUBLE_PTR_SIZE]], %[[TABLES_SIZE]]
169 // CHECK: %[[ALLOCATED:.*]] = llvm.call @malloc(%[[ALLOC_SIZE]])
171 // CHECK: "llvm.intr.memcpy"(%[[ALLOCATED]], %[[SOURCE]], %[[ALLOC_SIZE]], %[[FALSE]])
/external/libnl/lib/netfilter/
Dlog_obj.c249 diff |= NFNL_LOG_DIFF_VAL(ALLOC_SIZE, log_alloc_size); in nfnl_log_compare()
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c821 #define ALLOC_SIZE 128 macro
826 pathname = malloc(ALLOC_SIZE); in _pathname()
843 *size = (res + ALLOC_SIZE) & ~(ALLOC_SIZE - 1); in _pathname()
858 static int size = ALLOC_SIZE; in pathname()
870 static int size = ALLOC_SIZE; in pathname_reader()
882 static int size = ALLOC_SIZE; in subpathname()
886 subpath = malloc(ALLOC_SIZE); in subpathname()
905 size = (res + ALLOC_SIZE) & ~(ALLOC_SIZE - 1); in subpathname()
/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp2703 static const VkDeviceSize ALLOC_SIZE = 512ull * 1024; in TestPool_MinBlockCount() local
2704 static const VkDeviceSize BLOCK_SIZE = ALLOC_SIZE * 2; // Each block can fit 2 allocations. in TestPool_MinBlockCount()
2711 bufCreateInfo.size = ALLOC_SIZE; in TestPool_MinBlockCount()