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

12

/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
88 """A decorator to test if the given module is available first before
97 def decorator(f): function in function:test_module_available
98 """The actual decorator.
114 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.h174 void AddDecorator(GraphDecorator* decorator);
175 void RemoveDecorator(GraphDecorator* decorator);
196 // A graph decorator can be used to add behavior to the creation of nodes
H A Dcode-assembler.cc99 GraphDecorator* decorator = local
101 graph->AddDecorator(decorator);
/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/python/cpython2/Include/
H A Dgraminit.h6 #define decorator 259 macro
/external/python/cpython2/Lib/
H A Dsymbol.py16 decorator = 259 variable
/external/autotest/server/site_tests/firmware_ECLidSwitch/
H A Dfirmware_ECLidSwitch.py15 def decorator(f): function in function:delayed
20 return decorator
/external/python/cpython2/Lib/test/
H A Dtest_docxmlrpc.py13 def decorator(func): function in function:make_request_and_skipIf
19 return decorator
H A Dtest_support.py405 def decorator(func): function in function:requires_mac_ver
423 return decorator
1230 def decorator(func): function in function:run_with_locale
1259 return decorator
1266 def decorator(func): function in function:run_with_tz
1292 return decorator
1335 The decorator tries to guess a good value for 'size' and passes it to
1340 def decorator(f): function in function:bigmemtest
1364 return decorator
1367 def decorator( function in function:precisionbigmemtest
1577 def decorator(*args): function in function:reap_threads
[all...]
/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/python/cpython2/Lib/unittest/test/
H A Dtest_skipping.py149 def decorator(func): function in function:Test_TestSkipping.test_decorated_skip
155 @decorator
/external/lisa/libs/utils/
H A Dtest.py208 @wrapt.decorator
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
H A Dcodegen.py274 decorator = node.decorator
275 if decorator:
277 "@runtime._decorate_toplevel(%s)" % decorator)
480 # (this is used for the caching decorator)
578 decorator = node.decorator
579 if decorator:
581 "@runtime._decorate_inline(context, %s)" % decorator)
670 """write a post-function decorator t
[all...]
H A Dparsetree.py413 ('name', 'filter', 'decorator'),
424 self.decorator = attributes.get('decorator', '')
468 ('name','filter', 'decorator'),
485 self.decorator = attributes.get('decorator', '')
H A D_ast_util.py412 for decorator in node.decorator_list:
415 self.visit(decorator)
/external/autotest/client/cros/graphics/
H A Dgraphics_utils.py123 In addition, functions with this decorator should be called with no
148 def decorator(fn): function in function:GraphicsTest.failure_report_decorator
153 'Please apply this decorator to '
164 return decorator
/external/python/cpython2/Lib/lib-tk/test/
H A Dwidget_tests.py541 # This decorator adds test_xxx methods from source classes for every xxx
543 def decorator(cls): function in function:add_standard_options
561 return decorator
/external/autotest/server/cros/bluetooth/
H A Dbluetooth_adapter_tests.py287 """A decorator that logs test results, collects error messages, and retries
307 def decorator(test_method): function in function:_test_retry_and_log
308 """A decorator wrapper of the decorated test_method.
341 # If the decorator function comes with no argument like
343 return decorator(test_method_or_retry_flag)
345 # If the decorator function comes with an argument like
347 return decorator
351 """A decorator for test case methods.
353 The main purpose of this decorator is to display the test case name
/external/autotest/client/bin/
H A Djob.py1134 """ Generic decorator to wrap a function call with the
1136 def decorator(func): function in function:disk_usage_monitor.watch
1145 return decorator
/external/python/cpython2/Lib/unittest/
H A Dcase.py58 def decorator(test_item): function in function:skip
68 return decorator

Completed in 5604 milliseconds

12