/external/python/cpython3/Objects/ |
D | object.c | 1129 PyObject **dictptr, *dict; in _PyObject_GetMethod() local 1160 dictptr = _PyObject_GetDictPtr(obj); in _PyObject_GetMethod() 1161 if (dictptr != NULL && (dict = *dictptr) != NULL) { in _PyObject_GetMethod() 1213 PyObject **dictptr; in _PyObject_GenericGetAttrWithDict() local 1262 dictptr = (PyObject **) ((char *)obj + dictoffset); in _PyObject_GenericGetAttrWithDict() 1263 dict = *dictptr; in _PyObject_GenericGetAttrWithDict() 1316 PyObject **dictptr; in _PyObject_GenericSetAttrWithDict() local 1343 dictptr = _PyObject_GetDictPtr(obj); in _PyObject_GenericSetAttrWithDict() 1344 if (dictptr == NULL) { in _PyObject_GenericSetAttrWithDict() 1357 res = _PyObjectDict_SetItem(tp, dictptr, name, value); in _PyObject_GenericSetAttrWithDict() [all …]
|
D | dictobject.c | 4282 PyObject *dict, **dictptr = _PyObject_GetDictPtr(obj); in PyObject_GenericGetDict() local 4283 if (dictptr == NULL) { in PyObject_GenericGetDict() 4288 dict = *dictptr; in PyObject_GenericGetDict() 4293 *dictptr = dict = new_dict_with_shared_keys(CACHED_KEYS(tp)); in PyObject_GenericGetDict() 4296 *dictptr = dict = PyDict_New(); in PyObject_GenericGetDict() 4304 _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr, in _PyObjectDict_SetItem() argument 4311 assert(dictptr != NULL); in _PyObjectDict_SetItem() 4313 assert(dictptr != NULL); in _PyObjectDict_SetItem() 4314 dict = *dictptr; in _PyObjectDict_SetItem() 4320 *dictptr = dict; in _PyObjectDict_SetItem() [all …]
|
D | typeobject.c | 1043 PyObject **dictptr = _PyObject_GetDictPtr(self); in subtype_traverse() local 1044 if (dictptr && *dictptr) in subtype_traverse() 1045 Py_VISIT(*dictptr); in subtype_traverse() 1099 PyObject **dictptr = _PyObject_GetDictPtr(self); in subtype_clear() local 1100 if (dictptr && *dictptr) in subtype_clear() 1101 Py_CLEAR(*dictptr); in subtype_clear() 1237 PyObject **dictptr = _PyObject_GetDictPtr(self); in subtype_dealloc() local 1238 if (dictptr != NULL) { in subtype_dealloc() 1239 PyObject *dict = *dictptr; in subtype_dealloc() 1242 *dictptr = NULL; in subtype_dealloc() [all …]
|
D | exceptions.c | 2722 PyObject **dictptr; in _PyErr_TrySetFromCause() local 2768 dictptr = _PyObject_GetDictPtr(val); in _PyErr_TrySetFromCause() 2769 if (dictptr != NULL && *dictptr != NULL && in _PyErr_TrySetFromCause() 2770 PyDict_GET_SIZE(*dictptr) > 0) { in _PyErr_TrySetFromCause()
|
/external/python/cpython2/Objects/ |
D | object.c | 1339 PyObject **dictptr; in _PyObject_GenericGetAttrWithDict() local 1427 dictptr = (PyObject **) ((char *)obj + dictoffset); in _PyObject_GenericGetAttrWithDict() 1428 dict = *dictptr; in _PyObject_GenericGetAttrWithDict() 1476 PyObject **dictptr; in _PyObject_GenericSetAttrWithDict() local 1518 dictptr = _PyObject_GetDictPtr(obj); in _PyObject_GenericSetAttrWithDict() 1519 if (dictptr != NULL) { in _PyObject_GenericSetAttrWithDict() 1520 dict = *dictptr; in _PyObject_GenericSetAttrWithDict() 1525 *dictptr = dict; in _PyObject_GenericSetAttrWithDict()
|
D | typeobject.c | 854 PyObject **dictptr = _PyObject_GetDictPtr(self); in subtype_traverse() local 855 if (dictptr && *dictptr) in subtype_traverse() 856 Py_VISIT(*dictptr); in subtype_traverse() 910 PyObject **dictptr = _PyObject_GetDictPtr(self); in subtype_clear() local 911 if (dictptr && *dictptr) in subtype_clear() 912 Py_CLEAR(*dictptr); in subtype_clear() 1031 PyObject **dictptr = _PyObject_GetDictPtr(self); in subtype_dealloc() local 1032 if (dictptr != NULL) { in subtype_dealloc() 1033 PyObject *dict = *dictptr; in subtype_dealloc() 1036 *dictptr = NULL; in subtype_dealloc() [all …]
|
/external/python/cpython2/Tools/gdb/ |
D | libpython.py | 481 dictptr = self._gdbval.cast(_type_char_ptr()) + dictoffset 483 dictptr = dictptr.cast(PyObjectPtrPtr) 484 return PyObjectPtr.from_pyobject_ptr(dictptr.dereference())
|
/external/f2fs-tools/fsck/ |
D | dict.c | 68 #define dictptr dict_dictptr macro 1026 load->dictptr = dict; in load_begin_internal() 1039 dict_t *dict = load->dictptr; in dict_load_next() 1063 dict_t *dict = load->dictptr; in dict_load_end()
|
/external/e2fsprogs/lib/support/ |
D | dict.c | 73 #define dictptr dict_dictptr macro 1056 load->dictptr = dict; in load_begin_internal() 1069 dict_t *dict = load->dictptr; in dict_load_next() 1093 dict_t *dict = load->dictptr; in dict_load_end()
|
/external/python/cpython3/Include/ |
D | dictobject.h | 172 int _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr, PyObject *name, PyObject *value);
|
/external/python/cpython3/Tools/gdb/ |
D | libpython.py | 509 dictptr = self._gdbval.cast(_type_char_ptr()) + dictoffset 511 dictptr = dictptr.cast(PyObjectPtrPtr) 512 return PyObjectPtr.from_pyobject_ptr(dictptr.dereference())
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 3003 PyObject **dictptr; in tzinfo_reduce() local 3006 dictptr = _PyObject_GetDictPtr(self); in tzinfo_reduce() 3007 if (dictptr && *dictptr && PyDict_Size(*dictptr)) in tzinfo_reduce() 3008 state = *dictptr; in tzinfo_reduce()
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 3535 PyObject **dictptr; in tzinfo_reduce() local 3538 dictptr = _PyObject_GetDictPtr(self); in tzinfo_reduce() 3539 if (dictptr && *dictptr && PyDict_GET_SIZE(*dictptr)) { in tzinfo_reduce() 3540 state = *dictptr; in tzinfo_reduce()
|