Home
last modified time | relevance | path

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

/third_party/python/Objects/
H A Dbytesobject.c33 #define PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
113 op->ob_sval[size] = '\0'; in _PyBytes_FromSize()
142 memcpy(op->ob_sval, str, size); in PyBytes_FromStringAndSize()
179 memcpy(op->ob_sval, str, size+1); in PyBytes_FromString()
1231 return ((PyBytesObject *)op)->ob_sval; in PyBytes_AsString()
1313 s = (const unsigned char*)op->ob_sval; in PyBytes_Repr()
1346 unsigned char c = op->ob_sval[i]; in PyBytes_Repr()
1481 op->ob_sval[size] = '\0'; in bytes_repeat()
1483 _PyBytes_Repeat(op->ob_sval, size, a->ob_sval, Py_SIZ in bytes_repeat()
[all...]
/third_party/python/Include/cpython/
H A Dbytesobject.h8 char ob_sval[1]; member
11 * ob_sval contains space for 'ob_size+1' elements.
12 * ob_sval[ob_size] == 0.
37 return _PyBytes_CAST(op)->ob_sval; in PyBytes_AS_STRING()
/third_party/python/Modules/
H A D_testclinic.c619 void *bytes_obj_buf = ((PyBytesObject *)bytes_obj)->ob_sval; in bytes_from_buffer()
/third_party/python/Include/internal/
H A Dpycore_runtime_init.h89 .ob_sval = { CH }, \

Completed in 6 milliseconds