Home | History | Annotate | Download | only in source

Lines Matching full:buffersize

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