HomeSort by relevance Sort by last modified time
    Searched refs:page_size (Results 1 - 25 of 195) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium/base/
sys_info_freebsd.cc 14 int pages, page_size; local
17 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, NULL, 0);
18 if (pages == -1 || page_size == -1) {
22 return static_cast<int64>(pages) * page_size;
sys_info_linux.cc 14 long page_size = sysconf(_SC_PAGE_SIZE); local
15 if (pages == -1 || page_size == -1) {
20 return static_cast<int64>(pages) * page_size;
  /external/chromium_org/base/
sys_info_freebsd.cc 14 int pages, page_size; local
17 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, NULL, 0);
18 if (pages == -1 || page_size == -1) {
22 return static_cast<int64>(pages) * page_size;
sys_info_linux.cc 17 long page_size = sysconf(_SC_PAGESIZE); local
18 if (pages == -1 || page_size == -1) {
22 return static_cast<int64>(pages) * page_size;
sys_info_openbsd.cc 17 long page_size = sysconf(_SC_PAGESIZE); local
18 if (pages == -1 || page_size == -1) {
22 return static_cast<int64>(pages) * page_size;
  /external/chromium_org/printing/
printed_page.cc 11 const gfx::Size& page_size,
16 page_size_(page_size),
31 if (paper_size.width() > page_size().width()) {
32 int diff = paper_size.width() - page_size().width();
35 if (paper_size.height() > page_size().height()) {
36 int diff = paper_size.height() - page_size().height();
pdf_metafile_cg_mac_unittest.cc 59 gfx::Size page_size = pdf2.GetPageBounds(1).size(); local
60 EXPECT_EQ(540, page_size.width());
61 EXPECT_EQ(720, page_size.height());
62 page_size = pdf2.GetPageBounds(2).size();
63 EXPECT_EQ(720, page_size.width());
64 EXPECT_EQ(540, page_size.height());
page_setup_unittest.cc 28 gfx::Size page_size(100 + rand() % kMax, 200 + rand() % kMax);
30 printable_area.set_width(page_size.width() - (rand() % kMax) -
32 printable_area.set_height(page_size.height() - (rand() % kMax) -
38 setup.Init(page_size, printable_area, kTextHeight);
47 page_size.height() -
50 page_size.width() -
57 page_size.width() - effective_margins.right -
59 page_size.height() - effective_margins.footer -
66 page_size.height() - effective_margins.bottom -
70 EXPECT_EQ(page_size, setup.physical_size()) << seed << " " <
    [all...]
printed_page.h 27 const gfx::Size& page_size,
34 const gfx::Size& page_size() const { return page_size_; } function in class:printing::PrintedPage
metafile.h 91 const gfx::Size& page_size,
95 // Prepares a context for rendering a new page with the given |page_size|,
98 virtual bool StartPage(const gfx::Size& page_size,
pdf_metafile_cg_mac.h 41 const gfx::Size& page_size, const gfx::Rect& content_area,
43 virtual bool StartPage(const gfx::Size& page_size,
  /system/core/fastboot/
bootimg.c 43 unsigned page_size, unsigned base, unsigned tags_offset,
52 page_mask = page_size - 1;
58 *bootimg_size = page_size + kernel_actual + ramdisk_actual + second_actual;
77 hdr->page_size = page_size;
80 memcpy(hdr->magic + page_size,
82 memcpy(hdr->magic + page_size + kernel_actual,
84 memcpy(hdr->magic + page_size + kernel_actual + ramdisk_actual,
  /external/chromium_org/content/common/
set_process_title_linux.cc 56 uintptr_t page_size, page, page_end; local
67 page_size = sysconf(_SC_PAGESIZE);
70 page -= page % page_size;
71 page_end = page + page_size;
110 uintptr_t page_size = sysconf(_SC_PAGESIZE);
113 if (((uintptr_t) environ) / page_size == ((uintptr_t) main_argv) / page_size)
  /system/core/fastbootd/
bootimg.h 53 unsigned page_size; /* flash page size we assume */ member in struct:boot_img_hdr
74 ** n = (kernel_size + page_size - 1) / page_size
75 ** m = (ramdisk_size + page_size - 1) / page_size
76 ** o = (second_size + page_size - 1) / page_size
78 ** 0. all entities are page_size aligned in flash
93 unsigned page_size,
  /external/chromium_org/tools/gyp/test/win/
gyptest-link-large-pdb.py 34 page_size = struct.unpack('<I', pdb_file.read(4))[0]
35 if page_size != expected_page_size:
37 expected_page_size, page_size, pdb_path)
  /cts/tests/tests/security/jni/
android_security_cts_CharDeviceTest.cpp 34 int page_size = sysconf(_SC_PAGE_SIZE); local
35 int length = page_size * page_size;
72 int page_size = sysconf(_SC_PAGE_SIZE); local
73 int length = page_size * page_size;
  /system/core/mkbootimg/
bootimg.h 42 unsigned page_size; /* flash page size we assume */ member in struct:boot_img_hdr
63 ** n = (kernel_size + page_size - 1) / page_size
64 ** m = (ramdisk_size + page_size - 1) / page_size
65 ** o = (second_size + page_size - 1) / page_size
67 ** 0. all entities are page_size aligned in flash
  /external/chromium_org/third_party/tcmalloc/vendor/src/
stacktrace_x86-inl.h 207 // page_size is linker-initalized to avoid async-unsafe locking
209 static int page_size; local
210 if (page_size == 0) {
212 page_size = getpagesize();
217 ~(page_size - 1));
218 if (msync(reg_esp_aligned, page_size, MS_ASYNC) == 0) {
264 static int page_size = getpagesize(); local
265 void *new_sp_aligned = (void *)((uintptr_t)new_sp & ~(page_size - 1));
266 if (msync(new_sp_aligned, page_size, MS_ASYNC) == -1)
  /external/chromium_org/content/public/test/
render_widget_test.h 35 // in the given bitmap. The widget is resized to |page_size| before we paint
38 virtual void ResizeAndPaint(const gfx::Size& page_size,
  /external/chromium_org/chromeos/dbus/ibus/
ibus_lookup_table.h 110 uint32 page_size() const { return page_size_; } function in class:chromeos::IBusLookupTable
111 void set_page_size(uint32 page_size) { page_size_ = page_size; }
  /external/chromium_org/sql/
recovery_unittest.cc 52 sql::Statement s(db->GetUniqueStatement("PRAGMA page_size"));
69 char* buf, size_t page_size) {
73 if (0 != fseek(file.get(), (page_no - 1) * page_size, SEEK_SET))
75 if (1u != fread(buf, page_size, 1, file.get()))
83 const char* buf, size_t page_size) {
87 if (0 != fseek(file.get(), (page_no - 1) * page_size, SEEK_SET))
89 if (1u != fwrite(buf, page_size, 1, file.get()))
292 int page_size = GetPageSize(&db()); local
293 scoped_ptr<char[]> buf(new char[page_size]);
294 ASSERT_TRUE(ReadPage(db_path(), index_page, buf.get(), page_size)); local
303 ASSERT_TRUE(WritePage(db_path(), index_page, buf.get(), page_size)); local
364 const int page_size = GetPageSize(&db()); local
366 ASSERT_TRUE(ReadPage(db_path(), table_page, buf.get(), page_size)); local
375 ASSERT_TRUE(WritePage(db_path(), table_page, buf.get(), page_size)); local
    [all...]
  /external/linux-tools-perf/util/
trace-event-read.c 51 static unsigned long page_size; variable
290 int page_size; member in struct:cpu_data
297 cpu_data[cpu].offset += page_size;
298 cpu_data[cpu].size -= page_size;
311 if (cpu_data[cpu].size <= page_size) {
325 ret = read(input_fd, cpu_data[cpu].page, page_size);
335 munmap(cpu_data[cpu].page, page_size);
338 if (cpu_data[cpu].size <= page_size)
343 cpu_data[cpu].page = mmap(NULL, page_size, PROT_READ, MAP_PRIVATE,
397 cpu_data[cpu].page_size = data2host4(ptr)
    [all...]
  /external/chromium_org/android_webview/common/
print_messages.cc 12 : page_size(),
39 page_size = gfx::Size();
  /external/chromium_org/chrome/common/
print_messages.cc 12 : page_size(),
39 page_size = gfx::Size();
  /external/chromium_org/chrome/renderer/printing/
print_web_view_helper_win.cc 80 page_params.page_size = page_size_in_dpi;
131 gfx::Size page_size; local
133 GetPageSizeAndContentAreaFromPageLayout(page_layout_in_points, &page_size,
139 static_cast<int>(ConvertUnitDouble(page_size.width(), kPointsPerInch,
141 static_cast<int>(ConvertUnitDouble(page_size.height(), kPointsPerInch,
161 page_size = gfx::Size(
172 params.display_header_footer ? gfx::Rect(page_size) : content_area;
175 page_size, canvas_area, scale_factor);

Completed in 345 milliseconds

1 2 3 4 5 6 7 8