Home
last modified time | relevance | path

Searched refs:_PyDateTime_DATE_DATASIZE (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Include/
Ddatetime.h25 #define _PyDateTime_DATE_DATASIZE 4 macro
96 unsigned char data[_PyDateTime_DATE_DATASIZE];
/external/python/cpython3/Include/
Ddatetime.h25 #define _PyDateTime_DATE_DATASIZE 4 macro
97 unsigned char data[_PyDateTime_DATE_DATASIZE];
/external/python/cpython2/Modules/
Ddatetimemodule.c2294 PyString_GET_SIZE(state) == _PyDateTime_DATE_DATASIZE && in date_new()
2302 memcpy(me->data, pdata, _PyDateTime_DATE_DATASIZE); in date_new()
2621 _PyDateTime_DATE_DATASIZE); in date_richcompare()
2705 _PyDateTime_DATE_DATASIZE)); in date_getstate()
3285 memcpy(pdatetime->data + _PyDateTime_DATE_DATASIZE, in time_isoformat()
/external/python/cpython3/Modules/
D_datetimemodule.c2788 memcpy(me->data, pdata, _PyDateTime_DATE_DATASIZE); in date_from_pickle()
2806 if (PyBytes_GET_SIZE(state) == _PyDateTime_DATE_DATASIZE && in date_new()
2816 if (PyUnicode_GET_LENGTH(state) == _PyDateTime_DATE_DATASIZE && in date_new()
3158 _PyDateTime_DATE_DATASIZE); in date_richcompare()
3208 (unsigned char *)self->data, _PyDateTime_DATE_DATASIZE); in date_hash()
3237 _PyDateTime_DATE_DATASIZE); in date_getstate()