/external/python/cpython2/Objects/ |
D | codeobject.c | 135 co->co_freevars = freevars; in PyCode_New() 209 {"co_freevars", T_OBJECT, OFF(co_freevars), READONLY}, 351 Py_XDECREF(co->co_freevars); in code_dealloc() 405 cmp = PyObject_Compare(co->co_freevars, cp->co_freevars); in code_compare() 603 eq = PyObject_RichCompareBool(co->co_freevars, cp->co_freevars, Py_EQ); in code_richcompare() 641 h5 = PyObject_Hash(co->co_freevars); in code_hash()
|
D | frameobject.c | 543 …->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_traverse() 576 …->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_clear() 594 nfrees = PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_sizeof() 712 nfrees = PyTuple_GET_SIZE(code->co_freevars); in PyFrame_New() 934 nfreevars = PyTuple_GET_SIZE(co->co_freevars); in PyFrame_FastToLocals() 947 map_to_dict(co->co_freevars, nfreevars, in PyFrame_FastToLocals() 981 nfreevars = PyTuple_GET_SIZE(co->co_freevars); in PyFrame_LocalsToFast() 987 dict_to_map(co->co_freevars, nfreevars, in PyFrame_LocalsToFast()
|
D | funcobject.c | 391 nfree = PyTuple_GET_SIZE(code->co_freevars); in func_new()
|
/external/python/cpython2/Include/ |
D | code.h | 20 PyObject *co_freevars; /* tuple of strings (free variable names) */ member 68 #define PyCode_GetNumFree(op) (PyTuple_GET_SIZE((op)->co_freevars))
|
/external/python/cpython3/Objects/ |
D | frameobject.c | 513 …->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_traverse() 544 …->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_tp_clear() 582 nfrees = PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_sizeof() 709 nfrees = PyTuple_GET_SIZE(code->co_freevars); in _PyFrame_New_NoTrack() 952 nfreevars = PyTuple_GET_SIZE(co->co_freevars); in PyFrame_FastToLocalsWithError() 967 if (map_to_dict(co->co_freevars, nfreevars, in PyFrame_FastToLocalsWithError() 1014 nfreevars = PyTuple_GET_SIZE(co->co_freevars); in PyFrame_LocalsToFast() 1020 dict_to_map(co->co_freevars, nfreevars, in PyFrame_LocalsToFast()
|
D | codeobject.c | 207 co->co_freevars = freevars; in PyCode_New() 284 {"co_freevars", T_OBJECT, OFF(co_freevars), READONLY}, 449 Py_XDECREF(co->co_freevars); in code_dealloc() 671 eq = PyObject_RichCompareBool(co->co_freevars, cp->co_freevars, Py_EQ); in code_richcompare() 709 h5 = PyObject_Hash(co->co_freevars); in code_hash()
|
D | funcobject.c | 473 nfree = PyTuple_GET_SIZE(code->co_freevars); in func_new_impl()
|
D | typeobject.c | 7712 if (co->co_freevars == NULL) in super_init() 7715 assert(PyTuple_Check(co->co_freevars)); in super_init() 7716 n = PyTuple_GET_SIZE(co->co_freevars); in super_init() 7719 PyObject *name = PyTuple_GET_ITEM(co->co_freevars, i); in super_init()
|
/external/python/cpython3/Include/ |
D | code.h | 33 PyObject *co_freevars; /* tuple of strings (free variable names) */ member 101 #define PyCode_GetNumFree(op) (PyTuple_GET_SIZE((op)->co_freevars))
|
/external/python/cpython3/Lib/ |
D | dis.py | 167 if co.co_freevars: 169 for i_n in enumerate(co.co_freevars): 263 cell_names = co.co_cellvars + co.co_freevars 354 cell_names = co.co_cellvars + co.co_freevars 477 self._cell_names = co.co_cellvars + co.co_freevars
|
D | types.py | 264 co.co_name, co.co_firstlineno, co.co_lnotab, co.co_freevars,
|
D | modulefinder.py | 566 co.co_firstlineno, co.co_lnotab, co.co_freevars,
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 123 freevars = c.co_freevars
|
D | test_import.py | 509 code.co_freevars, code.co_cellvars)
|
D | test_sys.py | 646 nfrees = len(x.f_code.co_freevars)
|
/external/python/cpython2/Doc/library/ |
D | new.rst | 46 cell objects containing objects to bind to the names in ``code.co_freevars``.
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | inspect_utils.py | 101 freevars = six.get_function_code(f).co_freevars
|
/external/python/cpython2/Lib/ |
D | dis.py | 106 free = co.co_cellvars + co.co_freevars
|
D | modulefinder.py | 613 co.co_freevars, co.co_cellvars)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | rev_block_lib.py | 496 if fn.__code__.co_freevars: 497 closed_over_vars = dict(zip(fn.__code__.co_freevars,
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 163 c.co_lnotab, c.co_freevars + ('__class__',), c.co_cellvars)
|
/external/python/cpython3/Python/ |
D | ceval.c | 2192 assert(idx >= 0 && idx < PyTuple_GET_SIZE(co->co_freevars)); in _PyEval_EvalFrameDefault() 2193 name = PyTuple_GET_ITEM(co->co_freevars, idx); in _PyEval_EvalFrameDefault() 3878 for (i = 0; i < PyTuple_GET_SIZE(co->co_freevars); ++i) { in _PyEval_EvalCodeWithName() 4980 name = PyTuple_GET_ITEM(co->co_freevars, oparg - in format_exc_unbound()
|
/external/python/cpython2/Python/ |
D | marshal.c | 439 w_object(co->co_freevars, p); in w_object()
|
D | ceval.c | 2445 v = PyTuple_GET_ITEM(co->co_freevars, oparg - in PyEval_EvalFrameEx() 3583 if (PyTuple_GET_SIZE(co->co_freevars)) { in PyEval_EvalCodeEx() 3585 for (i = 0; i < PyTuple_GET_SIZE(co->co_freevars); ++i) { in PyEval_EvalCodeEx()
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 613 code.co_freevars, code.co_cellvars)
|