/external/python/cpython2/Include/ |
D | code.h | 16 PyObject *co_code; /* instruction opcodes */ member 87 ((*Py_TYPE((co)->co_code)->tp_as_buffer->bf_getreadbuffer) \ 88 ((co)->co_code, 0, (void **)(pp)))
|
/external/python/setuptools/setuptools/ |
D | py33compat.py | 24 bytes = array.array('b', self.code.co_code) 25 eof = len(self.code.co_code)
|
/external/python/cpython2/Objects/ |
D | codeobject.c | 127 co->co_code = code; in PyCode_New() 205 {"co_code", T_OBJECT, OFF(co_code), READONLY}, 347 Py_XDECREF(co->co_code); in code_dealloc() 397 cmp = PyObject_Compare(co->co_code, cp->co_code); in code_compare() 582 eq = PyObject_RichCompareBool(co->co_code, cp->co_code, Py_EQ); in code_richcompare() 633 h1 = PyObject_Hash(co->co_code); in code_hash()
|
D | frameobject.c | 199 PyString_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); in frame_setlineno()
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 199 co->co_code = code; in PyCode_New() 280 {"co_code", T_OBJECT, OFF(co_code), READONLY}, 445 Py_XDECREF(co->co_code); in code_dealloc() 650 eq = PyObject_RichCompareBool(co->co_code, cp->co_code, Py_EQ); in code_richcompare() 701 h1 = PyObject_Hash(co->co_code); in code_hash()
|
D | frameobject.c | 187 PyBytes_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); in frame_setlineno()
|
D | genobject.c | 336 PyObject *bytecode = f->f_code->co_code; in _PyGen_yf()
|
/external/python/cpython3/Lib/ |
D | dis.py | 269 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 356 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names, 484 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 512 _disassemble_bytes(co.co_code, varnames=co.co_varnames,
|
D | modulefinder.py | 341 code = co.co_code 361 code = co.co_code 564 co.co_code, tuple(consts), co.co_names,
|
D | types.py | 262 co.co_code,
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 363 code = co.co_code 380 code = co.co_code 402 code = co.co_code 610 co.co_flags, co.co_code, tuple(consts), co.co_names,
|
D | inspect.py | 769 while step < len(co.co_code): 770 op = ord(co.co_code[step]) 774 value = ord(co.co_code[step]) + ord(co.co_code[step+1])*256
|
D | dis.py | 63 code = co.co_code
|
/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/cpython3/Include/ |
D | code.h | 29 PyObject *co_code; /* instruction opcodes */ member
|
/external/python/cpython2/Lib/test/ |
D | test_new.py | 115 codestring = c.co_code
|
D | test_compile.py | 600 max_size = math.ceil(math.log(len(code.co_code)))
|
D | test_import.py | 506 code.co_flags, code.co_code, tuple(constants),
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 161 c.co_stacksize, c.co_flags, c.co_code, c.co_consts, c.co_names,
|
D | test_dis.py | 527 self.do_disassembly_test(_f.__code__.co_code, dis_f_co_code) 536 method_bytecode = _C(1).__init__.__code__.co_code
|
D | test_compile.py | 704 max_size = math.ceil(math.log(len(code.co_code)))
|
/external/python/cpython3/Python/ |
D | ceval.c | 882 assert(PyBytes_Check(co->co_code)); in _PyEval_EvalFrameDefault() 883 assert(PyBytes_GET_SIZE(co->co_code) <= INT_MAX); in _PyEval_EvalFrameDefault() 884 assert(PyBytes_GET_SIZE(co->co_code) % sizeof(_Py_CODEUNIT) == 0); in _PyEval_EvalFrameDefault() 885 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault() 886 first_instr = (_Py_CODEUNIT *) PyBytes_AS_STRING(co->co_code); in _PyEval_EvalFrameDefault()
|
D | marshal.c | 556 w_object(co->co_code, p); in w_complex_object()
|
/external/python/cpython2/Python/ |
D | marshal.c | 435 w_object(co->co_code, p); in w_object()
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 610 code.co_flags, code.co_code, tuple(constants),
|