Home
last modified time | relevance | path

Searched refs:ostream (Results 1 – 25 of 133) sorted by relevance

123456

/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h136 void UniversalPrint(const T& value, ::std::ostream* os);
164 static void PrintValue(const T& container, std::ostream* os) {
199 static void PrintValue(T* p, ::std::ostream* os) {
213 static void PrintValue(T* p, ::std::ostream* os) {
245 ::std::ostream* os) -> decltype((void)(*os << value)) {
263 static void PrintValue(const T& value, ::std::ostream* os) {
280 static void PrintValue(internal::BiggestInt value, ::std::ostream* os) {
287 static void PrintValue(internal::StringView value, ::std::ostream* os) {
298 static void PrintValue(const T& value, ::std::ostream* os) {
307 size_t count, ::std::ostream* os);
[all …]
H A Dgtest-matchers.h83 explicit MatchResultListener(::std::ostream* os) : stream_(os) {} in MatchResultListener()
95 ::std::ostream* stream() { return stream_; } in stream()
104 ::std::ostream* const stream_;
123 virtual void DescribeTo(::std::ostream* os) const = 0;
131 virtual void DescribeNegationTo(::std::ostream* os) const { in DescribeNegationTo()
197 explicit StreamMatchResultListener(::std::ostream* os) in StreamMatchResultListener()
244 void DescribeTo(::std::ostream* os) const final { in DescribeTo()
250 void DescribeNegationTo(::std::ostream* os) const final { in DescribeNegationTo()
256 void ExplainMatchResultTo(const T& x, ::std::ostream* os) const { in ExplainMatchResultTo()
319 void (*describe)(const MatcherBase&, std::ostream*, bool negation);
[all …]
H A Dgtest-message.h105 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
231 inline std::ostream& operator<<(std::ostream& os, const Message& sb) {
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-printers.cc63 using ::std::ostream;
71 size_t count, ostream* os) { in PrintByteSegmentInObjectTo()
90 ostream* os) { in PrintBytesInObjectToImpl()
131 ostream* os) { in PrintBytesInObjectTo()
151 static CharFormat PrintAsCharLiteralTo(Char c, ostream* os) { in PrintAsCharLiteralTo()
189 ostream::fmtflags flags = os->flags(); in PrintAsCharLiteralTo()
200 static CharFormat PrintAsStringLiteralTo(char32_t c, ostream* os) { in PrintAsStringLiteralTo()
231 static CharFormat PrintAsStringLiteralTo(char c, ostream* os) { in PrintAsStringLiteralTo()
236 static CharFormat PrintAsStringLiteralTo(char8_t c, ostream* os) { in PrintAsStringLiteralTo()
241 static CharFormat PrintAsStringLiteralTo(char16_t c, ostream* os) { in PrintAsStringLiteralTo()
[all …]
/freebsd/contrib/kyua/utils/format/
H A Dcontainers.hpp49 std::ostream& operator<<(std::ostream&, const std::map< K, V >&);
52 std::ostream& operator<<(std::ostream&, const std::pair< T1, T2 >&);
55 std::ostream& operator<<(std::ostream&, const std::shared_ptr< T >);
58 std::ostream& operator<<(std::ostream&, const std::set< T >&);
61 std::ostream& operator<<(std::ostream&, const std::vector< T >&);
H A Dcontainers.ipp34 #include <ostream>
44 std::ostream&
45 std::operator<<(std::ostream& output, const std::map< K, V >& object)
67 std::ostream&
68 std::operator<<(std::ostream& output, const std::pair< T1, T2 >& object)
82 std::ostream&
83 std::operator<<(std::ostream& output, const std::shared_ptr< T > object)
101 std::ostream&
102 std::operator<<(std::ostream& output, const std::set< T >& object)
124 std::ostream&
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Diostream.cpp44 alignas(ostream) _LIBCPP_EXPORTED_FROM_ABI char cout[sizeof(ostream)]
64 alignas(ostream) _LIBCPP_EXPORTED_FROM_ABI char cerr[sizeof(ostream)]
84 alignas(ostream) _LIBCPP_EXPORTED_FROM_ABI char clog[sizeof(ostream)]
132 ostream* cout_ptr = ::new (cout) ostream(::new (__cout) __stdoutbuf<char>(stdout, &mb_cout)); in DoIOSInit()
133 ostream* cerr_ptr = ::new (cerr) ostream(::new (__cerr) __stdoutbuf<char>(stderr, &mb_cerr)); in DoIOSInit()
134 ::new (clog) ostream(cerr_ptr->rdbuf()); in DoIOSInit()
152 ostream* cout_ptr = reinterpret_cast<ostream*>(cout); in ~DoIOSInit()
154 ostream* clog_ptr = reinterpret_cast<ostream*>(clog); in ~DoIOSInit()
/freebsd/contrib/llvm-project/libcxx/include/
H A Diostream18 #include <ostream>
24 extern ostream cout;
25 extern ostream cerr;
26 extern ostream clog;
44 #include <ostream>
54 extern _LIBCPP_EXPORTED_FROM_ABI ostream cout;
55 extern _LIBCPP_EXPORTED_FROM_ABI ostream cerr;
56 extern _LIBCPP_EXPORTED_FROM_ABI ostream clog;
H A Dostream14 ostream synopsis
162 // [ostream.formatted.print], print functions
164 void print(ostream& os, format_string<Args...> fmt, Args&&... args);
166 void println(ostream& os, format_string<Args...> fmt, Args&&... args);
167 void println(ostream& os); …
169 void vprint_unicode(ostream& os, string_view fmt, format_args args); …
170 void vprint_nonunicode(ostream& os, string_view fmt, format_args args); …
H A Dstrstream134 #include <ostream>
267 class _LIBCPP_DEPRECATED _LIBCPP_EXPORTED_FROM_ABI ostrstream : public ostream {
269 _LIBCPP_HIDE_FROM_ABI ostrstream() : ostream(&__sb_) {}
271 : ostream(&__sb_), __sb_(__s, __n, __s + (__mode & ios::app ? std::strlen(__s) : 0)) {}
275 : ostream(std::move(static_cast<ostream&>(__rhs))), __sb_(std::move(__rhs.__sb_)) {
276 ostream::set_rdbuf(&__sb_);
281 ostream::operator=(std::move(__rhs));
289 ostream::swap(__rhs);
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dprint.h31 __vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args, bool __write_nl) { in __vprint_nonunicode()
43 ostream::sentry __s(__os); in __vprint_nonunicode()
75 _LIBCPP_HIDE_FROM_ABI inline void vprint_nonunicode(ostream& __os, string_view __fmt, format_args _… in vprint_nonunicode()
92 _LIBCPP_EXPORTED_FROM_ABI FILE* __get_ostream_file(ostream& __os);
96 _LIBCPP_HIDE_FROM_ABI void __vprint_unicode(ostream& __os, string_view __fmt, format_args __args, b… in __vprint_unicode()
118 ostream::sentry __s(__os); in __vprint_unicode()
138 _LIBCPP_HIDE_FROM_ABI inline void vprint_unicode(ostream& __os, string_view __fmt, format_args __ar… in vprint_unicode()
144 _LIBCPP_HIDE_FROM_ABI void print(ostream& __os, format_string<_Args...> __fmt, _Args&&... __args) { in print()
156 _LIBCPP_HIDE_FROM_ABI void println(ostream& __os, format_string<_Args...> __fmt, _Args&&... __args)… in println()
171 _LIBCPP_HIDE_FROM_ABI inline void println(ostream& __os) { in println()
/freebsd/contrib/flex/src/
H A DFlexLexer.h77 int yylex( std::istream& new_in, std::ostream& new_out ) in yylex()
83 int yylex( std::istream* new_in, std::ostream* new_out = 0)
92 std::ostream* new_out ) = 0;
94 std::ostream& new_out ) = 0;
123 yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout );
124 yyFlexLexer( std::istream* arg_yyin = 0, std::ostream* arg_yyout = 0 );
143 virtual void switch_streams( std::istream& new_in, std::ostream& new_out );
144 virtual void switch_streams( std::istream* new_in = 0, std::ostream* new_out = 0 );
172 std::ostream yyout; // output sink for default LexerOutput
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp441 llvm::raw_ostream &ostream = s->AsRawOstream(); in Dump() local
442 ostream << static_cast<void *>(this) << ": "; in Dump()
444 ostream << "ObjectFileWasm, file = '"; in Dump()
445 m_file.Dump(ostream); in Dump()
446 ostream << "', arch = "; in Dump()
447 ostream << GetArchitecture().GetArchitectureName() << "\n"; in Dump()
454 ostream << "\n"; in Dump()
455 DumpSectionHeaders(ostream); in Dump()
456 ostream << "\n"; in Dump()
459 void ObjectFileWasm::DumpSectionHeader(llvm::raw_ostream &ostream, in DumpSectionHeader() argument
[all …]
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h442 void DescribeTo(::std::ostream* os) const override { in DescribeTo()
446 void DescribeNegationTo(::std::ostream* os) const override { in DescribeNegationTo()
566 ::std::ostream* os) { in PrintIfNotEmpty()
632 ::std::ostream* os) { in ExplainMatchFailuresTo()
672 ::std::ostream* /* os */) {} in ExplainMatchFailuresTo() argument
696 const ValueTuple& values, ::std::ostream* os) { in ExplainMatchFailureTupleTo()
750 bool MatchAndExplain(const T& /* x */, std::ostream* /* listener */) const {
753 void DescribeTo(std::ostream* os) const { *os << "is anything"; }
754 void DescribeNegationTo(::std::ostream* os) const {
772 void DescribeTo(::std::ostream* os) const { *os << "is NULL"; }
[all …]
H A Dgmock-spec-builders.h163 ::std::ostream* os) const
174 ::std::ostream* what, ::std::ostream* why)
179 ::std::ostream* os) const = 0;
700 void DescribeLocationTo(::std::ostream* os) const { in DescribeLocationTo()
706 void DescribeCallCountTo(::std::ostream* os) const
711 virtual void MaybeDescribeExtraMatcherTo(::std::ostream* os) = 0;
1085 void MaybeDescribeExtraMatcherTo(::std::ostream* os) override { in MaybeDescribeExtraMatcherTo()
1138 void ExplainMatchResultTo(const ArgumentTuple& args, ::std::ostream* os) const in ExplainMatchResultTo()
1220 ::std::ostream* what, in GetActionForArguments()
1221 ::std::ostream* why) in GetActionForArguments()
[all …]
H A Dgmock-cardinalities.h84 virtual void DescribeTo(::std::ostream* os) const = 0;
125 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
129 ::std::ostream* os);
/freebsd/contrib/kyua/utils/
H A Ddatetime.hpp85 std::ostream& operator<<(std::ostream&, const delta&);
129 std::ostream& operator<<(std::ostream&, const timestamp&);
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c120 z_stream ostream; member
140 state->ostream.zalloc = zlib_zalloc; in zlib_stateful_init()
141 state->ostream.zfree = zlib_zfree; in zlib_stateful_init()
142 state->ostream.opaque = Z_NULL; in zlib_stateful_init()
143 state->ostream.next_in = Z_NULL; in zlib_stateful_init()
144 state->ostream.next_out = Z_NULL; in zlib_stateful_init()
145 err = deflateInit_(&state->ostream, Z_DEFAULT_COMPRESSION, in zlib_stateful_init()
161 deflateEnd(&state->ostream); in zlib_stateful_finish()
175 state->ostream.next_in = in; in zlib_stateful_compress_block()
176 state->ostream.avail_in = ilen; in zlib_stateful_compress_block()
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dostream.cppm
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/ADT/
H A DStringMapEntry.h24 struct CanOutputToOStream<T, std::void_t<decltype(std::declval<std::ostream &>()
33 std::ostream &operator<<(std::ostream &OS, const StringMapEntry<T> &E) {
59 void DescribeTo(std::ostream *OS) const override {
66 void DescribeNegationTo(std::ostream *OS) const override {
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.h76 using std::ostream;
107 void DescribeTo(ostream* os) const { *os << "is > " << rhs; } in DescribeTo()
108 void DescribeNegationTo(ostream* os) const { *os << "is <= " << rhs; } in DescribeNegationTo()
137 void DescribeTo(ostream* os) const override { impl_.DescribeTo(os); } in DescribeTo()
138 void DescribeNegationTo(ostream* os) const override { in DescribeNegationTo()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h52 void DescribeTo(std::ostream *OS) const override { in DescribeTo()
58 void DescribeNegationTo(std::ostream *OS) const override { in DescribeNegationTo()
111 void DescribeTo(std::ostream *OS) const override { in DescribeTo()
119 void DescribeNegationTo(std::ostream *OS) const override { in DescribeNegationTo()
148 void DescribeTo(std::ostream *OS) const override { in DescribeTo()
153 void DescribeNegationTo(std::ostream *OS) const override { in DescribeNegationTo()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DMapLattice.h115 std::ostream &
116 operator<<(std::ostream &Os,
128 std::ostream &
129 operator<<(std::ostream &Os,
H A DNoopLattice.h34 inline std::ostream &operator<<(std::ostream &OS, const NoopLattice &) {
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-cardinalities.cc83 void DescribeTo(::std::ostream* os) const override;
107 void BetweenCardinalityImpl::DescribeTo(::std::ostream* os) const { in DescribeTo()
130 ::std::ostream* os) { in DescribeActualCallCountTo()

123456