Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstringobject.c32 #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()
791 return ((PyStringObject *)op) -> ob_sval; in PyString_AsString()
867 char *data = op->ob_sval; in string_print()
891 if (memchr(op->ob_sval, '\'', Py_SIZE(op)) && in string_print()
892 !memchr(op->ob_sval, '"', Py_SIZE(op))) in string_print()
902 c = op->ob_sval[i]; in string_print()
945 memchr(op->ob_sval, '\'', Py_SIZE(op)) && in PyString_Repr()
[all …]
Dbytearrayobject.c35 *value = Py_CHARMASK(((PyBytesObject*)arg)->ob_sval[0]); in _getbytevalue()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstringobject.c32 #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 …]
Dbytearrayobject.c35 *value = Py_CHARMASK(((PyBytesObject*)arg)->ob_sval[0]); in _getbytevalue()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dstringobject.h39 char ob_sval[1]; member
91 #define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dstringobject.h39 char ob_sval[1]; member
91 #define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval)