Home
last modified time | relevance | path

Searched refs:fnptr (Results 1 – 25 of 27) sorted by relevance

12

/external/selinux/libselinux/src/
Dlabel.c21 #define CONFIG_FILE_BACKEND(fnptr) NULL argument
23 #define CONFIG_FILE_BACKEND(fnptr) &fnptr argument
27 #define CONFIG_MEDIA_BACKEND(fnptr) NULL argument
29 #define CONFIG_MEDIA_BACKEND(fnptr) &fnptr argument
33 #define CONFIG_X_BACKEND(fnptr) NULL argument
35 #define CONFIG_X_BACKEND(fnptr) &fnptr argument
39 #define CONFIG_DB_BACKEND(fnptr) NULL argument
41 #define CONFIG_DB_BACKEND(fnptr) &fnptr argument
45 #define CONFIG_ANDROID_BACKEND(fnptr) NULL argument
47 #define CONFIG_ANDROID_BACKEND(fnptr) (&(fnptr)) argument
/external/llvm-project/lld/test/wasm/Inputs/
Dweak-alias.ll25 %fnptr = alloca i32 ()*, align 8
26 store i32 ()* @alias_fn, i32 ()** %fnptr, align 8
27 %0 = load i32 ()*, i32 ()** %fnptr, align 8
34 %fnptr = alloca i32 ()*, align 8
35 store i32 ()* @direct_fn, i32 ()** %fnptr, align 8
36 %0 = load i32 ()*, i32 ()** %fnptr, align 8
/external/clang/test/SemaCXX/
Dreinterpret-fn-obj-pedantic.cpp5 typedef void (*fnptr)(); in fnptrs() typedef
6 fnptr fp = 0; in fnptrs()
8 …(void)reinterpret_cast<fnptr>(vp); // expected-warning {{cast between pointer-to-function and poin… in fnptrs()
Dcstyle-cast.cpp170 typedef void (*fnptr)(); typedef
178 fnptr fnp = (fnptr)(l); in integral_conversion()
190 (void)(fnptr*)(deep); in pointer_conversion()
207 fnptr fp = 0; in fnptrs()
210 (void)(fnptr)(vp); in fnptrs()
Dreinterpret-cast.cpp7 typedef void (*fnptr)(); typedef
41 fnptr fnp = reinterpret_cast<fnptr>(i); in integral_conversion()
53 (void)reinterpret_cast<fnptr*>(deep); in pointer_conversion()
76 fnptr fp = 0; in fnptrs()
79 (void)reinterpret_cast<fnptr>(vp); in fnptrs()
Dfunctional-cast.cpp232 typedef void (*fnptr)(); typedef
242 fnptr fnp = fnptr(l); in integral_conversion()
257 typedef fnptr fnptrp; in pointer_conversion()
279 fnptr fp = 0; in fnptrs()
283 (void)fnptr(vp); in fnptrs()
/external/llvm-project/clang/test/SemaCXX/
Dreinterpret-fn-obj-pedantic.cpp5 typedef void (*fnptr)(); in fnptrs() typedef
6 fnptr fp = 0; in fnptrs()
8 …(void)reinterpret_cast<fnptr>(vp); // expected-warning {{cast between pointer-to-function and poin… in fnptrs()
Dcstyle-cast.cpp170 typedef void (*fnptr)(); typedef
178 fnptr fnp = (fnptr)(l); in integral_conversion()
195 (void)(fnptr*)(deep); in pointer_conversion()
212 fnptr fp = 0; in fnptrs()
215 (void)(fnptr)(vp); in fnptrs()
Dreinterpret-cast.cpp7 typedef void (*fnptr)(); typedef
41 fnptr fnp = reinterpret_cast<fnptr>(i); in integral_conversion()
53 (void)reinterpret_cast<fnptr*>(deep); in pointer_conversion()
76 fnptr fp = 0; in fnptrs()
79 (void)reinterpret_cast<fnptr>(vp); in fnptrs()
Dfunctional-cast.cpp232 typedef void (*fnptr)(); typedef
242 fnptr fnp = fnptr(l); in integral_conversion()
257 typedef fnptr fnptrp; in pointer_conversion()
279 fnptr fp = 0; in fnptrs()
283 (void)fnptr(vp); in fnptrs()
/external/llvm/test/CodeGen/X86/
Dcoalescer-win64.ll4 @fnptr = external global void ()*
8 %p = load void ()*, void ()** @fnptr
15 ; CHECK: rex64 jmpq *fnptr(%rip)
/external/llvm-project/llvm/test/CodeGen/X86/
Dcoalescer-win64.ll4 @fnptr = external global void ()*
8 %p = load void ()*, void ()** @fnptr
15 ; CHECK: rex64 jmpq *fnptr(%rip)
/external/llvm-project/llvm/test/Bitcode/
Dfunction-nonzero-address-spaces.ll7 ; ERR-AS39: error: '%fnptr' defined with type 'void (i16) addrspace(40)*' but expected 'void (i16) …
11 ; ERR-AS0: error: '%fnptr' defined with type 'void (i16) addrspace(40)*' but expected 'void (i16)*'
17 %fnptr = load void (i16) addrspace(40)*, void (i16) addrspace(40)** %f.addr
18 call void %fnptr(i16 8)
/external/python/cffi/cffi/
D_embedding.h441 _cffi_call_python_fnptr fnptr; in _cffi_start_and_call_python() local
446 fnptr = _cffi_start_python(); in _cffi_start_and_call_python()
447 if (fnptr == NULL) { in _cffi_start_and_call_python()
457 if (fnptr != NULL) in _cffi_start_and_call_python()
458 fnptr(externpy, args); in _cffi_start_and_call_python()
/external/llvm-project/clang/test/Analysis/
Dmalloc-fnptr-plist.c5 void (*fnptr)(int); variable
7 free((void *)fnptr); // expected-warning{{Argument to free() is a function pointer}} in foo()
Dmalloc.c1776 void (*fnptr)(int); variable
1778 void *p = (void *)fnptr; in freeIndirectFunctionPtr()
1783 free((void *)fnptr); // expected-warning {{Argument to free() is a function pointer}} in freeFunctionPtr()
/external/llvm-project/clang/test/CodeGenCXX/
Dlambda-to-function-pointer-conversion.cpp14 void (*fnptr)(Trivial); variable
17 fnptr = [](Trivial a){ (void)a; }; in test()
/external/llvm-project/llvm/test/CodeGen/NVPTX/
Dcallchain.ll6 %fnptr = bitcast i8* %ptr to void ()*
8 tail call void %fnptr()
/external/llvm/test/CodeGen/NVPTX/
Dcallchain.ll6 %fnptr = bitcast i8* %ptr to void ()*
8 tail call void %fnptr()
/external/llvm-project/clang/test/CodeGenObjCXX/
Dproperty-lvalue-lambda.mm8 @property fnptr_t fnptr; property
28 x.fnptr = [] {};
46 x.fnptr += [] {};
/external/llvm/test/Transforms/SampleProfile/
Dfnptr.ll5 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/fnptr.prof | opt -analyze -branch-pr…
6 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/fnptr.binprof | opt -analyze -branch…
8 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/fnptr.prof | opt -analyze -br…
9 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/fnptr.binprof | opt -analyze …
138 !4 = !DIFile(filename: "fnptr.cc", directory: ".")
139 !5 = !DIFile(filename: "fnptr.cc", directory: ".")
/external/llvm-project/llvm/test/Transforms/SampleProfile/
Dfnptr.ll5 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/fnptr.prof | opt -analyze -branch-pr…
6 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/fnptr.binprof | opt -analyze -branch…
8 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/fnptr.prof | opt -passes='pri…
9 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/fnptr.binprof | opt -passes='…
141 !4 = !DIFile(filename: "fnptr.cc", directory: ".")
142 !5 = !DIFile(filename: "fnptr.cc", directory: ".")
/external/pdfium/fpdfsdk/
Dfpdf_view_c_api_test.c35 typedef void (*fnptr)(void); // Legal generic function type for casts. typedef
36 fnptr g_c_api_test_fnptr = NULL; // Extern, so can't know it doesn't change.
37 #define CHK(x) if ((fnptr)(x) == g_c_api_test_fnptr) return 0
/external/libchrome/base/third_party/valgrind/
Dvalgrind.h748 #define CALL_FN_v_v(fnptr) \ argument
750 CALL_FN_W_v(_junk,fnptr); } while (0)
752 #define CALL_FN_v_W(fnptr, arg1) \ argument
754 CALL_FN_W_W(_junk,fnptr,arg1); } while (0)
756 #define CALL_FN_v_WW(fnptr, arg1,arg2) \ argument
758 CALL_FN_W_WW(_junk,fnptr,arg1,arg2); } while (0)
760 #define CALL_FN_v_WWW(fnptr, arg1,arg2,arg3) \ argument
762 CALL_FN_W_WWW(_junk,fnptr,arg1,arg2,arg3); } while (0)
764 #define CALL_FN_v_WWWW(fnptr, arg1,arg2,arg3,arg4) \ argument
766 CALL_FN_W_WWWW(_junk,fnptr,arg1,arg2,arg3,arg4); } while (0)
[all …]
/external/llvm-project/llvm/test/CodeGen/ARM/
Dv8m-tail-call.ll76 @fnptr = global i32 (i32, i32, i32, i32)* null
81 ; CHECK-NEXT: movw r0, :lower16:fnptr
82 ; CHECK-NEXT: movt r0, :upper16:fnptr
90 %1 = load i32 (i32, i32, i32, i32)*, i32 (i32, i32, i32, i32)** @fnptr

12