Home
last modified time | relevance | path

Searched refs:num_pages (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_slab.c74 pool->num_pages++; in util_slab_add_new_page()
77 fprintf(stderr, "New page! Num of pages: %i\n", pool->num_pages); in util_slab_add_new_page()
144 pool->num_pages = 0; in util_slab_create()
Du_slab.h68 unsigned num_pages; member
/external/mesa3d/src/gallium/auxiliary/util/
Du_slab.c74 pool->num_pages++; in util_slab_add_new_page()
77 fprintf(stderr, "New page! Num of pages: %i\n", pool->num_pages); in util_slab_add_new_page()
144 pool->num_pages = 0; in util_slab_create()
Du_slab.h68 unsigned num_pages; member
/external/chromium_org/pdf/
Dthumbnail_control.cc60 int num_pages = engine_->GetNumberOfPages(); in SetPosition() local
63 std::vector<pp::Rect> page_sizes(num_pages); in SetPosition()
64 for (int i = 0; i < num_pages; ++i) { in SetPosition()
78 for (int i = 0; i < num_pages; ++i) { in SetPosition()
100 for (int i = 0; i < num_pages; ++i) { in SetPosition()
Dpdf_engine.h250 virtual void AppendBlankPages(int num_pages) = 0;
Dout_of_process_instance.cc768 int num_pages = engine_->GetNumberOfPages(); in DocumentSizeUpdated() local
769 for (int i = 0; i < num_pages; ++i) { in DocumentSizeUpdated()
Dinstance.cc1904 const size_t num_pages = static_cast<size_t>(num_pages_signed); in CallScriptableMethod() local
1905 if (!page_ranges.get() || page_ranges->GetSize() != num_pages) in CallScriptableMethod()
1909 for (size_t index = 0; index < num_pages; ++index) { in CallScriptableMethod()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Ddebugallocation.cc502 int num_pages = (sz + pagesize - 1) / pagesize + 1; in Allocate() local
503 char* p = (char*) mmap(NULL, num_pages * pagesize, PROT_READ|PROT_WRITE, in Allocate()
514 if (mprotect(p + (num_pages - 1) * pagesize, pagesize, PROT_NONE)) { in Allocate()
517 b = (MallocBlock*) (p + (num_pages - 1) * pagesize - sz); in Allocate()
545 int num_pages = (size + pagesize - 1) / pagesize + 1; in Deallocate() local
549 mprotect(p - (num_pages - 1) * pagesize + size, in Deallocate()
550 num_pages * pagesize, PROT_NONE); in Deallocate()
552 munmap(p - (num_pages - 1) * pagesize + size, num_pages * pagesize); in Deallocate()
Dtcmalloc.cc748 Length num_pages = max<Length>(num_bytes >> kPageShift, 1); in ReleaseToSystem() local
750 num_pages) << kPageShift; in ReleaseToSystem()
1001 static void ReportLargeAlloc(Length num_pages, void* result) { in ReportLargeAlloc() argument
1009 static_cast<uint64>(num_pages) << kPageShift, in ReportLargeAlloc()
1037 inline bool should_report_large(Length num_pages) { in should_report_large() argument
1039 if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { in should_report_large()
1054 Length num_pages = tcmalloc::pages(size); in do_malloc_pages() local
1055 size = num_pages << kPageShift; in do_malloc_pages()
1061 report_large = should_report_large(num_pages); in do_malloc_pages()
1064 Span* span = Static::pageheap()->New(num_pages); in do_malloc_pages()
[all …]
Dpage_heap.cc306 Length PageHeap::ReleaseAtLeastNPages(Length num_pages) { in ReleaseAtLeastNPages() argument
312 while (released_pages < num_pages) { in ReleaseAtLeastNPages()
319 for (int i = 0; i < kMaxPages+1 && released_pages < num_pages; in ReleaseAtLeastNPages()
Dpage_heap.h180 Length ReleaseAtLeastNPages(Length num_pages);
/external/chromium_org/third_party/tcmalloc/chromium/src/
Ddebugallocation.cc500 int num_pages = (sz + pagesize - 1) / pagesize + 1; in Allocate() local
501 char* p = (char*) mmap(NULL, num_pages * pagesize, PROT_READ|PROT_WRITE, in Allocate()
512 if (mprotect(p + (num_pages - 1) * pagesize, pagesize, PROT_NONE)) { in Allocate()
515 b = (MallocBlock*) (p + (num_pages - 1) * pagesize - sz); in Allocate()
543 int num_pages = (size + pagesize - 1) / pagesize + 1; in Deallocate() local
547 mprotect(p - (num_pages - 1) * pagesize + size, in Deallocate()
548 num_pages * pagesize, PROT_NONE); in Deallocate()
550 munmap(p - (num_pages - 1) * pagesize + size, num_pages * pagesize); in Deallocate()
Dtcmalloc.cc758 Length num_pages = max<Length>(num_bytes >> kPageShift, 1); in ReleaseToSystem() local
760 num_pages) << kPageShift; in ReleaseToSystem()
1012 static void ReportLargeAlloc(Length num_pages, void* result) { in ReportLargeAlloc() argument
1020 static_cast<uint64>(num_pages) << kPageShift, in ReportLargeAlloc()
1048 inline bool should_report_large(Length num_pages) { in should_report_large() argument
1050 if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { in should_report_large()
1065 Length num_pages = tcmalloc::pages(size); in do_malloc_pages() local
1066 size = num_pages << kPageShift; in do_malloc_pages()
1077 report_large = should_report_large(num_pages); in do_malloc_pages()
1080 Span* span = Static::pageheap()->New(num_pages); in do_malloc_pages()
[all …]
Dpage_heap.cc367 Length PageHeap::ReleaseAtLeastNPages(Length num_pages) { in ReleaseAtLeastNPages() argument
373 while (released_pages < num_pages) { in ReleaseAtLeastNPages()
380 for (int i = 0; i < kMaxPages+1 && released_pages < num_pages; in ReleaseAtLeastNPages()
Dpage_heap.h190 Length ReleaseAtLeastNPages(Length num_pages);
/external/kernel-headers/original/uapi/linux/
Dvirtio_balloon.h41 __le32 num_pages; member
/external/chromium_org/chrome/browser/printing/
Dprint_preview_pdf_generated_browsertest.cc357 int num_pages; in PdfToPng() local
366 &num_pages, in PdfToPng()
369 ASSERT_GT(num_pages, 0); in PdfToPng()
373 for (int i = 0; i < num_pages; ++i) { in PdfToPng()
/external/chromium_org/tools/memory_inspector/memory_inspector/core/
Dmemory_map.py108 def num_pages(self): member in MapEntry
/external/lldb/source/Target/
DMemory.cpp390 const size_t num_pages = (byte_size + page_size - 1) / page_size; in AllocatePage() local
391 const size_t page_byte_size = num_pages * page_size; in AllocatePage()
/external/chromium_org/components/dom_distiller/core/
Ddistiller_unittest.cc75 vector<int> GetPagesInSequence(int start_page_num, int num_pages) { in GetPagesInSequence() argument
81 for (int page = start_page_num + 1; page < num_pages; ++page) in GetPagesInSequence()
/external/chromium_org/pdf/pdfium/
Dpdfium_engine.cc1256 int num_pages = FPDF_GetPageCount(doc); in FitContentsToPrintableAreaIfRequired() local
1260 for (int i = 0; i < num_pages; ++i) { in FitContentsToPrintableAreaIfRequired()
2062 void PDFiumEngine::AppendBlankPages(int num_pages) { in AppendBlankPages() argument
2063 DCHECK(num_pages != 0); in AppendBlankPages()
2085 for (int i = 0; i < num_pages; ++i) { in AppendBlankPages()
2098 for (int i = 1; i < num_pages; ++i) { in AppendBlankPages()
Dpdfium_engine.h92 virtual void AppendBlankPages(int num_pages);
/external/chromium_org/content/renderer/pepper/
Dpepper_plugin_instance_impl.cc1768 int num_pages = 0; in PrintBegin() local
1779 num_pages = plugin_print_interface_->Begin(pp_instance(), &print_settings); in PrintBegin()
1780 if (!num_pages) in PrintBegin()
1785 return num_pages; in PrintBegin()
/external/valgrind/main/coregrind/m_debuginfo/
Dreadpdb.c329 unsigned int num_pages; member