/external/tensorflow/tensorflow/python/kernel_tests/ |
D | einsum_op_test.py | 42 def _check(self, s, *input_shapes, **kwargs): member in EinsumOpTest 58 self._check('->', ()) 59 self._check('ab->', (3, 3)) 60 self._check('ab->ab', (3, 3)) 61 self._check('abc->b', (3, 4, 5)) 62 self._check('abc->ca', (3, 4, 5)) 63 self._check('abc->cab', (3, 4, 5)) 66 self._check('aa->', (3, 3)) 67 self._check('aa->a', (3, 3)) 68 self._check('aaa->', (3, 3, 3)) [all …]
|
D | reduction_ops_test.py | 61 def _check(self, shape, axes, result): member in ReducedShapeTest 68 self._check([3], [], [3]) 69 self._check([3], [0], [1]) 70 self._check([5, 3], [], [5, 3]) 71 self._check([5, 3], [0], [1, 3]) 72 self._check([5, 3], [1], [5, 1]) 73 self._check([5, 3], [0, 1], [1, 1]) 79 self._check([0], [], [0]) 80 self._check([0], [0], [1]) 81 self._check([0, 3], [], [0, 3]) [all …]
|
D | sparse_ops_test.py | 792 def _check(self, result_tensor, result_np, input_sp_t): member in SparseMathOpsTest 831 self._check(sp_t / dense_t, sp_t_densified / dense_vals_np, sp_t) 833 self._check(sp_t * dense_t, sp_t_densified * dense_vals_np, sp_t) 834 self._check(dense_t * sp_t, sp_t_densified * dense_vals_np, sp_t) 849 self._check( 855 self._check(
|
/external/tensorflow/tensorflow/python/util/ |
D | decorator_utils_test.py | 47 def _check(self, doc, expected): member in AddNoticeToDocstringTest 62 self._check("Brief\n\nDocstring\n\nArgs:\n arg1: desc", expected) 64 self._check("Brief\n\n Docstring\n\n Args:\n arg1: desc", expected) 66 self._check("Brief\n \n Docstring\n \n Args:\n arg1: desc", expected) 68 self._check("\n Brief\n \n Docstring\n \n Args:\n arg1: desc", 71 self._check("\n Brief\n \n Docstring\n \n Args:\n arg1: desc", 76 self._check("Brief", expected) 77 self._check("Brief\n", expected) 78 self._check("Brief\n ", expected) 79 self._check("\nBrief\n ", expected) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | special_math_ops_test.py | 642 def _check(self, s, *input_shapes, **kwargs): member in EinsumTest 665 self._check('a', (3,)) 666 self._check('aa', (3, 3)) 667 self._check('ab->', (3, 3)) 668 self._check('ab->ab', (3, 3)) 669 self._check('abc->b', (3, 4, 5)) 670 self._check('abc->ca', (3, 4, 5)) 671 self._check('abc->cab', (3, 4, 5)) 674 self._check('', ()) 675 self._check('->', ()) [all …]
|
/external/autotest/client/site_tests/audio_CrasSanity/ |
D | audio_CrasSanity.py | 26 _check = {'crashes_on_boot': False, variable in audio_CrasSanity 38 self._check['crashes_on_boot'] = True 63 self._check['stream_activation'] = True 82 self._check['cras_status'] = True 88 self._check['crashes_at_end'] = True 91 if self._check.values().count(False) > 0: 92 if not self._check['crashes_on_boot']: 95 if not self._check['stream_activation']: 98 if not self._check['cras_status']: 101 if not self._check['crashes_at_end']:
|
/external/scapy/scapy/contrib/ |
D | lldp.py | 316 def _check(self): member in LLDPDUChassisID 324 self._check() 328 self._check() 365 def _check(self): member in LLDPDUPortID 373 self._check() 377 self._check() 391 def _check(self): member in LLDPDUTimeToLive 400 self._check() 404 self._check() 420 def _check(self): member in LLDPDUEndOfLLDPDU [all …]
|
/external/parameter-framework/upstream/tools/xmlGenerator/ |
D | PfwBaseTranslator.py | 61 def _check(self, func): member in PfwBaseTranslator 87 if not self._check(self._doCreateDomain)(name): 90 self._check(self._doSetSequenceAware)() 100 self._check(self._doAddElement)(path) 113 if not self._check(self._doCreateConfiguration)(name): 128 self._check(self._doSetElementSequence)(paths) 148 self._check(self._doSetParameter)(path, value)
|
/external/autotest/client/cros/enterprise/ |
D | policy_group.py | 249 if not self._check(own_ext[ext_name], 253 not self._check(self.chrome, other.chrome) or 254 not self._check(self.local, other.local)): 258 def _check(self, policy_group, other_policy_group): member in AllPolicies
|
/external/openssh/regress/ |
D | sftp-perm.sh | 30 _check="$2" 31 test -z "$_check" && return 32 ${TEST_SHELL} -c "$_check" || fail "postcondition check failed: $_title"
|
/external/python/cpython2/Lib/test/ |
D | test_imageop.py | 21 def _check(self, name, size=None, *extra): member in InputValidationTests 43 self._check(name, size, *extra) 46 self._check(name, None, *extra)
|
/external/pigweed/pw_env_setup/py/pw_env_setup/ |
D | environment.py | 90 self._check() 92 def _check(self): member in _VariableAction 166 def _check(self): member in Prepend 167 super(Prepend, self)._check() 180 def _check(self): member in Append 181 super(Append, self)._check()
|
/external/autotest/client/site_tests/platform_Firewall/ |
D | platform_Firewall.py | 39 def _check(expected_rule, actual_rules, error_msg, executable, check): member in platform_Firewall 48 platform_Firewall._check( 56 platform_Firewall._check(
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | student_t_test.py | 257 def _check(student): function 265 _check(student_t.StudentT(df=[2., 3., 4.,], loc=2., scale=1.)) 266 _check(student_t.StudentT(df=7., loc=[2., 3., 4.,], scale=1.)) 267 _check(student_t.StudentT(df=7., loc=3., scale=[2., 3., 4.,])) 275 def _check(student): function 284 _check(student_t.StudentT(df=[2., 3., 4.,], loc=2., scale=1.)) 285 _check(student_t.StudentT(df=7., loc=[2., 3., 4.,], scale=1.)) 286 _check(student_t.StudentT(df=7., loc=3., scale=[2., 3., 4.,]))
|
/external/clang/test/Sema/ |
D | arm-layout.c | 5 #define check(name, cond) int _##name##_check[(cond) ? 1 : -1]
|
/external/llvm-project/clang/test/Sema/ |
D | arm-layout.c | 5 #define check(name, cond) int _##name##_check[(cond) ? 1 : -1]
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | presubmit.py | 476 self._check: Callable = check_function 481 self.__name__ = self._check.__name__ 510 self._check(ctx) 530 return self._check(ctx, *args, **kwargs)
|
/external/python/cpython2/Lib/ |
D | tempfile.py | 533 def _check(self, file): member in SpooledTemporaryFile 627 self._check(file) 633 self._check(file)
|
D | tarfile.py | 1836 self._check() 1856 self._check("aw") 1952 self._check() 1987 self._check("aw") 2044 self._check("aw") 2106 self._check("r") 2142 self._check("r") 2342 self._check("ra") 2424 def _check(self, mode=None): member in TarFile 2467 self._check()
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 1542 def _check(glob, expected): function 1548 _check(it, ["fileA"]) 1549 _check(p.glob("fileB"), []) 1550 _check(p.glob("dir*/file*"), ["dirB/fileB", "dirC/fileC"]) 1552 _check(p.glob("*A"), ['dirA', 'fileA']) 1554 _check(p.glob("*A"), ['dirA', 'fileA', 'linkA']) 1556 _check(p.glob("*B/*"), ['dirB/fileB']) 1558 _check(p.glob("*B/*"), ['dirB/fileB', 'dirB/linkD', 1561 _check(p.glob("*/fileB"), ['dirB/fileB']) 1563 _check(p.glob("*/fileB"), ['dirB/fileB', 'linkB/fileB']) [all …]
|
/external/python/cpython3/Lib/ |
D | tempfile.py | 648 def _check(self, file): member in SpooledTemporaryFile 756 self._check(file) 762 self._check(file)
|
D | tarfile.py | 1797 self._check() 1818 self._check("awx") 1914 self._check() 1950 self._check("awx") 1997 self._check("awx") 2065 self._check("r") 2101 self._check("r") 2311 self._check("ra") 2393 def _check(self, mode=None): member in TarFile 2459 self._check()
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | map_test.py | 811 def _check(i): function 817 dataset = apply_map(dataset, _check) 821 expected_output=[self.evaluate(_check(_sparse(i))) for i in range(10)]) 868 def _check(x): function 874 dataset = apply_map(dataset, _check)
|
/external/python/mock/mock/tests/ |
D | testmock.py | 392 def _check(mock): function 400 _check(mock) 402 _check(mock) 404 _check(mock) 406 _check(mock) 408 _check(mock)
|
/external/rust/crates/log/src/kv/ |
D | source.rs | 691 fn _check(_: &dyn Source) {} in source_is_object_safe() function 696 fn _check(_: &dyn Visitor) {} in visitor_is_object_safe() function
|