/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 162 if (!type->tp_dict || !PyCStgDict_CheckExact(type->tp_dict)) in PyType_stgdict() 164 return (StgDictObject *)type->tp_dict; in PyType_stgdict() 178 if (!type->tp_dict || !PyCStgDict_CheckExact(type->tp_dict)) in PyObject_stgdict() 180 return (StgDictObject *)type->tp_dict; in PyObject_stgdict()
|
D | _ctypes.c | 413 if (PyDict_GetItemString(result->tp_dict, "_abstract_")) in StructUnionType_new() 423 if (-1 == PyDict_Update((PyObject *)dict, result->tp_dict)) { in StructUnionType_new() 428 Py_SETREF(result->tp_dict, (PyObject *)dict); in StructUnionType_new() 997 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in PyCPointerType_new() 1002 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in PyCPointerType_new() 1348 PyObject *dict = type->tp_dict; in add_getset() 1470 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in PyCArrayType_new() 1475 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in PyCArrayType_new() 1897 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in CreateSwappedType() 1902 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in CreateSwappedType() [all …]
|
/external/python/cpython2/Objects/ |
D | structseq.c | 18 PyDict_GetItemString((tp)->tp_dict, visible_length_key)) 21 PyDict_GetItemString((tp)->tp_dict, real_length_key)) 25 PyDict_GetItemString((tp)->tp_dict, unnamed_fields_key)) 527 dict = type->tp_dict; in PyStructSequence_InitType()
|
D | typeobject.c | 295 mod = PyDict_GetItemString(type->tp_dict, "__module__"); in type_module() 328 return PyDict_SetItemString(type->tp_dict, "__module__", value); in type_set_module() 338 mod = PyDict_GetItemString(type->tp_dict, "__abstractmethods__"); in type_abstractmethods() 359 res = PyDict_SetItemString(type->tp_dict, "__abstractmethods__", value); in type_set_abstractmethods() 363 res = PyDict_DelItemString(type->tp_dict, "__abstractmethods__"); in type_set_abstractmethods() 584 if (type->tp_dict == NULL) { in type_dict() 588 return PyDictProxy_New(type->tp_dict); in type_dict() 597 result = PyDict_GetItemString(type->tp_dict, "__doc__"); in type_get_doc() 1579 if (type->tp_dict == NULL) { in mro_implementation() 1747 if (base_i->tp_dict == NULL) { in best_base() [all …]
|
D | object.c | 1115 if (tp->tp_dict == NULL) { in PyObject_Hash() 1358 if (tp->tp_dict == NULL) { in _PyObject_GenericGetAttrWithDict() 1380 dict = ((PyTypeObject *)base)->tp_dict; in _PyObject_GenericGetAttrWithDict() 1496 if (tp->tp_dict == NULL) { in _PyObject_GenericSetAttrWithDict()
|
D | classobject.c | 2328 if (tp->tp_dict == NULL) { in instancemethod_getattro()
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 61 PyObject *tp_dict; member
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 292 PyDict_SetItemString(SemLockType.tp_dict, "SEM_VALUE_MAX", in init_multiprocessing()
|
D | win32_functions.c | 16 PyDict_SetItemString(Win32Type.tp_dict, #con, Py_BuildValue(fmt, con))
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 1516 if (PyDict_SetItemString(type->tp_dict, value->name().c_str(), obj.get()) < in AddEnumValues() 1526 if (PyDict_SetItemString(type->tp_dict, name, obj.get()) < 0) { in AddIntConstant()
|
D | message.cc | 2885 PyDict_SetItem(CMessage_Type.tp_dict, kDESCRIPTOR, Py_None); in CheckAndGetInteger() 2897 if (PyDict_SetItem(CMessage_Type.tp_dict, in CheckAndGetInteger() 2901 if (PyDict_SetItem(CMessage_Type.tp_dict, in CheckAndGetInteger()
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 232 if (type->tp_dict != NULL) in test_lazy_hash_inheritance() 247 if (type->tp_dict != NULL) { in test_lazy_hash_inheritance() 265 if (type->tp_dict == NULL) { in test_lazy_hash_inheritance()
|
D | datetimemodule.c | 4788 d = PyDateTime_DeltaType.tp_dict; in initdatetime() 4806 d = PyDateTime_DateType.tp_dict; in initdatetime() 4824 d = PyDateTime_TimeType.tp_dict; in initdatetime() 4842 d = PyDateTime_DateTimeType.tp_dict; in initdatetime()
|
/external/python/cpython2/Include/ |
D | object.h | 384 PyObject *tp_dict; member
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 514 …:c:member:`~PyTypeObject.tp_base`, :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject.tp_… 798 :c:member:`~PyTypeObject.tp_dict` below) containing a method descriptor. 811 :c:member:`~PyTypeObject.tp_dict` below) containing a member descriptor. 823 :c:member:`~PyTypeObject.tp_dict` below) containing a getset descriptor. 855 .. c:member:: PyObject* PyTypeObject.tp_dict 904 Do not confuse this field with :c:member:`~PyTypeObject.tp_dict`; that is the dictionary for
|
/external/python/cpython2/Python/ |
D | Python-ast.c | 656 d = AST_type.tp_dict; in add_ast_fields()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 1712 must not directly access and modify the ``tp_dict`` member of
|
/external/python/cpython2/Misc/ |
D | NEWS | 7628 the tp_hash and tp_dict slots are both NULL.
|