Searched refs:char_cnt (Results 1 – 1 of 1) sorted by relevance
154 int char_cnt = 0; in read_pkg_data() local169 char_cnt = len; in read_pkg_data()174 char_cnt += len - 2; in read_pkg_data()176 char_cnt += PKGINFO_RD_LEN - 1; in read_pkg_data()178 if ((p = realloc(start, char_cnt + PKGINFO_RD_LEN)) == NULL) { in read_pkg_data()184 inp = start + char_cnt; in read_pkg_data()187 if (errno == ENOMEM || (p == NULL && char_cnt == 0)) { in read_pkg_data()