Searched refs:decorator (Results 1 - 23 of 23) sorted by relevance

/external/autotest/client/common_lib/
H A Dlog.py20 """ A decorator for wrapping functions in a 'log exception and ignore'
22 def decorator(fn): function in function:log_and_ignore_errors
30 return decorator
H A Ddecorators.py28 With the in_context decorator, self.bar is equivalent to
87 """A decorator to test if the given module is available first before
96 def decorator(f): function in function:test_module_available
97 """The actual decorator.
113 return decorator
/external/v8/src/compiler/
H A Dgraph.cc29 for (GraphDecorator* const decorator : decorators_) {
30 decorator->Decorate(node);
35 void Graph::AddDecorator(GraphDecorator* decorator) { argument
36 decorators_.push_back(decorator);
40 void Graph::RemoveDecorator(GraphDecorator* decorator) { argument
41 auto const it = std::find(decorators_.begin(), decorators_.end(), decorator);
H A Dgraph.h121 void AddDecorator(GraphDecorator* decorator);
122 void RemoveDecorator(GraphDecorator* decorator);
143 // A graph decorator can be used to add behavior to the creation of nodes
/external/chromium-trace/catapult/devil/devil/android/
H A Ddecorators.py68 """A decorator that handles timeouts and retries.
83 """Returns a decorator that handles timeouts and, in some cases, retries.
91 The actual decorator.
93 def decorator(f): function in function:WithTimeoutAndConditionalRetries
98 return decorator
102 """Returns a decorator that handles timeouts and retries.
112 The actual decorator.
114 def decorator(f): function in function:WithExplicitTimeoutAndRetries
118 return decorator
122 """Returns a decorator tha
137 def decorator(f): function in function:WithTimeoutAndRetriesDefaults
165 def decorator(f): function in function:WithTimeoutAndRetriesFromInstance
[all...]
/external/libmojo/third_party/catapult/devil/devil/android/
H A Ddecorators.py68 """A decorator that handles timeouts and retries.
83 """Returns a decorator that handles timeouts and, in some cases, retries.
91 The actual decorator.
93 def decorator(f): function in function:WithTimeoutAndConditionalRetries
98 return decorator
102 """Returns a decorator that handles timeouts and retries.
112 The actual decorator.
114 def decorator(f): function in function:WithExplicitTimeoutAndRetries
118 return decorator
122 """Returns a decorator tha
137 def decorator(f): function in function:WithTimeoutAndRetriesDefaults
165 def decorator(f): function in function:WithTimeoutAndRetriesFromInstance
[all...]
/external/autotest/client/cros/
H A Dxmlrpc_server.py115 def decorator(wrapped_function): function in function:dbus_safe
144 return decorator
/external/autotest/server/site_tests/firmware_ECLidSwitch/
H A Dfirmware_ECLidSwitch.py15 def decorator(f): function in function:delayed
20 return decorator
/external/clang/tools/scan-build-py/libscanbuild/
H A Drunner.py53 def decorator(function): function in function:require
65 return decorator
87 decorator. It's like an 'assert' to check the contract between the
/external/junit/src/main/java/org/junit/internal/runners/
H A DJUnit38ClassRunner.java117 TestDecorator decorator = (TestDecorator) test;
118 return makeDescription(decorator.getTest());
/external/autotest/server/cros/bluetooth/
H A Dbluetooth_adpater_tests.py275 """A decorator that logs test results, collects error messages, and retries
295 def decorator(test_method): function in function:_test_retry_and_log
296 """A decorator wrapper of the decorated test_method.
329 # If the decorator function comes with no argument like
331 return decorator(test_method_or_retry_flag)
333 # If the decorator function comes with an argument like
335 return decorator
339 """A decorator for test case methods.
341 The main purpose of this decorator is to display the test case name
/external/autotest/client/bin/
H A Djob.py1140 """ Generic decorator to wrap a function call with the
1142 def decorator(func): function in function:disk_usage_monitor.watch
1151 return decorator
/external/chromium-trace/catapult/telemetry/third_party/mock/
H A Dmock.py1430 `patch.object` can be used as a decorator, class decorator or a context
1436 When used as a class decorator `patch.object` honours `patch.TEST_PREFIX`
1460 `patch.multiple` can be used as a decorator, class decorator or a context
1465 When used as a class decorator `patch.multiple` honours `patch.TEST_PREFIX`
1500 `patch` acts as a function decorator, class decorator or a context
1506 `MagicMock`. If `patch` is used as a decorator and `new` is
1546 Patch can be used as a `TestCase` class decorator
[all...]
/external/pdfium/third_party/pymock/
H A Dmock.py1430 `patch.object` can be used as a decorator, class decorator or a context
1436 When used as a class decorator `patch.object` honours `patch.TEST_PREFIX`
1460 `patch.multiple` can be used as a decorator, class decorator or a context
1465 When used as a class decorator `patch.multiple` honours `patch.TEST_PREFIX`
1500 `patch` acts as a function decorator, class decorator or a context
1506 `MagicMock`. If `patch` is used as a decorator and `new` is
1546 Patch can be used as a `TestCase` class decorator
[all...]
/external/guice/lib/build/
H A Dspring-beans.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/springframework/beans/ org/springframework/beans/annotation/ ...
/external/libphonenumber/lib/
H A Djunit-4.8.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/external/owasp/sanitizer/lib/junit/
H A Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/mockito/lib/
H A Dbyte-buddy-1.6.9.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/net. ...
/external/guice/extensions/persist/lib/
H A Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/hibernate/AssertionFailure.class AssertionFailure. ...

Completed in 554 milliseconds