Home
last modified time | relevance | path

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

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