Lines Matching refs:verbCnt
182 const int verbCnt = path.countVerbs(); in path_key_from_data_size() local
183 if (verbCnt > GrShape::kMaxKeyFromDataVerbCnt) { in path_key_from_data_size()
193 return 2 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()
200 const int verbCnt = path.countVerbs(); in write_path_key_from_data() local
203 SkASSERT(verbCnt <= GrShape::kMaxKeyFromDataVerbCnt); in write_path_key_from_data()
204 SkASSERT(pointCnt && verbCnt); in write_path_key_from_data()
206 *key++ = verbCnt; in write_path_key_from_data()
207 memcpy(key, SkPathPriv::VerbData(path), verbCnt * sizeof(uint8_t)); in write_path_key_from_data()
208 int verbKeySize = SkAlign4(verbCnt); in write_path_key_from_data()
210 uint8_t* pad = reinterpret_cast<uint8_t*>(key)+ verbCnt; in write_path_key_from_data()
211 memset(pad, 0xDE, verbKeySize - verbCnt); in write_path_key_from_data()