Searched refs:g_atfork_prepare_calls (Results 1 – 2 of 2) sorted by relevance
22 static int g_atfork_prepare_calls = 0; variable23 static void AtForkPrepare1() { g_atfork_prepare_calls = (g_atfork_prepare_calls * 10) + 1; } in AtForkPrepare1()24 static void AtForkPrepare2() { g_atfork_prepare_calls = (g_atfork_prepare_calls * 10) + 2; } in AtForkPrepare2()25 static void AtForkPrepare3() { g_atfork_prepare_calls = (g_atfork_prepare_calls * 10) + 3; } in AtForkPrepare3()26 static void AtForkPrepare4() { g_atfork_prepare_calls = (g_atfork_prepare_calls * 10) + 4; } in AtForkPrepare4()69 ASSERT_EQ(4321, g_atfork_prepare_calls); in TEST()72 g_atfork_prepare_calls = g_atfork_parent_calls = g_atfork_child_calls = 0; in TEST()86 ASSERT_EQ(41, g_atfork_prepare_calls); in TEST()
1375 static int g_atfork_prepare_calls = 0; variable1376 static void AtForkPrepare1() { g_atfork_prepare_calls = (g_atfork_prepare_calls * 10) + 1; } in AtForkPrepare1()1377 static void AtForkPrepare2() { g_atfork_prepare_calls = (g_atfork_prepare_calls * 10) + 2; } in AtForkPrepare2()1400 ASSERT_EQ(21, g_atfork_prepare_calls); in TEST()