Lines Matching refs:count
44 uint32_t hash = JenkinsHashMix(0, count);
45 for (uint32_t i = 0; i < count; i++) {
53 int deltaInt = int(lhs.count) - int(rhs.count);
56 deltaInt = memcmp(lhs.colors.get(), rhs.colors.get(), lhs.count * sizeof(uint32_t));
59 return memcmp(lhs.positions.get(), rhs.positions.get(), lhs.count * sizeof(float));
110 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) {
111 GradientCacheEntry gradient(colors, positions, count);
115 texture = addLinearGradient(gradient, colors, positions, count);
125 void GradientCache::getGradientInfo(const uint32_t* colors, const int count, GradientInfo& info) {
126 uint32_t width = 256 * (count - 1);
136 for (int i = 0; i < count; i++) {
148 float* positions, int count) {
150 getGradientInfo(colors, count, info);