Home
last modified time | relevance | path

Searched refs:test_var (Results 1 – 9 of 9) sorted by relevance

/third_party/boost/libs/variant/test/
Dconst_ref_apply_visitor.cpp128 void test_const_ref_parameter(const variant_type& test_var) in test_const_ref_parameter() argument
132 BOOST_TEST(boost::apply_visitor(lvalue_rvalue_detector(), test_var) == "lvalue reference"); in test_const_ref_parameter()
135 void test_const_ref_parameter2(const variant_type& test_var, const variant_type& test_var2) in test_const_ref_parameter2() argument
139 …BOOST_TEST(boost::apply_visitor(lvalue_rvalue_detector(), test_var, test_var2) == "lvalue referenc… in test_const_ref_parameter2()
142 void test_const_ref_parameter4(const variant_type& test_var, const variant_type& test_var2, const v… in test_const_ref_parameter4() argument
146 …BOOST_TEST(boost::apply_visitor(lvalue_rvalue_detector(), test_var, test_var2, test_var3, test_var… in test_const_ref_parameter4()
152 void test_rvalue_parameter(variant_type&& test_var) in test_rvalue_parameter() argument
156 const auto expected_val = lcs(test_var); in test_rvalue_parameter()
157 …BOOST_TEST(boost::apply_visitor(lvalue_rvalue_detector(), std::move(test_var)) == "rvalue referenc… in test_rvalue_parameter()
160 void test_rvalue_parameter2(variant_type&& test_var, variant_type&& test_var2) in test_rvalue_parameter2() argument
[all …]
/third_party/grpc/test/core/gpr/
Dtls_test.cc34 GPR_TLS_DECL(test_var);
39 GPR_ASSERT(gpr_tls_get(&test_var) == 0); in thd_body()
42 gpr_tls_set(&test_var, i); in thd_body()
43 GPR_ASSERT(gpr_tls_get(&test_var) == i); in thd_body()
45 gpr_tls_set(&test_var, 0); in thd_body()
55 gpr_tls_init(&test_var); in main()
65 gpr_tls_destroy(&test_var); in main()
/third_party/python/Lib/distutils/tests/
Dtest_msvccompiler.py38 test_var = 'ṰḖṤṪ┅ṼẨṜ'
43 os.environ[test_var] = test_value
46 self.assertIn(test_var.lower(), env)
47 self.assertEqual(test_value, env[test_var.lower()])
49 os.environ.pop(test_var)
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_contextvars_propagation_test.py68 test_var = contextvars.ContextVar("test_var", default=None) variable
71 test_var.set(_EXPECTED_VALUE)
76 if test_var.get() != _EXPECTED_VALUE:
77 raise AssertionError("{} != {}".format(test_var.get(),
/third_party/ninja/misc/
Dninja_syntax_test.py169 def test_var(self): member in TestExpand
/third_party/mindspore/tests/ut/python/nn/probability/distribution/
Dtest_bernoulli.py266 def test_var(): function
/third_party/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.h45 ir_variable *test_var; member
Dast_to_hir.cpp6844 state->switch_state.test_var = new(ctx) ir_variable(test_val->type, in test_to_hir()
6848 new(ctx) ir_dereference_variable(state->switch_state.test_var); in test_to_hir()
6850 instructions->push_tail(state->switch_state.test_var); in test_to_hir()
6909 state->switch_state.test_var->type->base_type == GLSL_TYPE_UINT in hir()
6914 ? equal(cnst, state->switch_state.test_var) in hir()
6915 : logic_or(cmp, equal(cnst, state->switch_state.test_var)); in hir()
7027 new(body.mem_ctx) ir_dereference_variable(state->switch_state.test_var); in hir()
7040 if (label->type != state->switch_state.test_var->type) { in hir()
7044 const glsl_type *type_b = state->switch_state.test_var->type; in hir()
/third_party/mindspore/tests/st/numpy_native/
Dtest_math_ops.py403 def test_var(): function