HomeSort by relevance Sort by last modified time
    Searched refs:fPtr (Results 1 - 25 of 37) sorted by null

1 2

  /external/chromium_org/third_party/skia/include/utils/win/
SkTScopedComPtr.h 37 T *fPtr;
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->Release()
    [all...]
  /external/skia/include/utils/win/
SkTScopedComPtr.h 37 T *fPtr;
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->Release()
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrTemplates.h 40 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;
GrAllocPool.cpp 16 char* fPtr;
25 block->fPtr = (char*)block + sizeof(Block);
38 void* ptr = fPtr;
39 fPtr += bytes;
47 fPtr -= free;
  /external/skia/src/gpu/
GrTemplates.h 40 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;
GrAllocPool.cpp 16 char* fPtr;
25 block->fPtr = (char*)block + sizeof(Block);
38 void* ptr = fPtr;
39 fPtr += bytes;
47 fPtr -= free;
  /external/chromium_org/third_party/skia/include/core/
SkTLazy.h 26 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;
    [all...]
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;
    [all...]
SkTypes.h 423 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;
471 fPtr = size ? sk_malloc_throw(size) : NULL
    [all...]
SkData.h 37 const void* data() const { return fPtr; }
44 return reinterpret_cast<const uint8_t*>(fPtr);
133 const void* fPtr;
SkTInternalLList.h 18 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;
  /external/skia/include/core/
SkTLazy.h 26 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;
    [all...]
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;
    [all...]
SkTypes.h 423 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;
471 fPtr = size ? sk_malloc_throw(size) : NULL
    [all...]
SkData.h 37 const void* data() const { return fPtr; }
44 return reinterpret_cast<const uint8_t*>(fPtr);
133 const void* fPtr;
SkTInternalLList.h 18 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;
  /external/chromium_org/third_party/skia/src/core/
SkPtrRecorder.cpp 15 this->decPtr(p->fPtr);
22 return (char*)a.fPtr < (char*)b.fPtr;
32 pair.fPtr = ptr;
48 pair.fPtr = ptr;
71 array[index] = p[i].fPtr;
SkMetaData.cpp 14 void* fPtr;
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, false)
    [all...]
SkData.cpp 14 fPtr = ptr;
22 fReleaseProc(fPtr, fSize, fReleaseProcContext);
31 return fSize == other->fSize && !memcmp(fPtr, other->fPtr, fSize);
63 // assumes fPtr was allocated via sk_malloc
87 // assumes fPtr was allocated with sk_fmmap
SkDataTable.cpp 73 return fU.fDir[index].fPtr;
105 dir[i].fPtr = elem;
166 dir->fPtr = dst;
  /external/skia/src/core/
SkPtrRecorder.cpp 15 this->decPtr(p->fPtr);
22 return (char*)a.fPtr < (char*)b.fPtr;
32 pair.fPtr = ptr;
48 pair.fPtr = ptr;
71 array[index] = p[i].fPtr;
SkMetaData.cpp 14 void* fPtr;
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, false)
    [all...]
SkData.cpp 14 fPtr = ptr;
22 fReleaseProc(fPtr, fSize, fReleaseProcContext);
31 return fSize == other->fSize && !memcmp(fPtr, other->fPtr, fSize);
63 // assumes fPtr was allocated via sk_malloc
87 // assumes fPtr was allocated with sk_fmmap
  /frameworks/base/core/jni/android/graphics/
GraphicsJNI.h 202 float* ptr() const { return fPtr; }
208 float* fPtr;
218 jint* ptr() const { return fPtr; }
224 jint* fPtr;
234 jshort* ptr() const { return fPtr; }
240 jshort* fPtr;
250 jbyte* ptr() const { return fPtr; }
256 jbyte* fPtr;
  /external/skia/tests/
PixelRefTest.cpp 45 explicit TestListener(int* ptr) : fPtr(ptr) {}
46 void onChange() SK_OVERRIDE { (*fPtr)++; }
48 int* fPtr;

Completed in 289 milliseconds

1 2