/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/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/tensorflow/tensorflow/python/kernel_tests/ |
D | reduction_ops_test.py | 60 def _check(self, shape, axes, result): member in ReducedShapeTest 67 self._check([3], [], [3]) 68 self._check([3], [0], [1]) 69 self._check([5, 3], [], [5, 3]) 70 self._check([5, 3], [0], [1, 3]) 71 self._check([5, 3], [1], [5, 1]) 72 self._check([5, 3], [0, 1], [1, 1]) 78 self._check([0], [], [0]) 79 self._check([0], [0], [1]) 80 self._check([0, 3], [], [0, 3]) [all …]
|
D | sparse_ops_test.py | 776 def _check(self, result_tensor, result_np, input_sp_t): member in SparseMathOpsTest 813 self._check(sp_t / dense_t, sp_t_densified / dense_vals_np, sp_t) 815 self._check(sp_t * dense_t, sp_t_densified * dense_vals_np, sp_t) 816 self._check(dense_t * sp_t, sp_t_densified * dense_vals_np, sp_t) 831 self._check( 837 self._check(
|
D | cwise_ops_unary_test.py | 121 def _check(self, result_tensor, result_np, input_sp_t, tol): member in UnaryOpTest 135 self._check(tf_func(x_sp), res_np, x_sp, tol) 152 self._check(tf_func(x_sp), res_np, x_sp, tol)
|
/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)
|
D | test_io.py | 2914 def _check(dec): function 2921 _check(dec) 2923 _check(dec)
|
/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/python/cpython3/Lib/test/ |
D | test_pathlib.py | 1405 def _check(glob, expected): function 1411 _check(it, ["fileA"]) 1412 _check(p.glob("fileB"), []) 1413 _check(p.glob("dir*/file*"), ["dirB/fileB", "dirC/fileC"]) 1415 _check(p.glob("*A"), ['dirA', 'fileA']) 1417 _check(p.glob("*A"), ['dirA', 'fileA', 'linkA']) 1419 _check(p.glob("*B/*"), ['dirB/fileB']) 1421 _check(p.glob("*B/*"), ['dirB/fileB', 'dirB/linkD', 1424 _check(p.glob("*/fileB"), ['dirB/fileB']) 1426 _check(p.glob("*/fileB"), ['dirB/fileB', 'linkB/fileB']) [all …]
|
D | test_io.py | 3759 def _check(dec): function 3766 _check(dec) 3768 _check(dec)
|
/external/clang/test/Sema/ |
D | arm-layout.c | 5 #define check(name, cond) int _##name##_check[(cond) ? 1 : -1]
|
/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/ |
D | tarfile.py | 1761 self._check() 1782 self._check("awx") 1879 self._check() 1915 self._check("awx") 1962 self._check("awx") 2030 self._check("r") 2065 self._check("r") 2273 self._check("ra") 2355 def _check(self, mode=None): member in TarFile 2421 self._check()
|
D | tempfile.py | 651 def _check(self, file): member in SpooledTemporaryFile 765 self._check(file) 771 self._check(file)
|
/external/python/mock/mock/tests/ |
D | testmock.py | 365 def _check(mock): function 373 _check(mock) 375 _check(mock) 377 _check(mock) 379 _check(mock) 381 _check(mock)
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmock.py | 368 def _check(mock): function 376 _check(mock) 378 _check(mock) 380 _check(mock) 382 _check(mock) 384 _check(mock)
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | map_test.py | 721 def _check(i): function 725 dataset = dataset_ops.Dataset.range(10).map(_sparse).map(_check) 729 expected_output=[self.evaluate(_check(_sparse(i))) for i in range(10)])
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_fixers.py | 29 def _check(self, before, after): member in FixerTestCase 37 tree = self._check(before, after) 43 tree = self._check(before, after) 52 self._check(before, before)
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_fixers.py | 28 def _check(self, before, after): member in FixerTestCase 36 tree = self._check(before, after) 42 tree = self._check(before, after) 51 self._check(before, before)
|
/external/llvm/docs/ |
D | GettingStarted.rst | 249 .. _check here:
|