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