Lines Matching refs:dotted_path

1653     PyObject *dotted_path;  in get_dotted_path()  local
1656 dotted_path = PyUnicode_Split(name, _PyUnicode_FromId(&PyId_dot), -1); in get_dotted_path()
1657 if (dotted_path == NULL) in get_dotted_path()
1659 n = PyList_GET_SIZE(dotted_path); in get_dotted_path()
1662 PyObject *subpath = PyList_GET_ITEM(dotted_path, i); in get_dotted_path()
1670 Py_DECREF(dotted_path); in get_dotted_path()
1674 return dotted_path; in get_dotted_path()
1707 PyObject *dotted_path, *attr; in getattribute() local
1710 dotted_path = get_dotted_path(obj, name); in getattribute()
1711 if (dotted_path == NULL) in getattribute()
1713 attr = get_deep_attribute(obj, dotted_path, NULL); in getattribute()
1714 Py_DECREF(dotted_path); in getattribute()
1728 PyObject *global, PyObject *dotted_path) in _checkmodule() argument
1738 PyObject *candidate = get_deep_attribute(module, dotted_path, NULL); in _checkmodule()
1751 whichmodule(PyObject *global, PyObject *dotted_path) in whichmodule() argument
1783 if (_checkmodule(module_name, module, global, dotted_path) == 0) { in whichmodule()
1804 if (_checkmodule(module_name, module, global, dotted_path) == 0) { in whichmodule()
3298 PyObject *dotted_path = NULL; in save_global() local
3322 dotted_path = get_dotted_path(module, global_name); in save_global()
3323 if (dotted_path == NULL) in save_global()
3325 module_name = whichmodule(obj, dotted_path); in save_global()
3344 lastname = PyList_GET_ITEM(dotted_path, PyList_GET_SIZE(dotted_path)-1); in save_global()
3346 cls = get_deep_attribute(module, dotted_path, &parent); in save_global()
3347 Py_CLEAR(dotted_path); in save_global()
3540 Py_XDECREF(dotted_path); in save_global()