/external/chromium_org/third_party/sqlite/src/src/ |
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...] |
test_pcache.c | 18 ** default pcache. This alternative pager cache will throw 81 ** If testing with in-memory temp tables, provide a larger pcache. 161 static void testpcacheCachesize(sqlite3_pcache *pCache, int newSize){ 162 testpcache *p = (testpcache*)pCache; 173 static int testpcachePagecount(sqlite3_pcache *pCache){ 174 testpcache *p = (testpcache*)pCache; 185 sqlite3_pcache *pCache, 189 testpcache *p = (testpcache*)pCache; 282 sqlite3_pcache *pCache, 286 testpcache *p = (testpcache*)pCache; [all...] |
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...] |
/dalvik/libdex/ |
DexProto.cpp | 36 void dexStringCacheAlloc(DexStringCache* pCache, size_t length) { 37 if (pCache->allocatedSize != 0) { 38 if (pCache->allocatedSize >= length) { 41 free((void*) pCache->value); 44 if (length <= sizeof(pCache->buffer)) { 45 pCache->value = pCache->buffer; 46 pCache->allocatedSize = 0; 48 pCache->value = (char*) malloc(length); 49 pCache->allocatedSize = length [all...] |
DexProto.h | 43 void dexStringCacheAlloc(DexStringCache* pCache, size_t length); 49 void dexStringCacheInit(DexStringCache* pCache); 55 void dexStringCacheRelease(DexStringCache* pCache); 64 char* dexStringCacheEnsureCopy(DexStringCache* pCache, const char* value); 73 char* dexStringCacheAbandon(DexStringCache* pCache, const char* value); 104 DexStringCache* pCache); 118 DexStringCache* pCache); 124 const DexMethodId* pMethodId, DexStringCache* pCache) 129 return dexProtoGetMethodDescriptor(&proto, pCache);
|
/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...] |
/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/fxge/apple/ |
fx_apple_platform.cpp | 45 CFX_FontCache* pCache,
106 CFX_FontCache * pCache,
157 FX_BOOL ret = _CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pCache, pObject2Device, font_size, argb, alpha_flag, pIccTransform);
|
apple_int.h | 155 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color,
166 CFX_FontCache* pCache,
|
fx_quartz_device.cpp | 805 CFX_FontCache* pCache,
[all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
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...] |
fpdf_render_cache.cpp | 384 CFX_FontCache* pCache = m_pDocRender->GetFontCache();
385 if (pCache) {
386 pCache->FreeCache(FALSE);
|
fpdf_render_loadimage.cpp | [all...] |
render_int.h | 192 FX_BOOL Load(const CPDF_ImageObject* pImage, CPDF_PageRenderCache* pCache, FX_BOOL bStdCS = FALSE, FX_DWORD GroupFamily = 0, FX_BOOL bLoadMask = FALSE, CPDF_RenderStatus* pRenderStatus = NULL);
194 FX_BOOL StartLoadImage(const CPDF_ImageObject* pImage, CPDF_PageRenderCache* pCache, FX_LPVOID& LoadHandle, FX_BOOL bStdCS = FALSE, FX_DWORD GroupFamily = 0, FX_BOOL bLoadMask = FALSE, CPDF_RenderStatus* pRenderStatus = NULL, FX_INT32 nDownsampleWidth = 0, FX_INT32 nDownsampleHeight = 0);
211 FX_BOOL Start(CPDF_ImageLoader* pImageLoader, const CPDF_ImageObject* pImage, CPDF_PageRenderCache* pCache, FX_BOOL bStdCS = FALSE, FX_DWORD GroupFamily = 0, FX_BOOL bLoadMask = FALSE, CPDF_RenderStatus* pRenderStatus = NULL, FX_INT32 nDownsampleWidth = 0, FX_INT32 nDownsampleHeight = 0);
|
/external/sqlite/dist/orig/ |
sqlite3.c | [all...] |
/external/sqlite/dist/ |
sqlite3.c | [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/pdfium/core/include/fxge/ |
fx_ge.h | 438 CFX_Font* pFont, CFX_FontCache* pCache,
444 CFX_Font* pFont, CFX_FontCache* pCache,
619 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color,
697 FX_BOOL DrawText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache,
|
/external/pdfium/core/src/fxge/agg/include/ |
fx_agg_driver.h | 93 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color,
|
/external/pdfium/core/src/fxge/ge/ |
fx_ge_text.cpp | 150 CFX_Font* pFont, CFX_FontCache* pCache,
164 if (m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, pText2Device, font_size, fill_color, alpha_flag, pIccTransform)) {
179 if (m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, pText2Device, font_size, fill_color, alpha_flag, pIccTransform)) {
194 return DrawTextPath(nChars, pCharPos, pFont, pCache, font_size, pText2Device, NULL, NULL, fill_color, 0, NULL, nPathFlags, alpha_flag, pIccTransform);
222 if (pCache == NULL) {
223 pCache = CFX_GEModule::Get()->GetFontCache();
225 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(pFont);
226 FX_FONTCACHE_DEFINE(pCache, pFont);
[all...] |
fx_ge_ps.cpp | 605 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device,
622 if (pCache == NULL) {
623 pCache = CFX_GEModule::Get()->GetFontCache();
625 CFX_FaceCache* pFaceCache = pCache->GetCachedFace(pFont);
626 FX_FONTCACHE_DEFINE(pCache, pFont);
|
fx_ge_linux.cpp | 22 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device,
|
/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...] |