/external/autotest/client/tests/kvm/scripts/ |
D | ksm_overcommit_guest.py | 13 PAGE_SIZE = 4096 # machine page size variable 48 self.npages = ((mem * 1024 * 1024) / PAGE_SIZE) 67 for ip in range(PAGE_SIZE / original.itemsize): 75 position = (self.f.tell() - PAGE_SIZE + ip * 89 for i in range((PAGE_SIZE / a.itemsize)): 106 for i in range(PAGE_SIZE / a.itemsize): 144 pf.fromfile(self.f, PAGE_SIZE / pf.itemsize) 157 def static_random_fill(self, n_bytes_on_end=PAGE_SIZE): 172 rand = random.randint(((PAGE_SIZE / page.itemsize) - 1) - 174 (PAGE_SIZE/page.itemsize) - 1) [all …]
|
/external/autotest/client/tests/fsx/ |
D | 0001-Minor-fixes-to-PAGE_SIZE-handling.patch | 4 Subject: [PATCH 1/2] Minor fixes to PAGE_SIZE handling 19 + * Minor fixes to PAGE_SIZE handling -- Suzuki <suzuki@in.ibm.com>. 27 #ifndef PAGE_SIZE 28 -#define PAGE_SIZE 4096 29 +#define PAGE_SIZE pagesize 31 #define PAGE_MASK (PAGE_SIZE - 1)
|
/external/libunwind/src/x86/ |
D | Ginit.c | 79 #ifndef PAGE_SIZE 80 #define PAGE_SIZE 4096 macro 84 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1)) 101 len = PAGE_SIZE; in validate_mem() 103 len = PAGE_SIZE * 2; in validate_mem()
|
/external/autotest/client/site_tests/hardware_TLBMissCost/src/ |
D | generateBenchmarkFunction.sh | 6 PAGE_SIZE=$(( $1 )) 10 for (( c=0; c < PAGE_SIZE ; c++ )) ; do
|
/external/valgrind/memcheck/tests/ |
D | sh-mem-random.c | 23 #define PAGE_SIZE 4096ULL macro 256 nbytes_p = (N_BYTES + PAGE_SIZE) & ~(PAGE_SIZE-1); in main() 264 huge_addr += (randomU4() & ~(PAGE_SIZE-1)); in main()
|
/external/libunwind/src/x86_64/ |
D | Ginit.c | 71 #define PAGE_SIZE 4096 macro 72 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1)) 122 len = PAGE_SIZE; in validate_mem() 124 len = PAGE_SIZE * 2; in validate_mem()
|
/external/kernel-headers/original/uapi/linux/ |
D | resource.h | 71 #define MLOCK_LIMIT ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
|
D | a.out.h | 112 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) 128 #define PAGE_SIZE 0x400 macro 129 #define SEGMENT_SIZE PAGE_SIZE
|
D | binfmts.h | 14 #define MAX_ARG_STRLEN (PAGE_SIZE * 32)
|
D | kvm.h | 381 ((PAGE_SIZE - sizeof(struct kvm_coalesced_mmio_ring)) / \
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
D | BitmapFont.java | 57 static private final int PAGE_SIZE = 1 << LOG2_PAGE_SIZE; field in BitmapFont 58 static private final int PAGES = 0x10000 / PAGE_SIZE; 405 if (page != null) return page[ch & PAGE_SIZE - 1]; in getKerning() 413 if (page == null) kerning[ch >>> LOG2_PAGE_SIZE] = page = new byte[PAGE_SIZE]; in setKerning() 414 page[ch & PAGE_SIZE - 1] = (byte)value; in setKerning() 740 Glyph[] page = glyphs[ch / PAGE_SIZE]; in setGlyph() 741 if (page == null) glyphs[ch / PAGE_SIZE] = page = new Glyph[PAGE_SIZE]; in setGlyph() 742 page[ch & PAGE_SIZE - 1] = glyph; in setGlyph() 766 Glyph[] page = glyphs[ch / PAGE_SIZE]; in getGlyph() 767 if (page != null) return page[ch & PAGE_SIZE - 1]; in getGlyph()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/client/ |
D | main.py | 43 PAGE_SIZE = 10 variable 91 response = music_service.search_artists(fetch_size=PAGE_SIZE, 183 response = music_service.search_albums(fetch_size=PAGE_SIZE, 237 response = music_service.search_albums(fetch_size=PAGE_SIZE,
|
/external/libchrome/base/process/ |
D | process_metrics_mac.cc | 211 *private_bytes = private_pages_count * PAGE_SIZE; in GetMemoryBytes() 213 *shared_bytes = shared_pages_count * PAGE_SIZE; in GetMemoryBytes() 365 return (data.active_count * PAGE_SIZE) / 1024; in GetSystemCommitCharge() 391 (vm_info.free_count - vm_info.speculative_count) * PAGE_SIZE / 1024); in GetSystemMemoryInfo()
|
/external/iputils/Modules/ |
D | pg3.c | 297 if (datalen > frags*PAGE_SIZE) { in fill_packet() 298 skb_put(skb, datalen-frags*PAGE_SIZE); in fill_packet() 299 datalen = frags*PAGE_SIZE; in fill_packet() 307 skb_shinfo(skb)->frags[i].size = (datalen < PAGE_SIZE ? datalen : PAGE_SIZE); in fill_packet()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | shmparam.h | 4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
|
/external/v8/tools/ |
D | codemap.js | 71 CodeMap.PAGE_SIZE = 142 addr += CodeMap.PAGE_SIZE) {
|
/external/google-breakpad/src/client/mac/handler/ |
D | exception_handler.cc | 80 char protected_buffer[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE))); 651 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandler() 695 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, in UninstallHandler()
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/ |
D | UnicodeFont.java | 62 static private final int PAGE_SIZE = 512; field in UnicodeFont 63 static private final int PAGES = MAX_GLYPH_CODE / PAGE_SIZE; 394 int pageIndex = glyphCode / PAGE_SIZE; in getGlyph() 395 int glyphIndex = glyphCode & (PAGE_SIZE - 1); in getGlyph() 402 page = glyphs[pageIndex] = new Glyph[PAGE_SIZE]; in getGlyph()
|
/external/libchrome/base/ |
D | sys_info_mac.cc | 79 PAGE_SIZE; in AmountOfAvailablePhysicalMemory()
|
/external/libdrm/omap/ |
D | omap_drm.c | 51 #define PAGE_SIZE 4096 macro 219 bo->size = round_up(size.tiled.width, PAGE_SIZE) * size.tiled.height; in omap_bo_new_impl()
|
/external/f2fs-tools/fsck/ |
D | mount.c | 326 cp_page_1 = malloc(PAGE_SIZE); in validate_checkpoint() 342 cp_page_2 = malloc(PAGE_SIZE); in validate_checkpoint() 579 kaddr = (char *)malloc(PAGE_SIZE); in read_compacted_summaries() 610 memset(kaddr, 0, PAGE_SIZE); in read_compacted_summaries() 669 sum_blk = (struct f2fs_summary_block *)malloc(PAGE_SIZE); in read_normal_summaries()
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 205 #define PAGE_SIZE 4096 macro 691 #define SIZE_OF_RESERVED (PAGE_SIZE - ((SIZE_OF_DIR_ENTRY + \
|
/external/f2fs-tools/lib/ |
D | libf2fs.c | 467 c->sectors_per_blk = PAGE_SIZE / sector_size; in f2fs_get_device_info()
|
/external/valgrind/include/vki/ |
D | vki-darwin.h | 359 #define VKI_PAGE_SIZE PAGE_SIZE
|
/external/libnl/ |
D | ChangeLog | 25 o Use PAGE_SIZE as initial buffer size when reading from
|