/external/python/cpython3/Objects/clinic/ |
D | codeobject.c.h | 22 int co_nlocals, int co_stacksize, int co_flags, 42 int co_flags = self->co_flags; in code_replace() local 137 co_flags = _PyLong_AsInt(args[5]); in code_replace() 138 if (co_flags == -1 && PyErr_Occurred()) { in code_replace() 251 …count, co_posonlyargcount, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, … in code_replace()
|
/external/python/cpython3/Lib/ |
D | types.py | 253 co_flags = func.__code__.co_flags 257 if co_flags & 0x180: 262 if co_flags & 0x20: 266 func.__code__ = co.replace(co_flags=co.co_flags | 0x100) 280 coro.__class__ is GeneratorType and coro.gi_code.co_flags & 0x100):
|
D | bdb.py | 132 if self.stopframe and frame.f_code.co_flags & GENERATOR_AND_COROUTINE_FLAGS: 147 if self.stopframe and frame.f_code.co_flags & GENERATOR_AND_COROUTINE_FLAGS: 171 if not (frame.f_code.co_flags & GENERATOR_AND_COROUTINE_FLAGS 180 and self.stopframe.f_code.co_flags & GENERATOR_AND_COROUTINE_FLAGS 316 if frame.f_code.co_flags & GENERATOR_AND_COROUTINE_FLAGS:
|
D | codeop.py | 145 if codeob.co_flags & feature.compiler_flag:
|
D | inspect.py | 181 return bool(f.__code__.co_flags & flag) 234 bool(object.gi_code.co_flags & CO_ITERABLE_COROUTINE) or 1086 if co.co_flags & CO_VARARGS: 1090 if co.co_flags & CO_VARKEYWORDS: 2210 if func_code.co_flags & CO_VARARGS: 2227 if func_code.co_flags & CO_VARKEYWORDS: 2229 if func_code.co_flags & CO_VARARGS:
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 203 self.assertFalse(function.__code__.co_flags & inspect.CO_NOFREE, 204 hex(function.__code__.co_flags)) 221 co.co_flags, 251 ("co_flags", code.co_flags | inspect.CO_COROUTINE),
|
D | test_types.py | 1404 foo_flags = foo.__code__.co_flags 1407 self.assertEqual(foo.__code__.co_flags, foo_flags) 1416 self.assertEqual(coro.cr_code.co_flags, foo_flags) 1659 self.assertTrue(gen.__code__.co_flags & inspect.CO_ITERABLE_COROUTINE) 1660 self.assertFalse(gen.__code__.co_flags & inspect.CO_COROUTINE) 1663 self.assertTrue(g.gi_code.co_flags & inspect.CO_ITERABLE_COROUTINE) 1664 self.assertFalse(g.gi_code.co_flags & inspect.CO_COROUTINE)
|
D | test_coroutines.py | 513 self.assertTrue(bool(foo.__code__.co_flags & inspect.CO_COROUTINE)) 514 self.assertFalse(bool(foo.__code__.co_flags & inspect.CO_GENERATOR)) 515 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE)) 516 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR)) 522 self.assertFalse(bool(bar.__code__.co_flags & inspect.CO_COROUTINE))
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 125 co->co_flags = flags; in PyCode_New() 204 {"co_flags", T_INT, OFF(co_flags), READONLY}, 393 cmp = co->co_flags - cp->co_flags; in code_compare() 578 eq = co->co_flags == cp->co_flags; in code_richcompare() 646 co->co_argcount ^ co->co_nlocals ^ co->co_flags; in code_hash()
|
D | frameobject.c | 755 if ((code->co_flags & (CO_NEWLOCALS | CO_OPTIMIZED)) == in PyFrame_New() 758 else if (code->co_flags & CO_NEWLOCALS) { in PyFrame_New() 946 if (co->co_flags & CO_OPTIMIZED) { in PyFrame_FastToLocals() 986 if (co->co_flags & CO_OPTIMIZED) { in PyFrame_LocalsToFast()
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 234 co->co_flags = flags; in PyCode_NewWithPosOnlyArgs() 381 {"co_flags", T_INT, OFF(co_flags), READONLY}, 640 int co_nlocals, int co_stacksize, int co_flags, in code_replace_impl() argument 660 CHECK_INT_ARG(co_flags); in code_replace_impl() 668 co_stacksize, co_flags) < 0) { in code_replace_impl() 674 co_stacksize, co_flags, (PyObject*)co_code, co_consts, co_names, in code_replace_impl() 855 eq = co->co_flags == cp->co_flags; in code_richcompare() 924 co->co_nlocals ^ co->co_flags; in code_hash()
|
D | frameobject.c | 897 if ((code->co_flags & (CO_NEWLOCALS | CO_OPTIMIZED)) == in _PyFrame_New_NoTrack() 900 else if (code->co_flags & CO_NEWLOCALS) { in _PyFrame_New_NoTrack() 1114 if (co->co_flags & CO_OPTIMIZED) { in PyFrame_FastToLocalsWithError() 1167 if (co->co_flags & CO_OPTIMIZED) { in PyFrame_LocalsToFast()
|
/external/libnl/include/netlink-private/ |
D | cache-api.h | 180 unsigned int co_flags; member
|
/external/tensorflow/tensorflow/python/platform/ |
D | benchmark.py | 61 func_code.co_stacksize, func_code.co_flags, 72 func_code.co_stacksize, func_code.co_flags, 80 func_code.co_stacksize, func_code.co_flags,
|
/external/python/cpython2/Include/ |
D | code.h | 15 int co_flags; /* CO_..., see below */ member
|
/external/python/cpython2/Lib/ |
D | codeop.py | 135 if codeob.co_flags & feature.compiler_flag:
|
D | inspect.py | 161 object.func_code.co_flags & CO_GENERATOR) 803 if co.co_flags & CO_VARARGS: 807 if co.co_flags & CO_VARKEYWORDS:
|
/external/python/cpython3/Include/cpython/ |
D | code.h | 25 int co_flags; /* CO_..., see below */ member
|
/external/libchrome/third_party/jinja2/ |
D | debug.py | 273 code.co_flags, code.co_code, code.co_consts, 280 code.co_flags, code.co_code, code.co_consts,
|
/external/python/funcsigs/funcsigs/ |
D | __init__.py | 554 if func_code.co_flags & 0x04: 571 if func_code.co_flags & 0x08: 573 if func_code.co_flags & 0x04:
|
/external/python/cpython2/Lib/idlelib/ |
D | CallTips.py | 187 if fob.func_code.co_flags & flag:
|
/external/libnl/lib/ |
D | cache_mngt.c | 240 ops->co_flags |= flags; in nl_cache_ops_set_flags()
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 114 flags = c.co_flags
|
/external/python/cpython2/Python/ |
D | ceval.c | 3393 co->co_flags & (CO_VARARGS | CO_VARKEYWORDS)) { in PyEval_EvalCodeEx() 3397 if (co->co_flags & CO_VARKEYWORDS) { in PyEval_EvalCodeEx() 3402 if (co->co_flags & CO_VARARGS) in PyEval_EvalCodeEx() 3407 if (!(co->co_flags & CO_VARARGS)) { in PyEval_EvalCodeEx() 3425 if (co->co_flags & CO_VARARGS) { in PyEval_EvalCodeEx() 3512 ((co->co_flags & CO_VARARGS) || in PyEval_EvalCodeEx() 3547 if (co->co_flags & CO_VARARGS) in PyEval_EvalCodeEx() 3549 if (co->co_flags & CO_VARKEYWORDS) in PyEval_EvalCodeEx() 3592 if (co->co_flags & CO_GENERATOR) { in PyEval_EvalCodeEx() 4185 const int codeflags = current_frame->f_code->co_flags; in PyEval_MergeCompilerFlags() [all …]
|
/external/python/cpython3/Python/ |
D | ceval.c | 2232 if (co->co_flags & CO_ASYNC_GENERATOR) { in _PyEval_EvalFrameDefault() 3279 if (!(co->co_flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE))) { in _PyEval_EvalFrameDefault() 3962 assert((co->co_flags & CO_VARARGS) == 0); in too_many_positional() 4109 if (co->co_flags & CO_VARKEYWORDS) { in _PyEval_EvalCode() 4114 if (co->co_flags & CO_VARARGS) { in _PyEval_EvalCode() 4137 if (co->co_flags & CO_VARARGS) { in _PyEval_EvalCode() 4215 if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) { in _PyEval_EvalCode() 4301 if (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) { in _PyEval_EvalCode() 4303 int is_coro = co->co_flags & CO_COROUTINE; in _PyEval_EvalCode() 4313 } else if (co->co_flags & CO_ASYNC_GENERATOR) { in _PyEval_EvalCode() [all …]
|