Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dbytesobject.c31 #define PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
76 op->ob_sval[0] = '\0'; in bytes_create_empty_string_singleton()
133 op->ob_sval[size] = '\0'; in _PyBytes_FromSize()
165 memcpy(op->ob_sval, str, size); in PyBytes_FromStringAndSize()
208 memcpy(op->ob_sval, str, size+1); in PyBytes_FromString()
1242 return ((PyBytesObject *)op)->ob_sval; in PyBytes_AsString()
1305 s = (const unsigned char*)op->ob_sval; in PyBytes_Repr()
1338 unsigned char c = op->ob_sval[i]; in PyBytes_Repr()
1472 op->ob_sval[size] = '\0'; in bytes_repeat()
1474 memset(op->ob_sval, a->ob_sval[0] , n); in bytes_repeat()
[all …]
/third_party/python/Include/cpython/
Dbytesobject.h8 char ob_sval[1]; member
33 (((PyBytesObject *)(op))->ob_sval))
/third_party/python/Misc/
Dgdbinit61 set $__p = (unsigned char *)((PyBytesObject *)$__co->co_lnotab)->ob_sval
DHISTORY15360 "offsetof(PyBytesObject, ob_sval) + 1" when allocating memory for
23165 the ob_sval member, so as a precaution the API_VERSION has been
23172 it also slowed things down a bit because ob_sval was no longer