Lines Matching refs:count
54 convert_from_net(char *buffer, size_t count)
63 for (i = 0; i < count; i++) {
105 convert_to_net(char *buffer, size_t count, int init)
128 while (i < count) {
134 in = fread(convbuffer, 1, count, file);
158 if (i > count) {
166 if (i < count) {
170 return count;
193 write_file(char *buffer, int count)
197 return fwrite(buffer, 1, count, file);
199 return convert_from_net(buffer, count);
233 read_file(char *buffer, int count)
237 return fread(buffer, 1, count, file);
239 return convert_to_net(buffer, count, 0);