Lines Matching defs:save
721 static int save(PicklerObject *, PyObject *, int);
1989 are recursive. These are not strictly necessary, since save() has a
2758 if (save(self, element, 0) < 0)
2904 i = save(self, obj, 0);
2933 if (save(self, firstitem, 0) < 0)
2947 if (save(self, firstitem, 0) < 0)
2952 /* Fetch and save up to BATCHSIZE items */
2954 if (save(self, obj, 0) < 0)
3010 int err = save(self, item, 0);
3028 int err = save(self, item, 0);
3145 i = save(self, PyTuple_GET_ITEM(obj, 0), 0);
3147 i = save(self, PyTuple_GET_ITEM(obj, 1), 0);
3181 if (save(self, PyTuple_GET_ITEM(firstitem, 0), 0) < 0)
3183 if (save(self, PyTuple_GET_ITEM(firstitem, 1), 0) < 0)
3197 if (save(self, PyTuple_GET_ITEM(firstitem, 0), 0) < 0)
3199 if (save(self, PyTuple_GET_ITEM(firstitem, 1), 0) < 0)
3204 /* Fetch and save up to BATCHSIZE items */
3211 if (save(self, PyTuple_GET_ITEM(obj, 0), 0) < 0 ||
3212 save(self, PyTuple_GET_ITEM(obj, 1), 0) < 0)
3265 /* Special-case len(d) == 1 to save space. */
3270 if (save(self, key, 0) < 0) {
3273 if (save(self, value, 0) < 0) {
3291 if (save(self, key, 0) < 0) {
3294 if (save(self, value, 0) < 0) {
3435 int err = save(self, item, 0);
3505 if (save(self, item, 0) < 0) {
3750 if (save(self, module_name, 0) < 0)
3752 if (save(self, global_name, 0) < 0)
3899 if (save(self, pid, 1) < 0 ||
4077 if (save(self, cls, 0) < 0 ||
4078 save(self, args, 0) < 0 ||
4079 save(self, kwargs, 0) < 0 ||
4118 if (save(self, callable, 0) < 0 ||
4119 save(self, newargs, 0) < 0 ||
4161 /* XXX: These calls save() are prone to infinite recursion. Imagine
4182 Thus when save() was called on newargstup (the 2nd item) recursion
4189 if (save(self, cls, 0) < 0)
4196 p = save(self, newargtup, 0);
4206 if (save(self, callable, 0) < 0 ||
4207 save(self, argtup, 0) < 0 ||
4242 if (save(self, state, 0) < 0 ||
4250 * The first 4 save/write instructions push state_setter and its
4259 if (save(self, state_setter, 0) < 0 ||
4260 save(self, obj, 0) < 0 || save(self, state, 0) < 0 ||
4271 save(PicklerObject *self, PyObject *obj, int pers_save)
4527 if (save(self, obj, 0) < 0 ||