Searched defs:Py_TYPE (Results 1 - 10 of 10) sorted by relevance

/external/python/cpython2/Modules/_sqlite/
H A Dsqlitecompat.h59 #ifndef Py_TYPE
60 #define Py_TYPE(ob) ((ob)->ob_type) macro
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
H A Dcext.h273 #ifndef Py_TYPE
274 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
280 if (PyType_IS_GC(Py_TYPE(self))) \
283 (Py_TYPE(self))->tp_free((PyObject *)self); \
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.cc151 #ifndef Py_TYPE
152 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
226 Py_TYPE(value.get())->tp_name);
325 GOOGLE_DCHECK(Py_TYPE(it->second) == type);
362 Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
H A Dmessage.cc48 #ifndef Py_TYPE
49 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
326 Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
485 GetMessageDescriptor(Py_TYPE(self));
542 Py_TYPE(arg)->tp_name,
759 return reinterpret_cast<CMessageClass*>(Py_TYPE(message))->py_descriptor_pool;
1304 Py_TYPE(self)->tp_free(reinterpret_cast<PyObject*>(self));
1833 Py_TYPE(arg)->tp_name);
1865 Py_TYPE(arg)->tp_name);
2450 reinterpret_cast<PyObject*>(Py_TYPE(sel
[all...]
/external/python/cpython2/Modules/_ctypes/
H A Dctypes.h11 #define PyDict_CheckExact(ob) (Py_TYPE(ob) == &PyDict_Type)
26 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
/external/python/cpython2/Modules/
H A D_elementtree.c100 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
256 #define Element_CheckExact(op) (Py_TYPE(op) == &Element_Type)
776 "expected sequence, not \"%.200s\"", Py_TYPE(seq_in)->tp_name
1246 Py_TYPE(self)->tp_name);
1404 "expected sequence, not \"%.200s\"", Py_TYPE(value)->tp_name
1668 #define TreeBuilder_CheckExact(op) (Py_TYPE(op) == &TreeBuilder_Type)
2890 Py_TYPE(&Element_Type) = Py_TYPE(&TreeBuilder_Type) = &PyType_Type;
2892 Py_TYPE(&XMLParser_Type) = &PyType_Type;
H A D_json.c3 #if PY_VERSION_HEX < 0x02060000 && !defined(Py_TYPE)
4 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
26 #define PyScanner_CheckExact(op) (Py_TYPE(op) == &PyScannerType)
28 #define PyEncoder_CheckExact(op) (Py_TYPE(op) == &PyEncoderType)
813 Py_TYPE(pystr)->tp_name);
839 Py_TYPE(pystr)->tp_name);
849 Py_TYPE(self)->tp_free(self);
1700 Py_TYPE(pystr)->tp_name);
1754 Py_TYPE(s->encoding)->tp_name);
1882 "not %.200s", Py_TYPE(marker
[all...]
H A D_bsddb.c234 #ifndef Py_TYPE
236 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
239 #define DBObject_Check(v) (Py_TYPE(v) == &DB_Type)
240 #define DBCursorObject_Check(v) (Py_TYPE(v) == &DBCursor_Type)
241 #define DBLogCursorObject_Check(v) (Py_TYPE(v) == &DBLogCursor_Type)
242 #define DBEnvObject_Check(v) (Py_TYPE(v) == &DBEnv_Type)
243 #define DBTxnObject_Check(v) (Py_TYPE(v) == &DBTxn_Type)
244 #define DBLockObject_Check(v) (Py_TYPE(v) == &DBLock_Type)
245 #define DBSequenceObject_Check(v) (Py_TYPE(v) == &DBSequence_Type)
247 #define DBSiteObject_Check(v) (Py_TYPE(
[all...]
/external/python/cpython2/Include/
H A Dobject.h115 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
433 ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize))
439 (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
446 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS)
447 #define PyType_CheckExact(op) (Py_TYPE(op) == &PyType_Type)
731 #define _Py_INC_TPALLOCS(OP) inc_count(Py_TYPE(OP))
732 #define _Py_INC_TPFREES(OP) dec_count(Py_TYPE(OP))
733 #define _Py_DEC_TPFREES(OP) Py_TYPE(OP)->tp_frees--
764 (*Py_TYPE(o
[all...]
/external/python/cpython3/Include/
H A Dobject.h118 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
481 ((PyMemberDef *)(((char *)etype) + Py_TYPE(etype)->tp_basicsize))
487 (Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
496 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS)
497 #define PyType_CheckExact(op) (Py_TYPE(op) == &PyType_Type)
743 #define _Py_INC_TPALLOCS(OP) inc_count(Py_TYPE(OP))
744 #define _Py_INC_TPFREES(OP) dec_count(Py_TYPE(OP))
745 #define _Py_DEC_TPFREES(OP) Py_TYPE(OP)->tp_frees--
779 (*Py_TYPE(o
[all...]

Completed in 988 milliseconds