Home
last modified time | relevance | path

Searched refs:test_values (Results 1 – 25 of 55) sorted by relevance

123

/external/cronet/base/test/
Dfake_iasync_operation_win_unittest.cc43 base::test::AsyncResultsTestValues<TypeParam> test_values; in TYPED_TEST_P() local
45 operation->CompleteWithResults(test_values.GetTestValue_T())); in TYPED_TEST_P()
48 static auto test_value_t = test_values.GetTestValue_T(); in TYPED_TEST_P()
68 operation->CompleteWithResults(test_values.GetTestValue_T())); in TYPED_TEST_P()
94 base::test::AsyncResultsTestValues<TypeParam> test_values; in TYPED_TEST_P() local
95 auto results = test_values.GetDefaultValue_AsyncResultsT(); in TYPED_TEST_P()
99 operation->CompleteWithResults(test_values.GetTestValue_AsyncResultsT()); in TYPED_TEST_P()
106 ASSERT_EQ(results, test_values.GetTestValue_AsyncResultsT()); in TYPED_TEST_P()
118 base::test::AsyncResultsTestValues<TypeParam> test_values; in TYPED_TEST_P() local
119 auto results = test_values.GetDefaultValue_AsyncResultsT(); in TYPED_TEST_P()
[all …]
/external/grpc-grpc/test/core/debug/
Dstats_test.cc88 auto run = [kHistogram](const std::vector<int>& test_values, in TEST_P()
91 test_values.size()); in TEST_P()
92 for (auto j : test_values) { in TEST_P()
108 std::vector<int> test_values; in TEST_P() local
118 [test_values, run, cur_bucket]() { run(test_values, cur_bucket); }); in TEST_P()
120 test_values.clear(); in TEST_P()
122 test_values.push_back(j); in TEST_P()
132 run(test_values, cur_bucket); in TEST_P()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/
DDDMTest.java67 private CommandPacket makeCommand(int type, byte[] test_values) { in makeCommand() argument
72 packet.setNextValueAsInt(test_values.length); in makeCommand()
73 for (byte b : test_values) { in makeCommand()
79 private CommandPacket makeCommand(byte[] test_values) { in makeCommand() argument
80 return makeCommand(DDMDebuggee.DDM_TEST_TYPE, test_values); in makeCommand()
94 byte[] test_values = new byte[128]; in testChunk001()
96 r.nextBytes(test_values); in testChunk001()
97 CommandPacket packet = makeCommand(test_values); in testChunk001()
100 byte[] expected = DDMDebuggee.calculateExpectedResult(test_values); in testChunk001()
120 CommandPacket packet = makeCommand(test_values); in testChunk001()
[all …]
/external/cronet/net/url_request/
Durl_request_throttler_unittest.cc241 TimeAndBool test_values[] = { in TEST_F() local
249 for (unsigned int i = 0; i < std::size(test_values); ++i) { in TEST_F()
250 entry_->set_exponential_backoff_release_time(test_values[i].time); in TEST_F()
251 EXPECT_EQ(entry_->IsEntryOutdated(), test_values[i].result) << in TEST_F()
252 "Test case #" << i << " line " << test_values[i].line << " failed"; in TEST_F()
331 GurlAndString test_values[] = { in TEST_F() local
357 for (unsigned int i = 0; i < std::size(test_values); ++i) { in TEST_F()
358 std::string temp = manager.DoGetUrlIdFromUrl(test_values[i].url); in TEST_F()
359 EXPECT_EQ(temp, test_values[i].result) << in TEST_F()
360 "Test case #" << i << " line " << test_values[i].line << " failed"; in TEST_F()
/external/igt-gpu-tools/tests/i915/
Dgem_ctx_param.c40 static const int64_t test_values[] = { in set_priority() local
63 size = ARRAY_SIZE(test_values); in set_priority()
64 values = malloc(sizeof(test_values) * 8); in set_priority()
68 values[i + 0*size] = test_values[i]; in set_priority()
69 values[i + 1*size] = test_values[i] | (uint64_t)1 << 32; in set_priority()
70 values[i + 2*size] = test_values[i] | (uint64_t)rand() << 32; in set_priority()
71 values[i + 3*size] = test_values[i] ^ rand(); in set_priority()
75 values[i + 7*size] = (uint64_t)test_values[i] << 32; in set_priority()
/external/OpenCL-CTS/test_conformance/workgroups/
Dtest_wg_suggested_local_work_size.cpp136 size_t test_values[3], size_t dyn_mem_size) in do_test()
174 global_work_offset, test_values, in do_test()
200 test_values, // global work size in do_test()
233 size_t test_values[] = { 1, 1, 1 }; in do_test_work_group_suggested_local_size() local
279 test_values[0] = i; in do_test_work_group_suggested_local_size()
280 if (dim == _2D) test_values[1] = value_range_nD[j++ % num_elems]; in do_test_work_group_suggested_local_size()
283 test_values[1] = value_range_nD[j++ % num_elems]; in do_test_work_group_suggested_local_size()
284 test_values[2] = value_range_nD[rand() % num_elems]; in do_test_work_group_suggested_local_size()
287 global_work_offset, test_values, in do_test_work_group_suggested_local_size()
/external/python/cpython2/Lib/test/
Dtest_xpickle.py137 test_values = [0.0, 7e-308, 6.626e-34, 0.1, 0.5,
139 test_proto0_values = test_values + [-x for x in test_values]
140 test_values = test_proto0_values + for_bin_protos + neg_for_bin_protos
148 for value in test_values:
Dtest_cmath.py59 self.test_values = open(test_file)
62 self.test_values.close()
240 test_values = [0.01, 0.1, 0.2, 0.5, 0.9, 0.99]
243 unit_interval = test_values + [-x for x in test_values] + \
247 positive = test_values + [1.] + [1./x for x in test_values]
Dtest_grp.py23 def test_values(self): member in GroupDatabaseTestCase
Dtest_pwd.py9 def test_values(self): member in PwdTest
Dmapping_tests.py154 def test_values(self): member in BasicTestMappingProtocol
335 def test_values(self): member in TestMappingProtocol
336 BasicTestMappingProtocol.test_values(self)
/external/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_op_test_utils.h368 std::vector<ComponentNativeRefT> test_values;
370 test_values.reserve(relaxed_denormal_signs_ ? 3 : 2);
371 test_values.push_back(std::copysign(0, value));
372 test_values.push_back(std::copysign(
375 test_values.push_back(std::copysign(0, -value));
378 test_values.push_back(value);
380 return test_values;
394 std::vector<complex> test_values;
395 test_values.reserve(real_values.size() * imag_values.size());
398 test_values.push_back(complex(real, imag));
[all …]
Dreduce_precision_test.cc461 const Uint (&test_values)[kNumInputs][kNumTestcases],
496 const Uint (&test_values)[kNumInputs][kNumTestcases], int operation_index) { in DoIt()
505 for (const auto& test_value : test_values) { in DoIt()
/external/python/cpython3/Lib/test/
Dtest_numeric_tower.py91 test_values = [0.0, -0.0, 1.0, -1.0, 0.40625, -5136.5,
95 for value in test_values:
150 test_values = [
170 for i, first in enumerate(test_values):
171 for second in test_values[i+1:]:
Dtest_cmath.py63 self.test_values = open(test_file, encoding="utf-8")
66 self.test_values.close()
291 test_values = [0.01, 0.1, 0.2, 0.5, 0.9, 0.99]
294 unit_interval = test_values + [-x for x in test_values] + \
298 positive = test_values + [1.] + [1./x for x in test_values]
Dtest_grp.py24 def test_values(self): member in GroupDatabaseTestCase
Dtest_pwd.py10 def test_values(self): member in PwdTest
Dmapping_tests.py150 def test_values(self): member in BasicTestMappingProtocol
328 def test_values(self): member in TestMappingProtocol
329 BasicTestMappingProtocol.test_values(self)
/external/python/rsa/tests/
Dtest_common.py23 def test_values(self): member in TestByte
33 def test_values(self): member in TestByteSize
62 def test_values(self): member in TestBitSize
Dtest_pem.py47 def test_values(self): member in TestMarkers
/external/tensorflow/tensorflow/core/distributed_runtime/coordination/
Dcoordination_service_agent_test.cc320 std::vector<KeyValueEntry> test_values; in TEST_F() local
321 test_values.push_back(CreateKv("test_key_dir/task_0", "0")); in TEST_F()
322 test_values.push_back(CreateKv("test_key_dir/task_1", "1")); in TEST_F()
326 *mocked_response.mutable_kv() = {test_values.begin(), test_values.end()}; in TEST_F()
336 EXPECT_THAT(*result, UnorderedPointwise(KvEq(), test_values)); in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dnon_max_suppression_test.cc56 void MatchFirstNElements(int num_elements, const std::vector<T>& test_values, in MatchFirstNElements() argument
58 EXPECT_LT(num_elements, test_values.size()); in MatchFirstNElements()
62 EXPECT_EQ(test_values[i], reference_values[i]); in MatchFirstNElements()
/external/grpc-grpc/test/core/gpr/
Dtime_test.cc62 static void test_values(void) { in test_values() function
259 test_values(); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/time/time.duration/time.duration.nonmember/
Dostream.pass.cpp75 static void test_values() { in test_values() function
226 test_values<CharT>(); in test()
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessBuffersTests.cpp2297 } test_values[] = { { GL_BUFFER_SIZE, "GL_BUFFER_SIZE", 0 }, in iterate() local
2307 static const glw::GLuint test_dictionary_count = sizeof(test_values) / sizeof(test_values[0]); in iterate()
2314 m_pGetNamedBufferParameteriv(buffer, test_values[i].pname, &data); in iterate()
2316 is_ok &= CheckParameterError(test_values[i].pname_string, "glGetNamedBufferParameteriv"); in iterate()
2318 is_ok &= CheckValue<glw::GLint>(data, test_values[i].expected_data, test_values[i].pname_string, in iterate()
2327 m_pGetNamedBufferParameteri64v(buffer, test_values[i].pname, &data); in iterate()
2329 is_ok &= CheckParameterError(test_values[i].pname_string, "glGetNamedBufferParameteri64v"); in iterate()
2331 is_ok &= CheckValue<glw::GLint64>(data, (glw::GLint64)test_values[i].expected_data, in iterate()
2332 test_values[i].pname_string, "glGetNamedBufferParameteri64v"); in iterate()

123