/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatRoundTripTest.java | 52 _test(fmt); in TestNumberFormatRoundTrip() 56 _test(fmt); in TestNumberFormatRoundTrip() 60 _test(fmt); in TestNumberFormatRoundTrip() 74 _test(fmt); in TestNumberFormatRoundTrip() 77 _test(fmt); in TestNumberFormatRoundTrip() 80 _test(fmt); in TestNumberFormatRoundTrip() 97 private void _test(NumberFormat fmt) { in _test() method in NumberFormatRoundTripTest 99 _test(fmt, Double.NaN); in _test() 100 _test(fmt, Double.POSITIVE_INFINITY); in _test() 101 _test(fmt, Double.NEGATIVE_INFINITY); in _test() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatRoundTripTest.java | 55 _test(fmt); in TestNumberFormatRoundTrip() 59 _test(fmt); in TestNumberFormatRoundTrip() 63 _test(fmt); in TestNumberFormatRoundTrip() 77 _test(fmt); in TestNumberFormatRoundTrip() 80 _test(fmt); in TestNumberFormatRoundTrip() 83 _test(fmt); in TestNumberFormatRoundTrip() 100 private void _test(NumberFormat fmt) { in _test() method in NumberFormatRoundTripTest 102 _test(fmt, Double.NaN); in _test() 103 _test(fmt, Double.POSITIVE_INFINITY); in _test() 104 _test(fmt, Double.NEGATIVE_INFINITY); in _test() [all …]
|
/external/python/cpython3/Lib/test/test_email/ |
D | test__encoded_words.py | 9 def _test(self, source, ex_result, ex_defects=[]): member in TestDecodeQ 15 self._test(b'foobar', b'foobar') 18 self._test(b'foo=20bar=20', b'foo bar ') 19 self._test(b'foo_bar_', b'foo bar ') 22 self._test(b'foo=20=20=21=2Cbar', b'foo !,bar') 27 def _test(self, source, ex_result, ex_defects=[]): member in TestDecodeB 33 self._test(b'Zm9v', b'foo') 37 self._test(b'dmk', b'vi', [errors.InvalidBase64PaddingDefect]) 39 self._test(b'dg', b'v', [errors.InvalidBase64PaddingDefect]) 42 self._test(b'dm\x01k===', b'vi', [errors.InvalidBase64CharactersDefect]) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | data_format_ops_test.py | 32 def _test(self, input_data, src_format, dst_format, expected): member in XlaDataFormatDimMapTest 45 self._test(0, "NHWC", "NCHW", 0) 46 self._test(1, "NHWC", "NCHW", 2) 47 self._test(2, "NHWC", "NCHW", 3) 48 self._test(3, "NHWC", "NCHW", 1) 49 self._test(-1, "NHWC", "NCHW", 1) 50 self._test(-2, "NHWC", "NCHW", 3) 51 self._test(-3, "NHWC", "NCHW", 2) 52 self._test(-4, "NHWC", "NCHW", 0) 53 self._test([1, 3], "NHWC", "NCHW", [2, 1]) [all …]
|
D | tridiagonal_solve_ops_test.py | 141 def _test(self, member in TridiagonalSolveOpsTest 177 self._test(diags=_sample_diags, rhs=_sample_rhs, expected=_sample_result) 182 self._test( 188 self._test( 194 self._test(diags=[[0], [3], [0]], rhs=[6], expected=[2]) 197 self._test( 203 self._test( 209 self._test(diags=[[0], [3], [0]], rhs=[[6, 9, 12]], expected=[[2, 3, 4]]) 248 self._test( 254 self._test( [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_csv_op_test.py | 32 def _test(self, args, expected_out=None, expected_err_re=None): member in DecodeCSVOpTest 55 self._test(args, expected_out) 65 self._test(args, expected_out) 80 self._test(args) 91 self._test(args, expected_out) 98 self._test(args, expected_out) 104 self._test(args, expected_out) 114 self._test(args, expected_out) 124 self._test(args, expected_out) 134 self._test(args, expected_out) [all …]
|
D | pool_test.py | 148 def _test(self, input_shape, **kwargs): member in PoolingTest 161 self._test( 177 self._test( 187 self._test( 203 self._test( 213 self._test( 230 self._test( 240 self._test( 253 self._test( 261 self._test( [all …]
|
D | string_to_number_op_test.py | 32 def _test(self, tf_type, good_pairs, bad_pairs): member in StringToNumberOpTest 51 self._test(dtypes.float32, 65 self._test(dtypes.float64, 79 self._test(dtypes.int32, 93 self._test(dtypes.int64,
|
D | parse_single_example_op_test.py | 92 def _test(self, kwargs, expected_values=None, expected_err=None): member in ParseExampleTest 147 self._test({ 184 self._test( 193 self._test( 208 self._test( 225 self._test( 273 self._test({ 317 self._test({ 352 self._test({ 405 self._test({ [all …]
|
/external/python/uritemplates/tests/ |
D | test_from_fixtures.py | 32 def _test(self, testname): member in FixtureMixin 45 self._test('Level 1 Examples') 49 self._test('Level 2 Examples') 53 self._test('Level 3 Examples') 57 self._test('Level 4 Examples') 65 self._test('3.2.1 Variable Expansion') 69 self._test('3.2.2 Simple String Expansion') 73 self._test('3.2.3 Reserved Expansion') 77 self._test('3.2.4 Fragment Expansion') 81 self._test('3.2.5 Label Expansion with Dot-Prefix') [all …]
|
/external/ltp/testcases/kernel/syscalls/membarrier/ |
D | membarrier01.c | 213 #define passed_ok(_test) \ argument 215 tst_res(TPASS, "membarrier(2): %s passed", _test.testname); \ 219 #define passed_unexpec(_test) \ argument 223 _test.testname, _test.exp_ret, _test.exp_errno, \ 224 _test.force); \ 228 #define failed_ok(_test) \ argument 231 _test.testname); \ 235 #define failed_ok_unsupported(_test) \ argument 238 "(unsupported)", _test.testname); \ 242 #define failed_not_ok(_test, _gotret, _goterr) \ argument [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_webbrowser.py | 25 def _test(self, meth, *, args=[URL], kw={}, options, arguments): member in CommandTestMixin 54 self._test('open', 64 self._test('open', 74 self._test('open', 79 self._test('open', kw=dict(autoraise=False), 84 self._test('open_new', 89 self._test('open_new_tab', 99 self._test('open', 104 self._test('open', kw=dict(autoraise=False), 109 self._test('open_new', [all …]
|
D | test_clinic.py | 111 def _test(self, l, m, r, output): member in ClinicGroupPermuterTest 116 self._test([['start']], ['stop'], [['step']], 124 self._test([['x', 'y']], ['ch'], [['attr']], 133 self._test([['a1', 'a2', 'a3'], ['b1', 'b2']], ['c1'], [['d1', 'd2'], ['e1', 'e2', 'e3']], 144 self._test([], [], [['a'],['b'],['c']], 159 def _test(self, input, output, **kwargs): member in ClinicLinearFormatTest 164 self._test('', '') 167 self._test('\n', '\n') 170 self._test(""" 177 self._test(""" [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | values_test.py | 645 def _test(f, v): function 693 _test(lambda: self.assertEqual(v.aggregation, aggregation), v) 694 _test(lambda: self.assertIs(v.constraint, None), v) 696 _test(lambda: self.assertEqual(v.device, v._primary.device), v) 697 _test(lambda: self.assertEqual(v.dtype, dtypes.float32), v) 699 _test(lambda: self.assertIs(v.graph, v._primary.graph), v) 701 _test(lambda: _assert(v.initial_value == 0), v) 702 _test(lambda: self.assertIs(v.initializer, v._primary.initializer), v) 703 _test(lambda: self.assertEqual(v.name, "Variable:0"), v) 705 _test(lambda: self.assertIs(v.op, v._primary.op), v) [all …]
|
/external/llvm/utils/lit/lit/ |
D | LitTestCase.py | 16 self._test = test 20 return self._test.getFullName() 23 return self._test.getFullName() 27 self._run.execute_test(self._test) 30 result = self._test.result
|
/external/autotest/site_utils/sponge_lib/ |
D | autotest_job_info.py | 131 self._test = test 140 return self._test.testname 145 return self._test.status 150 return time_utils.to_utc_timestamp(self._test.started_time) 155 return time_utils.to_utc_timestamp(self._test.finished_time) 160 return self._test.subdir 165 return getattr(self._test, 'attributes', {}) 170 return getattr(self._test, 'reason', None)
|
/external/ltp/testcases/kernel/controllers/freezer/ |
D | libcgroup_freezer | 93 mkdir -p $TMP/${cgroup_subsys}_test > /dev/null 2>&1 99 if [ ! -d $TMP/${cgroup_subsys}_test ]; then 105 mount -t cgroup -o${cgroup_subsys} test_cgroup_${cgroup_subsys} $TMP/${cgroup_subsys}_test 110 rmdir $TMP/${cgroup_subsys}_test 2> /dev/null 115 cd $TMP/${cgroup_subsys}_test > /dev/null 2>&1 120 …umount $TMP/${cgroup_subsys}_test || umount -l $TMP/${cgroup_subsys}_test || tst_brkm TBROK "Faile… 121 rmdir $TMP/${cgroup_subsys}_test 2> /dev/null 145 umount $TMP/${cgroup_subsys}_test > /dev/null 2>&1 \ 146 || umount -l $TMP/${cgroup_subsys}_test || \ 158 rmdir $TMP/${cgroup_subsys}_test [all …]
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_random_test.py | 47 def _test(self, *args, **kw_args): member in RandomTestBase 75 self._test(*dims) 79 self._test(*dims, allow_float64=False, onp_dtype=np.float32) 91 self._test(size) 113 self._test(low=low, high=high, size=size) 116 self._test(0, 1, (1, 2), allow_float64=False, onp_dtype=np.float32) 119 self._test(np.int8(0), np.uint8(1), (1, 2)) 131 self._test(lam, size) 143 self._test(size) 155 self._test(*size) [all …]
|
/external/cn-cbor/test/ |
D | CMakeLists.txt | 12 add_executable ( ${name}_test ${name}_test.c ) 13 target_link_libraries ( ${name}_test PRIVATE cn-cbor ) 14 target_include_directories ( ${name}_test PRIVATE ../include ) 15 add_test ( NAME ${name} COMMAND ${name}_test )
|
/external/swiftshader/third_party/SPIRV-Tools/ |
D | build_defs.bzl | 188 if name[-5:] != "_test": 189 name = name + "_test" 205 if name[-5:] != "_test": 206 name = name + "_test" 222 if name[-5:] != "_test": 223 name = name + "_test" 239 if name[-5:] != "_test": 240 name = name + "_test" 257 if name[-5:] != "_test": 258 name = name + "_test" [all …]
|
/external/deqp-deps/SPIRV-Tools/ |
D | build_defs.bzl | 188 if name[-5:] != "_test": 189 name = name + "_test" 205 if name[-5:] != "_test": 206 name = name + "_test" 222 if name[-5:] != "_test": 223 name = name + "_test" 239 if name[-5:] != "_test": 240 name = name + "_test" 257 if name[-5:] != "_test": 258 name = name + "_test" [all …]
|
/external/testng/src/test/java/test/junit/testsetup/ |
D | TestSuiteContainerWrapper.java | 8 private static TestSuite _test = null; field in TestSuiteContainerWrapper 13 _test = testSuite; in TestSuiteContainerWrapper() 33 System.out.println(_test.countTestCases() + " test cases defined by \"" in tearDown() 34 + _test.getName() + "\" were executed."); in tearDown()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/ |
D | build_defs.bzl | 211 if name[-5:] != "_test": 212 name = name + "_test" 228 if name[-5:] != "_test": 229 name = name + "_test" 245 if name[-5:] != "_test": 246 name = name + "_test" 262 if name[-5:] != "_test": 263 name = name + "_test" 280 if name[-5:] != "_test": 281 name = name + "_test" [all …]
|
/external/llvm-project/llvm/utils/lit/lit/ |
D | LitTestCase.py | 20 self._test = test 24 return self._test.getFullName() 27 return self._test.getFullName() 31 result = lit.worker._execute(self._test, self._lit_config)
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | parse_example_dataset_test.py | 64 def _test(self, member in ParseExampleDatasetTest 133 self._test( 171 self._test( 178 self._test( 196 self._test( 208 self._test( 247 self._test( 286 self._test( 323 self._test( 371 self._test( [all …]
|