/external/tensorflow/tensorflow/python/autograph/operators/ |
D | py_builtins_py3_test.py | 49 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_niladic_call.TestSubclass 55 self.assertEqual(tc.test_method(), 21) 65 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_caller_with_locals.TestSubclass 73 self.assertEqual(tc.test_method(1), 21) 83 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_inner_function.TestSubclass 97 self.assertEqual(tc.test_method(1), 21) 107 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_inner_lambda.TestSubclass 119 self.assertEqual(tc.test_method(1), 21)
|
D | py_builtins_test.py | 289 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_unary_call.TestSubclass 297 self.assertEqual(tc.test_method(), 21) 307 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_binary_call.TestSubclass 314 self.assertEqual(tc.test_method(), 21)
|
/external/antlr/runtime/Python/unittests/ |
D | testbase.py | 13 def wrapper(test_method): argument 16 test_method(*args, **kwargs) 20 raise BrokenTest(test_method.__name__, reason) 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__
|
/external/antlr/runtime/Python3/unittests/ |
D | testbase.py | 13 def wrapper(test_method): argument 16 test_method(*args, **kwargs) 20 raise BrokenTest(test_method.__name__, reason) 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__
|
/external/protobuf/python/google/protobuf/internal/ |
D | _parameterized.py | 200 def __init__(self, test_method, testcases, naming_type): argument 214 self._test_method = test_method 225 test_method = self._test_method 229 @functools.wraps(test_method) 232 test_method(self, **testcase_params) 234 test_method(self, *testcase_params) 236 test_method(self, testcase_params) 256 if test_method.__doc__: 257 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
|
/external/protobuf/benchmarks/python/ |
D | py_benchmark.py | 109 def __init__(self, module=None, test_method=None, argument 113 self.test_method = test_method 117 def set_test_method(self, test_method): argument 118 self.test_method = test_method 122 setup_code += "from %s import %s\n" % (self.module, self.test_method) 128 return timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args), 138 t = timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args),
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | api_test.py | 106 def test_method(self, x, s, a): member in ApiTest.test_decorator_recursive.TestClass 113 x = tc.test_method( 127 def test_method(self, x, s, a): member in ApiTest.test_decorator_not_recursive.TestClass 134 x = tc.test_method( 149 def test_method(self, x, s, a): member in ApiTest.test_convert_then_do_not_convert.TestClass 155 x = tc.test_method( 172 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_decorated.TestClass 179 x = tc.test_method( 188 def test_method(self, a): member in ApiTest.test_decorator_preserves_argspec.TestClass 193 test_method_converted = api.convert()(test_method) [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_combinations.py | 223 for name, test_method in six.iteritems(class_object.__dict__.copy()): 225 isinstance(test_method, types.FunctionType)): 232 test_method, test_combinations=test_combinations), 239 test_method = _augment_with_special_arguments( 241 return parameterized.named_parameters(*named_combinations)(test_method) 246 def _augment_with_special_arguments(test_method, test_combinations): argument 271 requested_parameters = tf_inspect.getfullargspec(test_method).args 297 test_method(**kwargs_to_pass)
|
/external/smali/examples/BracketedMemberNames/ |
D | BracketedMemberNames.smali | 10 invoke-static {}, LBracketedMemberNames;->test_method()V 15 .method public static test_method()V 27 .method public static <test_method>()V 37 invoke-static {}, LBracketedMemberNames;-><test_method>()V
|
/external/tensorflow/tensorflow/python/util/ |
D | decorator_utils_test.py | 35 def test_method(self): member in GetQualifiedNameTest 38 decorator_utils.get_qualified_name(GetQualifiedNameTest.test_method)) 104 def test_method(self): member in ValidateCallableTest 105 decorator_utils.validate_callable(self.test_method, "test")
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | call_trees_test.py | 216 def test_method(self, a): member in CallTreesTest.test_class_method.TestClass 220 with self.converted(TestClass.test_method, (function_scopes, call_trees), 222 self.assertEqual(321, result.test_method(tc, 1)) 232 def test_method(self, a): member in CallTreesTest.test_object_method.TestClass 236 with self.converted(tc.test_method, (function_scopes, call_trees), 238 self.assertEqual(321, result.test_method(tc, 1))
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | train_test.py | 32 def requires_contrib(test_method): argument 36 test_method = unittest.skip( 38 test_method) 40 return test_method
|
/external/clang/test/CodeGenCXX/ |
D | exceptions-seh-filter-captures.cpp | 36 void test_method(void); 39 void S::test_method() { in test_method() function in S
|
/external/grpc-grpc/test/core/security/ |
D | credentials_test.cc | 123 static const char test_method[] = "ThisIsNotAMethod"; variable 399 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_google_iam_creds() 412 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_access_token_creds() 459 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_oauth2_google_iam_composite_creds() 586 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_success() 615 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_failure() 673 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_success() 704 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_failure() 803 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_jwt_creds_success() 845 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_jwt_creds_signing_failure() [all …]
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | transformer_test.py | 59 def test_method(self): member in TransformerTest.test_entity_scope_tracking.test_function.TestClass 73 test_method = test_class.body[0] 74 inner_function = test_method.body[1] 78 b = test_method.body[0] 84 self.assertEqual((test_function_node, test_class, test_method), 87 (test_function_node, test_class, test_method, inner_function), 89 self.assertEqual((test_function_node, test_class, test_method,
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-parsing.cpp | 123 void test_method() NO_THREAD_SAFETY_ANALYSIS; 247 void test_method() LOCKABLE; // \ 287 void test_method() SCOPED_LOCKABLE; // \ 591 void test_method() EXCLUSIVE_LOCK_FUNCTION(); 666 void test_method() SHARED_LOCK_FUNCTION(); 739 void test_method() EXCLUSIVE_TRYLOCK_FUNCTION(1); 816 void test_method() SHARED_TRYLOCK_FUNCTION(1); 882 void test_method() UNLOCK_FUNCTION(); 961 void test_method() LOCK_RETURNED(mu1); 1028 void test_method() LOCKS_EXCLUDED(mu1); [all …]
|
D | attr-no-sanitize-thread.cpp | 31 void test_method() NO_SANITIZE_THREAD;
|
D | attr-no-sanitize-address.cpp | 31 void test_method() NO_SANITIZE_ADDRESS;
|
D | attr-no-sanitize-memory.cpp | 31 void test_method() NO_SANITIZE_MEMORY;
|
/external/antlr/runtime/Python/tests/ |
D | testbase.py | 45 def wrapper(test_method): argument 48 test_method(*args, **kwargs) 52 raise BrokenTest(test_method.__name__, reason) 53 replacement.__doc__ = test_method.__doc__ 54 replacement.__name__ = 'XXX_' + test_method.__name__
|
/external/antlr/runtime/Python3/tests/ |
D | testbase.py | 46 def wrapper(test_method): argument 49 test_method(*args, **kwargs) 53 raise BrokenTest(test_method.__name__, reason) 54 replacement.__doc__ = test_method.__doc__ 55 replacement.__name__ = 'XXX_' + test_method.__name__
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 782 def test_method(method, testspecs, testfunc): function 1074 test_method(method, testspecs, test_unary) 1077 test_method(method, testspecs, test_binary) 1080 test_method(method, testspecs, test_ternary) 1082 test_method('__format__', testspecs, test_format) 1083 test_method('__round__', testspecs, test_round) 1084 test_method('from_float', testspecs, test_from_float) 1085 test_method('quantize', testspecs, test_quantize_api) 1089 test_method(method, testspecs, test_unary) 1092 test_method(method, testspecs, test_binary) [all …]
|
/external/autotest/server/cros/bluetooth/ |
D | bluetooth_adapter_tests.py | 375 def retry(test_method, instance, *args, **kwargs): argument 387 if _is_successful(_run_method(test_method, test_method.__name__, 392 logging.error('%s failed at the 1st time: (%s)', test_method.__name__, 397 logging.info('%s: retry the 2nd time.', test_method.__name__) 402 return _is_successful(_run_method(test_method, test_method.__name__, 411 logging.info('%s: retry the 2nd time.', test_method.__name__) 412 return _is_successful(_run_method(test_method, test_method.__name__, 437 def decorator(test_method): argument 445 @functools.wraps(test_method) 456 test_result = retry(test_method, instance, *args, **kwargs) [all …]
|
D | bluetooth_adapter_quick_tests.py | 167 def decorator(test_method): argument 193 @functools.wraps(test_method) 199 test_method(self)
|
/external/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | spirv_test_framework.py | 326 getattr(self.test, test_method)(test_status) 327 for test_method in get_all_test_methods(self.test.__class__)
|