Searched refs:firstToRead (Results 1 – 1 of 1) sorted by relevance
149 int64_t firstToRead = std::min(length, toRead); in writeToFile() local150 ret = write(mFd, data, firstToRead); in writeToFile()156 if (ret < firstToRead) { in writeToFile()157 ALOGW("MQ to file: %" PRIu64 " bytes read, but %" PRIu64 " bytes written", firstToRead, in writeToFile()159 } else if (firstToRead < toRead) { in writeToFile()165 int32_t secondToRead = toRead - firstToRead; in writeToFile()