Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/interception/tests/
H A Dinterception_linux_test.cpp25 static int InterceptorFunctionCalled; variable
30 ++InterceptorFunctionCalled; in INTERCEPTOR()
51 InterceptorFunctionCalled = 0; in TEST()
53 EXPECT_EQ(1, InterceptorFunctionCalled); in TEST()
55 EXPECT_EQ(2, InterceptorFunctionCalled); in TEST()
58 InterceptorFunctionCalled = 0; in TEST()
61 EXPECT_EQ(0, InterceptorFunctionCalled); in TEST()
H A Dinterception_win_test.cpp363 int InterceptorFunctionCalled; variable
367 ++InterceptorFunctionCalled; in InterceptorFunction()
398 InterceptorFunctionCalled = 0; in TestIdentityFunctionPatching()
401 EXPECT_EQ(0, InterceptorFunctionCalled); in TestIdentityFunctionPatching()
418 InterceptorFunctionCalled = 0; in TestIdentityFunctionPatching()
421 EXPECT_EQ(2, InterceptorFunctionCalled); in TestIdentityFunctionPatching()
424 InterceptorFunctionCalled = 0; in TestIdentityFunctionPatching()
427 EXPECT_EQ(0, InterceptorFunctionCalled); in TestIdentityFunctionPatching()
554 InterceptorFunctionCalled = 0; in TEST()
557 EXPECT_EQ(2, InterceptorFunctionCalled); in TEST()