Lines Matching refs:hash
64 uint32_t ParagraphCache::KeyHash::mix(uint32_t hash, uint32_t data) const { in mix() argument
65 hash += data; in mix()
66 hash += (hash << 10); in mix()
67 hash ^= (hash >> 6); in mix()
68 return hash; in mix()
72 uint32_t hash = 0; in operator ()() local
77 hash = mix(hash, SkGoodHash()(ph.fRange.start)); in operator ()()
78 hash = mix(hash, SkGoodHash()(ph.fRange.end)); in operator ()()
79 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fHeight))); in operator ()()
80 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fWidth))); in operator ()()
81 hash = mix(hash, SkGoodHash()(ph.fStyle.fAlignment)); in operator ()()
82 hash = mix(hash, SkGoodHash()(ph.fStyle.fBaseline)); in operator ()()
84 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fBaselineOffset))); in operator ()()
92 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getLetterSpacing()))); in operator ()()
93 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getWordSpacing()))); in operator ()()
94 hash = mix(hash, SkGoodHash()(ts.fStyle.getLocale())); in operator ()()
95 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getHeight()))); in operator ()()
96 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getBaselineShift()))); in operator ()()
98 hash = mix(hash, SkGoodHash()(ff)); in operator ()()
101 hash = mix(hash, SkGoodHash()(ff.fValue)); in operator ()()
102 hash = mix(hash, SkGoodHash()(ff.fName)); in operator ()()
104 hash = mix(hash, SkGoodHash()(ts.fStyle.getFontStyle())); in operator ()()
105 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getFontSize()))); in operator ()()
106 hash = mix(hash, SkGoodHash()(ts.fRange)); in operator ()()
109 hash = mix(hash, SkGoodHash()(relax(key.fParagraphStyle.getHeight()))); in operator ()()
110 hash = mix(hash, SkGoodHash()(key.fParagraphStyle.getTextDirection())); in operator ()()
114 hash = mix(hash, SkGoodHash()(relax(strutStyle.getHeight()))); in operator ()()
115 hash = mix(hash, SkGoodHash()(relax(strutStyle.getLeading()))); in operator ()()
116 hash = mix(hash, SkGoodHash()(relax(strutStyle.getFontSize()))); in operator ()()
117 hash = mix(hash, SkGoodHash()(strutStyle.getHeightOverride())); in operator ()()
118 hash = mix(hash, SkGoodHash()(strutStyle.getFontStyle())); in operator ()()
119 hash = mix(hash, SkGoodHash()(strutStyle.getForceStrutHeight())); in operator ()()
121 hash = mix(hash, SkGoodHash()(ff)); in operator ()()
125 hash = mix(hash, SkGoodHash()(key.fText)); in operator ()()
126 return hash; in operator ()()