Home
last modified time | relevance | path

Searched refs:co_code (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Include/
Dcode.h16 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/
Dcodeobject.c127 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()
Dframeobject.c177 PyString_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); in frame_setlineno()
/external/python/cpython2/Lib/
Dmodulefinder.py363 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,
Dinspect.py762 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
Ddis.py63 code = co.co_code
/external/python/cpython2/Lib/test/
Dtest_new.py115 codestring = c.co_code
Dtest_compile.py600 max_size = math.ceil(math.log(len(code.co_code)))
Dtest_import.py507 code.co_flags, code.co_code, tuple(constants),
/external/libmojo/third_party/jinja2/
Ddebug.py249 code.co_flags, code.co_code, code.co_consts,
/external/python/cpython2/Python/
Dmarshal.c435 w_object(co->co_code, p); in w_object()
Dceval.c1017 first_instr = (unsigned char*) PyString_AS_STRING(co->co_code); in PyEval_EvalFrameEx()
/external/python/cpython2/Doc/library/
Dinspect.rst172 | | co_code | string of raw compiled | |
/external/python/cpython2/Doc/reference/
Ddatamodel.rst927 single: co_code (code object attribute)
948 names of free variables; :attr:`co_code` is a string representing the sequence
/external/python/cpython2/Misc/
Dcheatsheet1283 co_code (string, R/O): sequence of bytecode instructions
DHISTORY3087 interface as the co_code field of code objects (something that was