/external/chromium_org/third_party/sqlite/src/src/ |
pcache.h | 19 typedef struct PCache PCache; 37 ** Elements above are public. All that follows is private to pcache.c 41 PCache *pCache; /* Cache that owns this page */ 74 PCache *pToInit /* Preallocated space for the PCache */ 78 void sqlite3PcacheSetPageSize(PCache *, int); 80 /* Return the size in bytes of a PCache object. Used to preallocate 88 int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**) [all...] |
pcache.c | 19 struct PCache { 29 sqlite3_pcache *pCache; /* Pluggable cache module */ 49 ** Check that the pCache->pSynced variable is set correctly. If it 53 ** expensive_assert( pcacheCheckSynced(pCache) ); 55 static int pcacheCheckSynced(PCache *pCache){ 57 for(p=pCache->pDirtyTail; p!=pCache->pSynced; p=p->pDirtyPrev){ 68 PCache *p = pPage->pCache; [all...] |
pcache1.c | 27 /* Each page cache (or PCache) belongs to a PGroup. A PGroup is a set 34 ** (1) Every PCache is the sole member of its own PGroup. There is 35 ** one PGroup per PCache. 40 ** Mode 1 uses more memory (since PCache instances are not able to rob 92 ** structure. A buffer of PgHdr1.pCache->szPage bytes is allocated 99 PCache1 *pCache; /* Cache that currently owns this page */ 125 int nSlot; /* The number of pcache slots */ 130 int nFreeSlot; /* Number of unused pcache slots */ 156 ** assert( PGHDR1_TO_PAGE(PAGE_TO_PGHDR1(pCache, X))==X ); 158 #define PGHDR1_TO_PAGE(p) (void*)(((char*)p) - p->pCache->szPage [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
fpdf_render_cache.cpp | 384 CFX_FontCache* pCache = m_pDocRender->GetFontCache();
385 if (pCache) {
386 pCache->FreeCache(FALSE);
|
fpdf_render_text.cpp | 468 CPDF_Type3Cache* pCache = GetCachedType3(pType3Font);
470 CFX_GlyphBitmap* pBitmap = pCache->LoadGlyph(charcode, &matrix, sa, sd);
599 CFX_FontCache* pCache = pFont->m_pDocument ? pFont->m_pDocument->GetRenderData()->GetFontCache() : NULL;
603 &pFont->m_Font, pCache, font_size, pText2User, pUser2Device,
668 CFX_FontCache* pCache = pFont->m_pDocument ? pFont->m_pDocument->GetRenderData()->GetFontCache() : NULL;
698 return pDevice->DrawNormalText(CharPosList.m_nChars, CharPosList.m_pCharPos, &pFont->m_Font, pCache, font_size, pText2Device, fill_argb, FXGE_flags);
720 CFX_FontCache* pCache;
722 pCache = pFont->m_pDocument->GetRenderData()->GetFontCache();
724 pCache = CFX_GEModule::Get()->GetFontCache();
726 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(&pFont->m_Font); [all...] |
fpdf_render.cpp | 69 CPDF_CountedObject<CPDF_Type3Cache*>* pCache;
70 if (!m_Type3FaceMap.Lookup(pFont, pCache)) {
72 pCache = FX_NEW CPDF_CountedObject<CPDF_Type3Cache*>;
73 pCache->m_Obj = pType3;
74 pCache->m_nCount = 1;
75 m_Type3FaceMap.SetAt(pFont, pCache);
77 pCache->m_nCount++;
78 return pCache->m_Obj;
82 CPDF_CountedObject<CPDF_Type3Cache*>* pCache;
83 if (!m_Type3FaceMap.Lookup(pFont, pCache)) {
[all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndapi.c | 676 NJ_SEARCH_CACHE *pCache; 743 pCache = cursor->cond.ds->dic[diccnt].srhCache; 744 if (pCache != NULL) { 746 if (NJ_GET_CACHEOVER_FROM_SCACHE(pCache)) { 749 if (pCache->keyPtr[cacheOverKeyPtr] == pCache->keyPtr[cacheOverKeyPtr + 1] ) { 762 pCache->keyPtr[clrcnt] = 0x0000; 766 if ((pCache->keyPtr[clrcnt - 1] > pCache->keyPtr[clrcnt]) && 767 (pCache->keyPtr[clrcnt] != 0)) [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_icc.cpp | 386 CFX_IccProfileCache* pCache = NULL;
415 if (!m_MapProfile.Lookup(ProfileKey, (FX_LPVOID&)pCache)) {
416 pCache = FX_NEW CFX_IccProfileCache;
417 if (pCache == NULL) {
422 pCache->m_pProfile = cmsOpenProfileFromMem(pIccParam->pProfileData, pIccParam->dwProfileSize);
427 pCache->m_pProfile = cmsCreate_sRGBProfile();
430 pCache->m_pProfile = CreateProfile_Gray(pIccParam->Gamma);
439 m_MapProfile.SetAt(ProfileKey, pCache);
441 pCache->m_dwRate++;
443 return pCache->m_pProfile; [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
threadtest3.c | 412 Statement *pCache; /* Linked list of cached statements */ 533 for(pIter=pDb->pCache; pIter; pIter=pNext){ 567 for(pRet=pDb->pCache; pRet; pRet=pRet->pNext){ 581 pRet->pNext = pDb->pCache; 582 pDb->pCache = pRet; [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
sqlite3.c | 10773 sqlite3_pcache_methods pcache; \/* Low-level page-cache interface *\/ member in struct:Sqlite3Config [all...] |
/external/sqlite/dist/orig/ |
sqlite3.c | [all...] |
/external/sqlite/dist/ |
sqlite3.c | [all...] |