Searched refs:soself (Results 1 – 2 of 2) sorted by relevance
1371 PyStructObject *soself = (PyStructObject *)self; in s_init() local1384 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() argument1419 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() local1465 assert(soself->s_codes != NULL); in s_unpack()1469 PyString_GET_SIZE(inputstr) == soself->s_size) { in s_unpack()[all …]
1502 s_unpack_internal(PyStructObject *soself, const char *startfrom) { in s_unpack_internal() argument1505 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() argument1783 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() local1869 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 …]