Home
last modified time | relevance | path

Searched refs:use_bytearray (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Include/
Dbytesobject.h69 int use_bytearray);
72 int use_bytearray);
156 int use_bytearray; member
/external/python/cpython3/Objects/
Dbytesobject.c598 PyObject *args, int use_bytearray) in _PyBytes_FormatEx() argument
616 writer.use_bytearray = use_bytearray; in _PyBytes_FormatEx()
621 if (!use_bytearray) in _PyBytes_FormatEx()
1057 assert(writer.overallocate || fmtcnt == 0 || use_bytearray); in _PyBytes_FormatEx()
2348 _PyBytes_FromHex(PyObject *string, int use_bytearray) in _PyBytes_FromHex() argument
2357 writer.use_bytearray = use_bytearray; in _PyBytes_FromHex()
3234 else if (writer->use_bytearray) { in _PyBytesWriter_AsString()
3265 if (writer->use_bytearray) in _PyBytesWriter_CheckConsistency()
3272 if (writer->use_bytearray) { in _PyBytesWriter_CheckConsistency()
3307 if (writer->use_bytearray) { in _PyBytesWriter_Resize()
[all …]
/external/python/cpython2/Objects/
Dbytesobject.c592 PyObject *args, int use_bytearray) in _PyBytes_FormatEx() argument
610 writer.use_bytearray = use_bytearray; in _PyBytes_FormatEx()
615 if (!use_bytearray) in _PyBytes_FormatEx()
1051 assert(writer.overallocate || fmtcnt < 0 || use_bytearray); in _PyBytes_FormatEx()
2355 _PyBytes_FromHex(PyObject *string, int use_bytearray) in _PyBytes_FromHex() argument
2364 writer.use_bytearray = use_bytearray; in _PyBytes_FromHex()
3189 else if (writer->use_bytearray) { in _PyBytesWriter_AsString()
3220 if (writer->use_bytearray) in _PyBytesWriter_CheckConsistency()
3227 if (writer->use_bytearray) { in _PyBytesWriter_CheckConsistency()
3262 if (writer->use_bytearray) { in _PyBytesWriter_Resize()
[all …]