Home
last modified time | relevance | path

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

/bionic/tests/
Dpthread_dlfcn_test.cpp34 static int g_atfork_child_calls = 0; variable
35 static void AtForkChild1() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 1; } in AtForkChild1()
36 static void AtForkChild2() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 2; } in AtForkChild2()
37 static void AtForkChild3() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 3; } in AtForkChild3()
38 static void AtForkChild4() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 4; } in AtForkChild4()
64 ASSERT_EQ(1234, g_atfork_child_calls); in TEST()
72 g_atfork_prepare_calls = g_atfork_parent_calls = g_atfork_child_calls = 0; in TEST()
81 ASSERT_EQ(14, g_atfork_child_calls); in TEST()
Dpthread_test.cpp1381 static int g_atfork_child_calls = 0; variable
1382 static void AtForkChild1() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 1; } in AtForkChild1()
1383 static void AtForkChild2() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 2; } in AtForkChild2()
1394 ASSERT_EQ(12, g_atfork_child_calls); in TEST()