Searched refs:file_bytes (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dpriometh.c352 PRInt32 len, file_bytes, index = 0; local
377 file_bytes = sfd->file_nbytes;
379 file_bytes = info.size - sfd->file_offset;
393 mmap_len = PR_MIN(file_bytes + addr_offset, SENDFILE_MMAP_CHUNK);
426 if ((file_bytes == len) && (sfd->tlen)) {
442 PR_ASSERT(rv == sfd->hlen + len + ((len == file_bytes) ? sfd->tlen : 0));
444 file_bytes -= len;
446 if (!file_bytes) /* header, file and trailer are sent */
452 len = PR_MIN(file_bytes, SENDFILE_MMAP_CHUNK);
474 file_bytes
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c158 long long file_bytes; /* Input/Output. no. of bytes to send */ member in struct:sf_parms
981 saved_file_bytes = sf_struct->file_bytes;
984 if ((sf_struct->file_bytes > 0) && (sf_struct->file_size > 0))
985 PR_ASSERT((sf_struct->file_bytes + sf_struct->file_offset) <=
993 * A bug in AIX 4.3.2 prevents the 'file_bytes' field from
994 * being updated. So, 'file_bytes' is maintained by NSPR to
999 sf_struct->file_bytes = saved_file_bytes;
2183 sf_struct.file_bytes = -1;
2185 sf_struct.file_bytes = sfd->file_nbytes;
2191 saved_file_bytes = sf_struct.file_bytes;
[all...]

Completed in 303 milliseconds