/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | get_lsp_poly.c | 48 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/src/utils/win/ |
H A D | SkTScopedComPtr.h | 37 T *fPtr; member in class:SkTScopedComPtr 40 constexpr SkTScopedComPtr() : fPtr(nullptr) {} 41 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {} 42 explicit SkTScopedComPtr(T *ptr) : fPtr(ptr) {} 43 SkTScopedComPtr(SkTScopedComPtr&& that) : fPtr(that.release()) {} 55 T &operator*() const { SkASSERT(fPtr != nullptr); return *fPtr; } 57 explicit operator bool() const { return fPtr != nullptr; } 59 SkBlockComRef<T> *operator->() const { return static_cast<SkBlockComRef<T>*>(fPtr); } 67 T **operator&() { SkASSERT(fPtr [all...] |
/external/skia/src/core/ |
H A D | SkAutoMalloc.h | 24 : 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 D | SkPtrRecorder.cpp | 14 this->decPtr(p->fPtr); 21 return (char*)a.fPtr < (char*)b.fPtr; 31 pair.fPtr = ptr; 47 pair.fPtr = ptr; 70 array[index] = p[i].fPtr;
|
H A D | SkRecords.h | 100 Optional() : fPtr(nullptr) {} 101 Optional(T* ptr) : fPtr(ptr) {} 102 Optional(Optional&& o) : fPtr(o.fPtr) { 103 o.fPtr = nullptr; 105 ~Optional() { if (fPtr) fPtr->~T(); } 107 ACT_AS_PTR(fPtr) 109 T* fPtr; member in class:SkRecords::Optional 116 Adopted(T* ptr) : fPtr(pt 126 T* fPtr; member in class:SkRecords::Adopted 139 T* fPtr; member in class:SkRecords::PODArray [all...] |
H A D | SkRecordPattern.h | 23 Is() : fPtr(nullptr) {} 26 type* get() { return fPtr; } 29 fPtr = ptr; 35 fPtr = nullptr; 40 type* fPtr; member in class:SkRecords::Is
|
H A D | SkMetaData.cpp | 15 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 D | SkPtrRecorder.h | 73 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr; 87 void* fPtr; // never nullptr member in struct:SkPtrSet::Pair
|
H A D | SkData.cpp | 16 fPtr = const_cast<void*>(ptr); 22 /** This constructor means we are inline with our fPtr's contents. 23 * Thus we set fPtr to point right after this. 26 fPtr = (char*)(this + 1); // contents are immediately after this 34 fReleaseProc(fPtr, fReleaseProcContext); 43 return fSize == other->fSize && !memcmp(fPtr, other->fPtr, fSize); 92 // assumes fPtr was allocated via sk_malloc 114 // assumes fPtr was allocated with sk_fmmap
|
H A D | 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; member in class:SkPtrWrapper
|
H A D | SkDataTable.cpp | 74 return fU.fDir[index].fPtr; 104 dir[i].fPtr = elem;
|
/external/skia/include/core/ |
H A D | SkTLazy.h | 22 SkTLazy() : fPtr(nullptr) {} 25 : fPtr(src ? new (fStorage.get()) T(*src) : nullptr) {} 27 SkTLazy(const SkTLazy& src) : fPtr(nullptr) { *this = src; } 31 fPtr->~T(); 52 fPtr->~T(); 54 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...); 55 return fPtr; 66 *fPtr = src; 68 fPtr = new (SkTCast<T*>(fStorage.get())) T(src); 70 return fPtr; 103 T* fPtr; // nullptr or fStorage member in class:SkTLazy [all...] |
H A D | SkData.h | 34 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 D | SkRefCnt.h | 252 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...] |
H A D | SkDataTable.h | 94 const void* fPtr; member in struct:SkDataTable::Dir
|
/external/skia/include/private/ |
H A D | SkTemplates.h | 248 fPtr = ptr; 253 fPtr = count ? (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW) : nullptr; 256 SkAutoTMalloc(SkAutoTMalloc<T>&& that) : fPtr(that.release()) {} 259 sk_free(fPtr); 265 fPtr = reinterpret_cast<T*>(sk_realloc_throw(fPtr, count * sizeof(T))); 273 sk_free(fPtr); 274 fPtr = count ? (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW) : nullptr; 275 return fPtr; 278 T* get() const { return fPtr; } [all...] |
/external/skia/src/codec/ |
H A D | SkPngCodec.h | 38 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/skia/tools/viewer/sk_app/ |
H A D | VulkanWindowContext.h | 74 VkPtr() : fPtr(NULL) {} 75 VkPtr operator=(FNPTR_TYPE ptr) { fPtr = ptr; return *this; } 76 operator FNPTR_TYPE() const { return fPtr; } 78 FNPTR_TYPE fPtr; member in class:sk_app::VulkanWindowContext::VkPtr
|
/external/skia/tests/ |
H A D | PixelRefTest.cpp | 63 explicit TestListener(int* ptr) : fPtr(ptr) {} 64 void onChange() override { (*fPtr)++; } 66 int* fPtr; member in class:TestListener
|
/external/skia/include/gpu/vk/ |
H A D | GrVkInterface.h | 28 VkPtr() : fPtr(NULL) {} 29 VkPtr operator=(FNPTR_TYPE ptr) { fPtr = ptr; return *this; } 30 operator FNPTR_TYPE() const { return fPtr; } 32 FNPTR_TYPE fPtr; member in class:GrVkInterface::VkPtr
|
/external/vulkan-validation-layers/demos/ |
H A D | cube.cpp | 2208 FILE *fPtr = fopen(filename, "rb"); local 2209 if (!fPtr) { 2214 char *cPtr = fgets(header, 256, fPtr); // P6 2216 fclose(fPtr); 2221 cPtr = fgets(header, 256, fPtr); 2223 fclose(fPtr); 2230 fclose(fPtr); 2234 char *result = fgets(header, 256, fPtr); // Format 2237 fclose(fPtr); 2245 size_t s = fread(rowPtr, 3, 1, fPtr); [all...] |
H A D | cube.c | 1181 FILE *fPtr = fopen(filename, "rb"); 1184 if (!fPtr) 1187 cPtr = fgets(header, 256, fPtr); // P6 1189 fclose(fPtr); 1194 cPtr = fgets(header, 256, fPtr); 1196 fclose(fPtr); 1203 fclose(fPtr); 1206 tmp = fgets(header, 256, fPtr); // Format 1209 fclose(fPtr); 1216 size_t s = fread(rowPtr, 3, 1, fPtr); [all...] |
/external/clang/test/Analysis/ |
H A D | string.c | 780 void (*fPtr)(union argument *) = (void (*)(union argument *))function_pointer_cast_helper; 782 fPtr(&a);
|
H A D | malloc.c | 1330 int fPtr(unsigned cond, int x) { 1329 int fPtr(unsigned cond, int x) { function
|