Home
last modified time | relevance | path

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

/bionic/tests/
Dpthread_dlfcn_test.cpp28 static int g_atfork_parent_calls = 0; variable
29 static void AtForkParent1() { g_atfork_parent_calls = (g_atfork_parent_calls * 10) + 1; } in AtForkParent1()
30 static void AtForkParent2() { g_atfork_parent_calls = (g_atfork_parent_calls * 10) + 2; } in AtForkParent2()
31 static void AtForkParent3() { g_atfork_parent_calls = (g_atfork_parent_calls * 10) + 3; } in AtForkParent3()
32 static void AtForkParent4() { g_atfork_parent_calls = (g_atfork_parent_calls * 10) + 4; } in AtForkParent4()
68 ASSERT_EQ(1234, g_atfork_parent_calls); in TEST()
72 g_atfork_prepare_calls = g_atfork_parent_calls = g_atfork_child_calls = 0; in TEST()
85 ASSERT_EQ(14, g_atfork_parent_calls); in TEST()
Dpthread_test.cpp1378 static int g_atfork_parent_calls = 0; variable
1379 static void AtForkParent1() { g_atfork_parent_calls = (g_atfork_parent_calls * 10) + 1; } in AtForkParent1()
1380 static void AtForkParent2() { g_atfork_parent_calls = (g_atfork_parent_calls * 10) + 2; } in AtForkParent2()
1397 ASSERT_EQ(12, g_atfork_parent_calls); in TEST()