Home
last modified time | relevance | path

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

123456789

/llvm-project-15.0.7/clang/tools/clang-fuzzer/proto-to-cxx/
H A Dproto_to_cxx.cpp22 std::ostream &operator<<(std::ostream &os, const BinaryOp &x);
23 std::ostream &operator<<(std::ostream &os, const StatementSeq &x);
26 std::ostream &operator<<(std::ostream &os, const Const &x) { in operator <<()
29 std::ostream &operator<<(std::ostream &os, const VarRef &x) { in operator <<()
32 std::ostream &operator<<(std::ostream &os, const Lvalue &x) { in operator <<()
35 std::ostream &operator<<(std::ostream &os, const Rvalue &x) { in operator <<()
41 std::ostream &operator<<(std::ostream &os, const BinaryOp &x) { in operator <<()
64 std::ostream &operator<<(std::ostream &os, const IfElse &x) { in operator <<()
69 std::ostream &operator<<(std::ostream &os, const While &x) { in operator <<()
72 std::ostream &operator<<(std::ostream &os, const Statement &x) { in operator <<()
[all …]
H A Dloop_proto_to_cxx.cpp42 std::ostream &operator<<(std::ostream &os, const BinaryOp &x);
43 std::ostream &operator<<(std::ostream &os, const StatementSeq &x);
46 std::ostream &operator<<(std::ostream &os, const Const &x) { in operator <<()
49 std::ostream &operator<<(std::ostream &os, const VarRef &x) { in operator <<()
60 std::ostream &operator<<(std::ostream &os, const Rvalue &x) { in operator <<()
69 std::ostream &operator<<(std::ostream &os, const BinaryOp &x) { in operator <<()
111 std::ostream &operator<<(std::ostream &os, const AssignmentStatement &x) { in operator <<()
114 std::ostream &operator<<(std::ostream &os, const Statement &x) { in operator <<()
117 std::ostream &operator<<(std::ostream &os, const StatementSeq &x) { in operator <<()
122 void NestedLoopToString(std::ostream &os, const LoopFunction &x) { in NestedLoopToString()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-printers.h444 T* p, ::std::ostream* os) { in DefaultPrintTo()
456 T* p, ::std::ostream* os) { in DefaultPrintTo()
487 void PrintTo(const T& value, ::std::ostream* os) { in PrintTo()
527 inline void PrintTo(char c, ::std::ostream* os) { in PrintTo()
535 inline void PrintTo(bool x, ::std::ostream* os) { in PrintTo()
550 inline void PrintTo(char* s, ::std::ostream* os) { in PrintTo()
628 ::std::ostream*) {} in PrintTupleTo() argument
632 ::std::ostream* os) { in PrintTupleTo()
725 ::std::ostream* os;
832 static void Print(char* str, ::std::ostream* os) { in Print()
[all …]
H A Dgtest-matchers.h97 ::std::ostream* stream() { return stream_; } in stream()
106 ::std::ostream* const stream_;
125 virtual void DescribeTo(::std::ostream* os) const = 0;
133 virtual void DescribeNegationTo(::std::ostream* os) const { in DescribeNegationTo()
194 void DescribeNegationTo(::std::ostream* os) const override { in DescribeNegationTo()
248 explicit StreamMatchResultListener(::std::ostream* os) in StreamMatchResultListener()
277 void DescribeNegationTo(::std::ostream* os) const { in DescribeNegationTo()
436 std::ostream& operator<<(std::ostream& os, const Matcher<T>& matcher) {
551 void DescribeTo(::std::ostream* os) const override { in DescribeTo()
652 void DescribeTo(::std::ostream* os) const { in DescribeTo()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-printers.cc57 using ::std::ostream;
84 ostream* os) { in PrintBytesInObjectToImpl()
115 ostream* os) { in PrintBytesInObjectTo()
184 ostream::fmtflags flags = os->flags(); in PrintAsCharLiteralTo()
221 void PrintCharAndCodeTo(Char c, ostream* os) { in PrintCharAndCodeTo()
245 void PrintTo(unsigned char c, ::std::ostream* os) { in PrintTo()
248 void PrintTo(signed char c, ::std::ostream* os) { in PrintTo()
254 void PrintTo(wchar_t wc, ostream* os) { in PrintTo()
268 const CharType* begin, size_t len, ostream* os) { in PrintCharsAsStringTo()
332 void PrintTo(const char* s, ostream* os) { in PrintTo()
[all …]
/llvm-project-15.0.7/libcxx/src/
H A Diostream.cpp38 _ALIGNAS_TYPE (ostream) _LIBCPP_FUNC_VIS char cout[sizeof(ostream)]
56 _ALIGNAS_TYPE (ostream) _LIBCPP_FUNC_VIS char cerr[sizeof(ostream)]
74 _ALIGNAS_TYPE (ostream) _LIBCPP_FUNC_VIS char clog[sizeof(ostream)]
121 ostream* cout_ptr = ::new(cout) ostream(::new(__cout) __stdoutbuf<char>(stdout, &mb_cout)); in DoIOSInit()
122 ostream* cerr_ptr = ::new(cerr) ostream(::new(__cerr) __stdoutbuf<char>(stderr, &mb_cerr)); in DoIOSInit()
123 ::new(clog) ostream(cerr_ptr->rdbuf()); in DoIOSInit()
142 ostream* cout_ptr = reinterpret_cast<ostream*>(cout); in ~DoIOSInit()
144 ostream* clog_ptr = reinterpret_cast<ostream*>(clog); in ~DoIOSInit()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dstack-exhaustion.cpp35 struct ostream;
39 template<typename T, typename = decltype(declval<ostream&>() << declval<T&>())>
40 ostream &operator<<(ostream& os, const T& obj); // expected-error {{exceeded maximum depth}}
44 void printFunctionalType(ostream &os, mlir::Value &v) { os << v; } in printFunctionalType()
50 struct ostream;
55 …template<typename T, typename enable_if<declval<ostream&>() << declval<T&>(), void*>::type = nullp…
56 ostream &operator<<(ostream& os, const T& obj); // expected-error {{exceeded maximum depth}}
60 void printFunctionalType(ostream &os, mlir::Value &v) { os << v; } in printFunctionalType()
H A Ddependent-names.cpp142 typedef basic_ostream<char> ostream; typedef
143 extern ostream cout;
144 std::ostream &operator<<(std::ostream &out, const char *);
213 …std::ostream& operator<<(std::ostream& out, ns::Data data) { // expected-note {{should be declared… in operator <<()
235 …std::ostream &print(std::ostream &out, int); // expected-note-re {{should be declared prior to the…
236 …std::ostream &print(std::ostream &out, ns::Data); // expected-note {{should be declared prior to t…
237 …std::ostream &print(std::ostream &out, std::vector<ns2::Data>); // expected-note {{should be decla…
238 …std::ostream &print(std::ostream &out, std::pair<ns::Data, ns2::Data>); // expected-note {{should …
/llvm-project-15.0.7/clang/tools/clang-fuzzer/proto-to-llvm/
H A Dloop_proto_to_llvm.cpp28 std::string BinopToString(std::ostream &os, const BinaryOp &x);
29 std::string StateSeqToString(std::ostream &os, const StatementSeq &x);
54 std::string VarRefToString(std::ostream &os, const VarRef &x) { in VarRefToString()
73 std::string RvalueToString(std::ostream &os, const Rvalue &x) { in RvalueToString()
87 std::string BinopToString(std::ostream &os, const BinaryOp &x) { in BinopToString()
124 std::ostream &operator<<(std::ostream &os, const AssignmentStatement &x) { in operator <<()
129 std::ostream &operator<<(std::ostream &os, const Statement &x) { in operator <<()
132 std::ostream &operator<<(std::ostream &os, const StatementSeq &x) { in operator <<()
138 void NestedLoopToString(std::ostream &os, const LoopFunction &x) { in NestedLoopToString()
168 void SingleLoopToString(std::ostream &os, const LoopFunction &x) { in SingleLoopToString()
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/
H A Dlocale_dependent.compile.pass.cpp19 …assert(std::__iterator_traits_detail::__cpp17_iterator<std::ostream_iterator<int, std::ostream> >);
20 …ert(std::__iterator_traits_detail::__cpp17_iterator<std::ostreambuf_iterator<int, std::ostream> >);
24 …!std::__iterator_traits_detail::__cpp17_input_iterator<std::ostream_iterator<int, std::ostream> >);
25 …d::__iterator_traits_detail::__cpp17_input_iterator<std::ostreambuf_iterator<int, std::ostream> >);
31 …td::__iterator_traits_detail::__cpp17_forward_iterator<std::ostream_iterator<int, std::ostream> >);
32 …:__iterator_traits_detail::__cpp17_forward_iterator<std::ostreambuf_iterator<int, std::ostream> >);
39 …iterator_traits_detail::__cpp17_bidirectional_iterator<std::ostream_iterator<int, std::ostream> >);
41 …rator_traits_detail::__cpp17_bidirectional_iterator<std::ostreambuf_iterator<int, std::ostream> >);
48 …iterator_traits_detail::__cpp17_random_access_iterator<std::ostream_iterator<int, std::ostream> >);
50 …rator_traits_detail::__cpp17_random_access_iterator<std::ostreambuf_iterator<int, std::ostream> >);
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream_sentry/
H A Ddestruct.pass.cpp41 std::ostream os((std::streambuf*)0); in main()
42 std::ostream::sentry s(os); in main()
48 std::ostream os(&sb); in main()
49 std::ostream::sentry s(os); in main()
55 std::ostream os(&sb); in main()
56 std::ostream::sentry s(os); in main()
64 std::ostream os(&sb); in main()
67 std::ostream::sentry s(os); in main()
H A Dconstruct.pass.cpp41 std::ostream os((std::streambuf*)0); in main()
42 std::ostream::sentry s(os); in main()
47 std::ostream os(&sb); in main()
48 std::ostream::sentry s(os); in main()
53 std::ostream os(&sb); in main()
55 std::ostream os2(&sb2); in main()
58 std::ostream::sentry s(os); in main()
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dplain_cpp.h44 void print_forward_declarations(ostream &os);
45 void print_declarations(ostream &os);
46 void print_class(ostream &os, const isl_class &clazz);
48 void print_implementations(ostream &os);
49 void print_class_impl(ostream &os, const isl_class &clazz);
50 void print_check_no_persistent_callback(ostream &os,
52 void print_invalid(ostream &os, int indent, const char *msg,
54 void print_method_param_use(ostream &os, ParmVarDecl *param,
73 plain_printer(std::ostream &os, const isl_class &clazz, in plain_printer()
91 decl_printer(std::ostream &os, const isl_class &clazz, in decl_printer()
[all …]
H A Dcpp.h34 virtual void print_param_use(ostream &os, int pos) const;
36 static void print_arg_list(std::ostream &os, int start, int end,
38 void print_cpp_arg_list(std::ostream &os,
76 void print_call(std::ostream &os, const std::string &ns) const;
92 virtual void print_param_use(ostream &os, int pos) const override;
154 std::ostream &os;
160 class_printer(std::ostream &os, const isl_class &clazz,
/llvm-project-15.0.7/libcxx/include/
H A Diostream18 #include <ostream>
24 extern ostream cout;
25 extern ostream cerr;
26 extern ostream clog;
43 #include <ostream>
53 extern _LIBCPP_FUNC_VIS ostream cout;
54 extern _LIBCPP_FUNC_VIS ostream cerr;
55 extern _LIBCPP_FUNC_VIS ostream clog;
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DJSONGenerator.h114 virtual void Dump(std::ostream &s) const = 0;
116 virtual void DumpBinaryEscaped(std::ostream &s) const = 0;
130 void Dump(std::ostream &s) const override { in Dump()
141 void DumpBinaryEscaped(std::ostream &s) const override { in DumpBinaryEscaped()
197 void Dump(std::ostream &s) const override { in Dump()
220 void Dump(std::ostream &s) const override { in Dump()
232 void DumpBinaryEscaped(std::ostream &s) const override { in DumpBinaryEscaped()
293 void Dump(std::ostream &s) const override { in Dump()
309 void DumpBinaryEscaped(std::ostream &s) const override { in DumpBinaryEscaped()
380 void Dump(std::ostream &s) const override;
[all …]
/llvm-project-15.0.7/openmp/libompd/src/
H A DDebug.h30 inline std::ostream &operator<<(std::ostream &os, Code code) {
37 std::ostream &out;
41 ColorOut(std::ostream &_out, GdbColor::Code _color) in ColorOut()
47 const ColorOut &operator<<(std::ostream &(*pf)(std::ostream &)) const {
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp440 llvm::raw_ostream &ostream = s->AsRawOstream(); in Dump() local
441 ostream << static_cast<void *>(this) << ": "; in Dump()
443 ostream << "ObjectFileWasm, file = '"; in Dump()
444 m_file.Dump(ostream); in Dump()
445 ostream << "', arch = "; in Dump()
453 ostream << "\n"; in Dump()
454 DumpSectionHeaders(ostream); in Dump()
455 ostream << "\n"; in Dump()
467 ostream << "Section Headers\n"; in DumpSectionHeaders()
474 ostream << "[" << llvm::format_decimal(idx, 2) << "] "; in DumpSectionHeaders()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/quoted.manip/
H A Dquoted_traits.compile.pass.cpp57 static_assert( HasLeftShift<std::ostream&, Q>::value, ""); in test_string_literal()
69 static_assert(!HasLeftShift<std::ostream&, WQ>::value, ""); in test_string_literal()
80 static_assert( HasLeftShift<std::ostream&, Q>::value, ""); in test_std_string()
82 static_assert( HasLeftShift<std::ostream&, CQ>::value, ""); in test_std_string()
93 static_assert(!HasLeftShift<std::ostream&, QT>::value, ""); in test_std_string()
95 static_assert(!HasLeftShift<std::ostream&, CQT>::value, ""); in test_std_string()
116 static_assert(!HasLeftShift<std::ostream&, WQ>::value, ""); in test_std_string()
127 static_assert( HasLeftShift<std::ostream&, Q>::value, ""); in test_std_string_view()
129 static_assert( HasLeftShift<std::ostream&, CQ>::value, ""); in test_std_string_view()
140 static_assert(!HasLeftShift<std::ostream&, QT>::value, ""); in test_std_string_view()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DFloat16bits.h35 std::ostream &operator<<(std::ostream &os, const f16 &f);
37 std::ostream &operator<<(std::ostream &os, const bf16 &d);
H A DRunnerUtils.h76 std::ostream &operator<<(std::ostream &os, const Vector<T, M, Dims...> &v);
88 static inline void printSpace(std::ostream &os, int count) {
96 static void print(std::ostream &os, const Vector<T, M, Dims...> &val);
100 void VectorDataPrinter<T, M, Dims...>::print(std::ostream &os,
127 std::ostream &operator<<(std::ostream &os, const Vector<T, M, Dims...> &v) {
134 static void print(std::ostream &os, T *base, int64_t dim, int64_t rank,
140 static void printLast(std::ostream &os, T *base, int64_t dim, int64_t rank,
146 void MemRefDataPrinter<T>::printFirst(std::ostream &os, T *base, int64_t dim,
163 void MemRefDataPrinter<T>::print(std::ostream &os, T *base, int64_t dim,
185 void MemRefDataPrinter<T>::printLast(std::ostream &os, T *base, int64_t dim,
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dunused-using-decls.cpp52 class ostream { class
54 ostream &operator<<(ostream &(*PF)(ostream &));
56 extern ostream cout;
57 ostream &endl(ostream &os);
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Dbool.pass.cpp56 std::ostream os((std::streambuf*)0); in main()
64 std::ostream os(&sb); in main()
71 std::ostream os(&sb); in main()
78 std::ostream os(&sb); in main()
86 std::ostream os(&sb); in main()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h709 void DescribeTo(::std::ostream* os) const {
775 void DescribeTo(::std::ostream* os) const {
832 void DescribeTo(::std::ostream* os) const {
888 void DescribeTo(::std::ostream* os) const {
925 static ::std::ostream& GetDesc(::std::ostream& os) { // NOLINT
1248 void DescribeTo(::std::ostream* os) const {
1551 static ::std::ostream& GetDesc(::std::ostream& os) { // NOLINT
1668 void DescribeTo(::std::ostream* os) const {
1744 void DescribeTo(::std::ostream* os) const {
3353 void DescribeTo(std::ostream* os) const {
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
H A Dtie_ostream.pass.cpp23 std::ostream* os = (std::ostream*)1; in main()
24 std::ostream* r = ios.tie(os); in main()

123456789