Home
last modified time | relevance | path

Searched refs:PrintTo (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project/third-party/unittest/googletest/include/gtest/
H A Dgtest-printers.h479 void PrintTo(const T& value, ::std::ostream* os) {
488 GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os);
489 GTEST_API_ void PrintTo(signed char c, ::std::ostream* os);
490 inline void PrintTo(char c, ::std::ostream* os) {
494 PrintTo(static_cast<unsigned char>(c), os);
498 inline void PrintTo(bool x, ::std::ostream* os) {
509 GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
511 GTEST_API_ void PrintTo(char32_t c, ::std::ostream* os);
512 inline void PrintTo(char16_t c, ::std::ostream* os) {
513 PrintTo(ImplicitCast_<char32_t>(c), os);
[all …]
/llvm-project/compiler-rt/lib/xray/tests/unit/
H A Dtest_helpers.h26 void PrintTo(RecordTypes T, std::ostream *OS);
27 void PrintTo(const XRayRecord &R, std::ostream *OS);
28 void PrintTo(const Trace &T, std::ostream *OS);
62 template <class T> void PrintTo(const Array<T> &A, std::ostream *OS) { in PrintTo() function
69 PrintTo(E, OS); in PrintTo()
H A Dtest_helpers.cpp40 void PrintTo(RecordTypes T, std::ostream *OS) { in PrintTo() function
44 void PrintTo(const XRayRecord &R, std::ostream *OS) { in PrintTo() function
51 void PrintTo(const Trace &T, std::ostream *OS) { in PrintTo() function
60 PrintTo(R, OS); in PrintTo()
H A Dsegmented_array_test.cpp22 void PrintTo(const TestData &D, std::ostream *OS) { in PrintTo() function
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest-printers.cc276 void PrintTo(unsigned char c, ::std::ostream* os) { PrintCharAndCodeTo(c, os); } in PrintTo() function
277 void PrintTo(signed char c, ::std::ostream* os) { PrintCharAndCodeTo(c, os); } in PrintTo() function
281 void PrintTo(wchar_t wc, ostream* os) { PrintCharAndCodeTo(wc, os); } in PrintTo() function
284 void PrintTo(char32_t c, ::std::ostream* os) { in PrintTo() function
291 void PrintTo(__uint128_t v, ::std::ostream* os) { in PrintTo() function
324 void PrintTo(__int128_t v, ::std::ostream* os) { in PrintTo() function
330 PrintTo(uv, os); in PrintTo()
439 void PrintTo(const char* s, ostream* os) { PrintCStringTo(s, os); } in PrintTo() function
442 void PrintTo(const char8_t* s, ostream* os) { PrintCStringTo(s, os); } in PrintTo() function
445 void PrintTo(const char16_t* s, ostream* os) { PrintCStringTo(s, os); } in PrintTo() function
[all …]
/llvm-project/third-party/unittest/googletest/include/gtest/internal/custom/
H A Dgtest-printers.h52 inline void PrintTo(llvm::StringRef S, std::ostream *OS) { in PrintTo() function
61 inline void PrintTo(const SmallString<N> &S, std::ostream *OS) { in PrintTo() function
64 inline void PrintTo(const SmallVectorImpl<char> &S, std::ostream *OS) { in PrintTo() function
73 inline void PrintTo(const DenseMapPair<K, V> &Pair, std::ostream *OS) { in PrintTo() function
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stacktrace_test.cpp195 trace.PrintTo(buf, sizeof(buf)); in TEST_F()
205 uptr actual_len = trace.PrintTo(buf, sizeof(buf)); in TEST_F()
209 trace.PrintTo(tinybuf, sizeof(tinybuf)); in TEST_F()
225 trace.PrintTo(buf, sizeof(buf)); in TEST_F()
233 uptr len = trace.PrintTo(buf, sizeof(buf)); in TEST_F()
239 len = trace.PrintTo(tinybuf, sizeof(tinybuf)); in TEST_F()
249 EXPECT_GT(trace.PrintTo(buf, 0), 0u); in TEST_F()
256 EXPECT_DEATH(trace.PrintTo(NULL, 100), ""); in TEST_F()
H A Dsanitizer_range_test.cpp36 static void PrintTo(const Range &r, std::ostream *os) { in PrintTo() function
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_libcdep.cpp94 void StackTrace::PrintTo(InternalScopedString *output) const { in PrintTo() function in __sanitizer::StackTrace
121 uptr StackTrace::PrintTo(char *out_buf, uptr out_buf_size) const { in PrintTo() function in __sanitizer::StackTrace
125 PrintTo(&output); in PrintTo()
133 PrintTo(&output); in Print()
H A Dsanitizer_stacktrace.h62 void PrintTo(InternalScopedString *output) const;
68 uptr PrintTo(char *out_buf, uptr out_buf_size) const;
/llvm-project/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h38 inline void PrintTo(const ErrorHolder &Err, std::ostream *Out) { in PrintTo() function
53 void PrintTo(const ExpectedHolder<T> &Item, std::ostream *Out) { in PrintTo() function
57 PrintTo(static_cast<const ErrorHolder &>(Item), Out); in PrintTo()
/llvm-project/clang/unittests/Analysis/
H A DIntervalPartitionTest.cpp29 void PrintTo(const std::vector<const CFGBlock *> &Nodes, std::ostream *OS) { in PrintTo() function
62 void PrintTo(const CFGIntervalNode &I, std::ostream *OS) { in PrintTo() function
69 void PrintTo(const CFGIntervalGraph &G, std::ostream *OS) { in PrintTo() function
72 PrintTo(I, OS); in PrintTo()
/llvm-project/llvm/unittests/FuzzMutate/
H A DOperationsTest.cpp23 void PrintTo(Type *T, ::std::ostream *OS) { in PrintTo() function
28 void PrintTo(BasicBlock *BB, ::std::ostream *OS) { in PrintTo() function
33 void PrintTo(Value *V, ::std::ostream *OS) { in PrintTo() function
39 void PrintTo(Constant *C, ::std::ostream *OS) { PrintTo(cast<Value>(C), OS); } in PrintTo() function
/llvm-project/llvm/unittests/ProfileData/
H A DBPFunctionNodeTest.cpp20 void PrintTo(const BPFunctionNode &Node, std::ostream *OS) { in PrintTo() function
H A DCoverageMappingTest.cpp44 void PrintTo(const Counter &C, ::std::ostream *os) { in PrintTo() function
53 void PrintTo(const CoverageSegment &S, ::std::ostream *os) { in PrintTo() function
/llvm-project/llvm/unittests/tools/llvm-cfi-verify/
H A DGraphBuilder.cpp74 void PrintTo(const ConditionalBranchNode &BranchNode, ::std::ostream *os) { in PrintTo() function
81 void PrintTo(const GraphResult &Result, ::std::ostream *os) { in PrintTo() function
89 PrintTo(Node, os); in PrintTo()
/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A Dbacktrace_sanitizer_common.cpp76 StackTrace.PrintTo(&buffer); in PrintBacktrace()
/llvm-project/llvm/unittests/Support/
H A DBalancedPartitioningTest.cpp22 void PrintTo(const BPFunctionNode &Node, std::ostream *OS) { in PrintTo() function
H A DBranchProbabilityTest.cpp16 void PrintTo(BranchProbability P, ::std::ostream *os) { in PrintTo() function
/llvm-project/clang-tools-extra/clangd/unittests/
H A DConfigTesting.h55 friend void PrintTo(const Diag &D, std::ostream *OS) { in PrintTo() function
H A DConfigYAMLTests.cpp24 // PrintTo is a magic identifier of GTest
26 template <typename T> void PrintTo(const Located<T> &V, std::ostream *OS) { in PrintTo() function
/llvm-project/lldb/unittests/Utility/
H A DVMRangeTest.cpp18 void PrintTo(const VMRange &v, std::ostream *os) { in PrintTo() function
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp190 friend void PrintTo(const Diag &D, std::ostream *OS) { in PrintTo() function in clang::tidy::test::__anon2c1dbb5e0111::DiagCollecter
308 static void PrintTo(const ClangTidyError &Err, ::std::ostream *OS) { in PrintTo() function
/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan.cpp832 stack.PrintTo(out); in PrintOriginTraceFramesToStr()
1001 return stack.PrintTo(out_buf, out_buf_size); in __sanitizer_print_stack_trace()
/llvm-project/llvm/unittests/ADT/
H A DHashingTest.cpp26 void PrintTo(const hash_code &code, std::ostream *os) { in PrintTo() function

12