Home
last modified time | relevance | path

Searched refs:cache_info (Results 1 – 15 of 15) sorted by relevance

/external/ImageMagick/MagickCore/
Dcache.c190 *magick_restrict cache_info; in AcquirePixelCache() local
195 cache_info=(CacheInfo *) AcquireAlignedMemory(1,sizeof(*cache_info)); in AcquirePixelCache()
196 if (cache_info == (CacheInfo *) NULL) in AcquirePixelCache()
198 (void) memset(cache_info,0,sizeof(*cache_info)); in AcquirePixelCache()
199 cache_info->type=UndefinedCache; in AcquirePixelCache()
200 cache_info->mode=IOMode; in AcquirePixelCache()
201 cache_info->disk_mode=IOMode; in AcquirePixelCache()
202 cache_info->colorspace=sRGBColorspace; in AcquirePixelCache()
203 cache_info->file=(-1); in AcquirePixelCache()
204 cache_info->id=GetMagickThreadId(); in AcquirePixelCache()
[all …]
Dstream.c201 static inline void RelinquishStreamPixels(CacheInfo *cache_info) in RelinquishStreamPixels() argument
203 assert(cache_info != (CacheInfo *) NULL); in RelinquishStreamPixels()
204 if (cache_info->pixels != (Quantum *) NULL) in RelinquishStreamPixels()
206 if (cache_info->mapped == MagickFalse) in RelinquishStreamPixels()
207 (void) RelinquishAlignedMemory(cache_info->pixels); in RelinquishStreamPixels()
209 (void) UnmapBlob(cache_info->pixels,(size_t) cache_info->length); in RelinquishStreamPixels()
211 cache_info->pixels=(Quantum *) NULL; in RelinquishStreamPixels()
212 cache_info->metacontent=(void *) NULL; in RelinquishStreamPixels()
213 cache_info->length=0; in RelinquishStreamPixels()
214 cache_info->mapped=MagickFalse; in RelinquishStreamPixels()
[all …]
Dopencl.c1100 *cache_info; in RunOpenCLBenchmark() local
1102 cache_info=(CacheInfo *) resizedImage->cache; in RunOpenCLBenchmark()
1103 if (cache_info->opencl != (MagickCLCacheInfo) NULL) in RunOpenCLBenchmark()
1104 openCL_library->clWaitForEvents(cache_info->opencl->event_count, in RunOpenCLBenchmark()
1105 cache_info->opencl->events); in RunOpenCLBenchmark()
Dwidget.c8478 cache_info, in XPreferencesWidget() local
8591 XGetWidgetInfo(cache,&cache_info); in XPreferencesWidget()
8592 cache_info.bevel_width--; in XPreferencesWidget()
8593 cache_info.width=(unsigned int) QuantumMargin >> 1; in XPreferencesWidget()
8594 cache_info.height=(unsigned int) QuantumMargin >> 1; in XPreferencesWidget()
8595 cache_info.x=QuantumMargin << 1; in XPreferencesWidget()
8596 cache_info.y=y; in XPreferencesWidget()
8608 XDrawTriangleEast(display,&windows->widget,&cache_info); in XPreferencesWidget()
8649 if (MatteIsActive(cache_info,event.xbutton)) in XPreferencesWidget()
8654 x=cache_info.x+cache_info.width+cache_info.bevel_width+ in XPreferencesWidget()
[all …]
Dxwindow.c8977 cache_info; in XRenderImage() local
9077 cache_info=(*draw_info); in XRenderImage()
9083 if (cache_info.font != draw_info->font) in XRenderImage()
9102 cache_info=(*draw_info); in XRenderImage()
/external/pdfium/core/fpdfapi/render/
Dcpdf_pagerendercache.cpp41 std::vector<CacheInfo> cache_info; in CacheOptimization() local
42 cache_info.reserve(nCount); in CacheOptimization()
44 cache_info.emplace_back(it.second->GetTimeCount(), in CacheOptimization()
47 std::sort(cache_info.begin(), cache_info.end()); in CacheOptimization()
54 m_ImageCache[cache_info[i].pStream]->m_dwTimeCount = i; in CacheOptimization()
60 ClearImageCacheEntry(cache_info[i++].pStream); in CacheOptimization()
63 ClearImageCacheEntry(cache_info[i++].pStream); in CacheOptimization()
/external/python/cpython3/Lib/test/
Dtest_functools.py1178 self.assertEqual(fib.cache_info(),
1181 self.assertEqual(fib.cache_info(),
1191 hits, misses, maxsize, currsize = f.cache_info()
1203 hits, misses, maxsize, currsize = f.cache_info()
1209 hits, misses, maxsize, currsize = f.cache_info()
1214 hits, misses, maxsize, currsize = f.cache_info()
1222 hits, misses, maxsize, currsize = f.cache_info()
1233 self.assertEqual(f.cache_info().maxsize, 0)
1238 hits, misses, maxsize, currsize = f.cache_info()
1249 self.assertEqual(f.cache_info().maxsize, 1)
[all …]
/external/cpu_features/src/utils/
Dlist_cpu_features.c345 static void AddCacheInfo(Node* root, const CacheInfo* cache_info) { in AddCacheInfo() argument
347 for (int i = 0; i < cache_info->size; ++i) { in AddCacheInfo()
348 CacheLevelInfo info = cache_info->levels[i]; in AddCacheInfo()
367 const CacheInfo cache_info = GetX86CacheInfo(); in CreateTree() local
378 AddCacheInfo(root, &cache_info); in CreateTree()
/external/toybox/toys/pending/
Droute.c151 struct rta_cacheinfo *cache_info; in display_routes() local
203 cache_info = RTA_DATA(rteattr); in display_routes()
204 ref = cache_info->rta_clntref; in display_routes()
205 use = cache_info->rta_used; in display_routes()
/external/python/cpython3/Lib/
Dfunctools.py622 def cache_info(): function
636 wrapper.cache_info = cache_info
/external/mesa3d/docs/
Dshading.rst19 - **cache_info** - print debug information about shader cache
/external/python/cpython3/Doc/library/
Dfunctools.rst163 parameter, the wrapped function is instrumented with a :func:`cache_info`
203 >>> get_pep.cache_info()
221 >>> fib.cache_info()
/external/libcups/scheduler/
Dprinters.c3845 struct stat cache_info; /* Cache file info */ in load_ppd() local
3899 if (stat(cache_name, &cache_info)) in load_ppd()
3900 cache_info.st_mtime = 0; in load_ppd()
3914 if (cache_info.st_mtime >= ppd_info.st_mtime) in load_ppd()
5036 if (cache_info.st_mtime) in load_ppd()
/external/python/cpython3/Doc/whatsnew/
D3.2.rst774 >>> get_phone_number.cache_info() # doctest: +SKIP
/external/python/cpython3/Misc/
DHISTORY11335 changed to a single cache_info() method returning a named tuple.