Searched refs:decorators (Results 1 – 25 of 155) sorted by relevance
1234567
/external/chromium-trace/catapult/devil/devil/android/ |
D | decorators_test.py | 14 from devil.android import decorators 29 @decorators.WithTimeoutAndRetries 45 @decorators.WithTimeoutAndRetries 57 @decorators.WithTimeoutAndRetries 77 @decorators.WithTimeoutAndRetries 93 @decorators.WithTimeoutAndConditionalRetries(do_not_retry_no_adb_error) 108 @decorators.WithTimeoutAndConditionalRetries(do_not_retry_no_adb_error) 121 @decorators.WithTimeoutAndRetriesDefaults(1, 0) 144 @decorators.WithTimeoutAndRetriesDefaults(30, 10) 161 @decorators.WithTimeoutAndRetriesDefaults(30, 10) [all …]
|
D | device_utils.py | 34 from devil.android import decorators 305 @decorators.WithExplicitTimeoutAndRetries(_DEFAULT_TIMEOUT, _DEFAULT_RETRIES) 470 assert hasattr(self, decorators.DEFAULT_TIMEOUT_ATTR) 471 assert hasattr(self, decorators.DEFAULT_RETRIES_ATTR) 507 @decorators.WithTimeoutAndRetriesFromInstance() 527 @decorators.WithTimeoutAndRetriesFromInstance() 611 @decorators.WithTimeoutAndRetriesFromInstance() 649 @decorators.WithTimeoutAndRetriesFromInstance() 667 @decorators.WithTimeoutAndRetriesFromInstance() 716 @decorators.WithTimeoutAndRetriesFromInstance() [all …]
|
D | battery_utils.py | 14 from devil.android import decorators 204 @decorators.WithTimeoutAndRetriesFromInstance() 220 @decorators.WithTimeoutAndRetriesFromInstance() 242 @decorators.WithTimeoutAndRetriesFromInstance() 307 @decorators.WithTimeoutAndRetriesFromInstance() 333 @decorators.WithTimeoutAndRetriesFromInstance() 357 @decorators.WithTimeoutAndRetriesFromInstance() 383 @decorators.WithTimeoutAndRetriesFromInstance() 535 @decorators.WithTimeoutAndRetriesFromInstance()
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_decorator_test.py | 298 decorators, _ = tf_decorator.unwrap(test_function) 299 self.assertEqual(0, len(decorators)) 312 decorators, _ = tf_decorator.unwrap(test_decorated_function) 313 self.assertEqual(3, len(decorators)) 314 self.assertTrue(isinstance(decorators[0], tf_decorator.TFDecorator)) 315 self.assertTrue(isinstance(decorators[1], tf_decorator.TFDecorator)) 316 self.assertTrue(isinstance(decorators[2], tf_decorator.TFDecorator)) 317 self.assertIsNot(decorators[0], decorators[1]) 318 self.assertIsNot(decorators[1], decorators[2]) 319 self.assertIsNot(decorators[2], decorators[0]) [all …]
|
D | tf_decorator.py | 207 decorators = [] 211 decorators.append(cur) 213 decorators.append(getattr(cur, '_tf_decorator')) 216 if not hasattr(decorators[-1], 'decorated_target'): 218 cur = decorators[-1].decorated_target 219 return decorators, cur
|
D | tf_contextlib_test.py | 75 decorators, target = tf_decorator.unwrap(test_params_and_defaults) 76 self.assertEqual(1, len(decorators)) 77 self.assertTrue(isinstance(decorators[0], tf_decorator.TFDecorator)) 78 self.assertEqual('contextmanager', decorators[0].decorator_name)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | decorators_test.py | 5 import decorators 18 self.assertRaises(Exception, lambda: decorators.trace(1)) 19 self.assertRaises(Exception, lambda: decorators.trace("")) 20 self.assertRaises(Exception, lambda: decorators.trace([])) 23 self.assertRaises(Exception, lambda: decorators.trace(generator)) 26 @decorators.traced 30 @decorators.traced 34 @decorators.traced
|
/external/angle/build/android/pylib/utils/ |
D | decorators_test.py | 10 from pylib.utils import decorators 18 @decorators.NoRaiseException() 30 @decorators.NoRaiseException(default_return_value=111) 34 @decorators.NoRaiseException(default_return_value=111) 53 @decorators.Memoize 71 @decorators.Memoize 93 @decorators.Memoize
|
D | logdog_helper.py | 12 from pylib.utils import decorators 21 @decorators.NoRaiseException(default_return_value='', 42 @decorators.NoRaiseException(default_return_value=None, 58 @decorators.NoRaiseException(default_return_value='', 78 @decorators.NoRaiseException(default_return_value='', 93 @decorators.Memoize
|
D | google_storage_helper.py | 22 from pylib.utils import decorators 34 @decorators.NoRaiseException(default_return_value='') 68 @decorators.NoRaiseException(default_return_value='') 77 @decorators.NoRaiseException(default_return_value=False)
|
/external/cronet/build/android/pylib/utils/ |
D | decorators_test.py | 10 from pylib.utils import decorators 18 @decorators.NoRaiseException() 30 @decorators.NoRaiseException(default_return_value=111) 34 @decorators.NoRaiseException(default_return_value=111) 53 @decorators.Memoize 71 @decorators.Memoize 93 @decorators.Memoize
|
D | logdog_helper.py | 12 from pylib.utils import decorators 21 @decorators.NoRaiseException(default_return_value='', 42 @decorators.NoRaiseException(default_return_value=None, 58 @decorators.NoRaiseException(default_return_value='', 78 @decorators.NoRaiseException(default_return_value='', 93 @decorators.Memoize
|
D | google_storage_helper.py | 22 from pylib.utils import decorators 34 @decorators.NoRaiseException(default_return_value='') 68 @decorators.NoRaiseException(default_return_value='') 77 @decorators.NoRaiseException(default_return_value=False)
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | fastboot.py | 12 from devil.android import decorators 85 @decorators.WithTimeoutAndRetriesDefaults(_DEFAULT_TIMEOUT, _DEFAULT_RETRIES) 98 @decorators.WithTimeoutAndRetriesDefaults(_FLASH_TIMEOUT, 0) 109 @decorators.WithTimeoutAndRetriesDefaults(_DEFAULT_TIMEOUT, _DEFAULT_RETRIES) 119 @decorators.WithTimeoutAndRetriesFromInstance() 124 @decorators.WithTimeoutAndRetriesDefaults(_FLASH_TIMEOUT, 0) 129 @decorators.WithTimeoutAndRetriesFromInstance()
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_decorators.py | 29 from oauth2client.contrib.django_util import decorators 53 @decorators.oauth_enabled 75 @decorators.oauth_enabled 99 @decorators.oauth_enabled(scopes=['additional-scope']) 127 @decorators.oauth_required 146 @decorators.oauth_required 171 @decorators.oauth_required 189 @decorators.oauth_required(scopes=['additional-scope']) 224 @decorators.oauth_required 239 @decorators.oauth_required
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | walt_agent_unittest.py | 10 from systrace import decorators 23 @decorators.HostOnlyTest 31 @decorators.HostOnlyTest 40 @decorators.HostOnlyTest
|
D | atrace_agent_unittest.py | 12 from systrace import decorators 46 @decorators.Disabled 80 @decorators.HostOnlyTest 87 @decorators.HostOnlyTest 97 @decorators.HostOnlyTest 110 @decorators.HostOnlyTest
|
D | ftrace_agent_unittest.py | 10 from systrace import decorators 46 @decorators.HostOnlyTest 72 @decorators.HostOnlyTest 105 @decorators.HostOnlyTest 132 @decorators.HostOnlyTest
|
D | atrace_from_file_agent_unittest.py | 12 from systrace import decorators 26 @decorators.HostOnlyTest 49 @decorators.HostOnlyTest 74 @decorators.HostOnlyTest
|
/external/python/cachetools/ |
D | CHANGELOG.rst | 43 - Improve behavior of decorators in case of race conditions. 46 of key functions with decorators. 64 - Support ``user_function`` with ``cachetools.func`` decorators 67 - Support ``cache_parameters()`` with ``cachetools.func`` decorators 107 - Add support for ``maxsize=None`` in ``cachetools.func`` decorators. 155 with caching decorators. 215 - Move ``functools`` compatible decorators to ``cachetools.func``. 274 - Ignore ``ValueError`` raised on cache insertion in decorators. 299 function decorators. 307 - Support unsynchronized function decorators.
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | monitor_unittest.py | 8 from systrace import decorators 21 @decorators.HostOnlyTest 37 @decorators.HostOnlyTest 47 @decorators.HostOnlyTest
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | decorators_test.py | 10 from devil.utils import decorators 24 @decorators.Memoize 42 @decorators.Memoize 64 @decorators.Memoize
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | profiler_unittest.py | 13 from systrace import decorators 23 @decorators.ClientOnlyTest 34 @decorators.ClientOnlyTest 47 @decorators.ClientOnlyTest
|
D | perf_tracing_agent_unittest.py | 9 from systrace import decorators 14 @decorators.ClientOnlyTest 24 @decorators.Disabled
|
/external/python/python-api-core/google/api_core/gapic_v1/ |
D | method.py | 49 def _apply_decorators(func, decorators): argument 55 decorators = filter(_is_not_none_or_false, reversed(decorators)) 57 for decorator in decorators:
|
1234567