Lines Matching refs:SendResult
238 enum class SendResult { Sent, Skipped, Error }; enum in incremental::IncrementalServer
239 SendResult SendDataBlock(FileId fileId, BlockIdx blockIdx, bool flush = false);
410 auto IncrementalServer::SendDataBlock(FileId fileId, BlockIdx blockIdx, bool flush) -> SendResult { in SendDataBlock()
415 return SendResult::Skipped; in SendDataBlock()
418 return SendResult::Skipped; in SendDataBlock()
422 return SendResult::Error; in SendDataBlock()
431 return SendResult::Error; in SendDataBlock()
462 return SendResult::Sent; in SendDataBlock()
488 res == SendResult::Sent) { in RunPrefetching()
490 } else if (res == SendResult::Error) { in RunPrefetching()
496 if (auto res = SendDataBlock(file.id, i); res == SendResult::Sent) { in RunPrefetching()
498 } else if (res == SendResult::Error) { in RunPrefetching()
619 res == SendResult::Error) { in Serve()
621 } else if (res == SendResult::Sent) { in Serve()