Searched refs:fStorage (Results 1 - 25 of 77) sorted by relevance

1234

/external/chromium_org/third_party/skia/src/ports/
H A DSkMutex_win.h40 InitializeCriticalSection(&fStorage);
46 DeleteCriticalSection(&fStorage);
50 EnterCriticalSection(&fStorage);
57 LeaveCriticalSection(&fStorage);
65 CRITICAL_SECTION fStorage; member in struct:SkBaseMutex
/external/skia/src/ports/
H A DSkMutex_win.h38 InitializeCriticalSection(&fStorage);
44 DeleteCriticalSection(&fStorage);
48 EnterCriticalSection(&fStorage);
55 LeaveCriticalSection(&fStorage);
66 CRITICAL_SECTION fStorage; member in class:SkMutex
/external/chromium_org/third_party/skia/src/core/
H A DSkPerspIter.h29 const SkFixed* getXY() const { return fStorage; }
42 SkFixed fStorage[kCount * 2]; member in class:SkPerspIter
H A DSkBitmapHeap.cpp94 for (int i = 0; i < fStorage.count(); i++) {
97 if (fUnusedSlots[j] == fStorage[i]->fSlot) {
103 fBytesAllocated -= fStorage[i]->fBytesAllocated;
106 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry));
109 fStorage.deleteAll();
115 const int size = fStorage.count();
121 array->writableAt(i) = fStorage[i]->fBitmap;
170 SkASSERT(fStorage.count() >= fPreferredCount);
174 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot];
202 SkBitmapHeapEntry* heapEntry = fStorage[ite
[all...]
H A DSkMallocPixelRef.cpp148 fStorage = storage;
153 this->setPreLocked(fStorage, rowBytes, fCTable);
171 fStorage = storage;
176 this->setPreLocked(fStorage, rowBytes, fCTable);
183 fReleaseProc(fStorage, fReleaseProcContext);
188 rec->fPixels = fStorage;
H A DSkTextBlob.cpp307 if (NULL != fStorage.get()) {
332 SkASSERT(NULL == fStorage.get());
342 fStorage.realloc(fStorageSize);
353 SkTextBlob::RunRecord* run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() +
378 run = reinterpret_cast<SkTextBlob::RunRecord*>(fStorage.get() + fLastRun);
390 run->validate(fStorage.get() + fStorageUsed);
410 SkTextBlob::RunRecord* run = new (fStorage.get() + fStorageUsed)
421 run->validate(fStorage.get() + fStorageUsed);
458 SkASSERT((fRunCount > 0) == (NULL != fStorage.get()));
463 SkASSERT(NULL == fStorage
[all...]
H A DSkRegion_path.cpp51 const Scanline* line = (Scanline*)fStorage;
86 SkRegion::RunType* fStorage; member in class:SkRgnBuilder
110 : fStorage(NULL) {
114 sk_free(fStorage);
148 fStorage = (SkRegion::RunType*)sk_malloc_flags(sk_64_asS32(size), 0);
149 if (NULL == fStorage) {
161 fCurrScanline = (Scanline*)fStorage;
195 SkASSERT(fCurrXPtr - fStorage < fStorageCount);
203 const SkRegion::RunType* line = fStorage;
212 SkASSERT((const SkRegion::RunType*)fCurrScanline - fStorage
[all...]
H A DSkBitmapHeap.h172 SkASSERT(slot <= fStorage.count());
176 return fStorage[slot];
184 fStorage.count() - fUnusedSlots.count() == fLookupTable.count());
238 uint32_t fStorageSlot; // slot of corresponding bitmap in fStorage.
288 SkTDArray<SkBitmapHeapEntry*> fStorage; member in class:SkBitmapHeap
289 // Used to mark slots in fStorage as deleted without actually deleting
H A DSkDescriptor.h138 if (size <= sizeof(fStorage)) {
139 fDesc = (SkDescriptor*)(void*)fStorage;
146 if (fDesc != (SkDescriptor*)(void*)fStorage) {
160 uint32_t fStorage[(kStorageSize + 3) >> 2]; member in class:SkAutoDescriptor
/external/skia/src/core/
H A DSkPerspIter.h29 const SkFixed* getXY() const { return fStorage; }
42 SkFixed fStorage[kCount * 2]; member in class:SkPerspIter
H A DSkBitmapHeap.cpp94 for (int i = 0; i < fStorage.count(); i++) {
97 if (fUnusedSlots[j] == fStorage[i]->fSlot) {
103 fBytesAllocated -= fStorage[i]->fBytesAllocated;
106 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry));
109 fStorage.deleteAll();
115 const int size = fStorage.count();
121 array->writableAt(i) = fStorage[i]->fBitmap;
170 SkASSERT(fStorage.count() >= fPreferredCount);
174 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot];
202 SkBitmapHeapEntry* heapEntry = fStorage[ite
[all...]
H A DSkMallocPixelRef.cpp149 fStorage = storage;
154 this->setPreLocked(fStorage, rowBytes, fCTable);
172 fStorage = storage;
177 this->setPreLocked(fStorage, rowBytes, fCTable);
184 fReleaseProc(fStorage, fReleaseProcContext);
189 rec->fPixels = fStorage;
211 buffer.writeByteArray(fStorage, size);
226 fStorage = sk_malloc_throw(size);
227 buffer.readByteArray(fStorage, size);
229 fStorage
[all...]
H A DSkRegion_path.cpp51 const Scanline* line = (Scanline*)fStorage;
86 SkRegion::RunType* fStorage; member in class:SkRgnBuilder
110 : fStorage(NULL) {
114 sk_free(fStorage);
148 fStorage = (SkRegion::RunType*)sk_malloc_flags(sk_64_asS32(size), 0);
149 if (NULL == fStorage) {
161 fCurrScanline = (Scanline*)fStorage;
195 SkASSERT(fCurrXPtr - fStorage < fStorageCount);
203 const SkRegion::RunType* line = fStorage;
212 SkASSERT((const SkRegion::RunType*)fCurrScanline - fStorage
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPlotMgr.h19 if (needed <= sizeof(fStorage)) {
20 fBusy = fStorage;
28 if (fBusy != fStorage) {
68 char fStorage[STORAGE]; member in class:GrPlotMgr
/external/skia/src/gpu/
H A DGrPlotMgr.h19 if (needed <= sizeof(fStorage)) {
20 fBusy = fStorage;
28 if (fBusy != fStorage) {
68 char fStorage[STORAGE]; member in class:GrPlotMgr
/external/chromium_org/third_party/skia/src/utils/
H A DSkMeshUtils.cpp17 sk_free(fStorage);
23 sk_free(fStorage);
24 fStorage = NULL;
31 sk_free(fStorage);
32 fStorage = NULL;
43 fStorage = sk_malloc_throw(fTexCount * sizeof(SkPoint) +
45 fTex = (SkPoint*)fStorage;
H A DSkInterpolator.cpp15 fStorage = NULL;
21 if (fStorage) {
22 sk_free(fStorage);
31 if (fStorage) {
32 sk_free(fStorage);
33 fStorage = NULL;
144 fStorage = sk_malloc_throw((sizeof(SkScalar) * elemCount +
146 fTimes = (SkTimeCode*) fStorage;
147 fValues = (SkScalar*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount);
/external/skia/src/utils/
H A DSkMeshUtils.cpp17 sk_free(fStorage);
23 sk_free(fStorage);
24 fStorage = NULL;
31 sk_free(fStorage);
32 fStorage = NULL;
43 fStorage = sk_malloc_throw(fTexCount * sizeof(SkPoint) +
45 fTex = (SkPoint*)fStorage;
H A DSkInterpolator.cpp15 fStorage = NULL;
21 if (fStorage) {
22 sk_free(fStorage);
31 if (fStorage) {
32 sk_free(fStorage);
33 fStorage = NULL;
144 fStorage = sk_malloc_throw((sizeof(SkScalar) * elemCount +
146 fTimes = (SkTimeCode*) fStorage;
147 fValues = (SkScalar*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount);
/external/chromium_org/third_party/skia/include/core/
H A DSkTLazy.h30 fPtr = new (fStorage) T(*src);
36 fPtr = new (fStorage) T(*src->get());
58 fPtr = new (SkTCast<T*>(fStorage)) T;
72 fPtr = new (SkTCast<T*>(fStorage)) T(src);
108 T* fPtr; // NULL or fStorage
109 char fStorage[sizeof(T)]; member in class:SkTLazy
115 lazy->fPtr = reinterpret_cast<T*>(lazy->fStorage);
H A DSkMallocPixelRef.h76 void* getAddr() const { return fStorage; }
96 void* fStorage; member in class:SkMallocPixelRef
/external/skia/include/core/
H A DSkTLazy.h30 fPtr = new (fStorage) T(*src);
36 fPtr = new (fStorage) T(*src->get());
58 fPtr = new (SkTCast<T*>(fStorage)) T;
72 fPtr = new (SkTCast<T*>(fStorage)) T(src);
108 T* fPtr; // NULL or fStorage
109 char fStorage[sizeof(T)]; member in class:SkTLazy
115 lazy->fPtr = reinterpret_cast<T*>(lazy->fStorage);
H A DSkMallocPixelRef.h76 void* getAddr() const { return fStorage; }
101 void* fStorage; member in class:SkMallocPixelRef
/external/chromium_org/third_party/skia/include/utils/
H A DSkMeshUtils.h40 void* fStorage; // may be null member in class:SkMeshIndices
/external/skia/include/utils/
H A DSkMeshUtils.h40 void* fStorage; // may be null member in class:SkMeshIndices

Completed in 587 milliseconds

1234