Searched defs:fPtr (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/skia/include/core/
H A DSkData.h37 const void* data() const { return fPtr; }
44 return reinterpret_cast<const uint8_t*>(fPtr);
133 const void* fPtr; member in class:SkData
H A DSkDataTable.h98 const void* fPtr; member in struct:SkDataTable::Dir
H A DSkTLazy.h26 SkTLazy() : fPtr(NULL) {}
28 explicit SkTLazy(const T* src) : fPtr(NULL) {
30 fPtr = new (fStorage) T(*src);
34 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) {
36 fPtr = new (fStorage) T(*src->get());
38 fPtr = NULL;
44 fPtr->~T();
56 fPtr->~T();
58 fPtr = new (SkTCast<T*>(fStorage)) T;
59 return fPtr;
98 T* fPtr; // NULL or fStorage member in class:SkTLazy
[all...]
H A DSkTInternalLList.h18 SkPtrWrapper() : fPtr(NULL) {}
19 SkPtrWrapper& operator =(T* ptr) { fPtr = ptr; return *this; }
20 operator T*() const { return fPtr; }
21 T* operator->() { return fPtr; }
23 T* fPtr; member in class:SkPtrWrapper
H A DSkTemplates.h316 fPtr = ptr;
321 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
325 sk_free(fPtr);
330 fPtr = reinterpret_cast<T*>(sk_realloc_throw(fPtr, count * sizeof(T)));
335 sk_free(fPtr);
336 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
339 T* get() const { return fPtr; }
342 return fPtr;
346 return fPtr;
428 T* fPtr; member in class:SkAutoSTArray
444 void* fPtr; member in union:SkAlignedSStorage::__anon14386
[all...]
H A DSkTypes.h423 SkAutoFree() : fPtr(NULL) {}
424 explicit SkAutoFree(void* ptr) : fPtr(ptr) {}
425 ~SkAutoFree() { sk_free(fPtr); }
429 void* get() const { return fPtr; }
436 void* prev = fPtr;
437 fPtr = ptr;
451 sk_free(fPtr);
452 fPtr = NULL;
456 void* fPtr; member in class:SkAutoFree
471 fPtr
545 void* fPtr; member in class:SkAutoMalloc
631 void* fPtr; member in class:SkAutoSMalloc
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrTemplates.h40 GrAutoTRestore() : fPtr(NULL), fVal() {}
43 fPtr = ptr;
50 if (NULL != fPtr) {
51 *fPtr = fVal;
57 if (NULL != fPtr) {
58 *fPtr = fVal;
60 fPtr = ptr;
64 T* fPtr; member in class:GrAutoTRestore
H A DGrAllocPool.cpp16 char* fPtr; member in struct:GrAllocPool::Block
25 block->fPtr = (char*)block + sizeof(Block);
38 void* ptr = fPtr;
39 fPtr += bytes;
47 fPtr -= free;
/external/skia/include/core/
H A DSkData.h37 const void* data() const { return fPtr; }
44 return reinterpret_cast<const uint8_t*>(fPtr);
133 const void* fPtr; member in class:SkData
H A DSkDataTable.h98 const void* fPtr; member in struct:SkDataTable::Dir
H A DSkTLazy.h26 SkTLazy() : fPtr(NULL) {}
28 explicit SkTLazy(const T* src) : fPtr(NULL) {
30 fPtr = new (fStorage) T(*src);
34 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) {
36 fPtr = new (fStorage) T(*src->get());
38 fPtr = NULL;
44 fPtr->~T();
56 fPtr->~T();
58 fPtr = new (SkTCast<T*>(fStorage)) T;
59 return fPtr;
98 T* fPtr; // NULL or fStorage member in class:SkTLazy
[all...]
H A DSkTInternalLList.h18 SkPtrWrapper() : fPtr(NULL) {}
19 SkPtrWrapper& operator =(T* ptr) { fPtr = ptr; return *this; }
20 operator T*() const { return fPtr; }
21 T* operator->() { return fPtr; }
23 T* fPtr; member in class:SkPtrWrapper
H A DSkTemplates.h316 fPtr = ptr;
321 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
325 sk_free(fPtr);
330 fPtr = reinterpret_cast<T*>(sk_realloc_throw(fPtr, count * sizeof(T)));
335 sk_free(fPtr);
336 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
339 T* get() const { return fPtr; }
342 return fPtr;
346 return fPtr;
428 T* fPtr; member in class:SkAutoSTArray
444 void* fPtr; member in union:SkAlignedSStorage::__anon26276
[all...]
H A DSkTypes.h423 SkAutoFree() : fPtr(NULL) {}
424 explicit SkAutoFree(void* ptr) : fPtr(ptr) {}
425 ~SkAutoFree() { sk_free(fPtr); }
429 void* get() const { return fPtr; }
436 void* prev = fPtr;
437 fPtr = ptr;
451 sk_free(fPtr);
452 fPtr = NULL;
456 void* fPtr; member in class:SkAutoFree
471 fPtr
545 void* fPtr; member in class:SkAutoMalloc
631 void* fPtr; member in class:SkAutoSMalloc
[all...]
/external/skia/src/gpu/
H A DGrTemplates.h40 GrAutoTRestore() : fPtr(NULL), fVal() {}
43 fPtr = ptr;
50 if (NULL != fPtr) {
51 *fPtr = fVal;
57 if (NULL != fPtr) {
58 *fPtr = fVal;
60 fPtr = ptr;
64 T* fPtr; member in class:GrAutoTRestore
H A DGrAllocPool.cpp16 char* fPtr; member in struct:GrAllocPool::Block
25 block->fPtr = (char*)block + sizeof(Block);
38 void* ptr = fPtr;
39 fPtr += bytes;
47 fPtr -= free;
/external/skia/tests/
H A DPixelRefTest.cpp45 explicit TestListener(int* ptr) : fPtr(ptr) {}
46 void onChange() SK_OVERRIDE { (*fPtr)++; }
48 int* fPtr; member in class:__anon26539::TestListener
/external/chromium_org/third_party/skia/include/utils/win/
H A DSkTScopedComPtr.h37 T *fPtr; member in class:SkTScopedComPtr
40 explicit SkTScopedComPtr(T *ptr = NULL) : fPtr(ptr) { }
44 T &operator*() const { SkASSERT(fPtr != NULL); return *fPtr; }
46 return static_cast<SkBlockComRef<T>*>(fPtr);
54 T **operator&() { SkASSERT(fPtr == NULL); return &fPtr; }
55 T *get() const { return fPtr; }
57 if (NULL != this->fPtr) {
58 this->fPtr
[all...]
/external/skia/include/utils/win/
H A DSkTScopedComPtr.h37 T *fPtr; member in class:SkTScopedComPtr
40 explicit SkTScopedComPtr(T *ptr = NULL) : fPtr(ptr) { }
44 T &operator*() const { SkASSERT(fPtr != NULL); return *fPtr; }
46 return static_cast<SkBlockComRef<T>*>(fPtr);
54 T **operator&() { SkASSERT(fPtr == NULL); return &fPtr; }
55 T *get() const { return fPtr; }
57 if (NULL != this->fPtr) {
58 this->fPtr
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPtrRecorder.h67 void* fPtr; // never NULL member in struct:SkPtrSet::Pair
H A DSkMetaData.cpp14 void* fPtr; member in struct:PtrPair
50 if (pair->fProc && pair->fPtr) {
51 pair->fPtr = pair->fProc(pair->fPtr, false);
135 if (pair->fProc && pair->fPtr) {
136 pair->fPtr = pair->fProc(pair->fPtr, true);
191 *ptr = pair->fPtr;
259 if (pair->fProc && pair->fPtr) {
260 (void)pair->fProc(pair->fPtr, fals
[all...]
/external/skia/src/core/
H A DSkPtrRecorder.h67 void* fPtr; // never NULL member in struct:SkPtrSet::Pair
H A DSkMetaData.cpp14 void* fPtr; member in struct:PtrPair
50 if (pair->fProc && pair->fPtr) {
51 pair->fPtr = pair->fProc(pair->fPtr, false);
135 if (pair->fProc && pair->fPtr) {
136 pair->fPtr = pair->fProc(pair->fPtr, true);
191 *ptr = pair->fPtr;
259 if (pair->fProc && pair->fPtr) {
260 (void)pair->fProc(pair->fPtr, fals
[all...]
/external/chromium_org/third_party/skia/include/gpu/gl/
H A DGrGLInterface.h116 GLPtr() : fPtr(NULL) {}
117 GLPtr operator =(FNPTR_TYPE ptr) { fPtr = ptr; return *this; }
118 operator FNPTR_TYPE() const { return fPtr; }
120 FNPTR_TYPE fPtr; member in class:GrGLInterface::GLPtr
/external/clang/test/Analysis/
H A Dmalloc.c862 int fPtr(unsigned cond, int x) {
861 int fPtr(unsigned cond, int x) { function

Completed in 2863 milliseconds

12