/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/details/ |
fstream_unistd.cpp | 135 size_t pagesize, len; local 138 len = sizeof(pagesize); 139 sysctl(mib, 2, &pagesize, &len, NULL, 0); 140 _M_page_size = pagesize;
|
/external/compiler-rt/lib/esan/ |
working_set_posix.cpp | 91 uptr PageSize = GetPageSizeCached(); 92 int Res = internal_mprotect((void *)RoundDownTo(Addr, PageSize), 93 PageSize, PROT_READ|PROT_WRITE);
|
/external/compiler-rt/lib/msan/ |
msan_poisoning.cc | 123 uptr PageSize = GetPageSizeCached(); 130 uptr page_beg = RoundUpTo(shadow_beg, PageSize); 131 uptr page_end = RoundDownTo(shadow_end, PageSize);
|
/external/elfutils/src/ |
elf32-i386.script | 10 PAGESIZE(4k); 91 . = ALIGN(PAGESIZE) + (. & (PAGESIZE - 1));
|
/external/libcups/cups/ |
ppd-mark.c | 62 *page_size, /* PageSize option */ 83 * print-color-mode, print-quality, and PageSize... 88 page_size = cupsGetOption("PageSize", num_options, options); 112 * individual option as long as the corresponding PPD option (PageSize, 115 * For PageSize, we also check for an empty option value since some versions 140 ppd_mark_option(ppd, "PageSize", s); 142 ppd_mark_option(ppd, "PageSize", ppd_keyword); 818 if (!_cups_strcasecmp(option, "PageSize")) 992 if (!_cups_strcasecmp(option, "PageSize") || !_cups_strcasecmp(option, "PageRegion")) 1003 * Unmark the current PageSize or PageRegion setting, a [all...] |
ppd-conflicts.c | 148 * changes to the current page size (@code media@, @code PageSize@, and 323 (!_cups_strcasecmp(option, "PageSize") && 326 !_cups_strcasecmp(resoption, "PageSize")) || 330 !_cups_strcasecmp(resoption, "PageSize")) || 332 !_cups_strcasecmp(resoption, "PageSize")) || 393 (!_cups_strcasecmp(option, "PageSize") && 396 !_cups_strcasecmp(constptr->option->keyword, "PageSize")))) 406 if (!_cups_strcasecmp(constptr->option->keyword, "PageSize") || 409 if ((value = cupsGetOption("PageSize", num_newopts, 1033 (!_cups_strcasecmp(constptr->option->keyword, "PageSize") || [all...] |
ppd-emit.c | 45 "<</PageSize[5 -2 roll]/ImagingBBox null>>setpagedevice\n"; 630 * Use PageSize or PageRegion as required... 687 if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || 866 if ((!_cups_strcasecmp(choices[i]->option->keyword, "PageSize") || 1119 * We use the PageSize code if: 1135 * unmark any existing PageSize or PageRegion choices. 1159 * Use PageSize code... 1162 ppdMarkOption(ppd, "PageSize", size->name); 1175 * Do not use PageSize or PageRegion code... 1178 ppd_choice_t *page; /* PageSize/Region choice, if any * [all...] |
/external/piex/src/binary_parse/ |
range_checked_byte_ptr.h | 50 // bytes) is split up into non-overlapping pages of pageSize() bytes each. 51 // (The last page may be shorter if length() is not a multiple of pageSize().) 52 // There are therefore (length() - 1) / pageSize() + 1 such pages, with indexes 53 // 0 through (length() - 1) / pageSize(). Page i contains the bytes from offset 54 // i * pageSize() in the array up to and including the byte at offset 55 // (i + 1) * pageSize() - 1 (or, in the case of the last page, length() - 1). 115 // than pageSize() if length() is not a multiple of pageSize() -- see also 118 virtual size_t pageSize() const = 0; 125 // - (*end - *begin) == pageSize() for every page except the last pag [all...] |
range_checked_byte_ptr.cc | 38 virtual size_t pageSize() const; 53 size_t MemoryPagedByteArray::pageSize() const { return len_; } 196 size_t page_index = offset / array_->pageSize(); 205 size_t expected_page_size = array_->pageSize(); 206 if (page_index == (array_->length() - 1) / array_->pageSize()) { 207 expected_page_size = array_->length() - array_->pageSize() * page_index; 217 page_begin_offset_ = page_index * array_->pageSize();
|
/frameworks/support/paging/runtime/src/main/java/android/arch/paging/ |
LivePagedListProvider.java | 75 * @param pageSize Page size defining how many items are loaded from a data source at a time. 82 public LiveData<PagedList<Value>> create(@Nullable Key initialLoadKey, int pageSize) { 85 .setPageSize(pageSize)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix.cc | 169 uptr PageSize = GetPageSizeCached(); 171 RoundUpTo(size, PageSize), 183 uptr PageSize = GetPageSizeCached(); 184 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)), 185 RoundUpTo(size, PageSize),
|
/external/ltp/testcases/kernel/mem/mem/ |
mem02.c | 74 int pagesize = 12; /* 2^12 = 4096, PAGESIZE */ local 211 * by the pagesize and checking. 214 if (((laddr >> pagesize) << pagesize) != laddr) {
|
/external/valgrind/memcheck/tests/ |
leak-segv-jmp.c | 263 long pagesize; local 264 #define RNDPAGEDOWN(a) ((long)a & ~(pagesize-1)) 295 pagesize = sysconf(_SC_PAGE_SIZE); 296 if (pagesize == -1) 299 my_mprotect_none((void*) RNDPAGEDOWN(&b10[4000]), 2 * pagesize);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/ |
AndroidFastbootApp.c | 234 KernelOff = Header->PageSize;
236 Header->PageSize *
237 ((Header->KernelSize + Header->PageSize - 1) / Header->PageSize);
243 Header->PageSize *
244 ((Header->KernelSize + Header->PageSize - 1) / Header->PageSize);
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
PageTbl.c | 516 SMM_PAGE_SIZE_TYPE PageSize;
525 PageSize = SmmPageSize2M;
533 Status = GetPlatformPageTableAttribute (PFAddress, &PageSize, &NumOfPages, &PageAttribute);
538 PageSize = SmmPageSize2M;
542 if (PageSize >= MaxSmmPageSizeType) {
543 PageSize = SmmPageSize2M;
549 switch (PageSize) {
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
MemoryBuffer.cpp | 188 static int PageSize = sys::Process::GetPageSize(); 192 uintptr_t RealStart = Start & ~(PageSize - 1); 238 int PageSize) { 270 if ((FileSize & (PageSize -1)) == 0) 281 static int PageSize = sys::Process::GetPageSize(); 299 PageSize)) { 300 off_t RealMapOffset = Offset & ~(PageSize - 1);
|
/external/libcups/filter/ |
postscript-driver.shtml | 64 <a href='ref-ppdcfile.html#Attribute'>Attribute</a> "?PageSize" "" " 66 currentpagedevice /PageSize get aload pop 158 <p>Most PostScript printer PPD files include query commands (<tt>?PageSize</tt>, etc.) that allow applications to query the printer for its current settings and configuration. Query commands are included in driver information files as attributes. For example, the example in <a href='#LISTING_1'>Listing 1</a> uses the following definition for the <tt>PageSize</tt> query command:</p> 161 <a href='ref-ppdcfile.html#Attribute'>Attribute</a> "?PageSize" "" " 163 currentpagedevice /PageSize get aload pop
|
/system/core/liblog/ |
properties.c | 492 static long pages, pagesize; local 506 if (!pagesize) { 507 pagesize = sysconf(_SC_PAGESIZE); 508 if (pagesize <= 1) { 509 pagesize = PAGE_SIZE; 515 maximum = pages * pagesize;
|
/external/compiler-rt/lib/lsan/ |
lsan_interceptors.cc | 147 uptr PageSize = GetPageSizeCached(); 148 size = RoundUpTo(size, PageSize); 151 size = PageSize;
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkBinaryRegistry.hpp | 158 const size_t pageSize = (size_t)(1<<ELEMENTS_PER_PAGE_LOG2)*sizeof(Element); 159 const size_t pageOffset = pageNdx*pageSize; 160 const size_t numBytesToRead = de::min(m_elements.size()*sizeof(Element) - pageOffset, pageSize);
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
Process.inc | 43 // static variable PageSize.
57 static const unsigned PageSize = GetPageSizeOnce();
58 return PageSize;
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
setup.h | 31 __u32 pagesize; member in struct:tag_core
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Flash/ |
Flash.h | 98 UINT32 PageSize;
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Flash/ |
Flash.h | 98 UINT32 PageSize;
|
/external/e2fsprogs/misc/ |
e4defrag.c | 361 long pagesize; local 368 pagesize = sysconf(_SC_PAGESIZE); 369 if (pagesize < 0) 375 /* Round the offset down to the nearest multiple of pagesize */ 376 offset = (offset / pagesize) * pagesize; 384 *page_num = (length + pagesize - 1) / pagesize; 413 long pagesize = sysconf(_SC_PAGESIZE); local 421 if (pagesize < 1 [all...] |