Home
last modified time | relevance | path

Searched refs:storageSize (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/legacy/src/core/
DSkTemplatesPriv.h18 #define SK_PLACEMENT_NEW(result, classname, storage, storageSize) \ argument
21 #define SK_PLACEMENT_NEW_ARGS(result, classname, storage, storageSize, args) \ argument
29 SkASSERT(storageSize >= sizeof(classname)); \
40 SkASSERT(storageSize >= sizeof(classname)); \
DSkSpriteBlitter_RGB16.cpp313 void* storage, size_t storageSize) { in ChooseD16() argument
330 storage, storageSize, (source)); in ChooseD16()
335 storage, storageSize, (source)); in ChooseD16()
338 storage, storageSize, (source, alpha >> 4)); in ChooseD16()
344 storage, storageSize, (source)); in ChooseD16()
347 storage, storageSize, (source, alpha)); in ChooseD16()
358 storage, storageSize, (source)); in ChooseD16()
361 storage, storageSize, (source, alpha)); in ChooseD16()
366 storage, storageSize, (source)); in ChooseD16()
369 storage, storageSize, (source, alpha)); in ChooseD16()
DSkBlitter_Sprite.cpp56 void* storage, size_t storageSize) { in ChooseSprite() argument
72 storageSize); in ChooseSprite()
76 storageSize); in ChooseSprite()
DSkSpriteBlitter_ARGB32.cpp270 void* storage, size_t storageSize) { in ChooseD32() argument
287 storage, storageSize, (source, paint)); in ChooseD32()
290 storage, storageSize, (source)); in ChooseD32()
293 storage, storageSize, (source)); in ChooseD32()
301 storage, storageSize, (source, paint)); in ChooseD32()
306 storage, storageSize, (source, alpha)); in ChooseD32()
DSkSpriteBlitter.h35 void* storage, size_t storageSize);
37 void* storage, size_t storageSize);
DSkBlitter.cpp837 void* storage, size_t storageSize) { argument
838 SkASSERT(storageSize == 0 || storage != NULL);
845 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize);
869 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize);
909 storage, storageSize, (device, paint));
915 storage, storageSize, (device, paint));
918 storage, storageSize, (device, paint));
923 blitter = SkBlitter_ChooseD4444(device, paint, storage, storageSize);
927 blitter = SkBlitter_ChooseD565(device, paint, storage, storageSize);
933 storage, storageSize, (device, paint));
[all …]
DSkDeque.cpp36 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize) in SkDeque() argument
38 SkASSERT(storageSize == 0 || storage != NULL); in SkDeque()
40 if (storageSize >= sizeof(Head) + elemSize) { in SkDeque()
42 fFront->init(storageSize); in SkDeque()
DSkBitmapProcShader.cpp276 void* storage, size_t storageSize) { in CreateBitmapShader() argument
280 SK_PLACEMENT_NEW(shader, SkEmptyShader, storage, storageSize); in CreateBitmapShader()
283 SK_PLACEMENT_NEW_ARGS(shader, SkColorShader, storage, storageSize, in CreateBitmapShader()
287 storageSize, (src, tmx, tmy)); in CreateBitmapShader()
DSkCoreBlitters.h180 void* storage, size_t storageSize);
184 void* storage, size_t storageSize);
DSkBlitter_RGB16.cpp1026 void* storage, size_t storageSize) { in SkBlitter_ChooseD565() argument
1037 storage, storageSize, (device, paint)); in SkBlitter_ChooseD565()
1040 storage, storageSize, (device, paint)); in SkBlitter_ChooseD565()
1043 storage, storageSize, (device, paint)); in SkBlitter_ChooseD565()
1049 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in SkBlitter_ChooseD565()
1053 storageSize, (device, paint)); in SkBlitter_ChooseD565()
1057 storageSize, (device, paint)); in SkBlitter_ChooseD565()
1060 storageSize, (device, paint)); in SkBlitter_ChooseD565()
/external/skia/src/core/
DSkTemplatesPriv.h18 #define SK_PLACEMENT_NEW(result, classname, storage, storageSize) \ argument
21 #define SK_PLACEMENT_NEW_ARGS(result, classname, storage, storageSize, args) \ argument
29 SkASSERT(storageSize >= sizeof(classname)); \
40 SkASSERT(storageSize >= sizeof(classname)); \
DSkSpriteBlitter_RGB16.cpp313 void* storage, size_t storageSize) { in ChooseD16() argument
330 storage, storageSize, (source)); in ChooseD16()
335 storage, storageSize, (source)); in ChooseD16()
338 storage, storageSize, (source, alpha >> 4)); in ChooseD16()
344 storage, storageSize, (source)); in ChooseD16()
347 storage, storageSize, (source, alpha)); in ChooseD16()
358 storage, storageSize, (source)); in ChooseD16()
361 storage, storageSize, (source, alpha)); in ChooseD16()
366 storage, storageSize, (source)); in ChooseD16()
369 storage, storageSize, (source, alpha)); in ChooseD16()
DSkWriter32.cpp10 SkWriter32::SkWriter32(size_t minSize, void* storage, size_t storageSize) { in SkWriter32() argument
16 if (storageSize) { in SkWriter32()
17 this->reset(storage, storageSize); in SkWriter32()
44 void SkWriter32::reset(void* storage, size_t storageSize) { in reset() argument
47 storageSize &= ~3; // trunc down to multiple of 4 in reset()
48 if (storageSize > 0 && SkIsAlign4((intptr_t)storage)) { in reset()
49 fHead = fTail = fExternalBlock.initFromStorage(storage, storageSize); in reset()
DSkBlitter_Sprite.cpp56 void* storage, size_t storageSize) { in ChooseSprite() argument
72 storageSize); in ChooseSprite()
76 storageSize); in ChooseSprite()
DSkSpriteBlitter_ARGB32.cpp270 void* storage, size_t storageSize) { in ChooseD32() argument
287 storage, storageSize, (source, paint)); in ChooseD32()
290 storage, storageSize, (source)); in ChooseD32()
293 storage, storageSize, (source)); in ChooseD32()
301 storage, storageSize, (source, paint)); in ChooseD32()
306 storage, storageSize, (source, alpha)); in ChooseD32()
DSkBlitter.cpp853 void* storage, size_t storageSize) { in Choose() argument
854 SkASSERT(storageSize == 0 || storage != NULL); in Choose()
861 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in Choose()
887 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in Choose()
939 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in Choose()
946 storage, storageSize, (device, *paint)); in Choose()
952 storage, storageSize, (device, *paint)); in Choose()
955 storage, storageSize, (device, *paint)); in Choose()
960 blitter = SkBlitter_ChooseD4444(device, *paint, storage, storageSize); in Choose()
964 blitter = SkBlitter_ChooseD565(device, *paint, storage, storageSize); in Choose()
[all …]
DSkSpriteBlitter.h35 void* storage, size_t storageSize);
37 void* storage, size_t storageSize);
DSkDeque.cpp39 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument
44 SkASSERT(storageSize == 0 || storage != NULL); in SkDeque()
47 if (storageSize >= sizeof(Block) + elemSize) { in SkDeque()
49 fFrontBlock->init(storageSize); in SkDeque()
DSkBitmapProcShader.cpp291 void* storage, size_t storageSize) { in CreateBitmapShader() argument
295 SK_PLACEMENT_NEW(shader, SkEmptyShader, storage, storageSize); in CreateBitmapShader()
298 SK_PLACEMENT_NEW_ARGS(shader, SkColorShader, storage, storageSize, in CreateBitmapShader()
302 storageSize, (src, tmx, tmy)); in CreateBitmapShader()
DSkBlitter.h79 void* storage, size_t storageSize);
85 void* storage, size_t storageSize);
DSkCoreBlitters.h185 void* storage, size_t storageSize);
189 void* storage, size_t storageSize);
DSkBlitter_RGB16.cpp1026 void* storage, size_t storageSize) { in SkBlitter_ChooseD565() argument
1037 storage, storageSize, (device, paint)); in SkBlitter_ChooseD565()
1040 storage, storageSize, (device, paint)); in SkBlitter_ChooseD565()
1043 storage, storageSize, (device, paint)); in SkBlitter_ChooseD565()
1049 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in SkBlitter_ChooseD565()
1053 storageSize, (device, paint)); in SkBlitter_ChooseD565()
1057 storageSize, (device, paint)); in SkBlitter_ChooseD565()
1060 storageSize, (device, paint)); in SkBlitter_ChooseD565()
/external/webkit/Source/JavaScriptCore/runtime/
DJSArray.cpp102 static inline size_t storageSize(unsigned vectorLength) in storageSize() function
141 m_storage = static_cast<ArrayStorage*>(fastZeroedMalloc(storageSize(initialCapacity))); in JSArray()
148 Heap::heap(this)->reportExtraMemoryCost(storageSize(0)); in JSArray()
162 m_storage = static_cast<ArrayStorage*>(fastMalloc(storageSize(initialCapacity))); in JSArray()
190 Heap::heap(this)->reportExtraMemoryCost(storageSize(initialCapacity)); in JSArray()
208 m_storage = static_cast<ArrayStorage*>(fastMalloc(storageSize(initialStorage))); in JSArray()
231 Heap::heap(this)->reportExtraMemoryCost(storageSize(initialStorage)); in JSArray()
444 …if (!tryFastRealloc(baseStorage, storageSize(newVectorLength + m_indexBias)).getValue(baseStorage)… in putSlowCase()
478 … Heap::heap(this)->reportExtraMemoryCost(storageSize(newVectorLength) - storageSize(vectorLength)); in putSlowCase()
597 …if (!tryFastRealloc(baseStorage, storageSize(newVectorLength + m_indexBias)).getValue(baseStorage)) in increaseVectorLength()
[all …]
/external/skia/legacy/include/core/
DSkBlitter.h72 void* storage, size_t storageSize);
78 void* storage, size_t storageSize);
DSkDeque.h18 SkDeque(size_t elemSize, void* storage, size_t storageSize);

12