Lines Matching defs:len
133 int len;
141 if( (len = nFile->size) > 0 ) {
142 if( len > bufsize )
143 len = bufsize;
144 memcpy( buf, nFile->netbuf + nFile->head, len );
145 nFile->head += len;
146 nFile->size -= len;
147 readlen += len;
148 if( len >= bufsize )
150 buf += len;
151 bufsize -= len;
193 int fd, writelen, len;
200 len = write( fd, buf, bufsize );
201 if( len <= 0 ) {
205 buf += len;
206 bufsize -= len;
207 writelen += len;