/external/libchrome/base/memory/ |
D | protected_memory_posix.cc | 32 const uintptr_t page_start = reinterpret_cast<uintptr_t>(start) & page_mask; in SetMemory() local 33 return mprotect(reinterpret_cast<void*>(page_start), in SetMemory() 34 reinterpret_cast<uintptr_t>(end) - page_start, prot) == 0; in SetMemory() 51 const uintptr_t page_start = reinterpret_cast<uintptr_t>(ptr) & page_mask; in AssertMemoryIsReadOnly() local 56 getrlimit(RLIMIT_NPROC, reinterpret_cast<struct rlimit*>(page_start)); in AssertMemoryIsReadOnly()
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_poisoning.cpp | 29 uptr page_start = RoundUpTo(shadow_start, page_size); in TagMemoryAligned() local 33 UNLIKELY(page_end >= page_start + threshold && tag == 0)) { in TagMemoryAligned() 34 internal_memset((void *)shadow_start, tag, page_start - shadow_start); in TagMemoryAligned() 39 ReleaseMemoryPagesToOSAndZeroFill(page_start, page_end); in TagMemoryAligned()
|
/external/arm-trusted-firmware/drivers/mtd/nand/ |
D | core.c | 29 unsigned int page_start = in nand_read() local 39 block, end_block, page_start, nb_pages, length, offset); in nand_read() 68 for (page = page_start; page < nb_pages; page++) { in nand_read() 108 page_start = 0U; in nand_read()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_hint_tables_unittest.cpp | 80 FX_FILESIZE page_start = 0; in TEST_F() local 85 hint_tables->GetPagePos(0, &page_start, &page_length, &page_obj_num)); in TEST_F() 86 EXPECT_EQ(777, page_start); in TEST_F() 91 hint_tables->GetPagePos(1, &page_start, &page_length, &page_obj_num)); in TEST_F() 92 EXPECT_EQ(5105, page_start); in TEST_F() 97 hint_tables->GetPagePos(2, &page_start, &page_length, &page_obj_num)); in TEST_F()
|
/external/boringssl/src/crypto/fipsmodule/ |
D | bcm.c | 151 const uintptr_t page_start = in BORINGSSL_maybe_set_module_text_permissions() local 154 if (mprotect((void *)page_start, in BORINGSSL_maybe_set_module_text_permissions() 155 ((uintptr_t)BORINGSSL_bcm_text_end) - page_start, in BORINGSSL_maybe_set_module_text_permissions()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ |
D | bcm.c | 149 const uintptr_t page_start = in BORINGSSL_maybe_set_module_text_permissions() local 152 if (mprotect((void *)page_start, in BORINGSSL_maybe_set_module_text_permissions() 153 ((uintptr_t)BORINGSSL_bcm_text_end) - page_start, in BORINGSSL_maybe_set_module_text_permissions()
|
/external/arm-trusted-firmware/plat/socionext/uniphier/ |
D | uniphier_nand.c | 121 int page_start, int page_count) in uniphier_nand_read_pages() argument 132 DENALI_MAP10 | page_start); in uniphier_nand_read_pages() 155 page_start, page_start + page_count - 1); in uniphier_nand_read_pages()
|
/external/rmi4utils/rmidevice/ |
D | rmidevice.cpp | 274 unsigned int page_start = RMI_DEVICE_PAGE_SIZE * page; in ScanPDT() local 275 unsigned int pdt_start = page_start + RMI_DEVICE_PAGE_SCAN_START; in ScanPDT() 276 unsigned int pdt_end = page_start + RMI_DEVICE_PAGE_SCAN_END; in ScanPDT() 288 RMIFunction func(entry, page_start, interruptCount); in ScanPDT()
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_abi_unittest.cc | 82 uint8_t* const page_start = buf() + page_idx * page_size(); in TEST_P() local 83 uint8_t* const page_end = page_start + page_size(); in TEST_P() 117 ASSERT_GT(chunk.begin(), page_start); in TEST_P()
|
D | shared_memory_abi.cc | 153 Chunk chunk(page_start(page_idx) + chunk_offset_in_page, chunk_size, in GetChunkUnchecked()
|
/external/perfetto/include/perfetto/ext/tracing/core/ |
D | shared_memory_abi.h | 461 uint8_t* page_start(size_t page_idx) { in page_start() function 467 return reinterpret_cast<PageHeader*>(page_start(page_idx)); in page_header()
|