Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/src/fgas/src/font/
Dfx_gdifont.cpp139 CFX_GdiFontCache* pCache; in ClearCache() local
141 pCache = NULL; in ClearCache()
142 m_FontCache.GetNextAssoc(pos, (void*&)dwMAT2, (void*&)pCache); in ClearCache()
143 if (pCache != NULL) { in ClearCache()
144 delete pCache; in ClearCache()
469 CFX_GdiFontCache* pCache = NULL; in GetGlyphDIBits() local
470 if (m_FontCache.Lookup((void*)dwMAT2, (void*&)pCache) && pCache != NULL) { in GetGlyphDIBits()
471 FX_LPCGDIGOCACHE pGO = pCache->GetCachedGlyphOutline(iGlyphIndex); in GetGlyphDIBits()
486 if (pCache == NULL) { in GetGlyphDIBits()
487 pCache = new CFX_GdiFontCache; in GetGlyphDIBits()
[all …]
/external/pdfium/xfa/src/fdp/src/css/
Dfde_cssstyleselector.cpp319 FDE_LPCSSTAGCACHE pCache = m_pAccelerator->GetTopElement(); in MatchDeclarations() local
320 FXSYS_assert(pCache != NULL && pCache->GetTag() == pTag); in MatchDeclarations()
330 MatchRules(pCache, rules.GetUniversalRuleData(), ePersudoType); in MatchDeclarations()
331 if (pCache->HashTag()) { in MatchDeclarations()
332 MatchRules(pCache, rules.GetTagRuleData(pCache->HashTag()), in MatchDeclarations()
335 int32_t iCount = pCache->CountHashClass(); in MatchDeclarations()
337 pCache->SetClassIndex(i); in MatchDeclarations()
338 MatchRules(pCache, rules.GetClassRuleData(pCache->HashClass()), in MatchDeclarations()
342 MatchRules(pCache, rules.GetPersudoRuleData(), ePersudoType); in MatchDeclarations()
351 inline void CFDE_CSSStyleSelector::MatchRules(FDE_LPCSSTAGCACHE pCache, in MatchRules() argument
[all …]
Dfde_cssdeclaration.cpp52 CFX_MapPtrToPtr* pCache = pArgs->pStringCache; in CopyToLocal() local
54 if (pCache) { in CopyToLocal()
58 if (pCache->Lookup(pKey, pszCached)) { in CopyToLocal()
69 if (pCache) { in CopyToLocal()
70 pCache->SetAt(pKey, psz); in CopyToLocal()
Dfde_cssstyleselector.h108 void MatchRules(FDE_LPCSSTAGCACHE pCache,
112 FX_BOOL MatchSelector(FDE_LPCSSTAGCACHE pCache,
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_icc.cpp410 CFX_IccProfileCache* pCache = NULL; in CreateProfile() local
439 pCache = new CFX_IccProfileCache; in CreateProfile()
442 pCache->m_pProfile = cmsOpenProfileFromMem(pIccParam->pProfileData, in CreateProfile()
448 pCache->m_pProfile = cmsCreate_sRGBProfile(); in CreateProfile()
451 pCache->m_pProfile = CreateProfile_Gray(pIccParam->Gamma); in CreateProfile()
460 m_MapProfile[ProfileKey] = pCache; in CreateProfile()
462 pCache = it->second; in CreateProfile()
463 pCache->m_dwRate++; in CreateProfile()
465 return pCache->m_pProfile; in CreateProfile()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp452 CPDF_Type3Cache* pCache = GetCachedType3(pType3Font); in ProcessType3Text() local
454 CFX_GlyphBitmap* pBitmap = pCache->LoadGlyph(charcode, &matrix, sa, sd); in ProcessType3Text()
599 CFX_FontCache* pCache = in DrawTextPath() local
605 &pFont->m_Font, pCache, font_size, pText2User, in DrawTextPath()
690 CFX_FontCache* pCache = in DrawNormalText() local
723 &pFont->m_Font, pCache, font_size, in DrawNormalText()
750 CFX_FontCache* pCache; in DrawTextPathWithPattern() local
752 pCache = pFont->m_pDocument->GetRenderData()->GetFontCache(); in DrawTextPathWithPattern()
754 pCache = CFX_GEModule::Get()->GetFontCache(); in DrawTextPathWithPattern()
756 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(&pFont->m_Font); in DrawTextPathWithPattern()
[all …]
Dfpdf_render_cache.cpp336 CFX_FontCache* pCache = m_pDocRender->GetFontCache(); in ClearRenderFont() local
337 if (pCache) { in ClearRenderFont()
338 pCache->FreeCache(FALSE); in ClearRenderFont()
Dfpdf_render_loadimage.cpp1544 CPDF_PageRenderCache* pCache, in Start() argument
1552 m_pCache = pCache; in Start()
1557 if (pCache) { in Start()
1558 ret = pCache->StartGetCachedBitmap(pImage->m_pImage->GetStream(), bStdCS, in Start()
1564 pCache->GetCurImageCacheEntry()->DetachBitmap(); in Start()
1565 m_pImageLoader->m_pMask = pCache->GetCurImageCacheEntry()->DetachMask(); in Start()
1567 pCache->GetCurImageCacheEntry()->m_MatteColor; in Start()
1606 CPDF_PageRenderCache* pCache, in Start() argument
1617 return LoadHandle->Start(this, pImage, pCache, bStdCS, GroupFamily, bLoadMask, in Start()
Dfpdf_render.cpp53 CPDF_CountedObject<CPDF_Type3Cache>* pCache; in GetCachedType3() local
57 pCache = new CPDF_CountedObject<CPDF_Type3Cache>(pType3); in GetCachedType3()
58 m_Type3FaceMap[pFont] = pCache; in GetCachedType3()
60 pCache = it->second; in GetCachedType3()
62 return pCache->AddRef(); in GetCachedType3()
88 void DestroyPageCache(CPDF_PageRenderCache* pCache) override;
107 void CPDF_RenderModule::DestroyPageCache(CPDF_PageRenderCache* pCache) { in DestroyPageCache() argument
108 delete pCache; in DestroyPageCache()
Drender_int.h281 CPDF_PageRenderCache* pCache,
307 CPDF_PageRenderCache* pCache,
Dfpdf_render_pattern.cpp962 CPDF_PageRenderCache* pCache, in DrawPatternBitmap() argument
991 CPDF_RenderContext context(pDoc, pCache); in DrawPatternBitmap()
/external/pdfium/core/src/fxge/apple/
Dfx_apple_platform.cpp46 CFX_FontCache* pCache, in _CGDrawGlyphRun() argument
103 CFX_FontCache* pCache, in DrawDeviceText() argument
156 _CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pCache, pObject2Device, in DrawDeviceText()
Dapple_int.h168 CFX_FontCache* pCache,
188 CFX_FontCache* pCache,
Dfx_quartz_device.cpp741 CFX_FontCache* pCache, in CG_DrawGlypRun() argument
807 CFX_FontCache* pCache, in DrawDeviceText() argument
829 ret = CG_DrawGlypRun(i, pCharPos, pFont, pCache, NULL, pObject2Device, in DrawDeviceText()
846 ret = CG_DrawGlypRun(1, char_pos, pFont, pCache, &glphy_matrix, in DrawDeviceText()
862 ret = CG_DrawGlypRun(i, pCharPos, pFont, pCache, NULL, pObject2Device, in DrawDeviceText()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp645 CFX_FontCache* pCache, in DrawText() argument
666 if (!pCache) { in DrawText()
667 pCache = CFX_GEModule::Get()->GetFontCache(); in DrawText()
669 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(pFont); in DrawText()
670 FX_FONTCACHE_DEFINE(pCache, pFont); in DrawText()
Dfx_ge_text.cpp177 CFX_FontCache* pCache, in DrawNormalText() argument
196 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, in DrawNormalText()
217 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, in DrawNormalText()
236 return DrawTextPath(nChars, pCharPos, pFont, pCache, font_size, in DrawNormalText()
267 if (!pCache) { in DrawNormalText()
268 pCache = CFX_GEModule::Get()->GetFontCache(); in DrawNormalText()
270 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(pFont); in DrawNormalText()
271 FX_FONTCACHE_DEFINE(pCache, pFont); in DrawNormalText()
1109 CFX_FontCache* pCache, in DrawTextPath() argument
1121 if (!pCache) { in DrawTextPath()
[all …]
/external/pdfium/core/include/fxge/
Dfx_ge.h381 CFX_FontCache* pCache,
392 CFX_FontCache* pCache,
595 CFX_FontCache* pCache,
685 CFX_FontCache* pCache,
/external/pdfium/xfa/src/fdp/src/fde/
Dfde_gedevice.cpp141 CFX_FontCache* pCache = CFX_GEModule::Get()->GetFontCache(); in DrawString() local
182 m_pDevice->DrawNormalText(iCurCount, pCurCP, &FxFont, pCache, in DrawString()
186 m_pDevice->DrawNormalText(iCurCount, pCurCP, pFxFont, pCache, in DrawString()
204 iCurCount, pCurCP, &FxFont, pCache, -fFontSize, in DrawString()
210 return m_pDevice->DrawNormalText(iCurCount, pCurCP, pFxFont, pCache, in DrawString()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.h117 CFX_FontCache* pCache,
Dfx_skia_device.cpp275 CFX_FontCache* pCache, in DrawDeviceText() argument
281 return m_pAggDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, in DrawDeviceText()
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h118 CFX_FontCache* pCache,
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp465 CFX_FontCache* pCache, in DrawDeviceText() argument
471 return m_PSRenderer.DrawText(nChars, pCharPos, pFont, pCache, pObject2Device, in DrawDeviceText()
Dwin32_int.h349 CFX_FontCache* pCache,
/external/sqlite/dist/
Dsqlite3.c11039 PCache *pCache; /* Cache that owns this page */ member
11132 SQLITE_PRIVATE void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *));
40492 sqlite3_pcache *pCache; /* Pluggable cache module */
40509 PCache *p = pPage->pCache;
40569 if( p->pCache->bPurgeable ){
40570 sqlite3GlobalConfig.pcache2.xUnpin(p->pCache->pCache, p->pPage, 0);
40648 SQLITE_PRIVATE int sqlite3PcacheSetPageSize(PCache *pCache, int szPage){
40649 assert( pCache->nRefSum==0 && pCache->pDirty==0 );
40650 if( pCache->szPage ){
40653 szPage, pCache->szExtra + ROUND8(sizeof(PgHdr)),
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c11039 PCache *pCache; /* Cache that owns this page */ member
11132 SQLITE_PRIVATE void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *));
40474 sqlite3_pcache *pCache; /* Pluggable cache module */
40491 PCache *p = pPage->pCache;
40551 if( p->pCache->bPurgeable ){
40552 sqlite3GlobalConfig.pcache2.xUnpin(p->pCache->pCache, p->pPage, 0);
40630 SQLITE_PRIVATE int sqlite3PcacheSetPageSize(PCache *pCache, int szPage){
40631 assert( pCache->nRefSum==0 && pCache->pDirty==0 );
40632 if( pCache->szPage ){
40635 szPage, pCache->szExtra + ROUND8(sizeof(PgHdr)),
[all …]

12