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.cpp1422 static int g_atfork_child_calls = 0; variable
1423 static void AtForkChild1() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 1; } in AtForkChild1()
1424 static void AtForkChild2() { g_atfork_child_calls = (g_atfork_child_calls * 10) + 2; } in AtForkChild2()
1430 g_atfork_prepare_calls = g_atfork_parent_calls = g_atfork_child_calls = 0; in TEST()
1436 ASSERT_EQ(12, g_atfork_child_calls); in TEST()
1450 g_atfork_prepare_calls = g_atfork_parent_calls = g_atfork_child_calls = 0; in TEST()
1456 ASSERT_EQ(0, g_atfork_child_calls); in TEST()
1469 g_atfork_prepare_calls = g_atfork_parent_calls = g_atfork_child_calls = 0; in TEST()
1475 ASSERT_EQ(0, g_atfork_child_calls); in TEST()