Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_struct.c50 PyObject *s_format; member
1234 fmt = PyString_AS_STRING(self->s_format); in prepare_s()
1360 s->s_format = Py_None; in s_new()
1384 Py_XSETREF(soself->s_format, o_format); in s_init()
1390 Py_XSETREF(soself->s_format, str); in s_init()
1411 Py_XDECREF(s->s_format); in s_dealloc()
1724 Py_INCREF(self->s_format); in s_get_format()
1725 return self->s_format; in s_get_format()
/external/python/cpython3/Modules/
D_struct.c60 PyObject *s_format; member
1298 fmt = PyBytes_AS_STRING(self->s_format); in prepare_s()
1299 if (strlen(fmt) != (size_t)PyBytes_GET_SIZE(self->s_format)) { in prepare_s()
1434 s->s_format = Py_None; in s_new()
1480 Py_SETREF(self->s_format, format); in Struct___init___impl()
1495 Py_XDECREF(s->s_format); in s_dealloc()
2001 return PyUnicode_FromStringAndSize(PyBytes_AS_STRING(self->s_format), in s_get_format()
2002 PyBytes_GET_SIZE(self->s_format)); in s_get_format()