Lines Matching refs:len
112 int len; local
119 if( (len = (*Read)(fn, str, XBUFSIZ)) == 0)
121 if (len < 0) {
125 str += len;
147 int len, ret; local
153 while ((len = read( fd1, bufr, XBUFSIZ )) > 0) {
154 bytes += len;
156 ret = (*Write)(fn, bufr, len);
157 if (ret != len) {
160 if (len != XBUFSIZ)
181 int len; local
189 len = xrdblk(bufr, XBUFSIZ, fn);
190 if (len < 0) {
193 bytes += len;
195 if( ret == SUCCESS && write( fd2, bufr, len ) != len )
197 if (len < XBUFSIZ)
214 xrdblk(blk, len, fn) in xrdblk() argument
223 for (i = 0; i < len; i += ret) {
224 if ((ret = (*Read)(fn, blk, len - i)) < 0) {