Lines Matching refs:olen
92 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) in _eject() argument
121 olen + 1, in _eject()
127 total_size += 6 + 8*13 + olen + 1; in _eject()
129 if(strlen(out) != (unsigned int)olen) die("ACK!"); in _eject()
154 static void _archive(char *in, char *out, int ilen, int olen);
160 static void _archive_dir(char *in, char *out, int ilen, int olen) in _archive_dir() argument
168 in, out, ilen, olen); in _archive_dir()
214 if(olen > 0) { in _archive_dir()
215 out[olen] = '/'; in _archive_dir()
216 memcpy(out + olen + 1, names[i], t + 1); in _archive_dir()
217 _archive(in, out, ilen + t + 1, olen + t + 1); in _archive_dir()
224 out[olen] = 0; in _archive_dir()
233 static void _archive(char *in, char *out, int ilen, int olen) in _archive() argument
239 in, out, ilen, olen); in _archive()
258 _eject(&s, out, olen, tmp, s.st_size); in _archive()
263 _eject(&s, out, olen, 0, 0); in _archive()
264 _archive_dir(in, out, ilen, olen); in _archive()
270 _eject(&s, out, olen, buf, size); in _archive()