/external/chromium_org/base/ |
H A D | 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;
|
H A D | 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;
|
H A D | sys_info_linux.cc | 19 long page_size = sysconf(_SC_PAGESIZE); local 20 if (pages == -1 || page_size == -1) { 24 return static_cast<int64>(pages) * page_size;
|
/external/chromium_org/printing/ |
H A D | printed_page.cc | 11 const gfx::Size& page_size, 18 page_size_(page_size), 32 if (paper_size.width() > page_size().width()) { 33 int diff = paper_size.width() - page_size().width(); 36 if (paper_size.height() > page_size().height()) { 37 int diff = paper_size.height() - page_size().height(); 9 PrintedPage(int page_number, scoped_ptr<MetafilePlayer> metafile, const gfx::Size& page_size, const gfx::Rect& page_content_rect) argument
|
H A D | 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());
|
H A D | page_setup_unittest.cc | 30 gfx::Size page_size(100 + rand() % kMax, 200 + rand() % kMax); 32 printable_area.set_width(page_size.width() - (rand() % kMax) - 34 printable_area.set_height(page_size.height() - (rand() % kMax) - 40 setup.Init(page_size, printable_area, kTextHeight); 49 page_size.height() - 52 page_size.width() - 59 page_size.width() - effective_margins.right - 61 page_size.height() - effective_margins.footer - 68 page_size.height() - effective_margins.bottom - 72 EXPECT_EQ(page_size, setu [all...] |
H A D | printed_page.h | 27 const gfx::Size& page_size, 33 const gfx::Size& page_size() const { return page_size_; } function in class:printing::PrintedPage
|
H A D | 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,
|
H A D | pdf_metafile_skia.h | 40 const gfx::Size& page_size, 44 virtual bool StartPage(const gfx::Size& page_size,
|
/external/chromium_org/content/common/ |
H A D | 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)
|
/external/chromium_org/ui/base/ime/ |
H A D | candidate_window.h | 28 int page_size; member in struct:ui::CandidateWindow::CandidateWindowProperty 73 uint32 page_size() const { return property_->page_size; } function in class:ui::CandidateWindow 74 void set_page_size(uint32 page_size) { property_->page_size = page_size; } argument
|
H A D | candidate_window.cc | 27 if (page_size() != cw.page_size() || 65 const size_t cursor_index_in_page = cursor_position() % page_size(); 86 : page_size(kDefaultPageSize),
|
/external/chromium_org/v8/src/base/ |
H A D | sys-info.cc | 68 int pages, page_size; 71 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, NULL, 0); 72 if (pages == -1 || page_size == -1) { 76 return static_cast<int64_t>(pages) * page_size; 99 long page_size = sysconf(_SC_PAGESIZE); // NOLINT(runtime/int) 100 if (pages == -1 || page_size == -1) { 104 return static_cast<int64_t>(pages) * page_size;
|
/external/chromium_org/sql/test/ |
H A D | test_helpers.cc | 26 bool GetPageSize(sql::Connection* db, int* page_size) { argument 27 sql::Statement s(db->GetUniqueStatement("PRAGMA page_size")); 30 *page_size = s.ColumnInt(0); 92 const unsigned page_size = ReadBigEndian(header + kPageSizeOffset, 2); local 95 const unsigned page_count = (db_size + page_size) / page_size; 119 int page_size = 0; local 120 if (!GetPageSize(&db, &page_size)) 128 const long int page_ofs = (page_number - 1) * page_size; 129 scoped_ptr<char[]> page_buf(new char[page_size]); [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | 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/chrome/browser/chromeos/input_method/ |
H A D | input_method_engine_interface.cc | 39 : page_size(kDefaultPageSize),
|
/external/libunwind/tests/ |
H A D | ia64-test-setjmp.c | 87 size_t page_size = getpagesize (); local 89 guard_page_addr = (bsp + page_size - 1) & -page_size; 92 ret = mmap ((void *) guard_page_addr, page_size, PROT_NONE,
|
/external/chromium_org/tools/gyp/test/win/ |
H A D | 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)
|
/external/chromium_org/ppapi/tests/ |
H A D | test_file_mapping.cc | 87 const int64_t page_size = local 92 std::string file_contents((page_size * (kNumPages - 1)) + 128, 'a'); 114 kNumPages * page_size, 217 const int64_t page_size = local 221 //std::string file_contents((page_size * (kNumPages - 1)) + 128, 'a'); 222 std::string file_contents(page_size, 'a'); 244 page_size, 259 page_size, 305 page_size, 320 page_size, 426 const int64_t page_size = local [all...] |
/external/chromium_org/chrome/renderer/printing/ |
H A D | print_web_view_helper_pdf_win.cc | 106 printed_page_params.page_size = params.params.page_size; 136 printed_page_params.page_size = page_size_in_dpi[i]; 155 gfx::Size page_size; local 157 GetPageSizeAndContentAreaFromPageLayout(page_layout_in_points, &page_size, 164 page_size.width(), kPointsPerInch, dpi)), 166 page_size.height(), kPointsPerInch, dpi))); 176 params.params.display_header_footer ? gfx::Rect(page_size) : content_area; 182 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size,
|
H A D | print_web_view_helper_linux.cc | 157 gfx::Size page_size; local 159 GetPageSizeAndContentAreaFromPageLayout(page_layout_in_points, &page_size, 162 params.params.display_header_footer ? gfx::Rect(page_size) : content_area; 164 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size,
|
/external/chromium_org/android_webview/common/ |
H A D | print_messages.cc | 14 : page_size(), 40 page_size = gfx::Size();
|
/external/chromium_org/chrome/common/ |
H A D | print_messages.cc | 12 : page_size(), 38 page_size = gfx::Size();
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | stacktrace_x86-inl.h | 210 // page_size is linker-initalized to avoid async-unsafe locking 212 static int page_size; local 213 if (page_size == 0) { 215 page_size = getpagesize(); 220 ~(page_size - 1)); 221 if (msync(reg_esp_aligned, page_size, MS_ASYNC) == 0) { 267 static int page_size = getpagesize(); local 268 void *new_sp_aligned = (void *)((uintptr_t)new_sp & ~(page_size - 1)); 269 if (msync(new_sp_aligned, page_size, MS_ASYNC) == -1)
|
/external/chromium_org/android_webview/renderer/ |
H A D | print_web_view_helper_linux.cc | 162 gfx::Size page_size; local 164 GetPageSizeAndContentAreaFromPageLayout(page_layout_in_points, &page_size, 167 params.params.display_header_footer ? gfx::Rect(page_size) : content_area; 169 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size,
|