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

/frameworks/av/media/mtp/
H A DMtpFfsHandle.cpp573 int length, num_read; local
622 num_read = aio_return(&aio);
623 if (static_cast<size_t>(num_read) < aio.aio_nbytes) {
624 errno = num_read == -1 ? aio_error(&aio) : EIO;
630 file_length -= num_read;
631 offset += num_read;
638 if (iobufSubmit(&mIobuf[i], mBulkIn, num_read, false) == -1) {
642 ret = num_read;
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp377 ssize_t num_read = getline(&line, &len, file); local
379 if (num_read > 0) {

Completed in 27 milliseconds