/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 (this->fPtr) { 58 this->fPtr->Release() [all...] |
/external/clang/test/CodeGen/ |
func-ptr-cast-decl.c | 6 typedef int (*fptr)(double); typedef 7 void a() { ((fptr)q_sk_num)(0); }
|
/external/clang/test/Analysis/inlining/ |
inline-defensive-checks.m | 71 int testNilReceiver(Foo* fPtr) { 72 if (fPtr) 74 // On a path where fPtr is nil, mem should be nil. 75 Foo *mem = [fPtr getFooPtr]; 79 int suppressNilReceiverRetNullCond(Foo* fPtr) { 81 fPtr = retInputOrNil(fPtr); 82 // On a path where fPtr is nzil, mem should be nil. 83 Foo *mem = [fPtr getFooPtr]; 87 int suppressNilReceiverRetNullCondCast(id fPtr) { [all...] |
/external/llvm/test/CodeGen/X86/ |
atomic-non-integer.ll | 10 define void @store_half(half* %fptr, half %v) { 15 store atomic half %v, half* %fptr unordered, align 2 19 define void @store_float(float* %fptr, float %v) { 23 store atomic float %v, float* %fptr unordered, align 4 27 define void @store_double(double* %fptr, double %v) { 31 store atomic double %v, double* %fptr unordered, align 8 35 define void @store_fp128(fp128* %fptr, fp128 %v) { 38 store atomic fp128 %v, fp128* %fptr unordered, align 16 42 define half @load_half(half* %fptr) { 47 %v = load atomic half, half* %fptr unordered, align [all...] |
tail-call-win64.ll | 6 define void @tail_jmp_reg(i32, i32, void ()* %fptr) { 7 tail call void () %fptr() 30 %fptr = load void ()*, void ()** @g_fptr 31 tail call void () %fptr()
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
crt_initializers.cc | 8 typedef void (*FPTR)(); 12 extern "C" FPTR __xi_a, __xi_z; 18 for (FPTR* it = &__xi_a; it < &__xi_z; ++it) { 31 FPTR run_on_startup = call_me_maybe;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
get_lsp_poly.c | 48 int32_t *fPtr; 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[-1] - ((int32_t)high << 16)) >> 1) [all...] |
/external/skia/include/core/ |
SkTLazy.h | 22 SkTLazy() : fPtr(NULL) {} 24 explicit SkTLazy(const T* src) : fPtr(NULL) { 26 fPtr = new (fStorage.get()) T(*src); 30 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) { 32 fPtr = new (fStorage.get()) T(*src->get()); 34 fPtr = NULL; 40 fPtr->~T(); 52 fPtr->~T(); 54 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...); 55 return fPtr; [all...] |
/external/clang/test/CodeGenCXX/ |
function-template-specialization.cpp | 14 void test(int *iptr, float *fptr, int diff) { 19 fptr = next(fptr, diff);
|
/external/llvm/test/CodeGen/AMDGPU/ |
flat-address-space.ll | 22 %fptr = addrspacecast i32 addrspace(1)* %gptr to i32 addrspace(4)* 23 store i32 %x, i32 addrspace(4)* %fptr, align 4 30 %fptr = addrspacecast i64 addrspace(1)* %gptr to i64 addrspace(4)* 31 store i64 %x, i64 addrspace(4)* %fptr, align 8 38 %fptr = addrspacecast <4 x i32> addrspace(1)* %gptr to <4 x i32> addrspace(4)* 39 store <4 x i32> %x, <4 x i32> addrspace(4)* %fptr, align 16 46 %fptr = addrspacecast i16 addrspace(1)* %gptr to i16 addrspace(4)* 48 store i16 %y, i16 addrspace(4)* %fptr, align 2 55 %fptr = addrspacecast i8 addrspace(1)* %gptr to i8 addrspace(4)* 57 store i8 %y, i8 addrspace(4)* %fptr, align [all...] |
/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;
|
/external/skia/include/private/ |
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; 116 Adopted(T* ptr) : fPtr(ptr) { SkASSERT(fPtr); [all...] |
SkTemplates.h | 267 fPtr = ptr; 272 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW); 276 sk_free(fPtr); 281 fPtr = reinterpret_cast<T*>(sk_realloc_throw(fPtr, count * sizeof(T))); 286 sk_free(fPtr); 287 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW); 288 return fPtr; 291 T* get() const { return fPtr; } 294 return fPtr; [all...] |
/external/clang/test/CodeGenObjC/ |
debug-info-class-extension3.m | 12 void bar(Foo *fptr) {}
|
debug-info-class-extension2.m | 15 void bar(Foo *fptr) {}
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
reloc.s | 24 movl r3 = @fptr(esym) 25 .xdata4 .rodata.4, @fptr(esym) 26 .xdata8 .rodata.8, @fptr(esym) 35 mov r2 = @ltoff(@fptr(esym)) 36 movl r3 = @ltoff(@fptr(esym)) 37 .xdata4 .rodata.4, @ltoff(@fptr(esym)) 38 .xdata8 .rodata.8, @ltoff(@fptr(esym))
|
/ndk/sources/host-tools/make-3.81/ |
vmsify.c | 224 char *fptr; local 232 fptr = name; 329 fptr = s; 348 if (*fptr == '/') 350 fptr++; 353 else if (*fptr == '.') 355 fptr++; 363 if (*fptr == '/') 365 fptr++; 373 s = strchr (fptr, '/'); [all...] |
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcMCJITReplacement.cpp | 31 void *FPtr = getPointerToFunction(F); 32 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); 51 (int (*)(int, char **, const char **))(intptr_t)FPtr; 64 int (*PF)(int, char **) = (int (*)(int, char **))(intptr_t)FPtr; 76 int (*PF)(int) = (int (*)(int))(intptr_t)FPtr; 93 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)()); 95 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)()); 97 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)()); 99 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)()); 101 rv.IntVal = APInt(BitWidth, ((int64_t (*)())(intptr_t)FPtr)()); [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
constassign.c | 22 void (*const fptr)(void) = foo; 25 fptr = bar;
|
/external/llvm/test/Transforms/InstCombine/ |
tan.ll | 13 define float @test2(float ()* %fptr) #0 { 14 %call1 = call float %fptr()
|
/external/skia/src/pdf/ |
SkPDFCanon.h | 101 explicit WrapGS(const SkPDFGraphicState* ptr = nullptr) : fPtr(ptr) {} 102 const SkPDFGraphicState* fPtr; 104 SkASSERT(fPtr); 105 SkASSERT(rhs.fPtr); 106 return *fPtr == *rhs.fPtr; 110 SkASSERT(w.fPtr); 111 return w.fPtr->hash();
|
/external/clang/test/SemaOpenCL/ |
func_ptr.cl | 8 void (*fptr)(int); // expected-error{{pointers to functions are not allowed}}
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-ia64/ |
local1.s | 8 data8 @fptr(hidden#)
|
/external/ceres-solver/examples/ |
bal_problem.cc | 49 void FscanfOrDie(FILE* fptr, const char* format, T* value) { 50 int num_scanned = fscanf(fptr, format, value); 72 FILE* fptr = fopen(filename.c_str(), "r"); local 74 if (fptr == NULL) { 80 FscanfOrDie(fptr, "%d", &num_cameras_); 81 FscanfOrDie(fptr, "%d", &num_points_); 82 FscanfOrDie(fptr, "%d", &num_observations_); 96 FscanfOrDie(fptr, "%d", camera_index_ + i); 97 FscanfOrDie(fptr, "%d", point_index_ + i); 99 FscanfOrDie(fptr, "%lf", observations_ + 2*i + j) 137 FILE* fptr = fopen(filename.c_str(), "w"); local [all...] |
/external/selinux/libsemanage/tests/ |
test_utilities.c | 51 FILE *fptr; variable 63 fptr = fdopen(fd, "w+"); 64 if (!fptr) { 69 fprintf(fptr, "one\ntwo\nthree\nsigma=foo\n#boo\n#bar\n"); 71 rewind(fptr); 250 if (!fptr) { 255 rewind(fptr); 259 rewind(fptr); 274 if (!fptr) { 277 rewind(fptr); [all...] |