/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
sqlitecompat.h | 39 #define PyDict_CheckExact(op) ((op)->ob_type == &PyDict_Type)
60 #define Py_TYPE(ob) ((ob)->ob_type)
|
/external/python/cpython2/Modules/_sqlite/ |
sqlitecompat.h | 39 #define PyDict_CheckExact(op) ((op)->ob_type == &PyDict_Type) 60 #define Py_TYPE(ob) ((ob)->ob_type)
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyEfiCompressor/ |
EfiCompressor.c | 48 if (SrcData->ob_type->tp_as_buffer == NULL
49 || SrcData->ob_type->tp_as_buffer->bf_getreadbuffer == NULL
50 || SrcData->ob_type->tp_as_buffer->bf_getsegcount == NULL) {
63 SegNum = SrcData->ob_type->tp_as_buffer->bf_getsegcount((PyObject *)SrcData, NULL);
69 Len = SrcData->ob_type->tp_as_buffer->bf_getreadbuffer((PyObject *)SrcData, Index, &BufSeg);
125 if (SrcData->ob_type->tp_as_buffer == NULL
126 || SrcData->ob_type->tp_as_buffer->bf_getreadbuffer == NULL
127 || SrcData->ob_type->tp_as_buffer->bf_getsegcount == NULL) {
140 SegNum = SrcData->ob_type->tp_as_buffer->bf_getsegcount((PyObject *)SrcData, NULL);
146 Len = SrcData->ob_type->tp_as_buffer->bf_getreadbuffer((PyObject *)SrcData, Index, &BufSeg); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
classobject.h | 41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type)
42 #define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type)
43 #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
intobject.h | 31 PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS)
32 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
abstract.h | 535 (((obj)->ob_type->tp_as_buffer != NULL) && \
536 (PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_NEWBUFFER)) && \
537 ((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL))
638 (PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_ITER) && \
639 (obj)->ob_type->tp_iternext != NULL && \
640 (obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented)
849 ((obj)->ob_type->tp_as_number != NULL && \
850 PyType_HasFeature((obj)->ob_type, Py_TPFLAGS_HAVE_INDEX) && \
851 (obj)->ob_type->tp_as_number->nb_index != NULL)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
classobject.h | 41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type)
42 #define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type)
43 #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
intobject.h | 31 PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS)
32 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
/external/python/cpython2/Include/ |
classobject.h | 41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type) 42 #define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type) 43 #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
intobject.h | 31 PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS) 32 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
classobject.h | 41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type) 42 #define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type) 43 #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
intobject.h | 31 PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS) 32 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
classobject.h | 41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type) 42 #define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type) 43 #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
intobject.h | 31 PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS) 32 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
classobject.h | 41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type) 42 #define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type) 43 #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
intobject.h | 31 PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS) 32 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
classobject.h | 41 #define PyClass_Check(op) ((op)->ob_type == &PyClass_Type) 42 #define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type) 43 #define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
|
intobject.h | 31 PyType_FastSubclass((op)->ob_type, Py_TPFLAGS_INT_SUBCLASS) 32 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
abstract.c | 8 #define NEW_STYLE_NUMBER(o) PyType_HasFeature((o)->ob_type, \
17 PyErr_Format(PyExc_TypeError, msg, obj->ob_type->tp_name);
55 v = (PyObject *)o->ob_type;
70 m = o->ob_type->tp_as_sequence;
142 m = o->ob_type->tp_as_mapping;
146 if (o->ob_type->tp_as_sequence) {
154 else if (o->ob_type->tp_as_sequence->sq_item)
171 m = o->ob_type->tp_as_mapping;
175 if (o->ob_type->tp_as_sequence) {
183 else if (o->ob_type->tp_as_sequence->sq_ass_item) { [all...] |
object.c | 613 if (v->ob_type != w->ob_type &&
614 PyType_IsSubtype(w->ob_type, v->ob_type) &&
615 (f = RICHCOMPARE(w->ob_type)) != NULL) {
621 if ((f = RICHCOMPARE(v->ob_type)) != NULL) {
627 if ((f = RICHCOMPARE(w->ob_type)) != NULL) {
648 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL)
680 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
abstract.c | 8 #define NEW_STYLE_NUMBER(o) PyType_HasFeature((o)->ob_type, \
17 PyErr_Format(PyExc_TypeError, msg, obj->ob_type->tp_name);
55 v = (PyObject *)o->ob_type;
70 m = o->ob_type->tp_as_sequence;
142 m = o->ob_type->tp_as_mapping;
146 if (o->ob_type->tp_as_sequence) {
154 else if (o->ob_type->tp_as_sequence->sq_item)
171 m = o->ob_type->tp_as_mapping;
175 if (o->ob_type->tp_as_sequence) {
183 else if (o->ob_type->tp_as_sequence->sq_ass_item) { [all...] |
object.c | 608 if (v->ob_type != w->ob_type &&
609 PyType_IsSubtype(w->ob_type, v->ob_type) &&
610 (f = RICHCOMPARE(w->ob_type)) != NULL) {
616 if ((f = RICHCOMPARE(v->ob_type)) != NULL) {
622 if ((f = RICHCOMPARE(w->ob_type)) != NULL) {
643 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL)
675 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL) [all...] |
/external/python/cpython2/Objects/ |
abstract.c | 8 #define NEW_STYLE_NUMBER(o) PyType_HasFeature((o)->ob_type, \ 17 PyErr_Format(PyExc_TypeError, msg, obj->ob_type->tp_name); 55 v = (PyObject *)o->ob_type; 70 m = o->ob_type->tp_as_sequence; 142 m = o->ob_type->tp_as_mapping; 146 if (o->ob_type->tp_as_sequence) { 154 else if (o->ob_type->tp_as_sequence->sq_item) 171 m = o->ob_type->tp_as_mapping; 175 if (o->ob_type->tp_as_sequence) { 183 else if (o->ob_type->tp_as_sequence->sq_ass_item) [all...] |
object.c | 613 if (v->ob_type != w->ob_type && 614 PyType_IsSubtype(w->ob_type, v->ob_type) && 615 (f = RICHCOMPARE(w->ob_type)) != NULL) { 621 if ((f = RICHCOMPARE(v->ob_type)) != NULL) { 627 if ((f = RICHCOMPARE(w->ob_type)) != NULL) { 648 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL) 680 if (RICHCOMPARE(v->ob_type) == NULL && RICHCOMPARE(w->ob_type) == NULL [all...] |
/external/python/cpython2/Modules/ |
bsddb.h | 303 #define DBObject_Check(v) ((v)->ob_type == bsddb_api->db_type) 304 #define DBCursorObject_Check(v) ((v)->ob_type == bsddb_api->dbcursor_type) 305 #define DBEnvObject_Check(v) ((v)->ob_type == bsddb_api->dbenv_type) 306 #define DBTxnObject_Check(v) ((v)->ob_type == bsddb_api->dbtxn_type) 307 #define DBLockObject_Check(v) ((v)->ob_type == bsddb_api->dblock_type) 310 ((v)->ob_type == bsddb_api->dbsequence_type))
|