• Home
  • Raw
  • Download

Lines Matching refs:write_func

348     Py_ssize_t (*write_func)(struct Picklerobject *, const char *, Py_ssize_t);  member
791 if (self->write_func(self, s, len) < 0) in get()
875 if (self->write_func(self, c_str, len) < 0) in put2()
998 if (self->write_func(self, &none, 1) < 0) in save_none()
1013 if (self->write_func(self, &opcode, 1) < 0) in save_bool()
1016 else if (self->write_func(self, buf[l], len[l]) < 0) in save_bool()
1039 if (self->write_func(self, c_str, strlen(c_str)) < 0) in save_int()
1064 if (self->write_func(self, c_str, len) < 0) in save_int()
1094 i = self->write_func(self, c_str, 2); in save_long()
1151 i = self->write_func(self, c_str, size); in save_long()
1153 i = self->write_func(self, (char *)pdata, (int)nbytes); in save_long()
1168 if (self->write_func(self, &l, 1) < 0) in save_long()
1171 if (self->write_func(self, in save_long()
1176 if (self->write_func(self, "\n", 1) < 0) in save_long()
1197 if (self->write_func(self, str, 9) < 0) in save_float()
1205 if (self->write_func(self, &op, 1) < 0) in save_float()
1214 if (self->write_func(self, buf, strlen(buf)) < 0) in save_float()
1217 if (self->write_func(self, "\n", 1) < 0) in save_float()
1251 if (self->write_func(self, &string, 1) < 0) in save_string()
1254 if (self->write_func(self, repr_str, len) < 0) in save_string()
1257 if (self->write_func(self, "\n", 1) < 0) in save_string()
1280 if (self->write_func(self, c_str, len) < 0) in save_string()
1288 if (self->write_func(self, in save_string()
1419 if (self->write_func(self, &string, 1) < 0) in save_unicode()
1422 if (self->write_func(self, repr_str, len) < 0) in save_unicode()
1425 if (self->write_func(self, "\n", 1) < 0) in save_unicode()
1447 if (self->write_func(self, c_str, len) < 0) in save_unicode()
1456 if (self->write_func(self, PyString_AS_STRING(repr), in save_unicode()
1532 if (self->write_func(self, c_str, len) >= 0) in save_tuple()
1556 if (self->write_func(self, &pop, 1) < 0) in save_tuple()
1565 if (self->write_func(self, len2opcode + len, 1) < 0) in save_tuple()
1573 if (self->write_func(self, &MARKv, 1) < 0) in save_tuple()
1582 if (self->write_func(self, &pop_mark, 1) < 0) in save_tuple()
1590 if (self->write_func(self, &pop, 1) < 0) in save_tuple()
1600 if (self->write_func(self, &tuple, 1) < 0) in save_tuple()
1643 if (self->write_func(self, &append, 1) < 0) in batch_list()
1670 if (self->write_func(self, &append, 1) < 0) in batch_list()
1679 if (self->write_func(self, &MARKv, 1) < 0) in batch_list()
1705 if (self->write_func(self, &appends, 1) < 0) in batch_list()
1739 if (self->write_func(self, s, len) < 0) in save_list()
1818 if (self->write_func(self, &setitem, 1) < 0) in batch_dict()
1852 if (self->write_func(self, &setitem, 1) < 0) in batch_dict()
1861 if (self->write_func(self, &MARKv, 1) < 0) in batch_dict()
1896 if (self->write_func(self, &setitems, 1) < 0) in batch_dict()
1939 if (self->write_func(self, &setitem, 1) < 0) in batch_dict_exact()
1947 if (self->write_func(self, &MARKv, 1) < 0) in batch_dict_exact()
1957 if (self->write_func(self, &setitems, 1) < 0) in batch_dict_exact()
1991 if (self->write_func(self, s, len) < 0) in save_dict()
2046 if (self->write_func(self, &MARKv, 1) < 0) in save_inst()
2104 if (self->write_func(self, &inst, 1) < 0) in save_inst()
2107 if (self->write_func(self, module_str, module_size) < 0) in save_inst()
2110 if (self->write_func(self, "\n", 1) < 0) in save_inst()
2113 if (self->write_func(self, name_str, name_size) < 0) in save_inst()
2116 if (self->write_func(self, "\n", 1) < 0) in save_inst()
2119 else if (self->write_func(self, &obj, 1) < 0) { in save_inst()
2156 if (self->write_func(self, &build, 1) < 0) in save_inst()
2283 if (self->write_func(self, c_str, n) >= 0) in save_global()
2289 if (self->write_func(self, &global, 1) < 0) in save_global()
2292 if (self->write_func(self, module_str, module_size) < 0) in save_global()
2295 if (self->write_func(self, "\n", 1) < 0) in save_global()
2298 if (self->write_func(self, name_str, name_size) < 0) in save_global()
2301 if (self->write_func(self, "\n", 1) < 0) in save_global()
2342 if (self->write_func(self, &persid, 1) < 0) in save_pers()
2348 if (self->write_func(self, in save_pers()
2354 if (self->write_func(self, "\n", 1) < 0) in save_pers()
2361 if (self->write_func(self, &binpersid, 1) < 0) in save_pers()
2520 if (self->write_func(self, &newobj, 1) < 0) in save_reduce()
2527 self->write_func(self, &reduce, 1) < 0) in save_reduce()
2543 if (self->write_func(self, &pop_op, 1) < 0 || in save_reduce()
2572 self->write_func(self, &build, 1) < 0) in save_reduce()
2841 if (self->write_func(self, bytes, 2) < 0) in dump()
2848 if (self->write_func(self, &stop, 1) < 0) in dump()
2851 if (self->write_func(self, NULL, 0) < 0) in dump()
3088 self->write_func = write_file; in newPicklerobject()
3091 self->write_func = write_cStringIO; in newPicklerobject()
3094 self->write_func = write_none; in newPicklerobject()
3097 self->write_func = write_other; in newPicklerobject()