Home
last modified time | relevance | path

Searched refs:soself (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
D_struct.c1371 PyStructObject *soself = (PyStructObject *)self; in s_init() local
1384 Py_XSETREF(soself->s_format, o_format); in s_init()
1390 Py_XSETREF(soself->s_format, str); in s_init()
1399 ret = prepare_s(soself); in s_init()
1416 s_unpack_internal(PyStructObject *soself, char *startfrom) { in s_unpack_internal() argument
1419 PyObject *result = PyTuple_New(soself->s_len); in s_unpack_internal()
1423 for (code = soself->s_codes; code->fmtdef != NULL; code++) { in s_unpack_internal()
1463 PyStructObject *soself = (PyStructObject *)self; in s_unpack() local
1465 assert(soself->s_codes != NULL); in s_unpack()
1469 PyString_GET_SIZE(inputstr) == soself->s_size) { in s_unpack()
[all …]
/external/python/cpython3/Modules/
D_struct.c1502 s_unpack_internal(PyStructObject *soself, const char *startfrom) { in s_unpack_internal() argument
1505 PyObject *result = PyTuple_New(soself->s_len); in s_unpack_internal()
1509 for (code = soself->s_codes; code->fmtdef != NULL; code++) { in s_unpack_internal()
1776 s_pack_internal(PyStructObject *soself, PyObject *const *args, int offset, char* buf) in s_pack_internal() argument
1783 memset(buf, '\0', soself->s_size); in s_pack_internal()
1785 for (code = soself->s_codes; code->fmtdef != NULL; code++) { in s_pack_internal()
1866 PyStructObject *soself; in s_pack() local
1869 soself = (PyStructObject *)self; in s_pack()
1871 assert(soself->s_codes != NULL); in s_pack()
1872 if (nargs != soself->s_len) in s_pack()
[all …]