Lines Matching refs:verbCnt
93 const int verbCnt = path.countVerbs(); in path_key_from_data_size() local
94 if (verbCnt > GrStyledShape::kMaxKeyFromDataVerbCnt) { in path_key_from_data_size()
104 return 1 + (SkAlign4(verbCnt) >> 2) + 2 * pointCnt + conicWeightCnt; in path_key_from_data_size()
111 const int verbCnt = path.countVerbs(); in write_path_key_from_data() local
114 SkASSERT(verbCnt <= GrStyledShape::kMaxKeyFromDataVerbCnt); in write_path_key_from_data()
115 SkASSERT(pointCnt && verbCnt); in write_path_key_from_data()
116 *key++ = verbCnt; in write_path_key_from_data()
117 memcpy(key, SkPathPriv::VerbData(path), verbCnt * sizeof(uint8_t)); in write_path_key_from_data()
118 int verbKeySize = SkAlign4(verbCnt); in write_path_key_from_data()
120 uint8_t* pad = reinterpret_cast<uint8_t*>(key)+ verbCnt; in write_path_key_from_data()
121 memset(pad, 0xDE, verbKeySize - verbCnt); in write_path_key_from_data()