Searched refs:fPtr (Results 1 - 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dget_lsp_poly.c48 int32_t *fPtr; local
51 fPtr = f;
53 (*fPtr) = (int32_t)16777216;
54 fPtr++;
56 (*fPtr) = WEBRTC_SPL_MUL((*lspPtr), -1024);
57 fPtr++;
62 (*fPtr) = fPtr[-2];
67 high = (int16_t)WEBRTC_SPL_RSHIFT_W32(fPtr[-1], 16);
68 low = (int16_t)WEBRTC_SPL_RSHIFT_W32(fPtr[
[all...]
/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 (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/gpu/
H A DGrTemplates.h40 GrAutoTRestore() : fPtr(NULL), fVal() {}
43 fPtr = ptr;
50 if (fPtr) {
51 *fPtr = fVal;
57 if (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/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/chromium_org/third_party/skia/include/core/
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;
108 T* fPtr; // NULL or fStorage member in class:SkTLazy
[all...]
H A DSkTemplates.h341 fPtr = ptr;
346 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW);
350 sk_free(fPtr);
355 fPtr = reinterpret_cast<T*>(sk_realloc_throw(fPtr, count * sizeof(T)));
360 sk_free(fPtr);
361 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW);
364 T* get() const { return fPtr; }
367 return fPtr;
371 return fPtr;
453 T* fPtr; member in class:SkAutoSTArray
469 void* fPtr; member in union:SkAlignedSStorage::__anon15095
[all...]
H A DSkTypes.h461 SkAutoFree() : fPtr(NULL) {}
462 explicit SkAutoFree(void* ptr) : fPtr(ptr) {}
463 ~SkAutoFree() { sk_free(fPtr); }
467 void* get() const { return fPtr; }
474 void* prev = fPtr;
475 fPtr = ptr;
489 sk_free(fPtr);
490 fPtr = NULL;
494 void* fPtr; member in class:SkAutoFree
509 fPtr
583 void* fPtr; member in class:SkAutoMalloc
669 void* fPtr; member in class:SkAutoSMalloc
[all...]
H A DSkData.h35 const void* data() const { return fPtr; }
42 return reinterpret_cast<const uint8_t*>(fPtr);
55 return fPtr;
164 void* fPtr; member in class:SkData
/external/skia/include/core/
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;
108 T* fPtr; // NULL or fStorage member in class:SkTLazy
[all...]
H A DSkTemplates.h328 fPtr = ptr;
333 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
337 sk_free(fPtr);
342 fPtr = reinterpret_cast<T*>(sk_realloc_throw(fPtr, count * sizeof(T)));
347 sk_free(fPtr);
348 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
351 T* get() const { return fPtr; }
354 return fPtr;
358 return fPtr;
440 T* fPtr; member in class:SkAutoSTArray
456 void* fPtr; member in union:SkAlignedSStorage::__anon30508
[all...]
H A DSkTypes.h455 SkAutoFree() : fPtr(NULL) {}
456 explicit SkAutoFree(void* ptr) : fPtr(ptr) {}
457 ~SkAutoFree() { sk_free(fPtr); }
461 void* get() const { return fPtr; }
468 void* prev = fPtr;
469 fPtr = ptr;
483 sk_free(fPtr);
484 fPtr = NULL;
488 void* fPtr; member in class:SkAutoFree
503 fPtr
577 void* fPtr; member in class:SkAutoMalloc
663 void* fPtr; member in class:SkAutoSMalloc
[all...]
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
/external/chromium_org/third_party/skia/src/core/
H A DSkLazyFnPtr.h45 F fn = (F)SK_ANNOTATE_UNPROTECTED_READ(fPtr);
54 F prev = (F)sk_atomic_cas(&fPtr, NULL, (void*)fn);
56 // If prev != NULL, someone snuck in and set fPtr concurrently.
57 // If prev == NULL, we did write fn to fPtr.
62 void* fPtr; member in class:Private::SkLazyFnPtr
H A DSkPtrRecorder.cpp15 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;
H A DSkLazyPtr.h108 // If fPtr has already been filled, we need a consume barrier when loading it.
110 T* ptr = (T*)sk_consume_load(&fPtr);
111 return ptr ? ptr : try_cas<T*, Destroy>(&fPtr, Create());
120 this->cleanup((T*)fPtr);
121 fPtr = NULL;
126 void* fPtr; member in class:Private::SkLazyPtr
137 // If fPtr has already been filled, we need an consume barrier when loading it.
H A DSkRecords.h141 Optional(T* ptr) : fPtr(ptr) {}
142 ~Optional() { if (fPtr) fPtr->~T(); }
144 ACT_AS_PTR(fPtr);
146 T* fPtr; member in class:SkRecords::Optional
153 Adopted(T* ptr) : fPtr(ptr) { SkASSERT(fPtr); }
156 fPtr = source->fPtr;
157 source->fPtr
163 T* fPtr; member in class:SkRecords::Adopted
175 T* fPtr; member in class:SkRecords::PODArray
[all...]
/external/skia/src/core/
H A DSkLazyFnPtr.h45 F fn = (F)SK_ANNOTATE_UNPROTECTED_READ(fPtr);
54 F prev = (F)sk_atomic_cas(&fPtr, NULL, (void*)fn);
56 // If prev != NULL, someone snuck in and set fPtr concurrently.
57 // If prev == NULL, we did write fn to fPtr.
62 void* fPtr; member in class:Private::SkLazyFnPtr
H A DSkPtrRecorder.cpp15 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;
H A DSkLazyPtr.h96 // If fPtr has already been filled, we need an acquire barrier when loading it.
98 T* ptr = (T*)sk_acquire_load(&fPtr);
99 return ptr ? ptr : try_cas<T*, Destroy>(&fPtr, Create());
108 this->cleanup((T*)fPtr);
109 fPtr = NULL;
114 void* fPtr; member in class:Private::SkLazyPtr
125 // If fPtr has already been filled, we need an acquire barrier when loading it.
/external/chromium_org/third_party/skia/tests/
H A DPixelRefTest.cpp8 explicit TestListener(int* ptr) : fPtr(ptr) {}
9 virtual void onChange() SK_OVERRIDE { (*fPtr)++; }
11 int* fPtr; member in class:TestListener
/external/skia/tests/
H A DPixelRefTest.cpp8 explicit TestListener(int* ptr) : fPtr(ptr) {}
9 virtual void onChange() SK_OVERRIDE { (*fPtr)++; }
11 int* fPtr; member in class:TestListener
/external/chromium_org/third_party/skia/bench/
H A DImageCacheBench.cpp15 void* fPtr; member in class:__anon14978::TestKey
18 TestKey(intptr_t value) : fPtr(&gGlobalAddress), fValue(value) {
19 this->init(sizeof(fPtr) + sizeof(fValue));

Completed in 451 milliseconds

12