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.c1481 s_unpack_internal(PyStructObject *soself, const char *startfrom) { in s_unpack_internal() argument
1484 PyObject *result = PyTuple_New(soself->s_len); in s_unpack_internal()
1488 for (code = soself->s_codes; code->fmtdef != NULL; code++) { in s_unpack_internal()
1736 s_pack_internal(PyStructObject *soself, PyObject *const *args, int offset, char* buf) in s_pack_internal() argument
1743 memset(buf, '\0', soself->s_size); in s_pack_internal()
1745 for (code = soself->s_codes; code->fmtdef != NULL; code++) { in s_pack_internal()
1825 PyStructObject *soself; in s_pack() local
1829 soself = (PyStructObject *)self; in s_pack()
1831 assert(soself->s_codes != NULL); in s_pack()
1832 if (nargs != soself->s_len) in s_pack()
[all …]