• Home
  • Raw
  • Download

Lines Matching refs:global_name

3047 fix_imports(PyObject **module_name, PyObject **global_name)  in fix_imports()  argument
3053 key = PyTuple_Pack(2, *module_name, *global_name); in fix_imports()
3082 Py_CLEAR(*global_name); in fix_imports()
3086 *global_name = fixed_global_name; in fix_imports()
3115 PyObject *global_name = NULL; in save_global() local
3131 global_name = name; in save_global()
3134 global_name = _PyObject_GetAttrId(obj, &PyId___qualname__); in save_global()
3135 if (global_name == NULL) { in save_global()
3140 if (global_name == NULL) { in save_global()
3141 global_name = _PyObject_GetAttrId(obj, &PyId___name__); in save_global()
3142 if (global_name == NULL) in save_global()
3147 dotted_path = get_dotted_path(module, global_name); in save_global()
3176 obj, global_name, module_name); in save_global()
3183 obj, module_name, global_name); in save_global()
3198 extension_key = PyTuple_Pack(2, module_name, global_name); in save_global()
3261 Py_DECREF(global_name); in save_global()
3262 global_name = lastname; in save_global()
3269 if (save(self, global_name, 0) < 0) in save_global()
3297 if (fix_imports(&module_name, &global_name) < 0) { in save_global()
3332 encoded = unicode_encoder(global_name); in save_global()
3338 global_name, self->proto); in save_global()
3360 Py_XDECREF(global_name); in save_global()
4564 find_class(UnpicklerObject *self, PyObject *module_name, PyObject *global_name) in find_class() argument
4569 module_name, global_name); in find_class()
5379 PyObject *global_name; in load_global() local
5396 global_name = PyUnicode_DecodeUTF8(s, len - 1, "strict"); in load_global()
5397 if (global_name) { in load_global()
5398 global = find_class(self, module_name, global_name); in load_global()
5399 Py_DECREF(global_name); in load_global()
5415 PyObject *global_name; in load_stack_global() local
5417 PDATA_POP(self->stack, global_name); in load_stack_global()
5420 global_name == NULL || !PyUnicode_CheckExact(global_name)) { in load_stack_global()
5423 Py_XDECREF(global_name); in load_stack_global()
5427 global = find_class(self, module_name, global_name); in load_stack_global()
5428 Py_DECREF(global_name); in load_stack_global()
6399 PyObject *global_name) in _pickle_Unpickler_find_class_impl() argument
6417 key = PyTuple_Pack(2, module_name, global_name); in _pickle_Unpickler_find_class_impl()
6430 global_name = PyTuple_GET_ITEM(item, 1); in _pickle_Unpickler_find_class_impl()
6432 !PyUnicode_Check(global_name)) { in _pickle_Unpickler_find_class_impl()
6437 Py_TYPE(global_name)->tp_name); in _pickle_Unpickler_find_class_impl()
6475 global = getattribute(module, global_name, self->proto >= 4); in _pickle_Unpickler_find_class_impl()
6479 global = getattribute(module, global_name, self->proto >= 4); in _pickle_Unpickler_find_class_impl()