Lines Matching refs:olen
91 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize)
120 olen + 1,
126 total_size += 6 + 8*13 + olen + 1;
128 if(strlen(out) != (unsigned int)olen) die("ACK!");
153 static void _archive(char *in, char *out, int ilen, int olen);
159 static void _archive_dir(char *in, char *out, int ilen, int olen)
167 in, out, ilen, olen);
213 if(olen > 0) {
214 out[olen] = '/';
215 memcpy(out + olen + 1, names[i], t + 1);
216 _archive(in, out, ilen + t + 1, olen + t + 1);
223 out[olen] = 0;
232 static void _archive(char *in, char *out, int ilen, int olen)
238 in, out, ilen, olen);
257 _eject(&s, out, olen, tmp, s.st_size);
262 _eject(&s, out, olen, 0, 0);
263 _archive_dir(in, out, ilen, olen);
269 _eject(&s, out, olen, buf, size);