Home
last modified time | relevance | path

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

12

/external/antlr/antlr-3.4/runtime/Python/tests/
Dt050decorate.g8 def decorated(self, *args, **kwargs):
15 return decorated
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dutil.py14 def update_wrapper(decorated, fn): argument
15 decorated.__wrapped__ = fn
16 decorated.__name__ = fn.__name__
17 return decorated
/external/python/cpython2/Doc/howto/
Dsorting.rst168 * First, the initial list is decorated with new values that control the sort order.
170 * Second, the decorated list is sorted.
177 >>> decorated = [(student.grade, i, student) for i, student in enumerate(student_objects)]
178 >>> decorated.sort()
179 >>> [student for grade, i, student in decorated] # undecorate
187 decorated list, but including it gives two benefits:
193 decorated tuples will be determined by at most the first two items. So for
Dlogging-cookbook.rst1259 and attaches a memory handler for the duration of the call to the decorated
1323 write_line('Calling decorated foo with False')
1325 write_line('Calling decorated foo with True')
1340 Calling decorated foo with False
1344 Calling decorated foo with True
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dclass_definition.py30 elif (statement.type == symbol.decorated and
Dfunction_definition.py30 elif (statement.type == symbol.decorated and
/external/python/cpython2/Include/
Dgraminit.h8 #define decorated 261 macro
/external/python/cpython2/Lib/
Dsymbol.py18 decorated = 261 variable
/external/python/cpython2/Doc/library/
Dfunctools.rst121 wrap the decorated function and return the wrapper. If the wrapper function is
138 ... print 'Calling decorated function'
148 Calling decorated function
Dcontextlib.rst44 The function being decorated must return a :term:`generator`-iterator when
Dmultifile.rst108 Push a boundary string. When a decorated version of this boundary is found as
Dunittest.rst638 Unconditionally skip the decorated test. *reason* should describe why the
643 Skip the decorated test if *condition* is true.
647 Skip the decorated test unless *condition* is true.
735 and must be decorated as a :func:`classmethod`::
750 and must be decorated as a :meth:`classmethod`::
/external/python/cpython2/Grammar/
DGrammar24 decorated: decorators (classdef | funcdef)
65 …pound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt36 decorated: decorators (classdef | funcdef)
85 …pound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated
/external/python/cpython2/Lib/test/
Dtest_tempfile.py421 decorated = '"%s"' % sys.executable
424 decorated = sys.executable
426 retval = os.spawnl(os.P_WAIT, sys.executable, decorated, tester, v, fd)
Dtest_grammar.py831 x.decorated = True
836 self.assertEqual(G.decorated, True)
D_mock_backport.py1579 decorated = decorator(attr_value)
1580 setattr(klass, attr, decorated)
/external/python/cpython2/Lib/lib2to3/tests/data/
Dpy2_test_grammar.py799 x.decorated = True
804 self.assertEqual(G.decorated, True)
/external/swiftshader/third_party/LLVM/cmake/modules/
DHandleLLVMOptions.cmake157 -wd4503 # Suppress ''identifier' : decorated name length exceeded, name was truncated'
/external/python/cpython2/Modules/
Dparsermodule.c1612 || (ntype == decorated)) in validate_compound_stmt()
2716 int ok = (validate_ntype(tree, decorated) in validate_decorated()
3123 case decorated: in validate_node()
/external/pdfium/third_party/pymock/
Dmock.py1631 decorated = decorator(attr_value)
1632 setattr(klass, attr, decorated)
/external/python/cpython2/Doc/reference/
Dcompound_stmts.rst52 : | `decorated`
447 decorated: decorators (classdef | funcdef)
/external/python/cpython2/Doc/whatsnew/
D2.4.rst275 A decorator is just a function that takes the function to be decorated as an
283 ... func.attr = 'decorated'
292 'decorated'
/external/llvm/cmake/modules/
DHandleLLVMOptions.cmake274 -wd4503 # Suppress ''identifier' : decorated name length exceeded, name was truncated'
/external/clang/docs/
DLanguageExtensions.rst1996 ``on`` will be decorated with the ``optnone`` attribute unless doing so would
2003 // This function will be decorated with optnone.
2008 // optnone conflicts with always_inline, so bar() will not be decorated.

12