Searched refs:ob_sval (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Objects/ |
D | stringobject.c | 32 #define PyStringObject_SIZE (offsetof(PyStringObject, ob_sval) + 1) 95 Py_MEMCPY(op->ob_sval, str, size); in PyString_FromStringAndSize() 96 op->ob_sval[size] = '\0'; in PyString_FromStringAndSize() 149 Py_MEMCPY(op->ob_sval, str, size+1); in PyString_FromString() 795 return ((PyStringObject *)op) -> ob_sval; in PyString_AsString() 871 char *data = op->ob_sval; in string_print() 895 if (memchr(op->ob_sval, '\'', Py_SIZE(op)) && in string_print() 896 !memchr(op->ob_sval, '"', Py_SIZE(op))) in string_print() 906 c = op->ob_sval[i]; in string_print() 950 memchr(op->ob_sval, '\'', Py_SIZE(op)) && in PyString_Repr() [all …]
|
D | bytearrayobject.c | 35 *value = Py_CHARMASK(((PyBytesObject*)arg)->ob_sval[0]); in _getbytevalue()
|
/external/python/cpython2/Include/ |
D | stringobject.h | 39 char ob_sval[1]; member 91 #define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval)
|
/external/python/cpython2/Misc/ |
D | gdbinit | 55 set $__p = (unsigned char *)((PyStringObject *)$__co->co_lnotab)->ob_sval 79 set $__fn = (char *)((PyStringObject *)co->co_filename)->ob_sval 80 set $__n = (char *)((PyStringObject *)co->co_name)->ob_sval
|
D | HISTORY | 5781 the ob_sval member, so as a precaution the API_VERSION has been 5788 it also slowed things down a bit because ob_sval was no longer
|
D | NEWS | 7657 ``offsetof(PyStringObject, ob_sval) + 1`` when allocating memory for str
|
/external/python/cpython2/Mac/Modules/ |
D | MacOS.c | 719 long off = (long)&(p->ob_sval[0]);
|