Home
last modified time | relevance | path

Searched refs:colors_ (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/utils/
Dcolor_cache_utils.c27 color_cache->colors_ = (uint32_t*)WebPSafeCalloc( in VP8LColorCacheInit()
28 (uint64_t)hash_size, sizeof(*color_cache->colors_)); in VP8LColorCacheInit()
29 if (color_cache->colors_ == NULL) return 0; in VP8LColorCacheInit()
37 WebPSafeFree(color_cache->colors_); in VP8LColorCacheClear()
38 color_cache->colors_ = NULL; in VP8LColorCacheClear()
47 memcpy(dst->colors_, src->colors_, in VP8LColorCacheCopy()
48 ((size_t)1u << dst->hash_bits_) * sizeof(*dst->colors_)); in VP8LColorCacheCopy()
Dcolor_cache_utils.h29 uint32_t* colors_; // color entries member
44 return cc->colors_[key]; in VP8LColorCacheLookup()
50 cc->colors_[key] = argb; in VP8LColorCacheSet()
56 cc->colors_[key] = argb; in VP8LColorCacheInsert()
68 return (cc->colors_[key] == argb) ? key : -1; in VP8LColorCacheContains()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dcolor_cache_utils.c27 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
28 sizeof(*cc->colors_)); in VP8LColorCacheInit()
29 if (cc->colors_ == NULL) return 0; in VP8LColorCacheInit()
37 WebPSafeFree(cc->colors_); in VP8LColorCacheClear()
38 cc->colors_ = NULL; in VP8LColorCacheClear()
47 memcpy(dst->colors_, src->colors_, in VP8LColorCacheCopy()
48 ((size_t)1u << dst->hash_bits_) * sizeof(*dst->colors_)); in VP8LColorCacheCopy()
Dcolor_cache_utils.h29 uint32_t *colors_; // color entries member
44 return cc->colors_[key]; in VP8LColorCacheLookup()
50 cc->colors_[key] = argb; in VP8LColorCacheSet()
56 cc->colors_[key] = argb; in VP8LColorCacheInsert()
68 return (cc->colors_[key] == argb) ? key : -1; in VP8LColorCacheContains()
/third_party/re2/re2/
Dprog.cc344 colors_[255] = 256; in ByteMapBuilder()
356 int colors_[256]; member in re2::ByteMapBuilder
390 colors_[lo] = colors_[next]; in Merge()
395 colors_[hi] = colors_[next]; in Merge()
401 colors_[next] = Recolor(colors_[next]); in Merge()
418 uint8_t b = static_cast<uint8_t>(Recolor(colors_[next])); in Build()
/third_party/cef/libcef/browser/
Dmenu_model_impl.cc233 cef_color_t colors_[CEF_MENU_COLOR_COUNT] = {0}; member
704 item.colors_[color_type] = color; in SetColorAt()
733 color = item.colors_[color_type]; in GetColorAt()
828 if (item.colors_[color_type] != 0) { in GetTextColor()
829 *override_color = item.colors_[color_type]; in GetTextColor()
852 if (item.colors_[color_type] != 0) { in GetBackgroundColor()
853 *override_color = item.colors_[color_type]; in GetBackgroundColor()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.c768 hashers[i].colors_[key] = *argb; in CalculateBestCacheSize()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.c805 hashers[i].colors_[key] = *argb; in CalculateBestCacheSize()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c1713 dec->hdr_.saved_color_cache_.colors_ == NULL) { in VP8LDecodeImage()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c1716 dec->hdr_.saved_color_cache_.colors_ == NULL) { in VP8LDecodeImage()