Lines Matching refs:unpickler
705 UnpicklerObject *unpickler; member
7038 UnpicklerObject *unpickler = (UnpicklerObject*)self; in _pickle_Unpickler_load_impl() local
7044 if (unpickler->read == NULL) { in _pickle_Unpickler_load_impl()
7048 Py_TYPE(unpickler)->tp_name); in _pickle_Unpickler_load_impl()
7052 return load(unpickler); in _pickle_Unpickler_load_impl()
7359 _Unpickler_MemoCleanup(self->unpickler); in _pickle_UnpicklerMemoProxy_clear_impl()
7360 self->unpickler->memo = _Unpickler_NewMemo(self->unpickler->memo_size); in _pickle_UnpicklerMemoProxy_clear_impl()
7361 if (self->unpickler->memo == NULL) in _pickle_UnpicklerMemoProxy_clear_impl()
7381 for (i = 0; i < self->unpickler->memo_size; i++) { in _pickle_UnpicklerMemoProxy_copy_impl()
7385 value = self->unpickler->memo[i]; in _pickle_UnpicklerMemoProxy_copy_impl()
7449 Py_XDECREF(self->unpickler); in UnpicklerMemoProxy_dealloc()
7457 Py_VISIT(self->unpickler); in UnpicklerMemoProxy_traverse()
7464 Py_CLEAR(self->unpickler); in UnpicklerMemoProxy_clear()
7500 UnpicklerMemoProxy_New(UnpicklerObject *unpickler) in UnpicklerMemoProxy_New() argument
7508 Py_INCREF(unpickler); in UnpicklerMemoProxy_New()
7509 self->unpickler = unpickler; in UnpicklerMemoProxy_New()
7536 UnpicklerObject *unpickler = in Unpickler_set_memo() local
7537 ((UnpicklerMemoProxyObject *)obj)->unpickler; in Unpickler_set_memo()
7539 new_memo_size = unpickler->memo_size; in Unpickler_set_memo()
7545 Py_XINCREF(unpickler->memo[i]); in Unpickler_set_memo()
7546 new_memo[i] = unpickler->memo[i]; in Unpickler_set_memo()
7859 UnpicklerObject *unpickler = _Unpickler_New(); in _pickle_load_impl() local
7861 if (unpickler == NULL) in _pickle_load_impl()
7864 if (_Unpickler_SetInputStream(unpickler, file) < 0) in _pickle_load_impl()
7867 if (_Unpickler_SetInputEncoding(unpickler, encoding, errors) < 0) in _pickle_load_impl()
7870 if (_Unpickler_SetBuffers(unpickler, buffers) < 0) in _pickle_load_impl()
7873 unpickler->fix_imports = fix_imports; in _pickle_load_impl()
7875 result = load(unpickler); in _pickle_load_impl()
7876 Py_DECREF(unpickler); in _pickle_load_impl()
7880 Py_XDECREF(unpickler); in _pickle_load_impl()
7919 UnpicklerObject *unpickler = _Unpickler_New(); in _pickle_loads_impl() local
7921 if (unpickler == NULL) in _pickle_loads_impl()
7924 if (_Unpickler_SetStringInput(unpickler, data) < 0) in _pickle_loads_impl()
7927 if (_Unpickler_SetInputEncoding(unpickler, encoding, errors) < 0) in _pickle_loads_impl()
7930 if (_Unpickler_SetBuffers(unpickler, buffers) < 0) in _pickle_loads_impl()
7933 unpickler->fix_imports = fix_imports; in _pickle_loads_impl()
7935 result = load(unpickler); in _pickle_loads_impl()
7936 Py_DECREF(unpickler); in _pickle_loads_impl()
7940 Py_XDECREF(unpickler); in _pickle_loads_impl()