Searched refs:GuardSize (Results 1 – 6 of 6) sorted by relevance
46 size_t GuardSize() { in GuardSize() function56 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()
57 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()
59 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()
39 for (size_t j = 0; j < GuardSize; ++j) in operator ()()56 size_t count = GuardSize; in test()
58 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()
789 constexpr std::size_t GuardSize = 5;