Home
last modified time | relevance | path

Searched refs:protoField (Results 1 – 1 of 1) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_stats_test_utils.cpp87 std::smatch protoField; in fromNetworkDnsEventReportedStr() local
88 std::regex_match(match_str, protoField, pieces_regex); in fromNetworkDnsEventReportedStr()
90 LOG(DEBUG) << "Str:" << match_str << " Name:" << protoField[1] in fromNetworkDnsEventReportedStr()
91 << " Value:" << protoField[2]; in fromNetworkDnsEventReportedStr()
94 if (protoField[1] == "event_type" && ParseInt(protoField[2], &value)) { in fromNetworkDnsEventReportedStr()
96 } else if (protoField[1] == "return_code" && ParseInt(protoField[2], &value)) { in fromNetworkDnsEventReportedStr()
98 } else if (protoField[1] == "latency_micros" && ParseInt(protoField[2], &value)) { in fromNetworkDnsEventReportedStr()
100 } else if (protoField[1] == "hints_ai_flags" && ParseInt(protoField[2], &value)) { in fromNetworkDnsEventReportedStr()
102 } else if (protoField[1] == "res_nsend_flags" && ParseInt(protoField[2], &value)) { in fromNetworkDnsEventReportedStr()
104 } else if (protoField[1] == "network_type" && ParseInt(protoField[2], &value)) { in fromNetworkDnsEventReportedStr()
[all …]