/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 | 484 if (PyDict_GetItemString(result->tp_dict, "_abstract_")) in StructUnionType_new() 494 if (-1 == PyDict_Update((PyObject *)dict, result->tp_dict)) { in StructUnionType_new() 499 Py_SETREF(result->tp_dict, (PyObject *)dict); in StructUnionType_new() 1069 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in PyCPointerType_new() 1074 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in PyCPointerType_new() 1428 PyObject *dict = type->tp_dict; in add_getset() 1550 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in PyCArrayType_new() 1555 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in PyCArrayType_new() 1977 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in CreateSwappedType() 1982 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in CreateSwappedType() [all …]
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 180 if (!type->tp_dict || !PyCStgDict_CheckExact(type->tp_dict)) in PyType_stgdict() 182 return (StgDictObject *)type->tp_dict; in PyType_stgdict() 194 if (!type->tp_dict || !PyCStgDict_CheckExact(type->tp_dict)) in PyObject_stgdict() 196 return (StgDictObject *)type->tp_dict; in PyObject_stgdict()
|
D | _ctypes.c | 441 if (PyDict_GetItemString(result->tp_dict, "_abstract_")) in StructUnionType_new() 451 if (-1 == PyDict_Update((PyObject *)dict, result->tp_dict)) { in StructUnionType_new() 456 Py_SETREF(result->tp_dict, (PyObject *)dict); in StructUnionType_new() 1026 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in PyCPointerType_new() 1031 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in PyCPointerType_new() 1365 PyObject *dict = type->tp_dict; in add_getset() 1491 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) in PyCArrayType_new() 1493 Py_SETREF(result->tp_dict, (PyObject *)stgdict); /* steal the reference */ in PyCArrayType_new() 1905 if (-1 == PyDict_Update((PyObject *)stgdict, result->tp_dict)) { in CreateSwappedType() 1910 Py_SETREF(result->tp_dict, (PyObject *)stgdict); in CreateSwappedType() [all …]
|
/external/python/cpython3/Modules/_blake2/ |
D | blake2module.c | 73 d = PyBlake2_BLAKE2bType.tp_dict; in PyInit__blake2() 93 d = PyBlake2_BLAKE2sType.tp_dict; in PyInit__blake2()
|
/external/python/cpython3/Objects/ |
D | structseq.c | 20 _PyDict_GetItemId((tp)->tp_dict, &PyId_n_sequence_fields)) 23 _PyDict_GetItemId((tp)->tp_dict, &PyId_n_fields)) 27 _PyDict_GetItemId((tp)->tp_dict, &PyId_n_unnamed_fields)) 383 dict = type->tp_dict; in PyStructSequence_InitType2()
|
D | typeobject.c | 144 assert(type->tp_dict != NULL); in _PyType_CheckConsistency() 489 mod = _PyDict_GetItemId(type->tp_dict, &PyId___module__); in type_module() 520 return _PyDict_SetItemId(type->tp_dict, &PyId___module__, value); in type_set_module() 530 mod = _PyDict_GetItemId(type->tp_dict, &PyId___abstractmethods__); in type_abstractmethods() 553 res = _PyDict_SetItemId(type->tp_dict, &PyId___abstractmethods__, value); in type_set_abstractmethods() 557 res = _PyDict_DelItemId(type->tp_dict, &PyId___abstractmethods__); in type_set_abstractmethods() 793 if (type->tp_dict == NULL) { in type_dict() 796 return PyDictProxy_New(type->tp_dict); in type_dict() 806 result = _PyDict_GetItemId(type->tp_dict, &PyId___doc__); in type_get_doc() 833 return _PyDict_SetItemId(type->tp_dict, &PyId___doc__, value); in type_set_doc() [all …]
|
D | classobject.c | 140 if (tp->tp_dict == NULL) { in method_getattro() 456 if (tp->tp_dict == NULL) { in instancemethod_getattro()
|
D | object.c | 797 if (tp->tp_dict == NULL) { in PyObject_Hash() 1141 if (tp->tp_dict == NULL && PyType_Ready(tp) < 0) in _PyObject_GetMethod() 1223 if (tp->tp_dict == NULL) { in _PyObject_GenericGetAttrWithDict() 1326 if (tp->tp_dict == NULL && PyType_Ready(tp) < 0) in _PyObject_GenericSetAttrWithDict()
|
/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 | 1120 if (tp->tp_dict == NULL) { in PyObject_Hash() 1363 if (tp->tp_dict == NULL) { in _PyObject_GenericGetAttrWithDict() 1385 dict = ((PyTypeObject *)base)->tp_dict; in _PyObject_GenericGetAttrWithDict() 1501 if (tp->tp_dict == NULL) { in _PyObject_GenericSetAttrWithDict()
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 61 PyObject *tp_dict; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 59 PyObject *tp_dict; member
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | multiprocessing.c | 184 PyDict_SetItemString(_PyMp_SemLockType.tp_dict, "SEM_VALUE_MAX", in PyInit__multiprocessing()
|
/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/python/cpython3/Python/ |
D | sysmodule.c | 2382 res = PyDict_DelItemString(VersionInfoType.tp_dict, "__new__"); in _PySys_BeginInit() 2409 res = PyDict_DelItemString(WindowsVersionType.tp_dict, "__new__"); in _PySys_BeginInit() 2499 res = PyDict_DelItemString(FlagsType.tp_dict, "__new__"); in _PySys_EndInit()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | bfloat16.cc | 568 if (PyDict_SetItemString(PyBfloat16_Type.tp_dict, "dtype", in Initialize()
|
/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/Include/ |
D | object.h | 384 PyObject *tp_dict; member
|
/external/python/cpython3/Include/ |
D | object.h | 406 PyObject *tp_dict; member
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 239 if (type->tp_dict != NULL) in test_lazy_hash_inheritance() 254 if (type->tp_dict != NULL) { in test_lazy_hash_inheritance() 272 if (type->tp_dict == NULL) { in test_lazy_hash_inheritance()
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 708 :c:member:`~PyTypeObject.tp_dict` below) containing a method descriptor. 721 :c:member:`~PyTypeObject.tp_dict` below) containing a member descriptor. 733 :c:member:`~PyTypeObject.tp_dict` below) containing a getset descriptor. 750 .. c:member:: PyObject* PyTypeObject.tp_dict 766 :c:member:`~PyTypeObject.tp_dict` with the dictionary C-API. 804 Do not confuse this field with :c:member:`~PyTypeObject.tp_dict`; that is the dictionary for
|