Searched refs:a_bytecode (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | compile.c | 3399 PyObject *a_bytecode; /* string containing bytecode */ member 3495 a->a_bytecode = PyString_FromStringAndSize(NULL, DEFAULT_CODE_SIZE); in assemble_init() 3496 if (!a->a_bytecode) in assemble_init() 3517 Py_XDECREF(a->a_bytecode); in assemble_free() 3652 Py_ssize_t len = PyString_GET_SIZE(a->a_bytecode); in assemble_emit() 3665 if (_PyString_Resize(&a->a_bytecode, len * 2) < 0) in assemble_emit() 3668 code = PyString_AS_STRING(a->a_bytecode) + a->a_offset; in assemble_emit() 3845 bytecode = PyCode_Optimize(a->a_bytecode, consts, names, a->a_lnotab); in makecode() 3958 if (_PyString_Resize(&a.a_bytecode, a.a_offset) < 0) in assemble()
|
/external/python/cpython3/Python/ |
D | compile.c | 4949 PyObject *a_bytecode; /* string containing bytecode */ member 5084 a->a_bytecode = PyBytes_FromStringAndSize(NULL, DEFAULT_CODE_SIZE); in assemble_init() 5085 if (!a->a_bytecode) in assemble_init() 5106 Py_XDECREF(a->a_bytecode); in assemble_free() 5240 Py_ssize_t len = PyBytes_GET_SIZE(a->a_bytecode); in assemble_emit() 5250 if (_PyBytes_Resize(&a->a_bytecode, len * 2) < 0) in assemble_emit() 5253 code = (_Py_CODEUNIT *)PyBytes_AS_STRING(a->a_bytecode) + a->a_offset; in assemble_emit() 5410 bytecode = PyCode_Optimize(a->a_bytecode, consts, names, a->a_lnotab); in makecode() 5529 if (_PyBytes_Resize(&a.a_bytecode, a.a_offset * sizeof(_Py_CODEUNIT)) < 0) in assemble()
|