Home
last modified time | relevance | path

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

/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()