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_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;
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/
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 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, 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
  /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/chromeos/ime/
candidate_window.h 28 int page_size; member in struct:chromeos::input_method::CandidateWindow::CandidateWindowProperty
63 uint32 page_size() const { return property_->page_size; } function in class:chromeos::input_method::CandidateWindow
64 void set_page_size(uint32 page_size) { property_->page_size = page_size; }
candidate_window.cc 27 if (page_size() != cw.page_size() ||
58 : page_size(kDefaultPageSize),
  /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/sql/test/
test_helpers.cc 25 bool GetPageSize(sql::Connection* db, int* page_size) {
26 sql::Statement s(db->GetUniqueStatement("PRAGMA page_size"));
29 *page_size = s.ColumnInt(0);
91 const unsigned page_size = ReadBigEndian(header + kPageSizeOffset, 2); local
94 const unsigned page_count = (db_size + page_size) / page_size;
118 int page_size = 0; local
119 if (!GetPageSize(&db, &page_size))
127 const long int page_ofs = (page_number - 1) * page_size;
128 scoped_ptr<char[]> page_buf(new char[page_size]);
    [all...]
  /external/chromium_org/android_webview/common/
print_messages.cc 14 : page_size(),
40 page_size = gfx::Size();
  /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/chrome/browser/chromeos/input_method/
input_method_engine_interface.cc 39 : page_size(kDefaultPageSize),
  /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/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/chrome/common/
print_messages.cc 12 : page_size(),
38 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 539 milliseconds

1 2 3 4 5 6 7 8