Lines Matching refs:FileStatus
343 enum class FileStatus { Continue, Done, Error }; enum
345 FileStatus fileStatus(FILE* fd) { in fileStatus()
347 return FileStatus::Done; in fileStatus()
349 return FileStatus::Error; in fileStatus()
351 return FileStatus::Continue; in fileStatus()
360 static FileStatus
370 if (status != FileStatus::Continue) { in readData()
374 return FileStatus::Continue; in readData()
392 auto status = FileStatus::Continue; in asyncCompressChunks()
393 while (status == FileStatus::Continue && !state.errorHolder.hasError()) { in asyncCompressChunks()
410 state.errorHolder.check(status != FileStatus::Error, "Error reading input"); in asyncCompressChunks()
505 auto status = FileStatus::Continue; in asyncDecompressFrames()
506 while (status == FileStatus::Continue && !state.errorHolder.hasError()) { in asyncDecompressFrames()
521 if (bytesRead == 0 && status != FileStatus::Continue) { in asyncDecompressFrames()
545 while (status == FileStatus::Continue && !state.errorHolder.hasError()) { in asyncDecompressFrames()
554 state.errorHolder.check(status != FileStatus::Error, "Error reading input"); in asyncDecompressFrames()