HomeSort by relevance Sort by last modified time
    Searched defs:kPageSize (Results 1 - 25 of 30) sorted by null

1 2

  /external/compiler-rt/test/tsan/
large_malloc_meta.cc 16 const int kPageSize = 4 << 10;
18 for (int j = 0; j < kSize; j += kPageSize / sizeof(*p))
21 mmap(0, kSize * sizeof(*p) + kPageSize, PROT_NONE, MAP_PRIVATE | MAP_ANON,
  /external/compiler-rt/test/asan/TestCases/Posix/
large_allocator_unpoisons_on_free.cc 27 const long kPageSize = sysconf(_SC_PAGESIZE);
28 void *p = my_memalign(kPageSize, 1024 * 1024);
31 char *q = (char *)mmap(p, kPageSize, PROT_READ | PROT_WRITE,
35 memset(q, 42, kPageSize);
37 munmap(q, kPageSize);
  /external/compiler-rt/lib/asan/tests/
asan_test_utils.h 63 static const int kPageSize = 4096;
  /bionic/linker/tests/
linker_block_allocator_test.cpp 48 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
96 size_t n = kPageSize/sizeof(test_struct_larger) + 1 - 2;
111 size_t n = kPageSize/sizeof(test_struct_larger) - 1;
linker_memory_allocator_test.cpp 50 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
156 reinterpret_cast<uintptr_t>(ptr1)/kPageSize != reinterpret_cast<uintptr_t>(ptr2)/kPageSize);
177 size_t n = kPageSize / sizeof(test_struct_large) + 1 - 2;
  /art/runtime/gc/space/
malloc_space.cc 88 *growth_limit = RoundUp(*growth_limit, kPageSize);
89 *capacity = RoundUp(*capacity, kPageSize);
123 growth_limit = RoundUp(growth_limit, kPageSize);
166 SetEnd(reinterpret_cast<uint8_t*>(RoundUp(reinterpret_cast<uintptr_t>(End()), kPageSize)));
169 DCHECK_ALIGNED(begin_, kPageSize);
170 DCHECK_ALIGNED(End(), kPageSize);
171 size_t size = RoundUp(Size(), kPageSize);
183 SetGrowthLimit(RoundUp(size, kPageSize));
  /art/runtime/
globals.h 41 static constexpr int kPageSize = 4096;
45 static constexpr size_t kLargeObjectAlignment = kPageSize;
runtime.cc 910 CHECK_EQ(sysconf(_SC_PAGE_SIZE), kPageSize);
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_mman.cc 45 const uptr kPageSize = GetPageSizeCached() * kMetaRatio;
48 CHECK_GE(size, 2 * kPageSize);
49 uptr diff = RoundUp(p, kPageSize) - p;
54 diff = p + size - RoundDown(p + size, kPageSize);
tsan_sync.cc 124 const uptr kPageSize = GetPageSizeCached() * kMetaRatio;
125 if (sz <= 4 * kPageSize) {
131 uptr diff = RoundUp(p, kPageSize) - p;
137 diff = p + sz - RoundDown(p + sz, kPageSize);
144 CHECK_EQ(p, RoundUp(p, kPageSize));
145 CHECK_EQ(sz, RoundUp(sz, kPageSize));
150 bool has_something = FreeRange(thr, pc, p, kPageSize);
151 p += kPageSize;
152 sz -= kPageSize;
158 bool has_something = FreeRange(thr, pc, p - kPageSize, kPageSize)
    [all...]
tsan_rtl.cc 856 const uptr kPageSize = GetPageSizeCached();
860 // Set at least first kPageSize/2 to page boundary.
861 while ((p < begin + kPageSize / kShadowSize / 2) || ((uptr)p % kPageSize)) {
868 p = RoundDown(end, kPageSize);
  /frameworks/av/media/libstagefright/include/
NuCachedSource2.h 85 kPageSize = 65536,
  /hardware/qcom/display/msm8996/sdm/include/utils/
constants.h 95 const int kPageSize = 4096;
  /external/google-breakpad/src/client/windows/unittests/
exception_handler_death_test.cc 416 const DWORD kPageSize = sSysInfo.dwPageSize;
423 kPageSize * 2,
427 char* memory = all_memory + kPageSize;
428 ASSERT_TRUE(VirtualAlloc(memory, kPageSize,
508 const DWORD kPageSize = sSysInfo.dwPageSize;
511 const int kOffset = kPageSize - sizeof(instructions);
515 kPageSize * 2,
519 ASSERT_TRUE(VirtualAlloc(memory, kPageSize,
  /system/core/libmemunreachable/
Allocator.cpp 57 static constexpr size_t kPageSize = 4096;
59 static constexpr size_t kUsableChunkSize = kChunkSize - kPageSize;
65 / kPageSize;
125 size = (size + kPageSize - 1) & ~(kPageSize - 1);
128 size_t map_size = size + align - kPageSize;
223 static_assert(sizeof(Chunk) <= kPageSize, "header must fit in page");
268 unsigned int page = n * allocation_size_ / kPageSize;
303 if (frees_since_purge_++ * allocation_size_ > 16 * kPageSize) {
311 //unsigned int allocsPerPage = kPageSize / allocation_size_
    [all...]
  /art/runtime/gc/collector/
semi_space.cc 476 if (LIKELY(size <= static_cast<size_t>(kPageSize))) {
494 size_t page_remain = AlignUp(byte_dest, kPageSize) - byte_dest;
499 DCHECK_ALIGNED(reinterpret_cast<uintptr_t>(byte_dest), kPageSize);
502 while (byte_src + kPageSize < limit) {
506 for (size_t i = 0; i < kPageSize / sizeof(*word_src); ++i) {
515 saved_bytes += kPageSize;
517 byte_src += kPageSize;
518 byte_dest += kPageSize;
    [all...]
  /bionic/tools/relocation_packer/src/
elf_file.cc 40 static const size_t kPageSize = 4096;
46 static const size_t kPreserveAlignment = kPageSize;
313 if (program_header->p_align > kPageSize) {
314 program_header->p_align = kPageSize;
334 if (program_header->p_align == kPageSize) {
    [all...]
  /external/v8/src/ppc/
simulator-ppc.h 81 static const int kPageSize = 1 << kPageShift;
82 static const int kPageMask = kPageSize - 1;
96 char data_[kPageSize]; // The cached data.
97 static const int kValidityMapSize = kPageSize >> kLineShift;
  /external/v8/src/profiler/
sampler.cc 178 const uint32_t kPageSize = 4096;
179 uintptr_t mask = ~static_cast<uintptr_t>(kPageSize - 1);
  /frameworks/native/cmds/installd/
otapreopt.cpp 434 constexpr size_t kPageSize = PAGE_SIZE;
435 CHECK_EQ(min_delta % kPageSize, 0u);
436 CHECK_EQ(max_delta % kPageSize, 0u);
444 r = RoundUp(r, kPageSize);
446 r = RoundDown(r, kPageSize);
450 CHECK_EQ(r % kPageSize, 0u);
  /external/v8/src/arm/
simulator-arm.h 82 static const int kPageSize = 1 << kPageShift;
83 static const int kPageMask = kPageSize - 1;
101 char data_[kPageSize]; // The cached data.
102 static const int kValidityMapSize = kPageSize >> kLineShift;
  /external/v8/src/mips/
simulator-mips.h 92 static const int kPageSize = 1 << kPageShift;
93 static const int kPageMask = kPageSize - 1;
111 char data_[kPageSize]; // The cached data.
112 static const int kValidityMapSize = kPageSize >> kLineShift;
  /external/v8/src/mips64/
simulator-mips64.h 122 static const int kPageSize = 1 << kPageShift;
123 static const int kPageMask = kPageSize - 1;
141 char data_[kPageSize]; // The cached data.
142 static const int kValidityMapSize = kPageSize >> kLineShift;
  /external/vixl/src/vixl/a64/
instructions-a64.h 46 const unsigned kPageSize = 4 * KBytes;
  /external/compiler-rt/lib/msan/tests/
msan_test.cc 118 const size_t kPageSize = 4096;
    [all...]

Completed in 605 milliseconds

1 2