Lines Matching refs:len
1083 void BZ_API(BZ2_bzWrite)(int* bzerror, BZFILE* b, void* buf, int len) { in BZ_API()
1088 if (bzf == nullptr || buf == nullptr || len < 0) { in BZ_API()
1101 if (len == 0) { in BZ_API()
1106 bzf->strm.avail_in = len; in BZ_API()
1299 int BZ_API(BZ2_bzRead)(int* bzerror, BZFILE* b, void* buf, int len) { in BZ_API()
1305 if (bzf == nullptr || buf == nullptr || len < 0) { in BZ_API()
1315 if (len == 0) { in BZ_API()
1320 bzf->strm.avail_out = len; in BZ_API()
1355 return len - bzf->strm.avail_out; in BZ_API()
1359 return len; in BZ_API()
1610 int BZ_API(BZ2_bzread)(BZFILE* b, void* buf, int len) { in BZ_API()
1614 nread = BZ2_bzRead(&bzerr, b, buf, len); in BZ_API()
1624 int BZ_API(BZ2_bzwrite)(BZFILE* b, void* buf, int len) { in BZ_API()
1627 BZ2_bzWrite(&bzerr, b, buf, len); in BZ_API()
1629 return len; in BZ_API()