Home
last modified time | relevance | path

Searched refs:new_page (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_bucket.cc461 PartitionPage* new_page = nullptr; in SlowPathAlloc() local
483 new_page = PartitionDirectMap(root, flags, size); in SlowPathAlloc()
490 new_page = active_pages_head; in SlowPathAlloc()
491 DCHECK(new_page->is_active()); in SlowPathAlloc()
497 while (LIKELY((new_page = empty_pages_head) != nullptr)) { in SlowPathAlloc()
498 DCHECK(new_page->bucket == this); in SlowPathAlloc()
499 DCHECK(new_page->is_empty() || new_page->is_decommitted()); in SlowPathAlloc()
500 empty_pages_head = new_page->next_page; in SlowPathAlloc()
502 if (new_page->freelist_head) { in SlowPathAlloc()
503 new_page->next_page = nullptr; in SlowPathAlloc()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_ppo_embeddertest.cpp287 FPDF_PAGE new_page = FPDF_LoadPage(new_doc, 0); in TEST_F() local
288 ASSERT_NE(nullptr, new_page); in TEST_F()
289 ScopedFPDFBitmap new_bitmap = RenderPage(new_page); in TEST_F()
295 FPDF_ClosePage(new_page); in TEST_F()
Dfpdf_annot_embeddertest.cpp690 FPDF_PAGE new_page = FPDF_LoadPage(new_doc, 0); in TEST_F() local
691 ASSERT_TRUE(new_page); in TEST_F()
694 EXPECT_EQ(2, FPDFPage_GetAnnotCount(new_page)); in TEST_F()
699 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(new_page, 0)); in TEST_F()
705 ScopedFPDFAnnotation annot(FPDFPage_GetAnnot(new_page, 1)); in TEST_F()
709 FPDF_ClosePage(new_page); in TEST_F()