Home
last modified time | relevance | path

Searched refs:GuardSize (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/base/
Dpaged_memory.cc46 size_t GuardSize() { in GuardSize() function
56 size_t outer_size = rounded_up_size + GuardSize() * 2; in Allocate()
62 char* usable_region = reinterpret_cast<char*>(ptr) + GuardSize(); in Allocate()
69 char* usable_region = reinterpret_cast<char*>(ptr) + GuardSize(); in Allocate()
70 int res = mprotect(ptr, GuardSize(), PROT_NONE); in Allocate()
71 res |= mprotect(usable_region + rounded_up_size, GuardSize(), PROT_NONE); in Allocate()
108 char* start = p_ - GuardSize(); in ~PagedMemory()
113 const size_t outer_size = RoundUpToSysPageSize(size_) + GuardSize() * 2; in ~PagedMemory()
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/
Dcopy_move.pass.cpp57 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
66 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
108 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
149 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
170 const size_t outN = n + GuardSize; in test()
Dunique_copy_equal.pass.cpp59 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
72 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
91 size_t count = GuardSize; in test()
Dremove_copy.pass.cpp39 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
56 size_t count = GuardSize; in test()
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/
Dcopy_if.pass.cpp58 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
71 for (size_t j = 0; j < GuardSize; ++j) in operator ()()
88 size_t count = GuardSize; in test()
/external/llvm-project/pstl/test/support/
Dutils.h789 constexpr std::size_t GuardSize = 5;