Searched refs:newMemArray (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/skia/include/core/ |
D | SkTArray.h | 28 inline void copyAndDelete(SkTArray<T, true>* self, char* newMemArray) { in copyAndDelete() argument 29 memcpy(newMemArray, self->fMemArray, self->fCount * sizeof(T)); in copyAndDelete() 43 inline void copyAndDelete(SkTArray<T, false>* self, char* newMemArray) { in copyAndDelete() argument 45 SkNEW_PLACEMENT_ARGS(newMemArray + sizeof(T) * i, T, (self->fItemArray[i])); in copyAndDelete() 428 char* newMemArray; in checkRealloc() local 431 newMemArray = (char*) fPreAllocMemArray; in checkRealloc() 433 newMemArray = (char*) sk_malloc_throw(fAllocCount*sizeof(T)); in checkRealloc() 436 SkTArrayExt::copyAndDelete<T>(this, newMemArray); in checkRealloc() 441 fMemArray = newMemArray; in checkRealloc()
|
/external/skia/include/core/ |
D | SkTArray.h | 28 inline void copyAndDelete(SkTArray<T, true>* self, char* newMemArray) { in copyAndDelete() argument 29 memcpy(newMemArray, self->fMemArray, self->fCount * sizeof(T)); in copyAndDelete() 43 inline void copyAndDelete(SkTArray<T, false>* self, char* newMemArray) { in copyAndDelete() argument 45 SkNEW_PLACEMENT_ARGS(newMemArray + sizeof(T) * i, T, (self->fItemArray[i])); in copyAndDelete() 428 char* newMemArray; in checkRealloc() local 431 newMemArray = (char*) fPreAllocMemArray; in checkRealloc() 433 newMemArray = (char*) sk_malloc_throw(fAllocCount*sizeof(T)); in checkRealloc() 436 SkTArrayExt::copyAndDelete<T>(this, newMemArray); in checkRealloc() 441 fMemArray = newMemArray; in checkRealloc()
|