Home
last modified time | relevance | path

Searched refs:PyString_Type (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Include/
Dstringobject.h56 PyAPI_DATA(PyTypeObject) PyString_Type;
60 #define PyString_CheckExact(op) (Py_TYPE(op) == &PyString_Type)
Dbytesobject.h2 #define PyBytes_Type PyString_Type
/external/python/cpython2/PC/os2vacpp/
Dpython.def57 PyString_Type
/external/python/cpython2/Modules/_sqlite/
Dmodule.c159 || type == &PyString_Type || type == &PyUnicode_Type || type == &PyBuffer_Type) { in module_register_adapter()
Dcursor.c377 } else if (self->connection->text_factory == (PyObject*)&PyString_Type) { in _pysqlite_fetch_one_row()
Dconnection.c1485 uppercase_name = PyObject_CallMethod((PyObject *)&PyString_Type, in pysqlite_connection_create_collation()
/external/python/cpython2/Objects/
Dexceptions.c1560 &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()
Dstringobject.c91 (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
Dobject.c2086 if (PyType_Ready(&PyString_Type) < 0) in _Py_ReadyTypes()
Dtypeobject.c3834 else if (PyType_IsSubtype(base, &PyString_Type))
/external/python/cpython2/PC/os2emx/
Dpython27.def555 "PyString_Type"
/external/python/cpython2/Python/
Dbltinmodule.c2714 SETBUILTIN("bytes", &PyString_Type); in _PyBuiltin_Init()
2734 SETBUILTIN("str", &PyString_Type); in _PyBuiltin_Init()
/external/python/cpython2/Doc/c-api/
Dstring.rst25 .. c:var:: PyTypeObject PyString_Type
Dtypeobj.rst1391 the object contains. Simple objects such as :c:type:`PyString_Type` and
/external/python/cpython2/Modules/
DcPickle.c2640 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.c6504 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()