Searched refs:readSize (Results 1 – 1 of 1) sorted by relevance
853 size_t readSize; in copyPartialFpToFp() local855 readSize = sizeof(tmpBuf); in copyPartialFpToFp()856 if (readSize > length) in copyPartialFpToFp()857 readSize = length; in copyPartialFpToFp()859 count = fread(tmpBuf, 1, readSize, srcFp); in copyPartialFpToFp()860 if (count != readSize) { // error or unexpected EOF in copyPartialFpToFp()862 ALOGW("fread %zu bytes failed, unexpected EOF", readSize); in copyPartialFpToFp()864 ALOGW("fread %zu bytes failed, %s", readSize, strerror(errno)); in copyPartialFpToFp()877 length -= readSize; in copyPartialFpToFp()