Home
last modified time | relevance | path

Searched refs:fTStorage (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/private/
DSkTemplates.h272 SkAutoSTMalloc() : fPtr(fTStorage) {} in SkAutoSTMalloc()
278 fPtr = fTStorage; in SkAutoSTMalloc()
290 if (fPtr != fTStorage) { in ~SkAutoSTMalloc()
297 if (fPtr != fTStorage) { in reset()
303 fPtr = fTStorage; in reset()
331 if (fPtr == fTStorage) { in realloc()
333 memcpy(fPtr, fTStorage, kCount * sizeof(T)); in realloc()
338 if (fPtr != fTStorage) { in realloc()
363 T fTStorage[1]; // do NOT want to invoke T::T() member
/external/skqp/include/private/
DSkTemplates.h266 SkAutoSTMalloc() : fPtr(fTStorage) {} in SkAutoSTMalloc()
272 fPtr = fTStorage; in SkAutoSTMalloc()
284 if (fPtr != fTStorage) { in ~SkAutoSTMalloc()
291 if (fPtr != fTStorage) { in reset()
297 fPtr = fTStorage; in reset()
325 if (fPtr == fTStorage) { in realloc()
327 memcpy(fPtr, fTStorage, kCount * sizeof(T)); in realloc()
332 if (fPtr != fTStorage) { in realloc()
357 T fTStorage[1]; // do NOT want to invoke T::T() member