Lines Matching refs:os

31 std::ostream& operator<<(std::ostream& os, const hidl_vec<T>& vec) {  in operator <<()  argument
32 os << "{ "; in operator <<()
34 for (size_t i = 0; i < vec.size() - 1; ++i) os << vec[i] << ", "; in operator <<()
35 os << vec[vec.size() - 1]; in operator <<()
37 os << " }"; in operator <<()
38 return os; in operator <<()
41 std::ostream& operator<<(std::ostream& os, const hidl_vec<uint8_t>& vec) { in operator <<() argument
42 std::ios_base::fmtflags flags(os.flags()); in operator <<()
43 os << std::setw(2) << std::setfill('0') << std::hex; in operator <<()
44 for (uint8_t c : vec) os << static_cast<int>(c); in operator <<()
45 os.flags(flags); in operator <<()
46 return os; in operator <<()
50 std::ostream& operator<<(std::ostream& os, const hidl_array<uint8_t, N>& vec) { in operator <<() argument
51 std::ios_base::fmtflags flags(os.flags()); in operator <<()
52 os << std::setw(2) << std::setfill('0') << std::hex; in operator <<()
53 for (size_t i = 0; i < N; ++i) os << static_cast<int>(vec[i]); in operator <<()
54 os.flags(flags); in operator <<()
55 return os; in operator <<()
62 std::ostream& operator<<(std::ostream& os, const HmacSharingParameters& params) { in operator <<() argument
65 os << "(seed: " << params.seed << ", nonce: " << params.nonce << ')'; in operator <<()
66 return os; in operator <<()
76 std::ostream& operator<<(std::ostream& os, const Keymaster& keymaster) { in operator <<() argument
78 os << version.keymasterName << " from " << version.authorName in operator <<()
81 return os; in operator <<()