Lines Matching refs:rv
278 int urv, prv, rv = 0; in file_zmagic() local
329 rv = 1; in file_zmagic()
365 rv = -1; in file_zmagic()
370 DPRINTF("rv = %d\n", rv); in file_zmagic()
378 DPRINTF("Zmagic returns %d\n", rv); in file_zmagic()
379 return rv; in file_zmagic()
388 ssize_t rv; in swrite() local
392 switch (rv = write(fd, buf, n)) { in swrite()
398 n -= rv; in swrite()
399 buf = CAST(const char *, buf) + rv; in swrite()
413 ssize_t rv; in sread() local
459 switch ((rv = FINFO_READ_FUNC(fd, buf, n))) { in sread()
467 n -= rv; in sread()
468 buf = CAST(char *, CCAST(void *, buf)) + rv; in sread()
842 int rv; in makeerror() local
847 rv = vasprintf(&msg, fmt, ap); in makeerror()
849 if (rv < 0) { in makeerror()
1057 int status, rv, w; in uncompressbuf() local
1159 rv = makeerror(newch, n, "Write to child failed, %s", in uncompressbuf()
1167 rv = OKDATA; in uncompressbuf()
1171 rv = ERRDATA; in uncompressbuf()
1188 rv = ERRDATA; in uncompressbuf()
1194 rv = makeerror(newch, n, "Read stderr failed, %s", in uncompressbuf()
1209 rv = makeerror(newch, n, "Wait failed, %s", strerror(errno)); in uncompressbuf()
1227 DPRINTF("Returning %p n=%" SIZE_T_FORMAT "u rv=%d\n", *newch, *n, rv); in uncompressbuf()
1229 return rv; in uncompressbuf()