Lines Matching refs:flag
160 static std::once_flag flag; in test_func_pointers() local
161 std::call_once(flag, &funcPointer); in test_func_pointers()
182 std::once_flag flag; in test_function_objects_warning() local
188 std::call_once(flag, func); in test_function_objects_warning()
195 std::once_flag flag; in test_param_passing_lambda() local
199 std::call_once(flag, [&](int p) { in test_param_passing_lambda()
210 std::once_flag flag; in test_param_passing_lambda_false() local
213 std::call_once(flag, [&](int p) { in test_param_passing_lambda_false()
224 std::once_flag flag; in test_param_passing_stored_lambda() local
232 std::call_once(flag, lambda, x); in test_param_passing_stored_lambda()
239 std::once_flag flag; in test_multiparam_passing_lambda() local
242 std::call_once(flag, [&](int a, int b, int c) { in test_multiparam_passing_lambda()
255 std::once_flag flag; in test_param_passing_lambda_global() local
257 std::call_once(flag, [&](int a, int b, int c) { in test_param_passing_lambda_global()
272 std::once_flag flag; in test_param_passing_funcptr() local
275 std::call_once(flag, &funcptr, 1, 2, 3); in test_param_passing_funcptr()
284 std::once_flag flag; in test_blocks() local
285 std::call_once(flag, ^{ in test_blocks()
316 static std::once_flag flag; in test_lambda_refcapture() local
318 std::call_once(flag, [&](int &a) { a = 42; }, a); in test_lambda_refcapture()
325 static std::once_flag flag; in test_lambda_refcapture2() local
327 std::call_once(flag, [=](int &a) { a = 42; }, a); in test_lambda_refcapture2()
334 static std::once_flag flag; in test_lambda_fail_refcapture() local
336 std::call_once(flag, [=](int a) { a = 42; }, a); in test_lambda_fail_refcapture()
346 static std::once_flag flag; in test_reftypes_funcptr() local
348 std::call_once(flag, &mutator, a); in test_reftypes_funcptr()
358 static std::once_flag flag; in test_mutator_noref() local
360 std::call_once(flag, &fail_mutator, a); in test_mutator_noref()
392 std::once_flag flag; in callback_with_implicit_cast_ok() local
393 call_once(flag, callback_taking_func_ok, ¶m_passed); in callback_with_implicit_cast_ok()
403 std::once_flag flag; in callback_with_implicit_cast() local
404 call_once(flag, callback_taking_func, callback_with_implicit_cast); in callback_with_implicit_cast()