/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/cpython3/Objects/clinic/ |
D | codeobject.c.h | 23 int co_firstlineno, PyBytesObject *co_code, 44 PyBytesObject *co_code = (PyBytesObject *)self->co_code; in code_replace() local 164 co_code = (PyBytesObject *)args[7]; in code_replace() 251 …, co_kwonlyargcount, co_nlocals, co_stacksize, co_flags, co_firstlineno, co_code, co_consts, co_na… in code_replace()
|
/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/cpython3/Objects/ |
D | codeobject.c | 236 co->co_code = code; in PyCode_NewWithPosOnlyArgs() 283 Py_ssize_t co_size = PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT); in _PyCode_InitOpcache() 289 _Py_CODEUNIT *opcodes = (_Py_CODEUNIT*)PyBytes_AS_STRING(co->co_code); in _PyCode_InitOpcache() 382 {"co_code", T_OBJECT, OFF(co_code), READONLY}, 572 Py_XDECREF(co->co_code); in code_dealloc() 606 res += PyBytes_GET_SIZE(co->co_code) / sizeof(_Py_CODEUNIT); in code_sizeof() 641 int co_firstlineno, PyBytesObject *co_code, in code_replace_impl() argument 666 co_code, co_filename, co_name, co_argcount, in code_replace_impl() 674 co_stacksize, co_flags, (PyObject*)co_code, co_consts, co_names, in code_replace_impl() 859 eq = PyObject_RichCompareBool(co->co_code, cp->co_code, Py_EQ); in code_richcompare() [all …]
|
D | frameobject.c | 105 (const _Py_CODEUNIT *)PyBytes_AS_STRING(code_obj->co_code); in markblocks() 400 int len = PyBytes_GET_SIZE(f->f_code->co_code)/sizeof(_Py_CODEUNIT); in frame_setlineno()
|
D | genobject.c | 330 PyObject *bytecode = f->f_code->co_code; in _PyGen_yf()
|
/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/Lib/ |
D | dis.py | 279 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 369 _disassemble_bytes(co.co_code, lasti, co.co_varnames, co.co_names, 457 bytecode_len = len(code.co_code) 502 return _get_instructions_bytes(co.co_code, co.co_varnames, co.co_names, 530 _disassemble_bytes(co.co_code, varnames=co.co_varnames,
|
D | modulefinder.py | 397 code = co.co_code 417 code = co.co_code
|
/external/tensorflow/tensorflow/python/platform/ |
D | benchmark.py | 62 func_code.co_code, func_code.co_consts, 73 func_code.co_code, func_code.co_consts, 81 func_code.co_code, func_code.co_consts,
|
/external/python/cpython3/Include/cpython/ |
D | code.h | 27 PyObject *co_code; /* instruction opcodes */ member
|
/external/python/cpython3/Lib/test/ |
D | test_code.py | 222 co.co_code, 253 ("co_code", code2.co_code),
|
D | test_peepholer.py | 52 self.assertLess(max_bytecode, len(code.co_code))
|
D | test_dis.py | 590 self.do_disassembly_test(_f.__code__.co_code, dis_f_co_code) 599 method_bytecode = _C(1).__init__.__code__.co_code
|
D | test_compile.py | 774 max_size = math.ceil(math.log(len(code.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/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/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/Python/ |
D | ceval.c | 1303 assert(PyBytes_Check(co->co_code)); in _PyEval_EvalFrameDefault() 1304 assert(PyBytes_GET_SIZE(co->co_code) <= INT_MAX); in _PyEval_EvalFrameDefault() 1305 assert(PyBytes_GET_SIZE(co->co_code) % sizeof(_Py_CODEUNIT) == 0); in _PyEval_EvalFrameDefault() 1306 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault() 1307 first_instr = (_Py_CODEUNIT *) PyBytes_AS_STRING(co->co_code); in _PyEval_EvalFrameDefault() 1342 PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT) + in _PyEval_EvalFrameDefault()
|
/external/python/cpython2/Python/ |
D | marshal.c | 435 w_object(co->co_code, p); in w_object()
|