Searched refs:co_code (Results 1 – 16 of 16) sorted by relevance
/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/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() 583 eq = PyObject_RichCompareBool(co->co_code, cp->co_code, Py_EQ); in code_richcompare() 634 h1 = PyObject_Hash(co->co_code); in code_hash()
|
D | frameobject.c | 177 PyString_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); in frame_setlineno()
|
/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 | 762 while step < len(co.co_code): 763 op = ord(co.co_code[step]) 767 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 | 507 code.co_flags, code.co_code, tuple(constants),
|
/external/libmojo/third_party/jinja2/ |
D | debug.py | 249 code.co_flags, code.co_code, code.co_consts,
|
/external/python/cpython2/Python/ |
D | marshal.c | 435 w_object(co->co_code, p); in w_object()
|
D | ceval.c | 1017 first_instr = (unsigned char*) PyString_AS_STRING(co->co_code); in PyEval_EvalFrameEx()
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 172 | | co_code | string of raw compiled | |
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 927 single: co_code (code object attribute) 948 names of free variables; :attr:`co_code` is a string representing the sequence
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1283 co_code (string, R/O): sequence of bytecode instructions
|
D | HISTORY | 3087 interface as the co_code field of code objects (something that was
|