Home
last modified time | relevance | path

Searched refs:fAllocator (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/src/gpu/
DGrAllocator.h166 : 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/
DGrAllocator.h166 : 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/
DNameAllocatorTest.cpp22 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/
DNameAllocatorTest.cpp22 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/
DSkPdfNativeDoc.cpp74 : 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 …]
DSkPdfNativeTokenizer.cpp895 , 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()
DSkPdfNativeDoc.h148 SkPdfAllocator* fAllocator; variable
DSkPdfNativeTokenizer.h185 SkPdfAllocator* fAllocator; variable
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/
DSkPdfNativeDoc.cpp74 : 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 …]
DSkPdfNativeTokenizer.cpp895 , 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()
DSkPdfNativeDoc.h148 SkPdfAllocator* fAllocator; variable
DSkPdfNativeTokenizer.h185 SkPdfAllocator* fAllocator; variable
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder.cpp22 , 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/
DSkImageDecoder.cpp22 , 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/
DSamplePipeControllers.cpp86 : fAllocator(kMinBlockSize) in ThreadSafePipeController()
99 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
DSamplePipeControllers.h84 SkChunkAlloc fAllocator; variable
/external/skia/src/pipe/utils/
DSamplePipeControllers.cpp86 : fAllocator(kMinBlockSize) in ThreadSafePipeController()
99 fBlock = fAllocator.allocThrow(blockSize); in requestBlock()
DSamplePipeControllers.h84 SkChunkAlloc fAllocator; variable
/external/chromium_org/third_party/skia/src/core/
DSkScaledImageCache.h167 SkBitmap::Allocator* allocator() const { return fAllocator; }; in allocator()
186 SkBitmap::Allocator* fAllocator; variable
/external/skia/src/core/
DSkScaledImageCache.h167 SkBitmap::Allocator* allocator() const { return fAllocator; }; in allocator()
186 SkBitmap::Allocator* fAllocator; variable
DSkScaledImageCache.cpp171 fAllocator = NULL; in init()
296 fAllocator = SkNEW_ARGS(SkScaledImageCacheDiscardableAllocator, (factory)); in SkScaledImageCache()
305 SkSafeUnref(fAllocator); in ~SkScaledImageCache()
/external/skia/src/utils/
DSkDeferredCanvas.cpp69 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/
DSkDeferredCanvas.cpp69 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/
DSkImageDecoder.h208 SkBitmap::Allocator* getAllocator() const { return fAllocator; } in getAllocator()
473 SkBitmap::Allocator* fAllocator; variable
/external/skia/include/core/
DSkImageDecoder.h208 SkBitmap::Allocator* getAllocator() const { return fAllocator; } in getAllocator()
473 SkBitmap::Allocator* fAllocator; variable

12