Lines Matching refs:string_view
30 std::string_view data(buf, sizeof(buf)); in TEST()
33 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
45 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
48 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
60 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
63 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
76 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
79 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
97 std::string_view data(reinterpret_cast<char*>(&buf), sizeof(buf)); in TEST()
100 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
119 std::string_view data(reinterpret_cast<char*>(&buf), sizeof(buf)); in TEST()
123 std::string_view dataOut; in TEST()
124 auto cb = [&](const nlmsghdr& hdr, std::string_view data) { in TEST()
145 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
148 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
166 std::string_view data = buf; in TEST()
168 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
187 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
190 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
199 data = std::string_view(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
212 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
215 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument
223 data = std::string_view(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST()
236 std::string_view data(buf, sizeof(buf)); in TEST()
246 std::string_view data(reinterpret_cast<char*>(&rta), RTA_SPACE(0)); in TEST()
256 std::string_view data(reinterpret_cast<char*>(&rta), RTA_SPACE(0)); in TEST()
266 std::string_view data(reinterpret_cast<char*>(&rta), RTA_SPACE(0)); in TEST()
285 std::string_view data(buf, sizeof(buf)); in TEST()
310 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in doLinkDump() argument