/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 | 149 def test_method(self, x, s, a): member in ApiTest.test_decorator_recursive.TestClass 155 x = tc.test_method( 169 def test_method(self, x, s, a): member in ApiTest.test_decorator_not_recursive.TestClass 175 x = tc.test_method( 190 def test_method(self, x, s, a): member in ApiTest.test_convert_then_do_not_convert.TestClass 196 x = tc.test_method( 213 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_decorated.TestClass 219 x = tc.test_method( 228 def test_method(self, a): member in ApiTest.test_decorator_preserves_argspec.TestClass 233 test_method_converted = api.convert()(test_method) [all …]
|
/external/pigweed/pw_rpc/public/pw_rpc/internal/ |
D | test_method.h | 45 const auto& test_method = static_cast<const TestMethod&>(method); in InvokeForTest() local 46 test_method.last_channel_id_ = call.channel().id(); in InvokeForTest() 47 test_method.last_request_ = request; in InvokeForTest() 65 constexpr const TestMethod& test_method() const { return impl_.test; } in test_method() function
|
/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/framework/ |
D | test_combinations.py | 275 for name, test_method in six.iteritems(class_object.__dict__.copy()): 277 isinstance(test_method, types.FunctionType)): 284 test_method, test_combinations=test_combinations), 291 test_method = _augment_with_special_arguments( 293 return parameterized.named_parameters(*named_combinations)(test_method) 298 def _augment_with_special_arguments(test_method, test_combinations): argument 323 requested_parameters = tf_inspect.getfullargspec(test_method).args 349 test_method(**kwargs_to_pass)
|
/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/autotest/server/site_tests/bluetooth_AdapterAUHealth/ |
D | bluetooth_AdapterAUHealth.py | 26 def au_run_method(self, device, test_method, test_profile): argument 41 test_method() 85 def au_hfp_run_method(self, device, test_method, test_profile): argument 123 device, lambda: test_method(device, test_profile), test_profile) 197 def au_run_avrcp_method(self, device, test_method): argument 209 test_method(device)
|
/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/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | credentials_test.cc | 142 static const char test_method[] = "ThisIsNotAMethod"; variable 513 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_google_iam_creds() 526 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_access_token_creds() 581 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_oauth2_google_iam_composite_creds() 725 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_success() 761 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_failure() 823 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_success() 862 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_failure() 1068 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_sts_creds_success() 1115 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_sts_creds_token_file_not_found() [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | combinations.py | 359 for name, test_method in six.iteritems(class_object.__dict__.copy()): 361 isinstance(test_method, types.FunctionType)): 362 setattr(class_object, name, _multi_worker_test(test_method)) 466 def _multi_worker_test(test_method): argument 496 test_method(self, **kwargs) 541 argspec = tf_inspect.getfullargspec(test_method) 545 test_method, decorator, decorator_argspec=decorator_argspec)
|
/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/llvm-project/clang/test/CodeGenCXX/ |
D | exceptions-seh-filter-captures.cpp | 35 void test_method(void); 38 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/llvm-project/clang/test/SemaCXX/ |
D | warn-thread-safety-parsing.cpp | 125 void test_method() NO_THREAD_SAFETY_ANALYSIS; 249 void test_method() LOCKABLE; // \ 289 void test_method() SCOPED_LOCKABLE; // \ 594 void test_method() EXCLUSIVE_LOCK_FUNCTION(); // \ 670 void test_method() SHARED_LOCK_FUNCTION(); // \ 746 void test_method() EXCLUSIVE_TRYLOCK_FUNCTION(1); // \ 827 void test_method() SHARED_TRYLOCK_FUNCTION(1); // \ 898 void test_method() UNLOCK_FUNCTION(); // \ 978 void test_method() LOCK_RETURNED(mu1); 1045 void test_method() LOCKS_EXCLUDED(mu1); [all …]
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
D | py_builtins_test.py | 467 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_unary_call.TestSubclass 475 self.assertEqual(tc.test_method(), 21) 485 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_binary_call.TestSubclass 492 self.assertEqual(tc.test_method(), 21) 502 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_niladic_call.TestSubclass 508 self.assertEqual(tc.test_method(), 21) 518 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_caller_with_locals.TestSubclass 526 self.assertEqual(tc.test_method(1), 21) 536 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_inner_function.TestSubclass 550 self.assertEqual(tc.test_method(1), 21) [all …]
|
/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 …]
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | call_trees_test.py | 240 def test_method(self, a): member in CallTreesTest.test_class_method.TestClass 244 tr, mock = self._transform_with_mock(TestClass.test_method) 256 def test_method(self, a): member in CallTreesTest.test_object_method.TestClass 260 tr, mock = self._transform_with_mock(tc.test_method)
|
/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/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | test_result.py | 144 test_method = getattr(test, test._testMethodName) 145 if test_method is not None and hasattr(test_method, "categories"): 146 test_categories.extend(test_method.categories)
|
/external/autotest/server/cros/bluetooth/ |
D | bluetooth_adapter_quick_tests.py | 241 def decorator(test_method): argument 282 @functools.wraps(test_method) 314 test_method(self) 317 test_method.__name__, str(e))) 321 test_method.__name__, str(e))) 326 test_method.__name__, str(e)))
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | deccheck.py | 926 def test_method(method, testspecs, testfunc): function 1251 do_single(method, lambda: test_method(method, testspecs, test_unary)) 1254 do_single(method, lambda: test_method(method, testspecs, test_binary)) 1258 do_single(name, lambda: test_method(method, testspecs, test_ternary)) 1260 do_single('__format__', lambda: test_method('__format__', testspecs, test_format)) 1261 do_single('__round__', lambda: test_method('__round__', testspecs, test_round)) 1262 do_single('from_float', lambda: test_method('from_float', testspecs, test_from_float)) 1263 do_single('quantize_api', lambda: test_method('quantize', testspecs, test_quantize_api)) 1267 do_single(method, lambda: test_method(method, testspecs, test_unary)) 1270 do_single(method, lambda: test_method(method, testspecs, test_binary)) [all …]
|