Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise05.c31 #define ALLOC_SIZE (32 * 1024 * 1024) macro
37 p = SAFE_MMAP(NULL, ALLOC_SIZE, PROT_READ, in verify_madvise()
40 TEST(mprotect(p, ALLOC_SIZE, PROT_NONE)); in verify_madvise()
43 TEST(madvise(p, ALLOC_SIZE, MADV_WILLNEED)); in verify_madvise()
44 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/libnl/lib/netfilter/
Dlog_obj.c248 diff |= NFNL_LOG_DIFF_VAL(ALLOC_SIZE, log_alloc_size); in nfnl_log_compare()
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c780 #define ALLOC_SIZE 128 macro
785 pathname = malloc(ALLOC_SIZE); in _pathname()
802 *size = (res + ALLOC_SIZE) & ~(ALLOC_SIZE - 1); in _pathname()
817 static int size = ALLOC_SIZE; in pathname()
829 static int size = ALLOC_SIZE; in pathname_reader()
841 static int size = ALLOC_SIZE; in subpathname()
845 subpath = malloc(ALLOC_SIZE); in subpathname()
864 size = (res + ALLOC_SIZE) & ~(ALLOC_SIZE - 1); in subpathname()