Lines Matching refs:results
22 void ScanResultMessage::SetScanResults(const Vector<ScanResult> &results) {
24 scan_results_.reserve(results.size());
25 for (const auto &result : results) {
30 void ScanResultMessage::GetScanResults(Vector<ScanResult> *results) {
31 if (results == nullptr) {
36 results->clear();
37 results->reserve(scan_results_.size());
39 results->emplace_back(result);
45 auto results = SerializeVector(scan_results_, builder);
46 return fbs::CreateScanResultMessage(*builder, results);