Home
last modified time | relevance | path

Searched refs:callback_t (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang/test/Sema/
Dcallingconv-cast.c25 typedef void (WINAPI *callback_t)(int); typedef
26 void take_callback(callback_t callback);
34 take_callback((callback_t)mismatched); in main()
37 callback_t callback = (callback_t)mismatched; // warns in main()
41 callback = (callback_t)&mismatched; // warns in main()
44 callback = (callback_t)!mismatched; in main()
47 callback = (callback_t)&mismatched_before_winapi; // warns in main()
51 take_callback((callback_t)callback2); in main()
54 take_callback((callback_t)(void*)mismatched); in main()
58 take_callback((callback_t)mismatched_declaration); in main()
[all …]
/external/clang/test/Sema/
Dcallingconv-cast.c18 typedef void (WINAPI *callback_t)(int); typedef
19 void take_callback(callback_t callback);
27 take_callback((callback_t)mismatched); in main()
30 callback_t callback = (callback_t)mismatched; // warns in main()
34 callback = (callback_t)&mismatched; // warns in main()
37 callback = (callback_t)!mismatched; in main()
40 callback = (callback_t)&mismatched_before_winapi; // warns in main()
44 take_callback((callback_t)callback2); in main()
47 take_callback((callback_t)(void*)mismatched); in main()
/external/clang/test/CodeGenCXX/
D2007-09-10-RecursiveTypeResolution.cpp83 typedef CallbackBase_1Data < int > callback_t; in unregisterCallback() typedef
84 callback_t *cb = static_cast < callback_t * >(callback); in unregisterCallback()
/external/llvm-project/clang/test/CodeGenCXX/
D2007-09-10-RecursiveTypeResolution.cpp83 typedef CallbackBase_1Data < int > callback_t; in unregisterCallback() typedef
84 callback_t *cb = static_cast < callback_t * >(callback); in unregisterCallback()
/external/llvm-project/clang/test/CodeGen/
Darm-cmse-attr.c10 typedef void (*callback_t)(void) __attribute__((cmse_nonsecure_call)); typedef
13 void f1(callback_t fptr) in f1()
/external/llvm-project/clang/test/Headers/
Darm-cmse-header-ns.c6 typedef void (*callback_t)(void); typedef
8 void func(callback_t fptr, void *p) in func()
Darm-cmse-header.c7 typedef void (*callback_t)(void); typedef
9 void func(callback_t fptr, void *p) in func()