Searched refs:Py_TYPE (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DExtensionTypes.c9 PyTypeObject* type = Py_TYPE(obj);
26 PyTypeObject* type = Py_TYPE(obj);
45 PyTypeObject* type = Py_TYPE(obj);
H A DObjectHandling.c100 iternext = Py_TYPE(iter)->tp_iternext;
147 iternextfunc iternext = Py_TYPE(iterator)->tp_iternext;
154 "%.200s object is not an iterator", Py_TYPE(iterator)->tp_name);
317 PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
378 PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
438 PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
492 PySequenceMethods* ms = Py_TYPE(obj)->tp_as_sequence;
535 mp = Py_TYPE(obj)->tp_as_mapping;
594 "'%.200s' object is unsliceable", Py_TYPE(obj)->tp_name);
597 Py_TYPE(ob
[all...]
H A DGenerator.c14 retval = Py_TYPE(source_gen)->tp_iternext(source_gen);
70 #define __Pyx_Generator_CheckExact(obj) (Py_TYPE(obj) == __pyx_GeneratorType)
264 ret = Py_TYPE(yf)->tp_iternext(yf);
472 Py_TYPE(gen)->tp_del(self);
541 --Py_TYPE(self)->tp_frees;
542 --Py_TYPE(self)->tp_allocs;
H A DBuiltins.c115 Py_TYPE(globals)->tp_name);
153 Py_TYPE(o)->tp_name);
204 PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "str", Py_TYPE(s)->tp_name);
H A DExceptions.c116 type = (PyObject*) Py_TYPE(type);
156 type = (PyObject*) Py_TYPE(value);
161 instance_class = (PyObject*) Py_TYPE(value);
194 type, Py_TYPE(value));
H A DFunctionArguments.c11 name, type->tp_name, Py_TYPE(obj)->tp_name);
23 if (likely(Py_TYPE(obj) == type)) return 1;
H A DOptimize.c92 if (Py_TYPE(L) == &PySet_Type) {
391 PyNumberMethods *nb = Py_TYPE(obj)->tp_as_number;
397 Py_TYPE(float_value)->tp_name);
H A DTypeConversion.c248 m = Py_TYPE(x)->tp_as_number;
272 name, name, Py_TYPE(res)->tp_name);
344 PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "a mapping", Py_TYPE(o)->tp_name);
H A DCythonFunction.c535 type = (PyObject *)(Py_TYPE(obj));
537 type, (PyObject *)(Py_TYPE(type)));
1149 methoddescr_type = Py_TYPE(meth);
H A DModuleSetupCode.c57 "expected index value, got %.200s", Py_TYPE(o)->tp_name), \
72 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
223 #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
H A DBuffer.c137 PyErr_Format(PyExc_TypeError, "'%.200s' does not have the buffer interface", Py_TYPE(obj)->tp_name);
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Darray.pxd53 from cpython.ref cimport PyTypeObject, Py_TYPE namespace
132 op = newarrayobject(Py_TYPE(template), length, template.ob_descr)
139 op = newarrayobject(Py_TYPE(self), Py_SIZE(self), self.ob_descr)
H A Dref.pxd6 cdef PyTypeObject *Py_TYPE(object) function
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dtracer.c22 #ifndef Py_TYPE
23 #define Py_TYPE(o) (((PyObject*)(o))->ob_type) macro
177 Py_TYPE(self)->tp_free((PyObject*)self);
/external/chromium_org/third_party/simplejson/
H A D_speedups.c18 #if PY_VERSION_HEX < 0x02060000 && !defined(Py_TYPE)
19 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
44 #define PyScanner_CheckExact(op) (Py_TYPE(op) == &PyScannerType)
46 #define PyEncoder_CheckExact(op) (Py_TYPE(op) == &PyEncoderType)
946 Py_TYPE(pystr)->tp_name);
972 Py_TYPE(pystr)->tp_name);
982 Py_TYPE(self)->tp_free(self);
1906 Py_TYPE(pystr)->tp_name);
2624 Py_TYPE(self)->tp_free(self);
/external/chromium_org/third_party/bintrees/bintrees/
H A Dcwalker.c54 "expected index value, got %.200s", Py_TYPE(o)->tp_name), \
68 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
163 #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
726 else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
1190 else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
1295 else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
2330 (*Py_TYPE(o)->tp_free)(o);
2960 type = (PyObject*) Py_TYPE(type);
2996 type = (PyObject*) Py_TYPE(value);
3018 type, Py_TYPE(valu
[all...]
H A Dqavltree.c54 "expected index value, got %.200s", Py_TYPE(o)->tp_name), \
68 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
163 #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
534 PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
1748 (*Py_TYPE(o)->tp_free)(o);
2442 type = (PyObject*) Py_TYPE(type);
2478 type = (PyObject*) Py_TYPE(value);
2500 type, Py_TYPE(value));
3330 m = Py_TYPE(x)->tp_as_number;
3354 name, name, Py_TYPE(re
[all...]
H A Dqbintree.c54 "expected index value, got %.200s", Py_TYPE(o)->tp_name), \
68 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
163 #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
534 PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
1744 (*Py_TYPE(o)->tp_free)(o);
2437 type = (PyObject*) Py_TYPE(type);
2473 type = (PyObject*) Py_TYPE(value);
2495 type, Py_TYPE(value));
3325 m = Py_TYPE(x)->tp_as_number;
3349 name, name, Py_TYPE(re
[all...]
H A Dqrbtree.c54 "expected index value, got %.200s", Py_TYPE(o)->tp_name), \
68 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) macro
163 #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
534 PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
1746 (*Py_TYPE(o)->tp_free)(o);
2439 type = (PyObject*) Py_TYPE(type);
2475 type = (PyObject*) Py_TYPE(value);
2497 type, Py_TYPE(value));
3327 m = Py_TYPE(x)->tp_as_number;
3351 name, name, Py_TYPE(re
[all...]

Completed in 3315 milliseconds