/external/catch2/projects/SelfTest/UsageTests/ |
D | ToStringVector.tests.cpp | 9 REQUIRE( ::Catch::Detail::stringify(vv) == "{ }" ); 11 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42 }" ); 13 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42, 250 }" ); 19 REQUIRE( ::Catch::Detail::stringify(vv) == "{ }" ); 21 REQUIRE( ::Catch::Detail::stringify(vv) == "{ \"hello\" }" ); 23 REQUIRE( ::Catch::Detail::stringify(vv) == "{ \"hello\", \"world\" }" ); 53 REQUIRE( ::Catch::Detail::stringify(vv) == "{ }" ); 55 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42 }" ); 57 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42, 250 }" ); 64 REQUIRE( ::Catch::Detail::stringify(v) == "{ }" ); [all …]
|
D | ToStringVariant.tests.cpp | 24 CHECK( "{ }" == ::Catch::Detail::stringify(type{}) ); 26 CHECK( "{ }" == ::Catch::Detail::stringify(value) ); 27 CHECK( "{ }" == ::Catch::Detail::stringify(std::get<0>(value)) ); 33 CHECK( "0" == ::Catch::Detail::stringify(type{0}) ); 39 CHECK( "0.5f" == ::Catch::Detail::stringify(type{0.5f}) ); 40 CHECK( "0" == ::Catch::Detail::stringify(type{0}) ); 49 CHECK("{valueless variant}" == ::Catch::Detail::stringify(value)); 56 CHECK( "\"foo\"" == ::Catch::Detail::stringify(type{"foo"}) ); 57 CHECK( "0" == ::Catch::Detail::stringify(type{0}) ); 64 CHECK( "0.5f" == ::Catch::Detail::stringify(type{0.5f}) ); [all …]
|
D | ToStringGeneral.tests.cpp | 63 REQUIRE( Catch::Detail::stringify( emptyMap ) == "{ }" ); 69 REQUIRE( Catch::Detail::stringify( map ) == "{ { \"one\", 1 } }" ); 79 …REQUIRE( Catch::Detail::stringify( map ) == "{ { \"abc\", 1 }, { \"def\", 2 }, { \"ghi\", 3 } }" ); 88 REQUIRE( Catch::Detail::stringify( emptySet ) == "{ }" ); 94 REQUIRE( Catch::Detail::stringify( set ) == "{ \"one\" }" ); 100 REQUIRE( Catch::Detail::stringify( set ) == "{ \"abc\", \"def\", \"ghi\" }" ); 107 REQUIRE(Catch::Detail::stringify(singular) == "{ 1 }"); 111 REQUIRE(Catch::Detail::stringify(arr) == "{ 3, 2, 1 }"); 115 … REQUIRE(Catch::Detail::stringify(arr) == R"({ { "1:1", "1:2", "1:3" }, { "2:1", "2:2" } })"); 123 CHECK(Catch::Detail::stringify(view) == R"("abc")"); [all …]
|
D | ToStringWhich.tests.cpp | 71 REQUIRE( ::Catch::Detail::stringify( item ) == "operator<<( has_operator )" ); 77 REQUIRE( ::Catch::Detail::stringify( item ) == "StringMaker<has_maker>" ); 83 REQUIRE( ::Catch::Detail::stringify( item ) == "StringMaker<has_maker_and_operator>" ); 88 REQUIRE( ::Catch::Detail::stringify(item) == "{ !!! }" ); 94 REQUIRE( ::Catch::Detail::stringify( item ) == "operator<<( has_template_operator )" ); 102 REQUIRE( ::Catch::Detail::stringify( v ) == "{ operator<<( has_operator ) }" ); 107 REQUIRE( ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker> }" ); 112 REQUIRE( ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker_and_operator> }" ); 189 REQUIRE(::Catch::Detail::stringify(streamable_range{}) == "op<<(streamable_range)"); 190 REQUIRE(::Catch::Detail::stringify(stringmaker_range{}) == "stringmaker(streamable_range)"); [all …]
|
D | EnumToString.tests.cpp | 18 CHECK( ::Catch::Detail::stringify(e0) == "0" ); 20 CHECK( ::Catch::Detail::stringify(e1) == "1" ); 25 CHECK( ::Catch::Detail::stringify(e0) == "E2{0}" ); 27 CHECK( ::Catch::Detail::stringify(e1) == "E2{1}" ); 52 CHECK( ::Catch::Detail::stringify(e0) == "0" ); 54 CHECK( ::Catch::Detail::stringify(e1) == "1" ); 60 CHECK( ::Catch::Detail::stringify(e0) == "E2/V0" ); 62 CHECK( ::Catch::Detail::stringify(e1) == "E2/V1" ); 65 CHECK( ::Catch::Detail::stringify(e3) == "Unknown enum value 10" ); 74 using Catch::Detail::stringify; in CATCH_REGISTER_ENUM() [all …]
|
D | ToStringTuple.tests.cpp | 9 CHECK( "{ }" == ::Catch::Detail::stringify(type{}) ); 11 CHECK( "{ }" == ::Catch::Detail::stringify(value) ); 17 CHECK( "{ 0 }" == ::Catch::Detail::stringify(type{0}) ); 24 CHECK( "1.2f" == ::Catch::Detail::stringify(float(1.2)) ); 25 CHECK( "{ 1.2f, 0 }" == ::Catch::Detail::stringify(type{1.2f,0}) ); 31 CHECK( "{ \"hello\", \"world\" }" == ::Catch::Detail::stringify(type{"hello","world"}) ); 38 CHECK( "{ { 42 }, { }, 1.2f }" == ::Catch::Detail::stringify(value) ); 45 CHECK( "{ nullptr, 42, \"Catch me\" }" == ::Catch::Detail::stringify(value) );
|
D | ToStringOptional.tests.cpp | 8 REQUIRE( "{ }" == ::Catch::Detail::stringify( type{} ) ); 9 REQUIRE( "0" == ::Catch::Detail::stringify( type{ 0 } ) ); 14 REQUIRE( "{ }" == ::Catch::Detail::stringify( type{} ) ); 15 REQUIRE( "\"abc\"" == ::Catch::Detail::stringify( type{ "abc" } ) ); 20 REQUIRE( "{ 0, { }, 2 }" == ::Catch::Detail::stringify( type{ 0, {}, 2 } ) );
|
D | ToStringPair.tests.cpp | 6 REQUIRE( ::Catch::Detail::stringify( value ) == "{ 34, \"xyzzy\" }" ); 11 REQUIRE( ::Catch::Detail::stringify(value) == "{ 34, \"xyzzy\" }" ); 17 REQUIRE( ::Catch::Detail::stringify( pr ) == "{ { \"green\", 55 } }" ); 29 REQUIRE( ::Catch::Detail::stringify( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" );
|
/external/catch2/include/internal/ |
D | catch_tostring.cpp | 30 namespace Detail { namespace 120 return ::Catch::Detail::stringify(std::string{ str }); in convert() 126 return ::Catch::Detail::stringify(std::string{ str }); in convert() 133 return ::Catch::Detail::stringify(std::string{ str }); in convert() 146 return ::Catch::Detail::stringify(s); in convert() 157 return ::Catch::Detail::stringify(std::wstring{ str }); in convert() 164 return ::Catch::Detail::stringify(std::wstring{ str }); in convert() 174 return ::Catch::Detail::stringify(std::to_integer<unsigned long long>(value)); in convert() 179 return ::Catch::Detail::stringify(static_cast<long long>(value)); in convert() 182 return ::Catch::Detail::stringify(static_cast<long long>(value)); in convert() [all …]
|
D | catch_approx.cpp | 26 namespace Detail { namespace 48 rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )"; in toString() 76 Detail::Approx operator "" _a(long double val) { in operator ""_a() 77 return Detail::Approx(val); in operator ""_a() 79 Detail::Approx operator "" _a(unsigned long long val) { in operator ""_a() 80 return Detail::Approx(val); in operator ""_a() 84 std::string StringMaker<Catch::Detail::Approx>::convert(Catch::Detail::Approx const& value) { in convert()
|
D | catch_tostring.h | 34 namespace Detail { 65 return Detail::unprintableString; in convertUnstreamable() 102 typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type 113 … typename std::enable_if<!::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type 116 return Detail::convertUnstreamable(value); in convert() 123 namespace Detail { 134 … return ::Catch::Detail::stringify(static_cast<typename std::underlying_type<E>::type>(e)); in convertUnknownEnumToString() 197 return ::Catch::Detail::stringify(std::string{ str }); 203 return ::Catch::Detail::stringify(std::string{ reinterpret_cast<char const *>(str) }); 209 return ::Catch::Detail::stringify(std::string{ reinterpret_cast<char const *>(str) }); [all …]
|
D | catch_matchers_vector.h | 35 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe() 65 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe() 89 return "Equals: " + ::Catch::Detail::stringify( m_comparator ); in describe() 108 return "is approx: " + ::Catch::Detail::stringify( m_comparator ); in describe() 127 mutable Catch::Detail::Approx approx = Catch::Detail::Approx::custom(); 143 return "UnorderedEquals: " + ::Catch::Detail::stringify(m_target); in describe()
|
/external/catch2/projects/SelfTest/IntrospectiveTests/ |
D | InternalBenchmark.tests.cpp | 57 struct TestChronometerModel : Catch::Benchmark::Detail::ChronometerConcept { 71 auto iterations = Catch::Benchmark::Detail::warmup<counting_clock>(); 74 REQUIRE((iterations * rate) > Catch::Benchmark::Detail::warmup_time.count()); 75 REQUIRE((end - start) > Catch::Benchmark::Detail::warmup_time); 83 auto res = Catch::Benchmark::Detail::resolution<counting_clock>(static_cast<int>(count)); 97 auto res = Catch::Benchmark::Detail::estimate_clock_resolution<counting_clock>(iters); 108 auto fn = Catch::Benchmark::Detail::BenchmarkFunction{ [&] { in __anon8f9a69590402() 125 auto fn = Catch::Benchmark::Detail::BenchmarkFunction{ [&](Catch::Benchmark::Chronometer) { in __anon8f9a69590502() 144 …auto e = Catch::Benchmark::Detail::bootstrap(0.95, samples.begin(), samples.end(), samples, [](it … in __anon8f9a69590602() 156 using Catch::Benchmark::Detail::normal_cdf; [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/support/ |
D | MemoryTreeTests.cpp | 66 auto &Detail = MT.detail("first_detail"); in TEST() local 67 Detail.child("leaf").addUsage(1); in TEST() 69 EXPECT_THAT(Detail.children(), Contains(WithNameAndSize("leaf", 1))); in TEST() 73 auto &Detail = MT.detail("second_detail"); in TEST() local 74 Detail.child("leaf").addUsage(1); in TEST() 76 EXPECT_THAT(Detail.children(), Contains(WithNameAndSize("leaf", 1))); in TEST() 89 auto &Detail = Root.detail("detail"); in TEST() local 90 Detail.addUsage(1); in TEST() 91 Detail.child("leaf").addUsage(1); in TEST() 92 auto &Child = Detail.child("child"); in TEST()
|
/external/catch2/include/internal/benchmark/ |
D | catch_benchmark.hpp | 46 auto min_time = env.clock_resolution.mean * Detail::minimum_ticks; in prepare() 48 …auto&& test = Detail::run_for_at_least<Clock>(std::chrono::duration_cast<ClockDuration<Clock>>(run… in prepare() 50 …:chrono::duration_cast<FloatDuration<Clock>>(cfg.benchmarkWarmupTime()), Detail::warmup_iterations… in prepare() 57 auto env = Detail::measure_environment<Clock>(); in run() 81 auto analysis = Detail::analyse(*cfg, env, samples.begin(), samples.end()); in run() 86 …if (translateActiveException() != Detail::benchmarkErrorMsg) // benchmark errors have been reporte… in run() 93 typename std::enable_if<!Detail::is_related<Fun, Benchmark>::value, int>::type = 0> 95 fun = Detail::BenchmarkFunction(func); in operator =() 105 Detail::BenchmarkFunction fun;
|
D | catch_chronometer.hpp | 21 namespace Detail { namespace 46 Chronometer(Detail::ChronometerConcept& meter, int k) in Chronometer() 58 Detail::optimizer_barrier(); in measure() 62 Detail::optimizer_barrier(); in measure() 65 Detail::ChronometerConcept* impl;
|
D | catch_execution_plan.hpp | 29 Detail::BenchmarkFunction benchmark; 41 …Detail::run_for_at_least<Clock>(std::chrono::duration_cast<ClockDuration<Clock>>(warmup_time), war… in run() 46 Detail::ChronometerModel<Clock> model; in run()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | TimeProfiler.h | 42 void timeTraceProfilerBegin(StringRef Name, StringRef Detail); 44 llvm::function_ref<std::string()> Detail); 65 TimeTraceScope(StringRef Name, StringRef Detail) { in TimeTraceScope() 67 timeTraceProfilerBegin(Name, Detail); in TimeTraceScope() 69 TimeTraceScope(StringRef Name, llvm::function_ref<std::string()> Detail) { in TimeTraceScope() 71 timeTraceProfilerBegin(Name, Detail); in TimeTraceScope()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | TimeProfiler.h | 54 void timeTraceProfilerBegin(StringRef Name, StringRef Detail); 56 llvm::function_ref<std::string()> Detail); 77 TimeTraceScope(StringRef Name, StringRef Detail) { in TimeTraceScope() 79 timeTraceProfilerBegin(Name, Detail); in TimeTraceScope() 81 TimeTraceScope(StringRef Name, llvm::function_ref<std::string()> Detail) { in TimeTraceScope() 83 timeTraceProfilerBegin(Name, Detail); in TimeTraceScope()
|
/external/golang-protobuf/protoc-gen-go/testdata/extension_user/ |
D | extension_user.pb.go | 163 type Detail struct { struct 170 func (m *Detail) Reset() { *m = Detail{} } argument 171 func (m *Detail) String() string { return proto.CompactTextString(m) } argument 172 func (*Detail) ProtoMessage() {} argument 173 func (*Detail) Descriptor() ([]byte, []int) { argument 177 func (m *Detail) XXX_Unmarshal(b []byte) error { argument 180 func (m *Detail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument 183 func (m *Detail) XXX_Merge(src proto.Message) { argument 186 func (m *Detail) XXX_Size() int { argument 189 func (m *Detail) XXX_DiscardUnknown() { argument [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | ASTConcept.cpp | 28 auto &Detail = Satisfaction.Details[I]; local 29 if (Detail.second.is<Expr *>()) 31 UnsatisfiedConstraintRecord{Detail.first, 33 Detail.second.get<Expr *>())}; 36 *Detail.second.get<std::pair<SourceLocation, StringRef> *>(); 43 UnsatisfiedConstraintRecord{Detail.first,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | TimeProfiler.cpp | 39 const std::string Detail; member 43 Detail(std::move(Dt)) {} in Entry() 66 void begin(std::string Name, llvm::function_ref<std::string()> Detail) { in begin() 68 Detail()); in begin() 126 if (!E.Detail.empty()) { in Write() 127 J.attributeObject("args", [&] { J.attribute("detail", E.Detail); }); in Write() 210 void timeTraceProfilerBegin(StringRef Name, StringRef Detail) { in timeTraceProfilerBegin() argument 212 TimeTraceProfilerInstance->begin(Name, [&]() { return Detail; }); in timeTraceProfilerBegin() 216 llvm::function_ref<std::string()> Detail) { in timeTraceProfilerBegin() argument 218 TimeTraceProfilerInstance->begin(Name, Detail); in timeTraceProfilerBegin()
|
/external/catch2/include/internal/benchmark/detail/ |
D | catch_complete_invoke.hpp | 21 namespace Detail { namespace 58 Detail::CompleteType_t<Detail::ResultOf_t<Fun()>> user_code(Fun&& fun) { in user_code() 60 return Detail::complete_invoke(std::forward<Fun>(fun)); in user_code() 63 CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg); in user_code()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/ |
D | SoapFault12.java | 47 public Node Detail; field in SoapFault12 66 this.detail = this.Detail; in parse() 90 this.Detail = new Node(); in parseSelf() 91 this.Detail.parse(parser); in parseSelf() 127 if (this.Detail != null) { in write() 129 this.Detail.write(xw); in write()
|
/external/llvm-project/llvm/lib/Support/ |
D | TimeProfiler.cpp | 53 const std::string Detail; member 57 Detail(std::move(Dt)) {} in Entry() 84 void begin(std::string Name, llvm::function_ref<std::string()> Detail) { in begin() 86 Detail()); in begin() 152 if (!E.Detail.empty()) { in write() 153 J.attributeObject("args", [&] { J.attribute("detail", E.Detail); }); in write() 315 void llvm::timeTraceProfilerBegin(StringRef Name, StringRef Detail) { in timeTraceProfilerBegin() argument 318 [&]() { return std::string(Detail); }); in timeTraceProfilerBegin() 322 llvm::function_ref<std::string()> Detail) { in timeTraceProfilerBegin() argument 324 TimeTraceProfilerInstance->begin(std::string(Name), Detail); in timeTraceProfilerBegin()
|