Lines Matching refs:fn
61 typedef int (*fn)(void); typedef
93 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
103 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
117 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
281 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); in TEST() local
282 ASSERT_TRUE(fn != nullptr) << dlerror(); in TEST()
284 void *p = fn(); in TEST()
309 int (*fn)(void); in TEST() local
310 fn = reinterpret_cast<int (*)(void)>(dlsym(handle, "getRandomNumber")); in TEST()
311 ASSERT_TRUE(fn != nullptr); in TEST()
312 EXPECT_EQ(4, fn()); in TEST()
332 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
368 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
375 f = reinterpret_cast<fn>(dlsym(handle_, "getBiggerRandomNumber")); in TEST_F()
411 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
428 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
470 fn f = reinterpret_cast<fn>(dlsym(handle, "getRandomNumber")); in CreateRelroFile()
475 fn f = reinterpret_cast<fn>(dlsym(handle, "getBiggerRandomNumber")); in CreateRelroFile()
502 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TryUsingRelro()
507 fn f = reinterpret_cast<fn>(dlsym(handle_, "getBiggerRandomNumber")); in TryUsingRelro()