Lines Matching refs:os

98 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i) {  in operator <<()  argument
99 return os << "Param::CoreIndex(" << attribParamCoreIndex(i) << ")"; in operator <<()
102 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i) { in operator <<() argument
103 return os << StringPrintf("Param::Type(%08x: ", i.type()) in operator <<()
107 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i) { in operator <<() argument
108 return os << StringPrintf("Param::Index(%08x: ", (uint32_t)i) in operator <<()
119 std::ostream& operator<<(std::ostream& os, const _C2FieldId &i) { in operator <<() argument
120 return os << "<" << attribFieldId(i) << ">"; in operator <<()
124 std::ostream& operator<<(std::ostream& os, const C2FieldDescriptor &i) { in operator <<() argument
125 os << attribFieldId(_C2ParamInspector::GetField(i)) << " "; in operator <<()
127 os << "enum "; in operator <<()
129 return os << asString(i.type()) << " " << i.name() in operator <<()
134 std::ostream& operator<<(std::ostream& os, const C2ParamField &i) { in operator <<() argument
135 os << "<" << C2Param::Index(_C2ParamInspector::GetIndex(i)) in operator <<()
139 return os; in operator <<()
145 std::ostream& _C2FieldValueHelper<char>::put(std::ostream &os, const C2Value::Primitive &p) { in put() argument
147 return os << StringPrintf("'%c'", p.i32); in put()
149 return os << StringPrintf("'\\x%02x'", (uint32_t)p.i32); in put()
153 std::ostream& _C2FieldValueHelper<uint8_t>::put(std::ostream &os, const C2Value::Primitive &p) { in put() argument
154 return os << StringPrintf("0x%02x", p.u32); in put()
160 std::ostream& operator<<(std::ostream &os, const c2_cntr_t<T> &v) { in operator <<() argument
161 return os << "ctr(" << v.peeku() << ")"; in operator <<()
165 std::ostream& operator<<(std::ostream& os, const C2SupportedRange<T> &i) { in operator <<() argument
166 os << "Range("; in operator <<()
167 _C2FieldValueHelper<T>::put(os, i.min()); in operator <<()
168 os << ".."; in operator <<()
169 _C2FieldValueHelper<T>::put(os, i.max()); in operator <<()
170 os << " *= " << i.num() << " /= " << i.denom() << " += " << i.step() << ")"; in operator <<()
171 return os; in operator <<()
173 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<char> &i);
174 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<uint8_t> &i);
175 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<int32_t> &i);
176 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<uint32_t> &i);
178 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<int64_t> &i);
179 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<uint64_t> &i);
181 template std::ostream& operator<<(std::ostream& os, const C2SupportedRange<float> &i);
184 std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<T> &i) { in operator <<() argument
185 os << "Flags["; in operator <<()
187 os << "min="; in operator <<()
188 _C2FieldValueHelper<T>::put(os, i.min()); in operator <<()
193 os << ", "; in operator <<()
195 _C2FieldValueHelper<T>::put(os, v); in operator <<()
198 os << "]"; in operator <<()
199 return os; in operator <<()
201 template std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<char> &i);
202 template std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<uint8_t> &i);
203 template std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<int32_t> &i);
204 template std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<uint32_t> &i);
206 template std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<int64_t> &i);
207 template std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<uint64_t> &i);
209 template std::ostream& operator<<(std::ostream& os, const C2SupportedFlags<float> &i);
212 std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<T> &i) { in operator <<() argument
213 os << "Values["; in operator <<()
217 os << ", "; in operator <<()
219 _C2FieldValueHelper<T>::put(os, v); in operator <<()
222 os << "]"; in operator <<()
223 return os; in operator <<()
225 template std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<char> &i);
226 template std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<uint8_t> &i);
227 template std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<int32_t> &i);
228 template std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<uint32_t> &i);
230 template std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<int64_t> &i);
231 template std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<uint64_t> &i);
233 template std::ostream& operator<<(std::ostream& os, const C2SupportedValueSet<float> &i);
249 std::ostream& streamOut(std::ostream& os) const;
253 std::ostream& C2FieldSupportedValuesHelper<T>::Impl::streamOut(std::ostream& os) const { in streamOut()
255 os << _mRange; in streamOut()
257 os << _mValues; in streamOut()
259 os << _mFlags; in streamOut()
261 os << "Unknown FSV type: " << (uint32_t)_mType; in streamOut()
263 return os; in streamOut()
267 std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<T> &i) { in operator <<() argument
268 return i._mImpl->streamOut(os); in operator <<()
270 template std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<char> &i);
271 template std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<uint8_t> &i);
272 template std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<int32_t> &i);
273 template std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<uint32_t> &i…
275 template std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<int64_t> &i);
276 template std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<uint64_t> &i…
278 template std::ostream& operator<<(std::ostream& os, const C2FieldSupportedValuesHelper<float> &i);