Lines Matching refs:bufferSize
99 uint32 bufferSize = 0; in Initialize() local
101 !SafeUint32Mult(dstEntries, sizeof(int32), &bufferSize)) { in Initialize()
105 fCoords.Reset (allocator.Allocate (bufferSize)); in Initialize()
188 uint32 bufferSize = 0; in Initialize() local
190 if (!SafeUint32Mult (fWeightStep, kResampleSubsampleCount, &bufferSize) || in Initialize()
191 !SafeUint32Mult (bufferSize, (uint32) sizeof (real32), &bufferSize)) in Initialize()
198 fWeights32.Reset (allocator.Allocate (bufferSize)); in Initialize()
203 if (!SafeUint32Mult (fWeightStep, kResampleSubsampleCount, &bufferSize) || in Initialize()
204 !SafeUint32Mult (bufferSize, (uint32) sizeof (int16), &bufferSize)) in Initialize()
211 fWeights16.Reset (allocator.Allocate (bufferSize)); in Initialize()
339 uint32 bufferSize = 0; in Initialize() local
341 if (!SafeUint32Mult (step, kResampleSubsampleCount2D, &bufferSize) || in Initialize()
342 !SafeUint32Mult (bufferSize, kResampleSubsampleCount2D, &bufferSize) || in Initialize()
343 !SafeUint32Mult (bufferSize, (uint32) sizeof (real32), &bufferSize)) in Initialize()
350 fWeights32.Reset (allocator.Allocate (bufferSize)); in Initialize()
356 if (!SafeUint32Mult (step, kResampleSubsampleCount2D, &bufferSize) || in Initialize()
357 !SafeUint32Mult (bufferSize, kResampleSubsampleCount2D, &bufferSize) || in Initialize()
358 !SafeUint32Mult (bufferSize, (uint32) sizeof (int16), &bufferSize)) in Initialize()
365 fWeights16.Reset (allocator.Allocate (bufferSize)); in Initialize()