Searched refs:colors_ (Results 1 – 10 of 10) sorted by relevance
27 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()
29 uint32_t* colors_; // color entries member44 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()
27 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()
29 uint32_t *colors_; // color entries member44 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()
344 colors_[255] = 256; in ByteMapBuilder()356 int colors_[256]; member in re2::ByteMapBuilder390 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()
233 cef_color_t colors_[CEF_MENU_COLOR_COUNT] = {0}; member704 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()
768 hashers[i].colors_[key] = *argb; in CalculateBestCacheSize()
805 hashers[i].colors_[key] = *argb; in CalculateBestCacheSize()
1713 dec->hdr_.saved_color_cache_.colors_ == NULL) { in VP8LDecodeImage()
1716 dec->hdr_.saved_color_cache_.colors_ == NULL) { in VP8LDecodeImage()