Lines Matching refs:rec_len
139 int rec_len; /* length of record */ member
974 self->rec_len = 0; in join_reset()
988 int i, rec_len; in join_append_data() local
993 if (!copy_phase && rec_len == INT_MAX) { \ in join_append_data()
996 rec_len++; \ in join_append_data()
1002 self->rec[rec_len] = c;\ in join_append_data()
1010 rec_len = self->rec_len; in join_append_data()
1078 return rec_len; in join_append_data()
1088 join_check_rec_size(WriterObj *self, int rec_len) in join_check_rec_size() argument
1093 assert(rec_len >= 0); in join_check_rec_size()
1095 if (rec_len > self->rec_size) { in join_check_rec_size()
1096 rec_size_new = (unsigned)(rec_len / MEM_INCR + 1) * MEM_INCR; in join_check_rec_size()
1115 int rec_len; in join_append() local
1117 rec_len = join_append_data(self, field, quote_empty, quoted, 0); in join_append()
1118 if (rec_len < 0) in join_append()
1122 if (!join_check_rec_size(self, rec_len)) in join_append()
1125 self->rec_len = join_append_data(self, field, quote_empty, quoted, 1); in join_append()
1142 if (!join_check_rec_size(self, self->rec_len + terminator_len)) in join_append_lineterminator()
1148 memmove(self->rec + self->rec_len, terminator, terminator_len); in join_append_lineterminator()
1149 self->rec_len += terminator_len; in join_append_lineterminator()
1233 "(s#)", self->rec, self->rec_len); in csv_writerow()
1366 self->rec_len = 0; in csv_writer()