/external/skia/src/gpu/ |
D | GrAllocator.h | 166 : fAllocator(sizeof(T), itemsPerBlock, NULL) {} in GrTAllocator() 174 void* item = fAllocator.push_back(); in push_back() 181 void* item = fAllocator.push_back(); in push_back() 191 int c = fAllocator.count(); in reset() 193 ((T*)fAllocator[i])->~T(); in reset() 195 fAllocator.reset(); in reset() 202 return fAllocator.count(); in count() 208 bool empty() const { return fAllocator.empty(); } in empty() 214 return *(T*)fAllocator.back(); in back() 221 return *(const T*)fAllocator.back(); in back() [all …]
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrAllocator.h | 166 : fAllocator(sizeof(T), itemsPerBlock, NULL) {} in GrTAllocator() 174 void* item = fAllocator.push_back(); in push_back() 181 void* item = fAllocator.push_back(); in push_back() 191 int c = fAllocator.count(); in reset() 193 ((T*)fAllocator[i])->~T(); in reset() 195 fAllocator.reset(); in reset() 202 return fAllocator.count(); in count() 208 bool empty() const { return fAllocator.empty(); } in empty() 214 return *(T*)fAllocator.back(); in back() 221 return *(const T*)fAllocator.back(); in back() [all …]
|
/external/skia/tests/ |
D | NameAllocatorTest.cpp | 22 fAllocator(kFirstName, kFirstName + kRange), in NameLeakTest() 56 GrGLuint name = fAllocator.allocateName(); in allocateAllRemaining() 78 GrGLuint name = fAllocator.allocateName(); in allocateAllRemaining() 114 fAllocator.free(name); in freeRandomNames() 123 GrGLNameAllocator fAllocator; member in NameLeakTest
|
/external/chromium_org/third_party/skia/tests/ |
D | NameAllocatorTest.cpp | 22 fAllocator(kFirstName, kFirstName + kRange), in NameLeakTest() 56 GrGLuint name = fAllocator.allocateName(); in allocateAllRemaining() 78 GrGLuint name = fAllocator.allocateName(); in allocateAllRemaining() 114 fAllocator.free(name); in freeRandomNames() 123 GrGLNameAllocator fAllocator; member in NameLeakTest
|
/external/skia/experimental/PdfViewer/pdfparser/native/ |
D | SkPdfNativeDoc.cpp | 74 : fAllocator(new SkPdfAllocator()) in SkPdfNativeDoc() 87 : fAllocator(new SkPdfAllocator()) in SkPdfNativeDoc() 194 SkPdfNativeObject* obj = fAllocator->allocObject(); in loadWithoutXRef() 195 current = nextObject(current, end, obj, fAllocator, this); in loadWithoutXRef() 238 delete fAllocator; in ~SkPdfNativeDoc() 336 current = nextObject(current, trailerEnd, &token, fAllocator, NULL); in readTrailer() 382 SkPdfNativeTokenizer tokenizer(current, (int) (end - current), fAllocator, this); in readObject() 387 SkPdfNativeObject* dict = fAllocator->allocObject(); in readObject() 428 current = nextObject(current, end, dict, fAllocator, this); in readObject() 508 SkPdfNativeObject* obj = fAllocator->allocObject(); in createReal() [all …]
|
D | SkPdfNativeTokenizer.cpp | 895 , fAllocator(allocator) in SkPdfNativeTokenizer() 917 , fAllocator(allocator) in SkPdfNativeTokenizer() 949 …fUncompressedStream = nextObject(fUncompressedStream, fUncompressedStreamEnd, &obj, fAllocator, fD… in readTokenCore() 958 SkPdfNativeObject* pobj = fAllocator->allocObject(); in readTokenCore() 1097 SkPdfImageDictionary* inlineImage = (SkPdfImageDictionary*)fAllocator->allocObject(); in readInlineImage() 1103 SkPdfNativeObject* key = fAllocator->allocObject(); in readInlineImage() 1105 fAllocator, fDoc); in readInlineImage() 1114 SkPdfNativeObject* obj = fAllocator->allocObject(); in readInlineImage() 1116 fAllocator, fDoc); in readInlineImage()
|
D | SkPdfNativeDoc.h | 148 SkPdfAllocator* fAllocator; variable
|
D | SkPdfNativeTokenizer.h | 185 SkPdfAllocator* fAllocator; variable
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/ |
D | SkPdfNativeDoc.cpp | 74 : fAllocator(new SkPdfAllocator()) in SkPdfNativeDoc() 87 : fAllocator(new SkPdfAllocator()) in SkPdfNativeDoc() 194 SkPdfNativeObject* obj = fAllocator->allocObject(); in loadWithoutXRef() 195 current = nextObject(current, end, obj, fAllocator, this); in loadWithoutXRef() 238 delete fAllocator; in ~SkPdfNativeDoc() 336 current = nextObject(current, trailerEnd, &token, fAllocator, NULL); in readTrailer() 382 SkPdfNativeTokenizer tokenizer(current, (int) (end - current), fAllocator, this); in readObject() 387 SkPdfNativeObject* dict = fAllocator->allocObject(); in readObject() 428 current = nextObject(current, end, dict, fAllocator, this); in readObject() 508 SkPdfNativeObject* obj = fAllocator->allocObject(); in createReal() [all …]
|
D | SkPdfNativeTokenizer.cpp | 895 , fAllocator(allocator) in SkPdfNativeTokenizer() 917 , fAllocator(allocator) in SkPdfNativeTokenizer() 949 …fUncompressedStream = nextObject(fUncompressedStream, fUncompressedStreamEnd, &obj, fAllocator, fD… in readTokenCore() 958 SkPdfNativeObject* pobj = fAllocator->allocObject(); in readTokenCore() 1097 SkPdfImageDictionary* inlineImage = (SkPdfImageDictionary*)fAllocator->allocObject(); in readInlineImage() 1103 SkPdfNativeObject* key = fAllocator->allocObject(); in readInlineImage() 1105 fAllocator, fDoc); in readInlineImage() 1114 SkPdfNativeObject* obj = fAllocator->allocObject(); in readInlineImage() 1116 fAllocator, fDoc); in readInlineImage()
|
D | SkPdfNativeDoc.h | 148 SkPdfAllocator* fAllocator; variable
|
D | SkPdfNativeTokenizer.h | 185 SkPdfAllocator* fAllocator; variable
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkImageDecoder.cpp | 22 , fAllocator(NULL) in SkImageDecoder() 39 SkSafeUnref(fAllocator); in ~SkImageDecoder() 50 other->setAllocator(fAllocator); in copyFieldsToOther() 114 SkRefCnt_SafeAssign(fAllocator, alloc); in setAllocator() 142 return bitmap->allocPixels(fAllocator, ctable); in allocPixelRef()
|
/external/skia/src/images/ |
D | SkImageDecoder.cpp | 22 , fAllocator(NULL) in SkImageDecoder() 39 SkSafeUnref(fAllocator); in ~SkImageDecoder() 50 other->setAllocator(fAllocator); in copyFieldsToOther() 114 SkRefCnt_SafeAssign(fAllocator, alloc); in setAllocator() 142 return bitmap->allocPixels(fAllocator, ctable); in allocPixelRef()
|
/external/chromium_org/third_party/skia/src/pipe/utils/ |
D | SamplePipeControllers.cpp | 86 : fAllocator(kMinBlockSize) in ThreadSafePipeController() 99 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
|
D | SamplePipeControllers.h | 84 SkChunkAlloc fAllocator; variable
|
/external/skia/src/pipe/utils/ |
D | SamplePipeControllers.cpp | 86 : fAllocator(kMinBlockSize) in ThreadSafePipeController() 99 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
|
D | SamplePipeControllers.h | 84 SkChunkAlloc fAllocator; variable
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkScaledImageCache.h | 167 SkBitmap::Allocator* allocator() const { return fAllocator; }; in allocator() 186 SkBitmap::Allocator* fAllocator; variable
|
/external/skia/src/core/ |
D | SkScaledImageCache.h | 167 SkBitmap::Allocator* allocator() const { return fAllocator; }; in allocator() 186 SkBitmap::Allocator* fAllocator; variable
|
D | SkScaledImageCache.cpp | 171 fAllocator = NULL; in init() 296 fAllocator = SkNEW_ARGS(SkScaledImageCacheDiscardableAllocator, (factory)); in SkScaledImageCache() 305 SkSafeUnref(fAllocator); in ~SkScaledImageCache()
|
/external/skia/src/utils/ |
D | SkDeferredCanvas.cpp | 69 bool hasPendingCommands() const { return fAllocator.blockCount() != 0; } in hasPendingCommands() 70 size_t storageAllocatedForRecording() const { return fAllocator.totalCapacity(); } in storageAllocatedForRecording() 82 SkChunkAlloc fAllocator; member in DeferredPipeController 88 fAllocator(kMinBlockSize) { in DeferredPipeController() 94 fAllocator.reset(); in ~DeferredPipeController() 108 fBlock = fAllocator.allocThrow(blockSize); in requestBlock() 132 fAllocator.reset(); in playback()
|
/external/chromium_org/third_party/skia/src/utils/ |
D | SkDeferredCanvas.cpp | 69 bool hasPendingCommands() const { return fAllocator.blockCount() != 0; } in hasPendingCommands() 70 size_t storageAllocatedForRecording() const { return fAllocator.totalCapacity(); } in storageAllocatedForRecording() 82 SkChunkAlloc fAllocator; member in DeferredPipeController 88 fAllocator(kMinBlockSize) { in DeferredPipeController() 94 fAllocator.reset(); in ~DeferredPipeController() 108 fBlock = fAllocator.allocThrow(blockSize); in requestBlock() 132 fAllocator.reset(); in playback()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkImageDecoder.h | 208 SkBitmap::Allocator* getAllocator() const { return fAllocator; } in getAllocator() 473 SkBitmap::Allocator* fAllocator; variable
|
/external/skia/include/core/ |
D | SkImageDecoder.h | 208 SkBitmap::Allocator* getAllocator() const { return fAllocator; } in getAllocator() 473 SkBitmap::Allocator* fAllocator; variable
|