Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkTemplatesPriv.h26 #define SK_PLACEMENT_NEW(result, classname, storage, storageSize) \ argument
29 #define SK_PLACEMENT_NEW_ARGS(result, classname, storage, storageSize, args) \ argument
37 SkASSERT(storageSize >= sizeof(classname)); \
48 SkASSERT(storageSize >= sizeof(classname)); \
DSkBlitter.cpp846 void* storage, size_t storageSize) in Choose() argument
848 SkASSERT(storageSize == 0 || storage != NULL); in Choose()
856 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in Choose()
878 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in Choose()
905 SK_PLACEMENT_NEW_ARGS(blitter, SkA1_Blitter, storage, storageSize, (device, paint)); in Choose()
910 … SK_PLACEMENT_NEW_ARGS(blitter, SkA8_Shader_Blitter, storage, storageSize, (device, paint)); in Choose()
912 SK_PLACEMENT_NEW_ARGS(blitter, SkA8_Blitter, storage, storageSize, (device, paint)); in Choose()
916 blitter = SkBlitter_ChooseD4444(device, paint, storage, storageSize); in Choose()
923 …_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Shader_Xfermode_Blitter, storage, storageSize, (device, paint… in Choose()
925 … SK_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Shader16_Blitter, storage, storageSize, (device, paint)); in Choose()
[all …]
DSkSpriteBlitter_RGB16.cpp321 void* storage, size_t storageSize) { in ChooseD16() argument
338 storage, storageSize, (source)); in ChooseD16()
343 storage, storageSize, (source)); in ChooseD16()
346 storage, storageSize, (source, alpha >> 4)); in ChooseD16()
352 storage, storageSize, (source)); in ChooseD16()
355 storage, storageSize, (source, alpha)); in ChooseD16()
366 storage, storageSize, (source)); in ChooseD16()
369 storage, storageSize, (source, alpha)); in ChooseD16()
374 storage, storageSize, (source)); in ChooseD16()
377 storage, storageSize, (source, alpha)); in ChooseD16()
DSkBlitter_Sprite.cpp71 void* storage, size_t storageSize) in ChooseSprite() argument
87 blitter = SkSpriteBlitter::ChooseD16(source, paint, storage, storageSize); in ChooseSprite()
90 blitter = SkSpriteBlitter::ChooseD32(source, paint, storage, storageSize); in ChooseSprite()
DSkSpriteBlitter_ARGB32.cpp278 void* storage, size_t storageSize) { in ChooseD32() argument
295 storage, storageSize, (source, paint)); in ChooseD32()
298 storage, storageSize, (source)); in ChooseD32()
301 storage, storageSize, (source)); in ChooseD32()
309 storage, storageSize, (source, paint)); in ChooseD32()
314 storage, storageSize, (source, alpha)); in ChooseD32()
DSkSpriteBlitter.h43 void* storage, size_t storageSize);
45 void* storage, size_t storageSize);
DSkDeque.cpp44 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize) in SkDeque() argument
46 SkASSERT(storageSize == 0 || storage != NULL); in SkDeque()
48 if (storageSize >= sizeof(Head) + elemSize) { in SkDeque()
50 fFront->init(storageSize); in SkDeque()
DSkBitmapProcShader.cpp248 void* storage, size_t storageSize) { in CreateBitmapShader() argument
252 SK_PLACEMENT_NEW_ARGS(shader, SkColorShader, storage, storageSize, in CreateBitmapShader()
256 storageSize, (src, tmx, tmy)); in CreateBitmapShader()
DSkBlitter_4444.cpp490 void* storage, size_t storageSize) in SkBlitter_ChooseD4444() argument
495 … SK_PLACEMENT_NEW_ARGS(blitter, SkARGB4444_Shader_Blitter, storage, storageSize, (device, paint)); in SkBlitter_ChooseD4444()
497 SK_PLACEMENT_NEW_ARGS(blitter, SkARGB4444_Blitter, storage, storageSize, (device, paint)); in SkBlitter_ChooseD4444()
DSkCoreBlitters.h272 void* storage, size_t storageSize);
/external/webkit/JavaScriptCore/runtime/
DJSArray.cpp89 static inline size_t storageSize(unsigned vectorLength) in storageSize() function
136 m_storage = static_cast<ArrayStorage*>(fastZeroedMalloc(storageSize(initialCapacity))); in JSArray()
149 m_storage = static_cast<ArrayStorage*>(fastMalloc(storageSize(initialCapacity))); in JSArray()
172 m_storage = static_cast<ArrayStorage*>(fastMalloc(storageSize(initialCapacity))); in JSArray()
187 Heap::heap(this)->reportExtraMemoryCost(storageSize(initialCapacity)); in JSArray()
351 storage = static_cast<ArrayStorage*>(tryFastRealloc(storage, storageSize(newVectorLength))); in putSlowCase()
359 … Heap::heap(this)->reportExtraMemoryCost(storageSize(newVectorLength) - storageSize(vectorLength)); in putSlowCase()
470 storage = static_cast<ArrayStorage*>(tryFastRealloc(storage, storageSize(newVectorLength))); in increaseVectorLength()
474 … Heap::heap(this)->reportExtraMemoryCost(storageSize(newVectorLength) - storageSize(vectorLength)); in increaseVectorLength()
DJSObject.cpp73 size_t storageSize = m_structure->propertyStorageSize(); in markChildren() local
74 markStack.appendValues(reinterpret_cast<JSValue*>(storage), storageSize); in markChildren()
/external/skia/include/core/
DSkBlitter.h59 void* storage, size_t storageSize);
65 void* storage, size_t storageSize);
DSkDeque.h25 SkDeque(size_t elemSize, void* storage, size_t storageSize);
DSkShader.h193 void* storage, size_t storageSize);
/external/webkit/JavaScriptCore/
DChangeLog-2009-06-166453 (JSC::storageSize):
14769 (JSC::storageSize):
30248 - PropertyMap::storageSize() should reflect the number of keys + deletedOffsets
35080 (JSC::JSObject::mark): There is no reason to check storageSize now that
35099 (JSC::PropertyMap::storageSize): Rename from markingCount.
DChangeLog-2008-08-1030711 (KJS::storageSize): Added. Computes the size of the storage given a vector length.