/external/python/cpython2/Objects/ |
D | stringobject.c | 13 static PyStringObject *characters[UCHAR_MAX + 1]; 14 static PyStringObject *nullstring; 32 #define PyStringObject_SIZE (offsetof(PyStringObject, ob_sval) + 1) 59 register PyStringObject *op; in PyString_FromStringAndSize() 88 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in PyString_FromStringAndSize() 101 op = (PyStringObject *)t; in PyString_FromStringAndSize() 107 op = (PyStringObject *)t; in PyString_FromStringAndSize() 118 register PyStringObject *op; in PyString_FromString() 143 op = (PyStringObject *)PyObject_MALLOC(PyStringObject_SIZE + size); in PyString_FromString() 154 op = (PyStringObject *)t; in PyString_FromString() [all …]
|
D | dictobject.c | 717 (hash = ((PyStringObject *) key)->ob_shash) == -1) in PyDict_GetItem() 767 (hash = ((PyStringObject *) key)->ob_shash) == -1) in _PyDict_GetItemWithError() 839 hash = ((PyStringObject *)key)->ob_shash; in PyDict_SetItem() 880 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in PyDict_DelItem() 912 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in _PyDict_DelItemIf() 1247 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in dict_subscript() 1998 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in dict_contains() 2031 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in dict_get() 2060 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in dict_setdefault() 2105 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in dict_pop() [all …]
|
D | fileobject.c | 23 #define BUF(v) PyString_AS_STRING((PyStringObject *)v) 2298 static PyStringObject * 2301 PyStringObject* s; in readahead_get_line_skip() 2312 return (PyStringObject *)PyString_FromStringAndSize(NULL, skip); in readahead_get_line_skip() 2317 s = (PyStringObject *)PyString_FromStringAndSize(NULL, skip + len); in readahead_get_line_skip() 2346 PyStringObject* l; in file_iternext()
|
D | setobject.c | 383 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in set_add_key() 430 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in set_discard_key() 692 (hash = ((PyStringObject *) key)->ob_shash) == -1) { in set_contains_key()
|
D | longobject.c | 1458 PyStringObject *str; in _PyLong_Format() 1491 str = (PyStringObject *) PyString_FromStringAndSize((char *)0, sz); in _PyLong_Format()
|
D | typeobject.c | 23 ((PyStringObject *)(name))->ob_shash) 2593 assert(((PyStringObject *)(name))->ob_shash != -1); in _PyType_Lookup()
|
/external/python/cpython2/Include/ |
D | stringobject.h | 49 } PyStringObject; typedef 88 #define PyString_CHECK_INTERNED(op) (((PyStringObject *)(op))->ob_sstate) 91 #define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval)
|
D | bytesobject.h | 1 #define PyBytesObject PyStringObject
|
/external/python/cpython2/Misc/ |
D | gdbinit | 54 set $__sz = ((PyStringObject *)$__co->co_lnotab)->ob_size/2 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
|
/external/python/cpython2/Objects/stringlib/ |
D | stringdefs.h | 9 #define STRINGLIB_OBJECT PyStringObject
|
/external/python/cpython2/Modules/ |
D | dbmmodule.c | 110 PyString_AS_STRING((PyStringObject *)key)); in dbm_subscript() 142 PyString_AS_STRING((PyStringObject *)v)); in dbm_ass_sub()
|
D | gdbmmodule.c | 131 PyString_AS_STRING((PyStringObject *)key)); in dbm_subscript() 158 PyString_AS_STRING((PyStringObject *)v)); in dbm_ass_sub()
|
D | bz2module.c | 37 #define BUF(v) PyString_AS_STRING((PyStringObject *)v) 451 static PyStringObject * 454 PyStringObject* s; in Util_ReadAheadGetLineSkip() 465 return (PyStringObject *) in Util_ReadAheadGetLineSkip() 471 s = (PyStringObject *) in Util_ReadAheadGetLineSkip() 1527 PyStringObject* ret; in BZ2File_iternext()
|
D | cPickle.c | 1182 PyString_AS_STRING((PyStringObject *)repr), in save_long() 1259 repr_str = PyString_AS_STRING((PyStringObject *)repr); in save_string() 1303 (PyStringObject *)args), in save_string() 1430 repr_str = PyString_AS_STRING((PyStringObject *)repr); in save_unicode() 2117 module_str = PyString_AS_STRING((PyStringObject *)module); in save_inst() 2118 name_str = PyString_AS_STRING((PyStringObject *)name); in save_inst() 2217 module_str = PyString_AS_STRING((PyStringObject *)module); in save_global() 2218 name_str = PyString_AS_STRING((PyStringObject *)global_name); in save_global() 2366 (PyStringObject *)pid), in save_pers() 2958 s = PyString_AS_STRING((PyStringObject *)r); in Pickle_getvalue() [all …]
|
D | stropmodule.c | 928 c = (unsigned char *) PyString_AS_STRING((PyStringObject *)result); in strop_maketrans()
|
D | binascii.c | 144 #define BASE64_MAXBIN (PY_SSIZE_T_MAX/2 - sizeof(PyStringObject) - 3)
|
/external/python/cpython2/PC/ |
D | _winreg.c | 793 (PyStringObject *)value)); in Py2Reg() 805 (PyStringObject *)value)); in Py2Reg() 844 (PyStringObject *)obs[j])); in Py2Reg() 862 (PyStringObject *)t)); in Py2Reg() 865 (PyStringObject *)t)); in Py2Reg()
|
/external/python/cpython2/Python/ |
D | marshal.c | 88 p->ptr = PyString_AS_STRING((PyStringObject *)p->str) + size; in w_more() 90 PyString_AS_STRING((PyStringObject *)p->str) + newsize; in w_more() 1225 wf.ptr = PyString_AS_STRING((PyStringObject *)wf.str); in PyMarshal_WriteObjectToString() 1234 char *base = PyString_AS_STRING((PyStringObject *)wf.str); in PyMarshal_WriteObjectToString()
|
D | ceval.c | 2353 long hash = ((PyStringObject *)w)->ob_shash; in PyEval_EvalFrameEx()
|
/external/python/cpython2/Mac/Modules/ |
D | MacOS.c | 718 PyStringObject *p = 0;
|
/external/python/cpython2/Doc/c-api/ |
D | string.rst | 20 .. c:type:: PyStringObject
|
D | arg.rst | 245 ``S`` (string) [PyStringObject \*]
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a1.rst | 1228 Replace ``sizeof(PyStringObject)`` with ``offsetof(PyStringObject, ob_sval)
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 976 string type, called :c:type:`PyStringObject` in Python 2.x,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 980 string type, called :c:type:`PyStringObject` in Python 2.x,
|