Searched refs:typeobj (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | objimpl.h | 156 #define PyObject_New(type, typeobj) \ argument 157 ( (type *) _PyObject_New(typeobj) ) 158 #define PyObject_NewVar(type, typeobj, n) \ argument 159 ( (type *) _PyObject_NewVar((typeobj), (n)) ) 163 #define PyObject_INIT(op, typeobj) \ argument 164 ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) 165 #define PyObject_INIT_VAR(op, typeobj, size) \ argument 166 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) ) 168 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) argument 184 #define _PyObject_VAR_SIZE(typeobj, nitems) \ argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | objimpl.h | 156 #define PyObject_New(type, typeobj) \ argument 157 ( (type *) _PyObject_New(typeobj) ) 158 #define PyObject_NewVar(type, typeobj, n) \ argument 159 ( (type *) _PyObject_NewVar((typeobj), (n)) ) 163 #define PyObject_INIT(op, typeobj) \ argument 164 ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) 165 #define PyObject_INIT_VAR(op, typeobj, size) \ argument 166 ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) ) 168 #define _PyObject_SIZE(typeobj) ( (typeobj)->tp_basicsize ) argument 184 #define _PyObject_VAR_SIZE(typeobj, nitems) \ argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/ |
D | libpython.py | 412 def _PyObject_VAR_SIZE(typeobj, nitems): argument 413 return ( ( typeobj.field('tp_basicsize') + 414 nitems * typeobj.field('tp_itemsize') + 428 typeobj = self.type() 429 dictoffset = int_from_int(typeobj.field('tp_dictoffset')) 436 size = _PyObject_VAR_SIZE(typeobj, tsize)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
D | case.py | 206 def addTypeEqualityFunc(self, typeobj, function): argument 219 self._type_equality_funcs[typeobj] = function
|