Lines Matching refs:rec_len
119 Py_ssize_t rec_len; /* length of record */ member
982 self->rec_len = 0; in join_reset()
998 Py_ssize_t rec_len; in join_append_data() local
1002 if (!copy_phase && rec_len == PY_SSIZE_T_MAX) { \ in join_append_data()
1005 rec_len++; \ in join_append_data()
1011 self->rec[rec_len] = c;\ in join_append_data()
1015 rec_len = self->rec_len; in join_append_data()
1071 return rec_len; in join_append_data()
1081 join_check_rec_size(WriterObj *self, Py_ssize_t rec_len) in join_check_rec_size() argument
1083 assert(rec_len >= 0); in join_check_rec_size()
1085 if (rec_len > self->rec_size) { in join_check_rec_size()
1086 size_t rec_size_new = (size_t)(rec_len / MEM_INCR + 1) * MEM_INCR; in join_check_rec_size()
1105 Py_ssize_t rec_len; in join_append() local
1114 rec_len = join_append_data(self, field_kind, field_data, field_len, in join_append()
1116 if (rec_len < 0) in join_append()
1120 if (!join_check_rec_size(self, rec_len)) in join_append()
1123 self->rec_len = join_append_data(self, field_kind, field_data, field_len, in join_append()
1142 if (!join_check_rec_size(self, self->rec_len + terminator_len)) in join_append_lineterminator()
1148 self->rec[self->rec_len + i] = PyUnicode_READ(term_kind, term_data, i); in join_append_lineterminator()
1149 self->rec_len += terminator_len; in join_append_lineterminator()
1220 if (self->num_fields > 0 && self->rec_len == 0) { in csv_writerow()
1237 (void *) self->rec, self->rec_len); in csv_writerow()
1375 self->rec_len = 0; in csv_writer()