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

12

/external/webrtc/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)(fPtr[-1] >> 16);
68 low = (int16_t)((fPtr[
[all...]
/external/skia/include/core/
H A DSkData.h34 const void* data() const { return fPtr; }
41 return reinterpret_cast<const uint8_t*>(fPtr);
54 return fPtr;
164 void* fPtr; member in class:final
H A DSkDataTable.h94 const void* fPtr; member in struct:SkDataTable::Dir
H A DSkTLazy.h22 SkTLazy() : fPtr(nullptr) {}
25 : fPtr(src ? new (fStorage.get()) T(*src) : nullptr) {}
27 SkTLazy(const SkTLazy& that) : fPtr(nullptr) { *this = that; }
28 SkTLazy(SkTLazy&& that) : fPtr(nullptr) { *this = std::move(that); }
32 fPtr->~T();
62 fPtr->~T();
64 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...);
65 return fPtr;
76 *fPtr = src;
78 fPtr
122 T* fPtr; // nullptr or fStorage member in class:SkTLazy
[all...]
H A DSkRefCnt.h252 constexpr sk_sp() : fPtr(nullptr) {}
253 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {}
259 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {}
261 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {}
268 sk_sp(sk_sp<T>&& that) : fPtr(that.release()) {}
270 sk_sp(sk_sp<U>&& that) : fPtr(that.release()) {}
276 explicit sk_sp(T* obj) : fPtr(obj) {}
282 SkSafeUnref(fPtr);
283 SkDEBUGCODE(fPtr = nullptr);
327 operator unspecified_bool_type() const { return this->get() ? &sk_sp::fPtr
363 T* fPtr; member in class:sk_sp
[all...]
/external/skia/tests/
H A DPixelRefTest.cpp63 explicit TestListener(int* ptr) : fPtr(ptr) {}
64 void onChange() override { (*fPtr)++; }
66 int* fPtr; member in class:TestListener
/external/skqp/include/core/
H A DSkData.h34 const void* data() const { return fPtr; }
41 return reinterpret_cast<const uint8_t*>(fPtr);
54 return fPtr;
164 void* fPtr; member in class:final
H A DSkDataTable.h94 const void* fPtr; member in struct:SkDataTable::Dir
H A DSkTLazy.h22 SkTLazy() : fPtr(nullptr) {}
25 : fPtr(src ? new (fStorage.get()) T(*src) : nullptr) {}
27 SkTLazy(const SkTLazy& that) : fPtr(nullptr) { *this = that; }
28 SkTLazy(SkTLazy&& that) : fPtr(nullptr) { *this = std::move(that); }
32 fPtr->~T();
62 fPtr->~T();
64 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...);
65 return fPtr;
76 *fPtr = src;
78 fPtr
122 T* fPtr; // nullptr or fStorage member in class:SkTLazy
[all...]
/external/skqp/tests/
H A DPixelRefTest.cpp63 explicit TestListener(int* ptr) : fPtr(ptr) {}
64 void onChange() override { (*fPtr)++; }
66 int* fPtr; member in class:TestListener
/external/skia/src/core/
H A DSkAutoMalloc.h24 : fPtr(size ? sk_malloc_throw(size) : nullptr), fSize(size) {}
51 fPtr.reset(size ? sk_malloc_throw(size) : nullptr);
54 return fPtr.get();
60 void* get() { return fPtr.get(); }
61 const void* get() const { return fPtr.get(); }
69 return fPtr.release();
76 std::unique_ptr<void, WrapFree> fPtr; member in class:SkAutoMalloc
94 fPtr = fStorage;
103 fPtr = fStorage;
113 if (fPtr !
169 void* fPtr; member in class:SkAutoSMalloc
[all...]
H A DSkPtrRecorder.h73 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr;
87 void* fPtr; // never nullptr member in struct:SkPtrSet::Pair
H A DSkRecordPattern.h23 Is() : fPtr(nullptr) {}
26 type* get() { return fPtr; }
29 fPtr = ptr;
35 fPtr = nullptr;
40 type* fPtr; member in class:SkRecords::Is
H A DSkRecords.h101 Optional() : fPtr(nullptr) {}
102 Optional(T* ptr) : fPtr(ptr) {}
103 Optional(Optional&& o) : fPtr(o.fPtr) {
104 o.fPtr = nullptr;
106 ~Optional() { if (fPtr) fPtr->~T(); }
108 ACT_AS_PTR(fPtr)
110 T* fPtr; member in class:SkRecords::Optional
117 Adopted(T* ptr) : fPtr(pt
127 T* fPtr; member in class:SkRecords::Adopted
140 T* fPtr; member in class:SkRecords::PODArray
[all...]
H A DSkMetaData.cpp15 void* fPtr; member in struct:PtrPair
51 if (pair->fProc && pair->fPtr) {
52 pair->fPtr = pair->fProc(pair->fPtr, false);
136 if (pair->fProc && pair->fPtr) {
137 pair->fPtr = pair->fProc(pair->fPtr, true);
192 *ptr = pair->fPtr;
260 if (pair->fProc && pair->fPtr) {
261 (void)pair->fProc(pair->fPtr, fals
[all...]
H A DSkTInternalLList.h18 SkPtrWrapper() : fPtr(nullptr) {}
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
/external/skia/src/utils/win/
H A DSkTScopedComPtr.h38 T *fPtr; member in class:SkTScopedComPtr
41 constexpr SkTScopedComPtr() : fPtr(nullptr) {}
42 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {}
43 explicit SkTScopedComPtr(T *ptr) : fPtr(ptr) {}
44 SkTScopedComPtr(SkTScopedComPtr&& that) : fPtr(that.release()) {}
56 T &operator*() const { SkASSERT(fPtr != nullptr); return *fPtr; }
58 explicit operator bool() const { return fPtr != nullptr; }
60 SkBlockComRef<T> *operator->() const { return static_cast<SkBlockComRef<T>*>(fPtr); }
68 T **operator&() { SkASSERT(fPtr
[all...]
/external/skqp/src/core/
H A DSkAutoMalloc.h24 : fPtr(size ? sk_malloc_throw(size) : nullptr), fSize(size) {}
51 fPtr.reset(size ? sk_malloc_throw(size) : nullptr);
54 return fPtr.get();
60 void* get() { return fPtr.get(); }
61 const void* get() const { return fPtr.get(); }
69 return fPtr.release();
76 std::unique_ptr<void, WrapFree> fPtr; member in class:SkAutoMalloc
94 fPtr = fStorage;
103 fPtr = fStorage;
113 if (fPtr !
169 void* fPtr; member in class:SkAutoSMalloc
[all...]
H A DSkPtrRecorder.h73 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr;
87 void* fPtr; // never nullptr member in struct:SkPtrSet::Pair
H A DSkRecordPattern.h23 Is() : fPtr(nullptr) {}
26 type* get() { return fPtr; }
29 fPtr = ptr;
35 fPtr = nullptr;
40 type* fPtr; member in class:SkRecords::Is
H A DSkRecords.h101 Optional() : fPtr(nullptr) {}
102 Optional(T* ptr) : fPtr(ptr) {}
103 Optional(Optional&& o) : fPtr(o.fPtr) {
104 o.fPtr = nullptr;
106 ~Optional() { if (fPtr) fPtr->~T(); }
108 ACT_AS_PTR(fPtr)
110 T* fPtr; member in class:SkRecords::Optional
117 Adopted(T* ptr) : fPtr(pt
127 T* fPtr; member in class:SkRecords::Adopted
140 T* fPtr; member in class:SkRecords::PODArray
[all...]
/external/skqp/src/utils/win/
H A DSkTScopedComPtr.h38 T *fPtr; member in class:SkTScopedComPtr
41 constexpr SkTScopedComPtr() : fPtr(nullptr) {}
42 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {}
43 explicit SkTScopedComPtr(T *ptr) : fPtr(ptr) {}
44 SkTScopedComPtr(SkTScopedComPtr&& that) : fPtr(that.release()) {}
56 T &operator*() const { SkASSERT(fPtr != nullptr); return *fPtr; }
58 explicit operator bool() const { return fPtr != nullptr; }
60 SkBlockComRef<T> *operator->() const { return static_cast<SkBlockComRef<T>*>(fPtr); }
68 T **operator&() { SkASSERT(fPtr
[all...]
/external/skia/src/codec/
H A DSkPngCodec.h38 voidp(void* ptr) : fPtr(ptr) {}
41 operator T*() const { return (T*)fPtr; }
43 explicit operator bool() const { return fPtr != nullptr; }
45 void* fPtr; member in struct:SkPngCodec::voidp
/external/skqp/src/codec/
H A DSkPngCodec.h38 voidp(void* ptr) : fPtr(ptr) {}
41 operator T*() const { return (T*)fPtr; }
43 explicit operator bool() const { return fPtr != nullptr; }
45 void* fPtr; member in struct:SkPngCodec::voidp
/external/icu/icu4c/source/i18n/
H A Dnumber_decimfmtprops.h36 LocalPointer<CurrencyPluralInfo> fPtr; member in struct:number::impl::CurrencyPluralInfoWrapper
40 if (!other.fPtr.isNull()) {
41 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));

Completed in 780 milliseconds

12