Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/interception/tests/
H A Dinterception_linux_test.cc26 static int InterceptorFunctionCalled; variable
31 ++InterceptorFunctionCalled; in INTERCEPTOR()
52 InterceptorFunctionCalled = 0; in TEST()
54 EXPECT_EQ(1, InterceptorFunctionCalled); in TEST()
56 EXPECT_EQ(2, InterceptorFunctionCalled); in TEST()
59 InterceptorFunctionCalled = 0; in TEST()
62 EXPECT_EQ(0, InterceptorFunctionCalled); in TEST()
H A Dinterception_win_test.cc289 int InterceptorFunctionCalled; variable
293 ++InterceptorFunctionCalled; in InterceptorFunction()
323 InterceptorFunctionCalled = 0; in TestIdentityFunctionPatching()
326 EXPECT_EQ(0, InterceptorFunctionCalled); in TestIdentityFunctionPatching()
343 InterceptorFunctionCalled = 0; in TestIdentityFunctionPatching()
346 EXPECT_EQ(2, InterceptorFunctionCalled); in TestIdentityFunctionPatching()
349 InterceptorFunctionCalled = 0; in TestIdentityFunctionPatching()
352 EXPECT_EQ(0, InterceptorFunctionCalled); in TestIdentityFunctionPatching()
476 InterceptorFunctionCalled = 0; in TEST()
479 EXPECT_EQ(2, InterceptorFunctionCalled); in TEST()