Searched refs:PyString_Type (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython2/Include/ |
D | stringobject.h | 56 PyAPI_DATA(PyTypeObject) PyString_Type; 60 #define PyString_CheckExact(op) (Py_TYPE(op) == &PyString_Type)
|
D | bytesobject.h | 2 #define PyBytes_Type PyString_Type
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 57 PyString_Type
|
/external/python/cpython2/Modules/_sqlite/ |
D | module.c | 159 || type == &PyString_Type || type == &PyUnicode_Type || type == &PyBuffer_Type) { in module_register_adapter()
|
D | cursor.c | 377 } else if (self->connection->text_factory == (PyObject*)&PyString_Type) { in _pysqlite_fetch_one_row()
|
D | connection.c | 1485 uppercase_name = PyObject_CallMethod((PyObject *)&PyString_Type, in pysqlite_connection_create_collation()
|
/external/python/cpython2/Objects/ |
D | exceptions.c | 1560 &PyString_Type, &self->encoding, in UnicodeError_init() 1564 &PyString_Type, &self->reason)) { in UnicodeError_init() 1716 kwds, &PyString_Type); in UnicodeDecodeError_init() 1809 &PyString_Type, &self->reason)) { in UnicodeTranslateError_init()
|
D | stringobject.c | 91 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in PyString_FromStringAndSize() 146 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in PyString_FromString() 1064 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in string_concat() 1106 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in string_repeat() 3703 if (type != &PyString_Type) in string_new() 3718 assert(PyType_IsSubtype(type, &PyString_Type)); in str_subtype_new() 3719 tmp = string_new(&PyString_Type, args, kwds); in str_subtype_new() 3813 PyTypeObject PyString_Type = { variable
|
D | object.c | 2086 if (PyType_Ready(&PyString_Type) < 0) in _Py_ReadyTypes()
|
D | typeobject.c | 3834 else if (PyType_IsSubtype(base, &PyString_Type))
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 555 "PyString_Type"
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 2714 SETBUILTIN("bytes", &PyString_Type); in _PyBuiltin_Init() 2734 SETBUILTIN("str", &PyString_Type); in _PyBuiltin_Init()
|
/external/python/cpython2/Doc/c-api/ |
D | string.rst | 25 .. c:var:: PyTypeObject PyString_Type
|
D | typeobj.rst | 1391 the object contains. Simple objects such as :c:type:`PyString_Type` and
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 2640 if ((type == &PyString_Type) && (PyString_GET_SIZE(args) < 2)) { in save() 2671 if (type == &PyString_Type) { in save()
|
/external/python/cpython2/Mac/Modules/qd/ |
D | _Qdmodule.c | 6504 if ( !PyArg_ParseTuple(_args, "O!iO&", &PyString_Type, &source, &rowbytes, PyMac_GetRect, in Qd_BitMap() 6531 if ( !PyArg_ParseTuple(_args, "O!", &PyString_Type, &source) ) in Qd_RawBitMap()
|