/external/chromium_org/third_party/skia/include/utils/win/ |
D | SkTScopedComPtr.h | 37 T *fPtr; 40 explicit SkTScopedComPtr(T *ptr = NULL) : fPtr(ptr) { } in fPtr() function 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; } in get() 57 if (NULL != this->fPtr) { in reset() 58 this->fPtr->Release(); in reset() 59 this->fPtr = NULL; in reset() 64 T* temp = this->fPtr; in swap() [all …]
|
/external/skia/include/utils/win/ |
D | SkTScopedComPtr.h | 37 T *fPtr; 40 explicit SkTScopedComPtr(T *ptr = NULL) : fPtr(ptr) { } in fPtr() function 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; } in get() 57 if (NULL != this->fPtr) { in reset() 58 this->fPtr->Release(); in reset() 59 this->fPtr = NULL; in reset() 64 T* temp = this->fPtr; in swap() [all …]
|
/external/skia/include/core/ |
D | SkTLazy.h | 26 SkTLazy() : fPtr(NULL) {} in SkTLazy() 28 explicit SkTLazy(const T* src) : fPtr(NULL) { in SkTLazy() 30 fPtr = new (fStorage) T(*src); in SkTLazy() 34 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) { in SkTLazy() 36 fPtr = new (fStorage) T(*src->get()); in SkTLazy() 38 fPtr = NULL; in SkTLazy() 44 fPtr->~T(); in ~SkTLazy() 56 fPtr->~T(); in init() 58 fPtr = new (SkTCast<T*>(fStorage)) T; in init() 59 return fPtr; in init() [all …]
|
D | SkTemplates.h | 316 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; 350 return fPtr[index]; [all …]
|
D | SkTypes.h | 423 SkAutoFree() : fPtr(NULL) {} in SkAutoFree() 424 explicit SkAutoFree(void* ptr) : fPtr(ptr) {} in SkAutoFree() 425 ~SkAutoFree() { sk_free(fPtr); } in ~SkAutoFree() 429 void* get() const { return fPtr; } in get() 436 void* prev = fPtr; in set() 437 fPtr = ptr; in set() 451 sk_free(fPtr); in free() 452 fPtr = NULL; in free() 456 void* fPtr; 471 fPtr = size ? sk_malloc_throw(size) : NULL; [all …]
|
D | SkData.h | 37 const void* data() const { return fPtr; } in data() 44 return reinterpret_cast<const uint8_t*>(fPtr); in bytes() 133 const void* fPtr; variable
|
D | SkTInternalLList.h | 18 SkPtrWrapper() : fPtr(NULL) {} in SkPtrWrapper() 19 SkPtrWrapper& operator =(T* ptr) { fPtr = ptr; return *this; } 20 operator T*() const { return fPtr; } 21 T* operator->() { return fPtr; } 23 T* fPtr;
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkTLazy.h | 26 SkTLazy() : fPtr(NULL) {} in SkTLazy() 28 explicit SkTLazy(const T* src) : fPtr(NULL) { in SkTLazy() 30 fPtr = new (fStorage) T(*src); in SkTLazy() 34 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) { in SkTLazy() 36 fPtr = new (fStorage) T(*src->get()); in SkTLazy() 38 fPtr = NULL; in SkTLazy() 44 fPtr->~T(); in ~SkTLazy() 56 fPtr->~T(); in init() 58 fPtr = new (SkTCast<T*>(fStorage)) T; in init() 59 return fPtr; in init() [all …]
|
D | SkTemplates.h | 316 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; 350 return fPtr[index]; [all …]
|
D | SkTypes.h | 423 SkAutoFree() : fPtr(NULL) {} in SkAutoFree() 424 explicit SkAutoFree(void* ptr) : fPtr(ptr) {} in SkAutoFree() 425 ~SkAutoFree() { sk_free(fPtr); } in ~SkAutoFree() 429 void* get() const { return fPtr; } in get() 436 void* prev = fPtr; in set() 437 fPtr = ptr; in set() 451 sk_free(fPtr); in free() 452 fPtr = NULL; in free() 456 void* fPtr; 471 fPtr = size ? sk_malloc_throw(size) : NULL; [all …]
|
D | SkData.h | 37 const void* data() const { return fPtr; } in data() 44 return reinterpret_cast<const uint8_t*>(fPtr); in bytes() 133 const void* fPtr; variable
|
D | SkTInternalLList.h | 18 SkPtrWrapper() : fPtr(NULL) {} in SkPtrWrapper() 19 SkPtrWrapper& operator =(T* ptr) { fPtr = ptr; return *this; } 20 operator T*() const { return fPtr; } 21 T* operator->() { return fPtr; } 23 T* fPtr;
|
/external/clang/test/Analysis/inlining/ |
D | inline-defensive-checks.m | 71 int testNilReceiver(Foo* fPtr) { 72 if (fPtr) 74 // On a path where fPtr is nil, mem should be nil. 75 Foo *mem = [fPtr getFooPtr]; 79 int suppressNilReceiverRetNullCond(Foo* fPtr) { 81 fPtr = retInputOrNil(fPtr); 82 // On a path where fPtr is nzil, mem should be nil. 83 Foo *mem = [fPtr getFooPtr]; 87 int suppressNilReceiverRetNullCondCast(id fPtr) { 89 fPtr = retInputOrNil(fPtr); [all …]
|
/external/skia/src/gpu/ |
D | GrTemplates.h | 40 GrAutoTRestore() : fPtr(NULL), fVal() {} in GrAutoTRestore() 43 fPtr = ptr; in GrAutoTRestore() 50 if (NULL != fPtr) { in ~GrAutoTRestore() 51 *fPtr = fVal; in ~GrAutoTRestore() 57 if (NULL != fPtr) { in reset() 58 *fPtr = fVal; in reset() 60 fPtr = ptr; in reset() 64 T* fPtr;
|
D | GrAllocPool.cpp | 16 char* fPtr; member 25 block->fPtr = (char*)block + sizeof(Block); in Create() 38 void* ptr = fPtr; in alloc() 39 fPtr += bytes; in alloc() 47 fPtr -= free; in release()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrTemplates.h | 40 GrAutoTRestore() : fPtr(NULL), fVal() {} in GrAutoTRestore() 43 fPtr = ptr; in GrAutoTRestore() 50 if (NULL != fPtr) { in ~GrAutoTRestore() 51 *fPtr = fVal; in ~GrAutoTRestore() 57 if (NULL != fPtr) { in reset() 58 *fPtr = fVal; in reset() 60 fPtr = ptr; in reset() 64 T* fPtr;
|
D | GrAllocPool.cpp | 16 char* fPtr; member 25 block->fPtr = (char*)block + sizeof(Block); in Create() 38 void* ptr = fPtr; in alloc() 39 fPtr += bytes; in alloc() 47 fPtr -= free; in release()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkPtrRecorder.cpp | 15 this->decPtr(p->fPtr); in reset() 22 return (char*)a.fPtr < (char*)b.fPtr; in Less() 32 pair.fPtr = ptr; in find() 48 pair.fPtr = ptr; in add() 71 array[index] = p[i].fPtr; in copyToArray()
|
D | SkMetaData.cpp | 14 void* fPtr; member 50 if (pair->fProc && pair->fPtr) { in reset() 51 pair->fPtr = pair->fProc(pair->fPtr, false); in reset() 135 if (pair->fProc && pair->fPtr) { in set() 136 pair->fPtr = pair->fProc(pair->fPtr, true); in set() 191 *ptr = pair->fPtr; in findPtr() 259 if (pair->fProc && pair->fPtr) { in remove() 260 (void)pair->fProc(pair->fPtr, false); in remove()
|
D | SkData.cpp | 14 fPtr = ptr; in SkData() 22 fReleaseProc(fPtr, fSize, fReleaseProcContext); in ~SkData() 31 return fSize == other->fSize && !memcmp(fPtr, other->fPtr, fSize); in equals()
|
D | SkDataTable.cpp | 73 return fU.fDir[index].fPtr; in at() 105 dir[i].fPtr = elem; in NewCopyArrays() 166 dir->fPtr = dst; in append()
|
/external/skia/src/core/ |
D | SkPtrRecorder.cpp | 15 this->decPtr(p->fPtr); in reset() 22 return (char*)a.fPtr < (char*)b.fPtr; in Less() 32 pair.fPtr = ptr; in find() 48 pair.fPtr = ptr; in add() 71 array[index] = p[i].fPtr; in copyToArray()
|
D | SkMetaData.cpp | 14 void* fPtr; member 50 if (pair->fProc && pair->fPtr) { in reset() 51 pair->fPtr = pair->fProc(pair->fPtr, false); in reset() 135 if (pair->fProc && pair->fPtr) { in set() 136 pair->fPtr = pair->fProc(pair->fPtr, true); in set() 191 *ptr = pair->fPtr; in findPtr() 259 if (pair->fProc && pair->fPtr) { in remove() 260 (void)pair->fProc(pair->fPtr, false); in remove()
|
D | SkData.cpp | 14 fPtr = ptr; in SkData() 22 fReleaseProc(fPtr, fSize, fReleaseProcContext); in ~SkData() 31 return fSize == other->fSize && !memcmp(fPtr, other->fPtr, fSize); in equals()
|
/external/skia/tests/ |
D | PixelRefTest.cpp | 45 explicit TestListener(int* ptr) : fPtr(ptr) {} in TestListener() 46 void onChange() SK_OVERRIDE { (*fPtr)++; } in onChange() 48 int* fPtr; member in __anon7d0825a40211::TestListener
|