Searched defs:iov_index (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dwritev.c69 PRInt32 tmo_counted = 0, iov_index, loop, bytes, number_fragments; local
136 for (iov_index = 1; iov_index < number_fragments; ++iov_index)
138 iov[iov_index].iov_base = buffer + (iov_index - 1) * fragment_length;
139 iov[iov_index].iov_len = fragment_length;
164 for (iov_index = 0; iov_index < descriptor.length; ++iov_index)
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c910 PRIntn iov_index; local
912 for (iov_index = 0; iov_index < op->arg3.amount; ++iov_index)
915 if (bytes < iov[iov_index].iov_len)
918 char **bp = (char**)&(iov[iov_index].iov_base);
919 iov[iov_index].iov_len -= bytes; /* there's that much left */
923 bytes -= iov[iov_index].iov_len; /* that element's consumed */
925 op->arg2.buffer = &iov[iov_index]; /* new start of array */
926 op->arg3.amount -= iov_index; /* an
1377 PRIntn iov_index; local
[all...]

Completed in 47 milliseconds