Searched refs:PyString_Type (Results 1 – 19 of 19) 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/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/ |
D | cext.h | 220 PyObject_TypeCheck((type), &PyString_Type) \
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/ |
D | cext.h | 258 PyObject_TypeCheck((type), &PyString_Type) \
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 57 PyString_Type
|
/external/python/cpython2/Objects/ |
D | exceptions.c | 1556 &PyString_Type, &self->encoding, in UnicodeError_init() 1560 &PyString_Type, &self->reason)) { in UnicodeError_init() 1711 kwds, &PyString_Type); in UnicodeDecodeError_init() 1803 &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() 1070 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in string_concat() 1112 (void)PyObject_INIT_VAR(op, &PyString_Type, size); in string_repeat() 3700 if (type != &PyString_Type) in string_new() 3715 assert(PyType_IsSubtype(type, &PyString_Type)); in str_subtype_new() 3716 tmp = string_new(&PyString_Type, args, kwds); in str_subtype_new() 3810 PyTypeObject PyString_Type = { variable
|
D | object.c | 2091 if (PyType_Ready(&PyString_Type) < 0) in _Py_ReadyTypes()
|
D | typeobject.c | 3897 else if (PyType_IsSubtype(base, &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 | 376 } 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/Python/ |
D | _warnings.c | 687 source_list = PyObject_CallMethodObjArgs((PyObject *)&PyString_Type, in warnings_warn_explicit()
|
D | bltinmodule.c | 2725 SETBUILTIN("bytes", &PyString_Type); in _PyBuiltin_Init() 2745 SETBUILTIN("str", &PyString_Type); in _PyBuiltin_Init()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 555 "PyString_Type"
|
/external/python/cpython2/Doc/c-api/ |
D | string.rst | 25 .. c:var:: PyTypeObject PyString_Type
|
D | typeobj.rst | 1376 the object contains. Simple objects such as :c:type:`PyString_Type` and
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 2656 if ((type == &PyString_Type) && (PyString_GET_SIZE(args) < 2)) { in save() 2687 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()
|