Searched refs:cache_info (Results 1 – 11 of 11) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | cache.c | 188 *magick_restrict cache_info; in AcquirePixelCache() local 193 cache_info=(CacheInfo *) AcquireAlignedMemory(1,sizeof(*cache_info)); in AcquirePixelCache() 194 if (cache_info == (CacheInfo *) NULL) in AcquirePixelCache() 196 (void) memset(cache_info,0,sizeof(*cache_info)); in AcquirePixelCache() 197 cache_info->type=UndefinedCache; in AcquirePixelCache() 198 cache_info->mode=IOMode; in AcquirePixelCache() 199 cache_info->disk_mode=IOMode; in AcquirePixelCache() 200 cache_info->colorspace=sRGBColorspace; in AcquirePixelCache() 201 cache_info->file=(-1); in AcquirePixelCache() 202 cache_info->id=GetMagickThreadId(); in AcquirePixelCache() [all …]
|
D | stream.c | 201 static inline void RelinquishStreamPixels(CacheInfo *cache_info) in RelinquishStreamPixels() argument 203 assert(cache_info != (CacheInfo *) NULL); in RelinquishStreamPixels() 204 if (cache_info->mapped == MagickFalse) in RelinquishStreamPixels() 205 (void) RelinquishAlignedMemory(cache_info->pixels); in RelinquishStreamPixels() 207 (void) UnmapBlob(cache_info->pixels,(size_t) cache_info->length); in RelinquishStreamPixels() 208 cache_info->pixels=(Quantum *) NULL; in RelinquishStreamPixels() 209 cache_info->metacontent=(void *) NULL; in RelinquishStreamPixels() 210 cache_info->length=0; in RelinquishStreamPixels() 211 cache_info->mapped=MagickFalse; in RelinquishStreamPixels() 217 *cache_info; in DestroyPixelStream() local [all …]
|
D | opencl.c | 1082 *cache_info; in RunOpenCLBenchmark() local 1084 cache_info=(CacheInfo *) resizedImage->cache; in RunOpenCLBenchmark() 1085 if (cache_info->opencl != (MagickCLCacheInfo) NULL) in RunOpenCLBenchmark() 1086 openCL_library->clWaitForEvents(cache_info->opencl->event_count, in RunOpenCLBenchmark() 1087 cache_info->opencl->events); in RunOpenCLBenchmark()
|
D | widget.c | 8472 cache_info, in XPreferencesWidget() local 8585 XGetWidgetInfo(cache,&cache_info); in XPreferencesWidget() 8586 cache_info.bevel_width--; in XPreferencesWidget() 8587 cache_info.width=(unsigned int) QuantumMargin >> 1; in XPreferencesWidget() 8588 cache_info.height=(unsigned int) QuantumMargin >> 1; in XPreferencesWidget() 8589 cache_info.x=QuantumMargin << 1; in XPreferencesWidget() 8590 cache_info.y=y; in XPreferencesWidget() 8602 XDrawTriangleEast(display,&windows->widget,&cache_info); in XPreferencesWidget() 8643 if (MatteIsActive(cache_info,event.xbutton)) in XPreferencesWidget() 8648 x=cache_info.x+cache_info.width+cache_info.bevel_width+ in XPreferencesWidget() [all …]
|
D | xwindow.c | 8982 cache_info; in XRenderImage() local 9082 cache_info=(*draw_info); in XRenderImage() 9088 if (cache_info.font != draw_info->font) in XRenderImage() 9107 cache_info=(*draw_info); in XRenderImage()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_pagerendercache.cpp | 47 std::vector<CacheInfo> cache_info; in CacheOptimization() local 48 cache_info.reserve(nCount); in CacheOptimization() 50 cache_info.emplace_back(it.second->GetTimeCount(), in CacheOptimization() 53 std::sort(cache_info.begin(), cache_info.end()); in CacheOptimization() 60 m_ImageCache[cache_info[i].pStream]->m_dwTimeCount = i; in CacheOptimization() 66 ClearImageCacheEntry(cache_info[i++].pStream); in CacheOptimization() 69 ClearImageCacheEntry(cache_info[i++].pStream); in CacheOptimization()
|
/external/python/cpython3/Lib/test/ |
D | test_functools.py | 1144 hits, misses, maxsize, currsize = f.cache_info() 1156 hits, misses, maxsize, currsize = f.cache_info() 1162 hits, misses, maxsize, currsize = f.cache_info() 1167 hits, misses, maxsize, currsize = f.cache_info() 1175 hits, misses, maxsize, currsize = f.cache_info() 1186 self.assertEqual(f.cache_info().maxsize, 0) 1191 hits, misses, maxsize, currsize = f.cache_info() 1202 self.assertEqual(f.cache_info().maxsize, 1) 1207 hits, misses, maxsize, currsize = f.cache_info() 1218 self.assertEqual(f.cache_info().maxsize, 2) [all …]
|
/external/python/cpython3/Lib/ |
D | functools.py | 583 def cache_info(): function 597 wrapper.cache_info = cache_info
|
/external/python/cpython3/Doc/library/ |
D | functools.rst | 69 parameter, the wrapped function is instrumented with a :func:`cache_info` 109 >>> get_pep.cache_info() 127 >>> fib.cache_info()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.2.rst | 772 >>> get_phone_number.cache_info() # doctest: +SKIP
|
/external/python/cpython3/Misc/ |
D | HISTORY | 11335 changed to a single cache_info() method returning a named tuple.
|