Searched refs:ob_sval (Results 1 – 4 of 4) sorted by relevance
31 #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 …]
8 char ob_sval[1]; member33 (((PyBytesObject *)(op))->ob_sval))
61 set $__p = (unsigned char *)((PyBytesObject *)$__co->co_lnotab)->ob_sval
15360 "offsetof(PyBytesObject, ob_sval) + 1" when allocating memory for23165 the ob_sval member, so as a precaution the API_VERSION has been23172 it also slowed things down a bit because ob_sval was no longer