• Home
  • Raw
  • Download

Lines Matching refs:oldCount

58     int oldCount = fAnimators.count();  in append()  local
62 int total = oldCount + newCount; in append()
66 memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*)); in append()
67 for (index = oldCount; index < total; index++) in append()
70 memcpy(&fAnimators[oldCount], animates.begin(), sizeof(fAnimators[0]) * in append()
73 initState(apply, oldCount); in append()
78 SkActive::SkState& testState = fState[oldCount + index]; in append()
79 for (int inner = 0; inner < oldCount; inner++) { in append()
98 saveIndex -= oldCount; in append()
105 oldCount--; in append()
116 void SkActive::appendSave(int oldCount) { in appendSave() argument
121 int records = saveIndex / oldCount; in appendSave()
125 saveIndex -= oldCount; in appendSave()
129 memmove(&fSaveRestore[newTotal], &fSaveRestore[saveIndex], oldCount); in appendSave()
130 memset(&fSaveRestore[newTotal + oldCount], 0, in appendSave()
131 sizeof(fSaveRestore[0]) * (newCount - oldCount)); in appendSave()
133 &fSaveInterpolators[saveIndex], oldCount); in appendSave()
134 memset(&fSaveInterpolators[newTotal + oldCount], 0, in appendSave()
135 sizeof(fSaveRestore[0]) * (newCount - oldCount)); in appendSave()
256 int oldCount = fSaveRestore.count(); in initializeSave() local
257 if (oldCount < activeTotal) { in initializeSave()
259 memset(&fSaveRestore[oldCount], 0, sizeof(fSaveRestore[0]) * (activeTotal - oldCount)); in initializeSave()
260 SkASSERT(fSaveInterpolators.count() == oldCount); in initializeSave()
262 memset(&fSaveInterpolators[oldCount], 0, in initializeSave()
263 sizeof(fSaveInterpolators[0]) * (activeTotal - oldCount)); in initializeSave()