Home
last modified time | relevance | path

Searched refs:test_val (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/engine/flutter/shell/common/
Dpipeline_unittests.cc25 const int test_val = 1; in TEST() local
26 continuation.Complete(std::make_unique<int>(test_val)); in TEST()
29 [&test_val](std::unique_ptr<int> v) { ASSERT_EQ(*v, test_val); }); in TEST()
39 const int test_val = 1; in TEST() local
40 continuation.Complete(std::make_unique<int>(test_val)); in TEST()
43 [&test_val](std::unique_ptr<int> v) { ASSERT_EQ(*v, test_val); }); in TEST()
45 continuation.Complete(std::make_unique<int>(test_val)); in TEST()
51 continuation.Complete(std::make_unique<int>(test_val)); in TEST()
/third_party/flutter/engine/flutter/fml/
Dmessage_loop_task_queues_unittests.cc62 int test_val = 0; in TEST() local
66 queue_id, [&test_val]() { test_val = 1; }, fml::TimePoint::Now()); in TEST()
70 queue_id, [&test_val]() { test_val = 2; }, fml::TimePoint::Now()); in TEST()
79 ASSERT_TRUE(test_val == expected_value); in TEST()
97 int test_val = 0; in TEST() local
100 task_queue->AddTaskObserver(queue_id, key, [&test_val]() { test_val = 1; }); in TEST()
102 ASSERT_TRUE(test_val == 1); in TEST()
104 test_val = 0; in TEST()
107 ASSERT_TRUE(test_val == 0); in TEST()
/third_party/mesa3d/src/compiler/nir/tests/
Dbuilder_tests.cpp63 nir_ssa_def *test_val(unsigned idx) in test_val() function in __anon4bd82e550111::nir_builder_test
111 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F()
127 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F()
146 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F()
/third_party/googletest/googletest/test/
Dgoogletest-env-var-test.py71 def TestFlag(flag, test_val, default_val): argument
75 SetEnvVar(env_var, test_val)
76 AssertEq(test_val, GetFlag(flag))
/third_party/python/Lib/test/
Dtest_winreg.py351 test_val = 0x80000000
352 SetValueEx(ck, "test_name", None, REG_DWORD, test_val)
355 self.assertEqual(ret_val, test_val)
364 test_val = None
365 SetValueEx(ck, "test_name", 0, REG_BINARY, test_val)
368 self.assertEqual(ret_val, test_val)
377 test_val = "A string\x00 with a null"
378 SetValueEx(ck, "test_name", 0, REG_SZ, test_val)
/third_party/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-num.c107 gdouble test_val = 0.0; in cr_num_to_string() local
115 test_val = a_this->val - (glong) a_this->val; in cr_num_to_string()
117 if (!test_val) { in cr_num_to_string()
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
Dtest-cmpxchg-nolock.c42 int test_val; variable
83 ret = sync_cmpxchg(&test_val, 0, 0); in do_test_sync_cmpxchg()
85 ret = cmpxchg(&test_val, 0, 0); in do_test_sync_cmpxchg()
113 ret = cmpxchg_local(&test_val, 0, 0); in do_test_cmpxchg()
/third_party/boost/libs/any/test/
Dany_test.cpp388 boost::any test_val(obj); in test_addressof() local
390 … class_with_address_op<int> returned_obj = boost::any_cast<class_with_address_op<int> >(test_val); in test_addressof()
393 …check_true(!!boost::any_cast<class_with_address_op<int> >(&test_val), "any_cast incorrectly works … in test_addressof()
394 …check_equal(boost::unsafe_any_cast<class_with_address_op<int> >(&test_val)->get(), ptr, "unsafe_an… in test_addressof()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp378 uint16_t test_val = 0x2345; in getConstantFieldValue() local
380 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue()
382 support::endian::write16be(test_buf.c, test_val); in getConstantFieldValue()
384 bool endian_match = test_buf.s == test_val; in getConstantFieldValue()
/third_party/boost/libs/type_erasure/test/
Dtest_typeid_of.cpp30 BOOST_AUTO_TEST_CASE(test_val) in BOOST_AUTO_TEST_CASE() argument
Dtest_param.cpp115 void test_val() { in test_val() function
Dtest_dynamic_any_cast.cpp149 BOOST_AUTO_TEST_CASE(test_val) in BOOST_AUTO_TEST_CASE() argument
/third_party/glib/glib/tests/
Doption-context.c2591 double test_val = NAN; in double_zero() local
2593 { { "test", 0, 0, G_OPTION_ARG_DOUBLE, &test_val, NULL, NULL }, in double_zero()
2608 g_assert (test_val == 0); in double_zero()
/third_party/mesa3d/src/compiler/glsl/
Dast.h1175 ir_rvalue *test_val; variable
Dast_to_hir.cpp6711 if (test_val == NULL) in eval_test_expression()
6712 test_val = this->test_expression->hir(instructions, state); in eval_test_expression()
6728 if (!test_val->type->is_scalar() || in hir()
6729 !test_val->type->is_integer_32()) { in hir()
6844 state->switch_state.test_var = new(ctx) ir_variable(test_val->type, in test_to_hir()
6851 instructions->push_tail(new(ctx) ir_assignment(deref_test_var, test_val)); in test_to_hir()
Dglsl_parser_extras.cpp1598 this->test_val = NULL; in ast_switch_statement()