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.c65 PyObject *s_format; member
1311 fmt = PyBytes_AS_STRING(self->s_format); in prepare_s()
1312 if (strlen(fmt) != (size_t)PyBytes_GET_SIZE(self->s_format)) { in prepare_s()
1446 s->s_format = Py_NewRef(Py_None); in s_new()
1492 Py_SETREF(self->s_format, format); in Struct___init___impl()
1507 Py_XDECREF(s->s_format); in s_dealloc()
2022 return PyUnicode_FromStringAndSize(PyBytes_AS_STRING(self->s_format), in s_get_format()
2023 PyBytes_GET_SIZE(self->s_format)); in s_get_format()