/dports/www/netsurf/netsurf-3.10/content/handlers/image/ |
H A D | image_cache.c | 192 if (image_cache->total_bitmap_size > image_cache->max_bitmap_size) { in image_cache_stats_bitmap_add() 193 image_cache->max_bitmap_size = image_cache->total_bitmap_size; in image_cache_stats_bitmap_add() 194 image_cache->max_bitmap_size_count = image_cache->bitmap_count; in image_cache_stats_bitmap_add() 198 if (image_cache->bitmap_count > image_cache->max_bitmap_count) { in image_cache_stats_bitmap_add() 199 image_cache->max_bitmap_count = image_cache->bitmap_count; in image_cache_stats_bitmap_add() 200 image_cache->max_bitmap_count_size = image_cache->total_bitmap_size; in image_cache_stats_bitmap_add() 384 if ((image_cache->total_bitmap_size < image_cache->params.limit) && in image_cache_speculate() 427 image_cache); in image_cache_init() 445 image_cache->total_bitmap_size, image_cache->bitmap_count); in image_cache_fini() 504 free(image_cache); in image_cache_fini() [all …]
|
/dports/devel/py-pyface/pyface-7.2.0/pyface/tests/ |
H A D | test_image_cache.py | 15 from ..image_cache import ImageCache 22 self.image_cache = ImageCache(32, 32) 25 image = self.image_cache.get_image(IMAGE_PATH) 28 bitmap = self.image_cache.get_bitmap(IMAGE_PATH) 31 image1 = self.image_cache.get_image(IMAGE_PATH) 32 image2 = self.image_cache.get_image(IMAGE_PATH) 35 bitmap1 = self.image_cache.get_bitmap(IMAGE_PATH) 36 bitmap2 = self.image_cache.get_bitmap(IMAGE_PATH) 40 image1 = self.image_cache.get_image(IMAGE_PATH) 46 bitmap1 = self.image_cache.get_bitmap(IMAGE_PATH)
|
/dports/graphics/darktable38/darktable-3.8.0/src/common/ |
H A D | grouping.c | 32 dt_image_t *img = dt_image_cache_get(darktable.image_cache, image_id, 'w'); in dt_grouping_add_to_group() 34 dt_image_cache_write_release(darktable.image_cache, img, DT_IMAGE_CACHE_SAFE); in dt_grouping_add_to_group() 47 const dt_image_t *img = dt_image_cache_get(darktable.image_cache, image_id, 'r'); in dt_grouping_remove_from_group() 49 dt_image_cache_read_release(darktable.image_cache, img); in dt_grouping_remove_from_group() 87 dt_image_t *wimg = dt_image_cache_get(darktable.image_cache, image_id, 'w'); in dt_grouping_remove_from_group() 90 dt_image_cache_write_release(darktable.image_cache, wimg, DT_IMAGE_CACHE_SAFE); in dt_grouping_remove_from_group() 105 dt_image_t *img = dt_image_cache_get(darktable.image_cache, image_id, 'r'); in dt_grouping_change_representative() 107 dt_image_cache_read_release(darktable.image_cache, img); in dt_grouping_change_representative() 131 const dt_image_t *image = dt_image_cache_get(darktable.image_cache, imgid, 'r'); in dt_grouping_get_group_images() 135 dt_image_cache_read_release(darktable.image_cache, image); in dt_grouping_get_group_images() [all …]
|
H A D | image.c | 170 img = dt_image_cache_get(darktable.image_cache, imgid, 'r'); in _image_set_monochrome_flag() 174 dt_image_cache_read_release(darktable.image_cache, img); in _image_set_monochrome_flag() 179 img = dt_image_cache_get(darktable.image_cache, imgid, 'w'); in _image_set_monochrome_flag() 497 dt_image_cache_read_release(darktable.image_cache, img); in dt_image_get_location() 710 dt_image_cache_read_release(darktable.image_cache, imgtmp); in dt_image_get_final_size() 837 dt_image_cache_read_release(darktable.image_cache, img); in dt_image_get_orientation() 1188 dt_image_cache_read_release(darktable.image_cache, img); in _image_duplicate_with_version() 1214 dt_image_cache_read_release(darktable.image_cache, img); in dt_image_remove() 1217 dt_image_cache_remove(darktable.image_cache, imgid); in dt_image_remove() 2351 dt_image_cache_read_release(darktable.image_cache, imgr); in dt_image_local_copy_reset() [all …]
|
H A D | ratings.c | 44 dt_image_t *image = dt_image_cache_get(darktable.image_cache, imgid, 'r'); in dt_ratings_get() 51 dt_image_cache_read_release(darktable.image_cache, image); in dt_ratings_get() 60 dt_image_t *image = dt_image_cache_get(darktable.image_cache, imgid, 'w'); in _ratings_apply_to_image() 84 dt_image_cache_write_release(darktable.image_cache, image, DT_IMAGE_CACHE_SAFE); in _ratings_apply_to_image() 88 dt_image_cache_write_release(darktable.image_cache, image, DT_IMAGE_CACHE_RELAXED); in _ratings_apply_to_image() 245 const dt_image_t *img = dt_image_cache_get(darktable.image_cache, id, 'r'); in _action_process_rating() 249 dt_image_cache_read_release(darktable.image_cache, img); in _action_process_rating()
|
/dports/graphics/darktable/darktable-3.6.1/src/common/ |
H A D | grouping.c | 32 dt_image_t *img = dt_image_cache_get(darktable.image_cache, image_id, 'w'); in dt_grouping_add_to_group() 34 dt_image_cache_write_release(darktable.image_cache, img, DT_IMAGE_CACHE_SAFE); in dt_grouping_add_to_group() 47 const dt_image_t *img = dt_image_cache_get(darktable.image_cache, image_id, 'r'); in dt_grouping_remove_from_group() 49 dt_image_cache_read_release(darktable.image_cache, img); in dt_grouping_remove_from_group() 87 dt_image_t *wimg = dt_image_cache_get(darktable.image_cache, image_id, 'w'); in dt_grouping_remove_from_group() 90 dt_image_cache_write_release(darktable.image_cache, wimg, DT_IMAGE_CACHE_SAFE); in dt_grouping_remove_from_group() 105 dt_image_t *img = dt_image_cache_get(darktable.image_cache, image_id, 'r'); in dt_grouping_change_representative() 107 dt_image_cache_read_release(darktable.image_cache, img); in dt_grouping_change_representative() 131 const dt_image_t *image = dt_image_cache_get(darktable.image_cache, imgid, 'r'); in dt_grouping_get_group_images() 135 dt_image_cache_read_release(darktable.image_cache, image); in dt_grouping_get_group_images() [all …]
|
H A D | image.c | 169 img = dt_image_cache_get(darktable.image_cache, imgid, 'r'); in _image_set_monochrome_flag() 173 dt_image_cache_read_release(darktable.image_cache, img); in _image_set_monochrome_flag() 178 img = dt_image_cache_get(darktable.image_cache, imgid, 'w'); in _image_set_monochrome_flag() 462 dt_image_cache_read_release(darktable.image_cache, img); in dt_image_get_location() 675 dt_image_cache_read_release(darktable.image_cache, imgtmp); in dt_image_get_final_size() 802 dt_image_cache_read_release(darktable.image_cache, img); in dt_image_get_orientation() 1153 dt_image_cache_read_release(darktable.image_cache, img); in _image_duplicate_with_version() 1179 dt_image_cache_read_release(darktable.image_cache, img); in dt_image_remove() 1182 dt_image_cache_remove(darktable.image_cache, imgid); in dt_image_remove() 2309 dt_image_cache_read_release(darktable.image_cache, imgr); in dt_image_local_copy_reset() [all …]
|
H A D | ratings.c | 40 dt_image_t *image = dt_image_cache_get(darktable.image_cache, imgid, 'r'); in dt_ratings_get() 47 dt_image_cache_read_release(darktable.image_cache, image); in dt_ratings_get() 56 dt_image_t *image = dt_image_cache_get(darktable.image_cache, imgid, 'w'); in _ratings_apply_to_image() 80 dt_image_cache_write_release(darktable.image_cache, image, DT_IMAGE_CACHE_SAFE); in _ratings_apply_to_image() 84 dt_image_cache_write_release(darktable.image_cache, image, DT_IMAGE_CACHE_RELAXED); in _ratings_apply_to_image()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/image_fetcher/core/cache/ |
H A D | image_cache_unittest.cc | 194 image_cache()->LoadImage( in TEST_F() 205 image_cache()->LoadImage( in TEST_F() 233 image_cache()->LoadImage( in TEST_F() 247 image_cache()->LoadImage( in TEST_F() 267 image_cache()->LoadImage( in TEST_F() 282 image_cache()->LoadImage( in TEST_F() 293 image_cache()->LoadImage( in TEST_F() 309 image_cache()->LoadImage( in TEST_F() 332 image_cache()->LoadImage( in TEST_F() 347 image_cache()->LoadImage( in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/image_fetcher/core/cache/ |
H A D | image_cache_unittest.cc | 88 return image_cache()->AreAllDependenciesInitialized(); in IsCacheInitialized() 92 image_cache()->RunEvictionOnStartup(); in RunEvictionOnStartup() 104 image_cache()->RunEvictionWhenFull(); in RunEvictionWhenFull() 117 image_cache()->LoadImage( in LoadImage() 148 image_cache()->RunReconciliation(); in RunReconciliation() 203 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 209 image_cache()->DeleteImage(kImageUrl); in TEST_F() 213 image_cache()->LoadImage( in TEST_F() 225 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() 238 image_cache()->SaveImage(kImageUrl, kImageData, in TEST_F() [all …]
|
/dports/audio/drumgizmo/drumgizmo-0.9.19/plugingui/ |
H A D | texturedbox.cc | 34 TexturedBox::TexturedBox(ImageCache& image_cache, const std::string& filename, in TexturedBox() argument 38 : seg_a(image_cache, filename, x0 , y0 , dx1, dy1) in TexturedBox() 39 , seg_b(image_cache, filename, x0 + dx1 , y0 , dx2, dy1) in TexturedBox() 40 , seg_c(image_cache, filename, x0 + dx1 + dx2, y0 , dx3, dy1) in TexturedBox() 41 , seg_d(image_cache, filename, x0 , y0 + dy1 , dx1, dy2) in TexturedBox() 42 , seg_e(image_cache, filename, x0 + dx1 , y0 + dy1 , dx2, dy2) in TexturedBox() 43 , seg_f(image_cache, filename, x0 + dx1 + dx2, y0 + dy1 , dx3, dy2) in TexturedBox() 44 , seg_g(image_cache, filename, x0 , y0 + dy1 + dy2, dx1, dy3) in TexturedBox() 45 , seg_h(image_cache, filename, x0 + dx1 , y0 + dy1 + dy2, dx2, dy3) in TexturedBox() 46 , seg_i(image_cache, filename, x0 + dx1 + dx2, y0 + dy1 + dy2, dx3, dy3) in TexturedBox()
|
/dports/devel/py-pyface/pyface-7.2.0/pyface/action/tests/ |
H A D | test_action_item.py | 16 from pyface.image_cache import ImageCache 133 image_cache = ImageCache(height=32, width=32) 136 window.control, menu, image_cache, None, True 145 image_cache = ImageCache(height=32, width=32) 148 window.control, menu, image_cache, None, False 157 image_cache = ImageCache(height=32, width=32) 161 window.control, menu, image_cache, controller, True 170 image_cache = ImageCache(height=32, width=32) 174 window.control, menu, image_cache, controller, True 186 image_cache = ImageCache(height=32, width=32) [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms/ |
H A D | PrintPreviewControl.cs | 56 internal Image[] image_cache; field in System.Windows.Forms.PrintPreviewControl 193 if (image_cache == null) { in GeneratePreview() 194 image_cache = new Image[page_infos.Length]; in GeneratePreview() 203 Graphics g = Graphics.FromImage (image_cache[i]); in GeneratePreview() 214 image_cache = new Image[0]; in GeneratePreview() 258 if (page_infos == null || image_cache == null) in OnPaint() 399 if (image_cache != null) { in InvalidateLayout() 400 for (int i = 0; i < image_cache.Length; i++) { in InvalidateLayout() 401 if (image_cache[i] !=null) in InvalidateLayout() 402 image_cache[i].Dispose(); in InvalidateLayout() [all …]
|
/dports/graphics/py-cartopy/Cartopy-0.19.0.post1/lib/cartopy/tests/mpl/ |
H A D | test_caching.py | 199 image_cache = WMTSRasterSource._shared_image_cache 200 image_cache.clear() 201 assert len(image_cache) == 0 222 assert len(image_cache) == 1 223 assert len(image_cache[wmts]) == 1 225 assert len(image_cache[wmts][tiles_key]) == n_tiles 237 assert len(image_cache) == 1 238 assert len(image_cache[wmts]) == 1 240 assert len(image_cache[wmts][tiles_key]) == n_tiles 245 assert len(image_cache) == 0
|
/dports/games/widelands/widelands-build21/src/graphic/ |
H A D | font_handler.cc | 70 FontHandler(ImageCache* image_cache, const std::string& locale) in FontHandler() argument 75 rt_renderer_(new RT::Renderer(image_cache, texture_cache_.get(), fontsets_)), in FontHandler() 76 image_cache_(image_cache) { in FontHandler() 114 IFontHandler* create_fonthandler(ImageCache* image_cache, const std::string& locale) { in create_fonthandler() argument 115 return new FontHandler(image_cache, locale); in create_fonthandler()
|
/dports/graphics/embree/embree-3.13.2/tutorials/common/image/ |
H A D | image.cpp | 66 static std::map<std::string,Ref<Image> > image_cache; variable 74 if (image_cache.find(fileName) == image_cache.end()) in loadImage() 75 image_cache[fileName] = loadImageFromDisk(fileName); in loadImage() 77 return image_cache[fileName]; in loadImage()
|
/dports/games/crossfire-client/crossfire-client-1.75.1/common/ |
H A D | image.c | 180 } image_cache[IMAGE_HASH]; variable 214 if (image_cache[newhash].image_name == NULL) { in image_find_hash() 217 if (!strcmp(image_cache[newhash].image_name, str)) { in image_find_hash() 247 if (image_cache[hash_entry].cache_entry == ce) { in image_remove_hash() 248 image_cache[hash_entry].cache_entry = ce->next; in image_remove_hash() 253 last = image_cache[hash_entry].cache_entry; in image_remove_hash() 281 entry = image_cache[hash_entry].cache_entry; in image_find_cache_entry() 302 while (image_cache[newhash].image_name != NULL && in image_add_hash() 315 if (!image_cache[newhash].image_name) { in image_add_hash() 329 new_entry->next = image_cache[newhash].cache_entry; in image_add_hash() [all …]
|
/dports/lang/v/v-0.1.29/vlib/gg/ |
H A D | image.v | 41 id: ctx.image_cache.len 43 ctx.image_cache << img 47 img.id = ctx.image_cache.len 48 ctx.image_cache << img 111 img := ctx.image_cache[img_.id] // fetch the image from cache 138 img := ctx.image_cache[id]
|
/dports/devel/py-pyface/pyface-7.2.0/pyface/action/ |
H A D | action_item.py | 108 self, parent, tool_bar, image_cache, controller, show_labels=True argument 127 parent, tool_bar, image_cache, self, controller, show_labels 137 def add_to_palette(self, tool_palette, image_cache, show_labels=True): argument 151 wrapper = _PaletteTool(tool_palette, image_cache, self, show_labels)
|
/dports/x11-toolkits/Xmt/xmt400/Xmt/ |
H A D | Pixmap.c | 45 static XmtHashTable image_cache = NULL; variable 113 if (image_cache == NULL) { 114 image_cache = XmtHashTableCreate(3); 123 if (XmtHashTableLookup(image_cache, (XtPointer)q, (XtPointer *)&ie)) { 134 XmtHashTableStore(image_cache, (XtPointer)q, (XtPointer)ie); 190 if (image_cache == NULL) return None; 193 if (!XmtHashTableLookup(image_cache, (XtPointer)XrmStringToQuark(name), 267 if (image_cache == NULL) return None; 270 if (!XmtHashTableLookup(image_cache, (XtPointer)XrmStringToQuark(name), 364 if (image_cache == NULL) return None; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/image_fetcher/core/ |
H A D | image_fetcher_service.cc | 23 scoped_refptr<ImageCache> image_cache, in ImageFetcherService() argument 25 : image_cache_(image_cache), in ImageFetcherService() 31 image_cache, in ImageFetcherService()
|
H A D | cached_image_fetcher_unittest.cc | 126 scoped_refptr<ImageCache> image_cache() { return image_cache_; } in image_cache() function in image_fetcher::CachedImageFetcherTest 172 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 197 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 224 image_cache()->SaveImage(ImageUrl().spec(), kImageData, in TEST_F() 289 image_cache()->LoadImage( in TEST_F() 339 image_cache()->LoadImage( in TEST_F() 377 image_cache()->SaveImage(ImageUrl().spec(), kImageDataOther, in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/image_fetcher/core/ |
H A D | image_fetcher_service.cc | 23 scoped_refptr<ImageCache> image_cache, in ImageFetcherService() argument 25 : image_cache_(image_cache), in ImageFetcherService() 31 image_cache, in ImageFetcherService()
|
/dports/graphics/opencv/opencv-4.5.3/modules/python/test/ |
H A D | tests_common.py | 44 if not filename in self.image_cache: 48 … self.image_cache[filename] = cv.imdecode(np.fromstring(filedata, dtype=np.uint8), iscolor) 49 return self.image_cache[filename] 53 self.image_cache = {}
|
/dports/devel/py-pyface/pyface-7.2.0/pyface/ui/null/action/ |
H A D | action_item.py | 82 self, parent, tool_bar, image_cache, item, controller, show_labels argument 97 bmp = image_cache.get_bitmap(path) 125 def __init__(self, tool_palette, image_cache, item, show_labels): argument
|