Searched refs:fn_ptr (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/libs/ |
D | dlopen_testlib_ifunc_variable_impl.cpp | 46 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()
|
D | dlopen_testlib_ifunc.cpp | 56 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/ |
D | util.h | 33 …((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/ |
D | dlfcn_test.cpp | 266 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 …]
|