/external/chromium_org/third_party/sqlite/src/src/ |
pcache.c | 65 ** Remove page pPage from the list of dirty pages. 67 static void pcacheRemoveFromDirtyList(PgHdr *pPage){ 68 PCache *p = pPage->pCache; 70 assert( pPage->pDirtyNext || pPage==p->pDirtyTail ); 71 assert( pPage->pDirtyPrev || pPage==p->pDirty ); 74 if( p->pSynced==pPage ){ 75 PgHdr *pSynced = pPage->pDirtyPrev; 82 if( pPage->pDirtyNext ) [all...] |
pcache1.c | 391 PgHdr1 *pPage; 393 while( (pPage = pNext)!=0 ){ 394 unsigned int h = pPage->iKey % nNew; 395 pNext = pPage->pNext; 396 pPage->pNext = apNew[h]; 397 apNew[h] = pPage; 409 ** This function is used internally to remove the page pPage from the 410 ** PGroup LRU list, if is part of it. If pPage is not part of the PGroup 415 ** If pPage is NULL then this routine is a no-op. 417 static void pcache1PinPage(PgHdr1 *pPage){ [all...] |
btree.c | 419 static void releasePage(MemPage *pPage); /* Forward reference */ 859 static u8 *findOverflowCell(MemPage *pPage, int iCell){ 861 assert( sqlite3_mutex_held(pPage->pBt->mutex) ); 862 for(i=pPage->nOverflow-1; i>=0; i--){ 865 pOvfl = &pPage->aOvfl[i]; 874 return findCell(pPage, iCell); 887 MemPage *pPage, /* Page containing the cell */ 894 assert( sqlite3_mutex_held(pPage->pBt->mutex) ); 897 assert( pPage->leaf==0 || pPage->leaf==1 ) [all...] |
recover.c | 373 static const unsigned char *PageData(DbPage *pPage, unsigned iOffset){ 374 assert( iOffset<=pPage->nPageSize ); 375 return (unsigned char *)pPage->pData + iOffset; 383 static const unsigned char *PageHeader(DbPage *pPage){ 384 if( pPage->pgno==1 ){ 386 return PageData(pPage, nDatabaseHeader); 388 return PageData(pPage, 0); 621 DbPage *pPage; /* Reference to leaf page. */ 633 if( p->pPage ){ 634 sqlite3PagerUnref(p->pPage); [all...] |
test_btree.c | 53 MemPage *pPage = pCur->apPage[pCur->iPage]; 57 pPage ? pPage->pgno : 0, pCur->aiIdx[pCur->iPage],
|
test2.c | 341 DbPage *pPage; 353 rc = sqlite3PagerGet(pPager, pgno, &pPage); 359 sqlite3_snprintf(sizeof(zBuf),zBuf,"%p",pPage); 378 DbPage *pPage; 387 pPage = sqlite3PagerLookup(pPager, pgno); 388 if( pPage ){ 389 sqlite3_snprintf(sizeof(zBuf),zBuf,"%p",pPage); 429 DbPage *pPage; 435 pPage = (DbPage *)sqlite3TestTextToPtr(argv[1]); 436 sqlite3PagerUnref(pPage); [all...] |
/external/pdfium/fpdfsdk/src/ |
fpdfeditpage.cpp | 95 CPDF_Page* pPage = FX_NEW CPDF_Page;
96 pPage->Load(pDoc,pPageDict);
97 pPage->ParseContent();
99 return pPage;
104 CPDF_Page* pPage = (CPDF_Page*)page;
105 if (!pPage || !pPage->m_pFormDict || !pPage->m_pFormDict->KeyExist("Type")
106 || pPage->m_pFormDict->GetElement("Type")->GetDirect()->GetString().Compare("Page"))
110 CPDF_Dictionary* pDict = pPage->m_pFormDict; [all...] |
fpdf_progressive.cpp | 31 CPDF_Page* pPage = (CPDF_Page*)page;
33 // FXMT_CSLOCK_OBJ(&pPage->m_PageLock);
36 pPage->SetPrivateData((void*)1, pContext, DropContext );
81 CPDF_Page* pPage = (CPDF_Page*)page;
83 // FXMT_CSLOCK_OBJ(&pPage->m_PageLock);
85 CRenderContext * pContext = (CRenderContext*)pPage->GetPrivateData((void*)1);
102 CPDF_Page* pPage = (CPDF_Page*)page;
104 // FXMT_CSLOCK_OBJ(&pPage->m_PageLock);
106 CRenderContext * pContext = (CRenderContext*)pPage->GetPrivateData((void*)1);
111 pPage->RemovePrivateData((void*)1); [all...] |
fpdfeditimg.cpp | 32 CPDF_Page* pPage = (CPDF_Page*)pages[index];
33 pImgObj->m_pImage->ResetCache(pPage,NULL);
67 CPDF_Page* pPage = (CPDF_Page*)pages[index];
68 pImgObj->m_pImage->ResetCache(pPage,NULL);
|
fpdfformfill.cpp | 20 CPDF_Page * pPage = (CPDF_Page*) page;
23 pInterForm = new CPDF_InterForm(pPage->m_pDocument,FALSE);
26 CPDF_FormControl* pFormCtrl = pInterForm->GetControlAtPoint(pPage, (FX_FLOAT)page_x, (FX_FLOAT)page_y);
82 // CPDF_Page * pPage = (CPDF_Page*) page;
83 // CPDF_Document * pDoc = pPage->m_pDocument;
194 CPDF_Page* pPage = (CPDF_Page*)page;
212 options.m_pOCContext = FX_NEW CPDF_OCContext(pPage->m_pDocument);
214 //FXMT_CSLOCK_OBJ(&pPage->m_PageLock);
217 pPage->GetDisplayMatrix(matrix, start_x, start_y, size_x, size_y, rotate);
249 // CPDF_Document* pDoc = pPage->m_pDocument; [all...] |
fpdf_transformpage.cpp | 14 CPDF_Page* pPage = (CPDF_Page*)page;
15 CPDF_Dictionary* pPageDict = pPage->m_pFormDict;
30 CPDF_Page* pPage = (CPDF_Page*)page;
31 CPDF_Dictionary* pPageDict = pPage->m_pFormDict;
47 CPDF_Page* pPage = (CPDF_Page*)page;
48 CPDF_Dictionary* pPageDict = pPage->m_pFormDict;
65 CPDF_Page* pPage = (CPDF_Page*)page;
66 CPDF_Dictionary* pPageDict = pPage->m_pFormDict;
97 CPDF_Page* pPage = (CPDF_Page*)page;
98 CPDF_Dictionary* pPageDic = pPage->m_pFormDict; [all...] |
fpdfview.cpp | 396 CPDF_Page* pPage = FX_NEW CPDF_Page;
397 pPage->Load(pDoc, pDict);
399 pPage->ParseContent();
402 delete pPage;
408 return pPage;
443 CPDF_Page* pPage = (CPDF_Page*)page;
446 pPage->SetPrivateData((void*)1, pContext, DropContext);
451 bBackgroundAlphaNeeded = pPage->BackgroundAlphaNeeded();
601 pPage->RemovePrivateData((void*)1);
609 CPDF_Page* pPage = (CPDF_Page*)page; [all...] |
fpdfdoc.cpp | 131 CPDF_Page* pPage = (CPDF_Page*)page;
134 CPDF_Document* pDoc = pPage->m_pDocument;
141 return pLinkList->GetLinkAtPoint(pPage, (FX_FLOAT)x, (FX_FLOAT)y);
172 CPDF_Page* pPage = (CPDF_Page*)page;
173 if(!pPage->m_pFormDict) return FALSE;
174 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArray("Annots");
|
/external/pdfium/core/src/fpdfdoc/ |
doc_link.cpp | 17 CFX_PtrArray* CPDF_LinkList::GetPageLinks(CPDF_Page* pPage)
19 FX_DWORD objnum = pPage->m_pFormDict->GetObjNum();
30 LoadPageLinks(pPage, pPageLinkList);
34 int CPDF_LinkList::CountLinks(CPDF_Page* pPage)
36 CFX_PtrArray* pPageLinkList = GetPageLinks(pPage);
42 CPDF_Link CPDF_LinkList::GetLink(CPDF_Page* pPage, int index)
44 CFX_PtrArray* pPageLinkList = GetPageLinks(pPage);
50 CPDF_Link CPDF_LinkList::GetLinkAtPoint(CPDF_Page* pPage, FX_FLOAT pdf_x, FX_FLOAT pdf_y)
52 CFX_PtrArray* pPageLinkList = GetPageLinks(pPage);
66 void CPDF_LinkList::LoadPageLinks(CPDF_Page* pPage, CFX_PtrArray* pList) [all...] |
doc_annot.cpp | 9 CPDF_AnnotList::CPDF_AnnotList(CPDF_Page* pPage)
11 ASSERT(pPage != NULL);
12 m_pPageDict = pPage->m_pFormDict;
16 m_pDocument = pPage->m_pDocument;
62 void CPDF_AnnotList::DisplayPass(const CPDF_Page* pPage, CFX_RenderDevice* pDevice,
103 pAnnot->DrawInContext(pPage, pContext, &matrix, CPDF_Annot::Normal);
104 } else if (!pAnnot->DrawAppearance(pPage, pDevice, &matrix, CPDF_Annot::Normal, pOptions)) {
109 void CPDF_AnnotList::DisplayAnnots(const CPDF_Page* pPage, CFX_RenderDevice* pDevice,
118 DisplayAnnots(pPage, pDevice, NULL, bPrinting, pUser2Device, bShowWidget ? 3 : 1, pOptions, &clip_rect);
120 void CPDF_AnnotList::DisplayAnnots(const CPDF_Page* pPage, CFX_RenderDevice* pDevice, CPDF_RenderContext* pContext, [all...] |
doc_basic.cpp | 14 CPDF_Object* pPage = ((CPDF_Array*)m_pObj)->GetElementValue(0);
15 if (pPage == NULL) {
18 if (pPage->GetType() == PDFOBJ_NUMBER) {
19 return pPage->GetInteger();
21 if (pPage->GetType() != PDFOBJ_DICTIONARY) {
24 return pDoc->GetPageIndex(pPage->GetObjNum());
31 CPDF_Object* pPage = ((CPDF_Array*)m_pObj)->GetElementValue(0);
32 if (pPage == NULL) {
35 if (pPage->GetType() == PDFOBJ_NUMBER) {
36 return pPage->GetInteger(); [all...] |
/external/pdfium/core/include/fpdftext/ |
fpdf_text.h | 24 void PDF_GetPageText(CFX_ByteStringArray& lines, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
26 void PDF_GetPageText_Unicode(CFX_WideStringArray& lines, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
28 void PDF_GetTextStream_Unicode(CFX_WideTextBuf& buffer, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
30 CFX_WideString PDF_GetFirstTextLine_Unicode(CPDF_Document* pDoc, CPDF_Dictionary* pPage);
76 static IPDF_TextPage* CreateTextPage(const CPDF_Page* pPage, CPDFText_ParseOptions ParserOptions);
77 static IPDF_TextPage* CreateTextPage(const CPDF_Page* pPage, int flags = 0);
|
/external/pdfium/core/include/reflow/ |
reflowengine.h | 40 static FX_BOOL IsTaggedPage(CPDF_PageObjects*pPage); 47 virtual void Start(IPDF_ReflowedPage* pReflowPage, CPDF_Page* pPage, FX_FLOAT TopIndent, FX_FLOAT fWidth, FX_FLOAT fHeight, IFX_Pause* pPause, int flags) = 0;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfRenderer.cpp | 157 CPDF_Page* pPage = (CPDF_Page*) page; 158 pPage->SetPrivateData((void*) 1, pContext, DropContext); 184 renderOptions->m_pOCContext = new CPDF_OCContext(pPage->m_pDocument, usage); 197 pageContext->Create(pPage); 201 pPage->GetDisplayMatrix(matrix, destLeft, destTop, destRight - destLeft, 206 matrix.Set(1, 0, 0, -1, 0, pPage->GetPageHeight()); 215 pageContext->AppendObjectList(pPage, &matrix); 222 pPage->RemovePrivateData((void*) 1);
|
/external/pdfium/core/src/reflow/ |
layoutprovider_taggedpdf.h | 57 void Init(CPDF_PageObjects* pPage) 59 m_pPage = pPage;
|
reflowedpage.cpp | 327 FX_BOOL IPDF_ProgressiveReflowPageParser::IsTaggedPage(CPDF_PageObjects*pPage) 329 if(!pPage) { 332 CPDF_StructTree* pPageTree = CPDF_StructTree::LoadPage(pPage->m_pDocument, pPage->m_pFormDict); 351 void CPDF_ProgressiveReflowPageParser::Start(IPDF_ReflowedPage* pReflowPage, CPDF_Page* pPage, FX_FLOAT topIndent, FX_FLOAT fWidth, FX_FLOAT fHeight, IFX_Pause* pPause, int flags) 359 m_pReflowPage->m_pPDFPage = pPage; 361 m_pPDFPage = pPage; 394 pPage->GetDisplayMatrix(matrix, 0, 0, (int)(pPage->GetPageWidth()), (int)(pPage->GetPageHeight()), 0) [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
sqlite3.c | [all...] |
/external/pdfium/core/include/fpdfdoc/ |
fpdf_doc.h | 558 CPDF_Link GetLinkAtPoint(CPDF_Page* pPage, FX_FLOAT pdf_x, FX_FLOAT pdf_y);
560 int CountLinks(CPDF_Page* pPage);
562 CPDF_Link GetLink(CPDF_Page* pPage, int index);
574 CFX_PtrArray* GetPageLinks(CPDF_Page* pPage);
576 void LoadPageLinks(CPDF_Page* pPage, CFX_PtrArray* pList);
637 FX_BOOL DrawAppearance(const CPDF_Page* pPage, CFX_RenderDevice* pDevice, const CFX_AffineMatrix* pUser2Device,
640 FX_BOOL DrawInContext(const CPDF_Page* pPage, const CPDF_RenderContext* pContext,
658 CPDF_Form* GetAPForm(const CPDF_Page* pPage, AppearanceMode mode);
673 CPDF_AnnotList(CPDF_Page* pPage);
681 void DisplayAnnots(const CPDF_Page* pPage, CFX_RenderDevice* pDevice, [all...] |
/external/pdfium/core/src/fxcrt/ |
fx_basic_memmgr_mini.cpp | 345 FX_LPBYTE pPage = (FX_LPBYTE)m_pStartPage;
346 while (pPage < (FX_LPBYTE)m_pLimitPos) {
347 if (!((CFXMEM_Page*)pPage)->IsEmpty()) {
350 pPage += m_nPageSize;
372 CFXMEM_Page* pPage = (CFXMEM_Page*)((FX_LPBYTE)m_pStartPage + ((FX_LPBYTE)p - (FX_LPBYTE)m_pStartPage) / m_nPageSize * m_nPageSize);
373 return pPage->Realloc(p, oldSize, newSize);
378 CFXMEM_Page* pPage = (CFXMEM_Page*)((FX_LPBYTE)m_pStartPage + ((FX_LPBYTE)p - (FX_LPBYTE)m_pStartPage) / m_nPageSize * m_nPageSize);
379 pPage->Free(p);
386 FX_LPBYTE pPage = (FX_LPBYTE)this + sizeof(CFXMEM_Pool);
388 m_8BytesPages.Initialize(pPage, pageNum8Bytes); [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_parser_new.cpp | 607 void CPDF_ContentParser::Start(CPDF_Page* pPage, CPDF_ParseOptions* pOptions)
609 if (m_Status != Ready || pPage == NULL || pPage->m_pDocument == NULL || pPage->m_pFormDict == NULL) {
613 m_pObjects = pPage;
618 CPDF_Object* pContent = pPage->m_pFormDict->GetElementValue(FX_BSTRC("Contents"));
636 m_pParser->PrepareParse(pPage->m_pDocument, pPage->m_pResources, NULL, NULL, pPage,
637 pPage->m_pResources, &pPage->m_BBox, &m_Options, NULL, 0); [all...] |