Home
last modified time | relevance | path

Searched refs:fn_ptr (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/libs/
Ddlopen_testlib_ifunc_variable_impl.cpp46 typedef const char* (*fn_ptr)(); typedef
48 extern "C" fn_ptr is_ctor_called_ifun() { in is_ctor_called_ifun()
49 return (fn_ptr)(g_flag == 0 ? &var_false : &var_true); in is_ctor_called_ifun()
52 extern "C" fn_ptr foo_ifunc() { in foo_ifunc()
54 return (fn_ptr)(choice == nullptr ? &v1 : &v2); in foo_ifunc()
Ddlopen_testlib_ifunc.cpp56 typedef const char* (*fn_ptr)(); typedef
58 extern "C" fn_ptr is_ctor_called_ifun() { in is_ctor_called_ifun()
62 extern "C" fn_ptr foo_ifunc() { in foo_ifunc()
/bionic/benchmarks/
Dutil.h33 …((unused)) EmplaceBenchmark(const std::string& fn_name, benchmark_func_t fn_ptr, const std::string…
35 g_str_to_func.emplace(std::string(fn_name), std::make_pair(fn_ptr, arg));
/bionic/tests/
Ddlfcn_test.cpp266 typedef const char* (*fn_ptr)(); in TEST() typedef
276 fn_ptr foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
290 foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
300 typedef const char* (*fn_ptr)(); in TEST() typedef
307 fn_ptr foo_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo")); in TEST()
308 fn_ptr foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
319 foo_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo")); in TEST()
320 foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
329 typedef const char* (*fn_ptr)(); in TEST() typedef
333 fn_ptr is_ctor_called = reinterpret_cast<fn_ptr>(dlsym(handle, "is_ctor_called_irelative")); in TEST()
[all …]