HomeSort by relevance Sort by last modified time
    Searched refs:kPageSize (Results 26 - 50 of 107) sorted by null

12 3 4 5

  /bionic/linker/tests/
linker_memory_allocator_test.cpp 62 static size_t kPageSize = sysconf(_SC_PAGE_SIZE);
168 reinterpret_cast<uintptr_t>(ptr1)/kPageSize != reinterpret_cast<uintptr_t>(ptr2)/kPageSize);
189 size_t n = kPageSize / sizeof(test_struct_large) + 1 - 2;
  /external/compiler-rt/lib/asan/tests/
asan_test_utils.h 63 static const int kPageSize = 4096;
asan_test.cc 78 int pm_res = posix_memalign((void**)&pm, kPageSize, kPageSize);
84 int *ma = (int*)memalign(kPageSize, kPageSize);
85 EXPECT_EQ(0U, (uintptr_t)ma % kPageSize);
123 EXPECT_EQ(0U, (uintptr_t)a % kPageSize);
130 char *a = (char*)pvalloc(kPageSize + 100);
131 EXPECT_EQ(0U, (uintptr_t)a % kPageSize);
132 a[kPageSize + 101] = 1; // we should not report an error here.
136 EXPECT_EQ(0U, (uintptr_t)a % kPageSize);
    [all...]
  /external/libmojo/base/android/library_loader/
library_prefetcher_unittest.cc 25 const size_t kPageSize = 4096;
100 size_t length = 4 * kPageSize;
122 size_t length = 4 * kPageSize;
127 size_t length2 = 8 * kPageSize;
  /hardware/qcom/display/msm8996/sdm/include/utils/
constants.h 73 const int kPageSize = 4096;
  /hardware/qcom/display/msm8998/sdm/include/utils/
constants.h 73 const int kPageSize = 4096;
  /art/dexlayout/
dexdiag.cc 178 size_t first_page_of_section = section.offset / kPageSize;
278 uint64_t start_page = (dex_file_start - vdex_start) / kPageSize;
279 uint64_t start_address = start_page * kPageSize;
280 uint64_t end_page = RoundUp(start_address + dex_file_size, kPageSize) / kPageSize;
284 map_start + start_page * kPageSize,
285 map_start + end_page * kPageSize)
dex_visualize.cc 71 fprintf(out_file_, "\"%s\" %d", s.name.c_str(), s.offset / kPageSize);
99 const uint32_t low_page = from / kPageSize;
100 const uint32_t high_page = (size > 0) ? (from + size - 1) / kPageSize : low_page;
341 RoundUp(bytes, kPageSize) / kPageSize,
  /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);
  /art/runtime/
thread_pool.cc 45 stack_size += kPageSize;
50 CHECK_ALIGNED(stack_->Begin(), kPageSize);
51 int mprotect_result = mprotect(stack_->Begin(), kPageSize, PROT_NONE);
monitor_pool.h 187 static constexpr size_t kChunkCapacity = kPageSize / kAlignedMonitorSize;
190 static constexpr size_t kChunkSize = kPageSize;
  /art/runtime/gc/accounting/
bitmap.cc 48 RoundUp(num_bits, kBitsPerBitmapWord) / kBitsPerBitmapWord * sizeof(uintptr_t), kPageSize);
space_bitmap_test.cc 120 for (uintptr_t i = range.second; i < range.second + kPageSize; i += kObjectAlignment) {
207 RunTest<kPageSize>();
  /art/runtime/gc/allocator/
rosalloc.h 59 DCHECK_ALIGNED(byte_size, kPageSize);
64 DCHECK_EQ(byte_size % kPageSize, static_cast<size_t>(0));
105 DCHECK_EQ(byte_size % kPageSize, static_cast<size_t>(0));
392 return reinterpret_cast<uint8_t*>(this) + kPageSize * numOfPages[size_bracket_idx_];
612 DCHECK_EQ(byte_offset % static_cast<size_t>(kPageSize), static_cast<size_t>(0));
613 return byte_offset / kPageSize;
618 return (reinterpret_cast<uintptr_t>(addr) - reinterpret_cast<uintptr_t>(base_)) / kPageSize;
    [all...]
  /art/runtime/gc/collector/
immune_spaces.cc 52 space_end = RoundUp(reinterpret_cast<uintptr_t>(image_space->GetImageEnd()), kPageSize);
semi_space.cc 464 if (LIKELY(size <= static_cast<size_t>(kPageSize))) {
482 size_t page_remain = AlignUp(byte_dest, kPageSize) - byte_dest;
487 DCHECK_ALIGNED(reinterpret_cast<uintptr_t>(byte_dest), kPageSize);
490 while (byte_src + kPageSize < limit) {
494 for (size_t i = 0; i < kPageSize / sizeof(*word_src); ++i) {
503 saved_bytes += kPageSize;
505 byte_src += kPageSize;
506 byte_dest += kPageSize;
    [all...]
  /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 101 static const int kPageSize = 1 << kPageShift;
102 static const int kPageMask = kPageSize - 1;
120 char data_[kPageSize]; // The cached data.
121 static const int kValidityMapSize = kPageSize >> kLineShift;
  /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/vixl/src/aarch64/
instructions-aarch64.cc 296 base = AlignDown(base, kPageSize);
297 offset *= kPageSize;
343 uintptr_t this_page = reinterpret_cast<uintptr_t>(this) / kPageSize;
344 uintptr_t target_page = reinterpret_cast<uintptr_t>(target) / kPageSize;
  /frameworks/av/media/libstagefright/include/
NuCachedSource2.h 85 kPageSize = 65536,
  /art/imgdiag/
imgdiag.cc 325 const uint8_t* image_begin = AlignDown(image_begin_unaligned, kPageSize);
326 const uint8_t* image_end = AlignUp(image_end_unaligned, kPageSize);
407 for (uintptr_t begin = boot_map.start; begin != boot_map.end; begin += kPageSize) {
416 if (memcmp(local_ptr, remote_ptr, kPageSize) != 0) {
420 for (size_t i = 0; i < kPageSize / sizeof(uint32_t); ++i) {
442 virtual_page_idx = reinterpret_cast<uintptr_t>(local_ptr) / kPageSize;
445 page_idx = (offset + page_off_begin) / kPageSize;
452 size_t remote_virtual_page_idx = begin / kPageSize;
534 current_page_idx = object_address / kPageSize + page_off;
542 } while ((current_page_idx * kPageSize) <
    [all...]
  /art/compiler/jit/
jit_logger.cc 218 marker_address_ = mmap(nullptr, kPageSize, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0);
227 munmap(marker_address_, kPageSize);
  /art/compiler/utils/
swap_space.cc 163 size_t next_part = std::max(RoundUp(min_size, kPageSize), RoundUp(kMininumMapSize, kPageSize));

Completed in 550 milliseconds

12 3 4 5