Home
last modified time | relevance | path

Searched refs:decorator (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_appengine.py491 decorator = OAuth2Decorator(client_id='foo_client_id',
496 self._finish_setup(decorator, user_mock=UserMock)
498 def _finish_setup(self, decorator, user_mock): argument
499 self.decorator = decorator
506 @decorator.oauth_required
508 if decorator.has_credentials():
510 parent.found_credentials = decorator.credentials
515 @decorator.oauth_aware
520 if decorator.has_credentials():
522 parent.found_credentials = decorator.credentials
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddecorators.py93 def decorator(f): function
98 return decorator
114 def decorator(f): function
118 return decorator
137 def decorator(f): function
141 return decorator
165 def decorator(f): function
175 return decorator
/external/v8/src/compiler/
Dgraph.cc28 for (auto const decorator : decorators_) { in Decorate() local
29 decorator->Decorate(node); in Decorate()
34 void Graph::AddDecorator(GraphDecorator* decorator) { in AddDecorator() argument
35 decorators_.push_back(decorator); in AddDecorator()
39 void Graph::RemoveDecorator(GraphDecorator* decorator) { in RemoveDecorator() argument
40 auto const it = std::find(decorators_.begin(), decorators_.end(), decorator); in RemoveDecorator()
Dgraph.h100 void AddDecorator(GraphDecorator* decorator);
101 void RemoveDecorator(GraphDecorator* decorator);
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/
Dconnection.py72 def decorator(func): function
85 return decorator
90 def decorator(func): function
106 return decorator
133 def decorator(func): function
144 return decorator
149 def decorator(func): function
163 return decorator
168 def decorator(func): function
182 return decorator
[all …]
/external/jetty/src/java/org/eclipse/jetty/servlet/
DServletContextHandler.java256 Decorator decorator = _decorators.get(i); in startContext() local
259 decorator.decorateFilterHolder(holder); in startContext()
262 decorator.decorateServletHolder(holder); in startContext()
500 public void addDecorator(Decorator decorator) in addDecorator() argument
502 _decorators.add(decorator); in addDecorator()
508 for (Decorator decorator : _decorators) in destroyServlet()
509 decorator.destroyServletInstance(servlet); in destroyServlet()
515 for (Decorator decorator : _decorators) in destroyFilter()
516 decorator.destroyFilterInstance(filter); in destroyFilter()
1054 Decorator decorator = _decorators.get(i); in createFilter() local
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/fps/
Dconnection.py43 def decorator(func): function
54 return decorator
59 def decorator(func): function
73 return decorator
88 def decorator(func): function
100 return decorator
/external/chromium-trace/catapult/third_party/Paste/paste/debug/
Dprofile.py134 def decorator(func): function
136 return decorator
137 def decorator(func): function
141 return decorator
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dappengine.py860 decorator = self
874 decorator._create_flow(self)
875 credentials = decorator.flow.step2_exchange(self.request.params)
876 decorator._storage_class(
877 decorator._credentials_class, None,
878 decorator._credentials_property_name, user=user).put(credentials)
882 if decorator._token_response_param and credentials.token_response:
885 redirect_uri, decorator._token_response_param, resp_json)
/external/autotest/client/common_lib/
Dlog.py67 def decorator(fn): function
75 return decorator
/external/autotest/client/cros/
Dxmlrpc_server.py115 def decorator(wrapped_function): function
144 return decorator
/external/autotest/server/site_tests/firmware_ECLidSwitch/
Dfirmware_ECLidSwitch.py15 def decorator(f): function
20 return decorator
/external/chromium-trace/catapult/third_party/WebOb/docs/modules/
Ddec.txt1 :mod:`webob.dec` -- WSGIfy decorator
/external/chromium-trace/catapult/third_party/gsutil/third_party/retry-decorator/
DREADME.rst5 Retry decorator
/external/junit/src/org/junit/internal/runners/
DJUnit38ClassRunner.java113 TestDecorator decorator= (TestDecorator) test; in makeDescription() local
114 return makeDescription(decorator.getTest()); in makeDescription()
/external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
Dcollector.py371 for decorator in traceback_decorators:
373 new_result = decorator(result)
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/documentation/
Dindex.rst246 .. decorator:: wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, updated=functools.WRAPPER_UPD…
248 This is exactly the :func:`py3:functools.wraps` decorator, but it sets the
321 decorator.
324 .. decorator:: add_metaclass(metaclass)
326 Class decorator that replaces a normally-constructed class with a
346 decorator can be emulated on Python 2.5 like so::
441 .. decorator:: python_2_unicode_compatible
443 A class decorator that takes a class defining a ``__str__`` method. On
444 Python 3, the decorator does nothing. On Python 2, it aliases the
/external/chromium-trace/catapult/third_party/six/documentation/
Dindex.rst253 .. decorator:: wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, updated=functools.WRAPPER_UPD…
255 This is exactly the :func:`py3:functools.wraps` decorator, but it sets the
328 decorator.
331 .. decorator:: add_metaclass(metaclass)
333 Class decorator that replaces a normally-constructed class with a
353 decorator can be emulated on Python 2.5 like so::
448 .. decorator:: python_2_unicode_compatible
450 A class decorator that takes a class defining a ``__str__`` method. On
451 Python 3, the decorator does nothing. On Python 2, it aliases the
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/
DCHANGES12 decorator.
163 - Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
Dtesting.py586 def decorator(test_item): function
592 return decorator
/external/chromium-trace/catapult/third_party/Paste/paste/evalexception/
Dmiddleware.py102 def decorator(func): function
130 return decorator
/external/chromium-trace/catapult/third_party/six/
DCHANGES25 decorator.
179 - Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dextended_descriptor.py445 for decorator in message_type.decorators:
446 self.__printer('@%s', decorator)
/external/chromium-trace/catapult/third_party/WebOb/docs/
Ddo-it-yourself.txt271 To do that we'll write a `decorator <http://www.ddj.com/web-development/184406073>`_. A decorator
290 **line 3**: This is the typical signature for a decorator -- it takes one function as an argument, …
364 …ass, but the implementation will be more elegant as a wrapper, like the decorator is a wrapper. P…
395 …ication, also a closure. And we create a request and catch exceptions, just like in the decorator.
/external/autotest/client/bin/
Djob.py1260 def decorator(func): function
1269 return decorator

12