Lines Matching refs:call_once
44 void call_once(once_flag &o, Callable&& func, Args&&... args) {}; in call_once() function
47 void call_once(once_flag &o, Callable func, Args&&... args) {}; in call_once() function
57 std::call_once(g_initialize, [&] { in test_called_warning()
73 std::call_once(g_initialize, [&] { in test_called_on_path_inside_no_warning()
90 std::call_once(g_initialize, [&] { in test_called_on_path_no_warning()
107 std::call_once(g_initialize, [&] { in test_called_on_path_warning()
122 std::call_once(g_initialize, [&] { in test_called_once_warning()
126 std::call_once(g_initialize, [&] { in test_called_once_warning()
141 std::call_once(g_initialize, [&] { in test_called_once_no_warning()
145 std::call_once(g_initialize, [&] { in test_called_once_no_warning()
161 std::call_once(flag, &funcPointer); in test_func_pointers()
188 std::call_once(flag, func); in test_function_objects_warning()
199 std::call_once(flag, [&](int p) { in test_param_passing_lambda()
213 std::call_once(flag, [&](int p) { in test_param_passing_lambda_false()
232 std::call_once(flag, lambda, x); in test_param_passing_stored_lambda()
242 std::call_once(flag, [&](int a, int b, int c) { in test_multiparam_passing_lambda()
257 std::call_once(flag, [&](int a, int b, int c) { in test_param_passing_lambda_global()
275 std::call_once(flag, &funcptr, 1, 2, 3); in test_param_passing_funcptr()
285 std::call_once(flag, ^{ in test_blocks()
293 int call_once() { in call_once() function
298 int x = call_once(); in test_non_std_call_once()
306 void call_once(d, e);
311 std::call_once(g, false); // no-warning in test_no_segfault_on_different_impl()
318 std::call_once(flag, [&](int &a) { a = 42; }, a); in test_lambda_refcapture()
327 std::call_once(flag, [=](int &a) { a = 42; }, a); in test_lambda_refcapture2()
336 std::call_once(flag, [=](int a) { a = 42; }, a); in test_lambda_fail_refcapture()
348 std::call_once(flag, &mutator, a); in test_reftypes_funcptr()
360 std::call_once(flag, &fail_mutator, a); in test_mutator_noref()
375 std::call_once(flagn, callbackn, x); in test_implicit_funcptr()
393 call_once(flag, callback_taking_func_ok, ¶m_passed); in callback_with_implicit_cast_ok()
404 call_once(flag, callback_taking_func, callback_with_implicit_cast); in callback_with_implicit_cast()
413 call_once(another_once_flag, callback, &global_int); in rdar40270582()