Lines Matching refs:len
96 int len, i; local
107 len = strlen(bufr) + 1;
108 if ((i = len % xpacksize) != 0) {
109 len = len + xpacksize - i;
110 bufr[len - 1] = '\0';
112 gwrblk(bufr, len);
122 unsigned len; local
127 len = pkread(str, packsize);
128 if (len == 0)
130 str += len;
145 int len; local
153 while ((len = read( fd1, bufr, BUFSIZ )) > 0) {
154 bytes += len;
156 ret = gwrblk(bufr, len);
157 if (ret != len) {
160 if (len != BUFSIZ)
174 int len; local
183 len = grdblk(bufr, BUFSIZ);
184 if (len < 0) {
187 bytes += len;
189 if ( ret == SUCCESS && write( fd2, bufr, len ) != len) {
193 if (len < BUFSIZ)
202 grdblk(blk, len) in grdblk() argument
207 for (i = 0; i < len; i += ret) {
208 ret = pkread(blk, len - i);
220 gwrblk(blk, len) in gwrblk() argument
223 return(pkwrite(blk, len));