HomeSort by relevance Sort by last modified time
    Searched defs:fPtr (Results 1 - 11 of 11) sorted by null

  /external/skia/include/core/
SkRelay.h 36 SkTRelay(T* ptr) : fPtr(ptr) {}
39 T* get() const { return fPtr; }
42 void set(T* ptr) { fPtr = ptr; }
47 T* fPtr;
SkTLazy.h 29 SkTLazy() : fPtr(NULL) {}
31 explicit SkTLazy(const T* src) : fPtr(NULL) {
33 fPtr = new (fStorage) T(*src);
37 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) {
40 fPtr = new (fStorage) T(*ptr);
45 if (fPtr) {
46 fPtr->~T();
57 if (fPtr) {
58 fPtr->~T();
60 fPtr = new (fStorage) T
    [all...]
SkPtrRecorder.h 71 void* fPtr; // never NULL
SkTemplates.h 184 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
188 sk_free(fPtr);
190 T* get() const { return fPtr; }
193 T* fPtr;
201 fPtr = fTStorage;
203 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
207 if (fPtr != fTStorage)
208 sk_free(fPtr);
210 T* get() const { return fPtr; }
213 T* fPtr;
    [all...]
SkTypes.h 358 SkAutoFree() : fPtr(NULL) {}
359 explicit SkAutoFree(void* ptr) : fPtr(ptr) {}
360 ~SkAutoFree() { sk_free(fPtr); }
364 void* get() const { return fPtr; }
371 void* prev = fPtr;
372 fPtr = ptr;
386 sk_free(fPtr);
387 fPtr = NULL;
391 void* fPtr;
427 fPtr = fStorage
    [all...]
  /external/skia/gpu/include/
GrMemory.h 25 GrAutoMalloc() : fPtr(NULL), fAllocatedBytes(0){
28 GrAutoMalloc(size_t bytes) : fPtr(GrMalloc(bytes)), fAllocatedBytes(bytes) {}
29 ~GrAutoMalloc() { GrFree(fPtr); }
35 void* get() const { return fPtr; }
44 void* ptr = fPtr;
45 fPtr = NULL; // we no longer own the block
63 GrFree(fPtr);
64 fPtr = newSize ? GrMalloc(newSize) : NULL;
68 GR_DEBUGCODE(memset(fPtr, 0xEF, fAllocatedBytes));
69 return fPtr;
    [all...]
GrTemplates.h 43 void* fPtr;
80 GrAutoTPtrValueRestore() : fPtr(NULL), fVal() {}
83 fPtr = ptr;
90 if (NULL != fPtr) {
91 *fPtr = fVal;
97 if (NULL != fPtr) {
98 *fPtr = fVal;
100 fPtr = ptr;
104 T* fPtr;
  /external/skia/gpu/src/
GrAllocPool.cpp 24 char* fPtr;
33 block->fPtr = (char*)block + sizeof(Block);
46 void* ptr = fPtr;
47 fPtr += bytes;
55 fPtr -= free;
app-android.cpp 357 void* fPtr;
362 return data.fPtr;
  /frameworks/base/core/jni/android/graphics/
GraphicsJNI.h 177 float* ptr() const { return fPtr; }
183 float* fPtr;
193 jint* ptr() const { return fPtr; }
199 jint* fPtr;
209 jshort* ptr() const { return fPtr; }
215 jshort* fPtr;
225 jbyte* ptr() const { return fPtr; }
231 jbyte* fPtr;
  /external/skia/src/core/
SkMetaData.cpp 22 void* fPtr;
58 if (pair->fProc && pair->fPtr) {
59 pair->fPtr = pair->fProc(pair->fPtr, false);
143 if (pair->fProc && pair->fPtr) {
144 pair->fPtr = pair->fProc(pair->fPtr, true);
199 *ptr = pair->fPtr;
267 if (pair->fProc && pair->fPtr) {
268 (void)pair->fProc(pair->fPtr, false)
    [all...]

Completed in 462 milliseconds