Lines Matching refs:Detail

1442     namespace Detail {  namespace
1456 …virtual Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::vector<…
1459Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::initializer_lis… in registerEnum()
1529 namespace Detail { namespace
1560 return Detail::unprintableString; in convertUnstreamable()
1595 typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
1606 … typename std::enable_if<!::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
1609 return Detail::convertUnstreamable(value); in convert()
1616 namespace Detail { namespace
1627 … return ::Catch::Detail::stringify(static_cast<typename std::underlying_type<E>::type>(e)); in convertUnknownEnumToString()
1690 return ::Catch::Detail::stringify(std::string{ str }); in convert()
1696 return ::Catch::Detail::stringify(std::string{ reinterpret_cast<char const *>(str) }); in convert()
1702 return ::Catch::Detail::stringify(std::string{ reinterpret_cast<char const *>(str) }); in convert()
1777 return ::Catch::Detail::rawMemoryToString(p); in convert()
1788 return ::Catch::Detail::rawMemoryToString(p); in convert()
1799 return ::Catch::Detail::clrReferenceToString(ref);
1804 namespace Detail { namespace
1810 rss << ::Catch::Detail::stringify(*first); in rangeToString()
1812 rss << ", " << ::Catch::Detail::stringify(*first); in rangeToString()
1831 return ::Catch::Detail::stringify([nsObject description]); in convert()
1835 namespace Detail { namespace
1866 << ::Catch::Detail::stringify(pair.first) in convert()
1868 << ::Catch::Detail::stringify(pair.second) in convert()
1884 rss << ::Catch::Detail::stringify(*optional); in convert()
1898 namespace Detail { namespace
1907 << ::Catch::Detail::stringify(std::get<N>(tuple)); in print()
1927 Detail::TupleElementPrinter<std::tuple<Types...>>::print(tuple, rss.get()); in convert()
1953 return ::Catch::Detail::stringify(value); in convert()
1989 return ::Catch::Detail::rangeToString( begin( range ), end( range ) ); in rangeToString()
2003 rss << ::Catch::Detail::stringify( b ); in rangeToString()
2010 …struct StringMaker<R, typename std::enable_if<is_range<R>::value && !::Catch::Detail::IsStreamInse…
2111 return ::Catch::Detail::stringify(time_point.time_since_epoch()) + " since epoch"; in convert()
2201 … ( os, Catch::Detail::stringify( m_lhs ), m_op, Catch::Detail::stringify( m_rhs ) ); in streamReconstructedExpression()
2274 os << Catch::Detail::stringify( m_lhs ); in streamReconstructedExpression()
2622 captureValue( index, Catch::Detail::stringify( value ) ); in captureValues()
2627 captureValue( index, Catch::Detail::stringify(value) ); in captureValues()
3030 namespace Detail { namespace
3134 Detail::Approx operator "" _a(long double val);
3135 Detail::Approx operator "" _a(unsigned long long val);
3139 struct StringMaker<Catch::Detail::Approx> {
3140 static std::string convert(Catch::Detail::Approx const& value);
3442 namespace Detail { namespace
3454 m_description(Detail::finalizeDescription(descr)) in PredicateMatcher()
3573 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3603 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3627 return "Equals: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3646 return "is approx: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3665 mutable Catch::Detail::Approx approx = Catch::Detail::Approx::custom();
3681 return "UnorderedEquals: " + ::Catch::Detail::stringify(m_target); in describe()
3738 os << Catch::Detail::stringify( m_arg ) << ' '; in streamReconstructedExpression()
3739 if( matcherAsString == Detail::unprintableString ) in streamReconstructedExpression()
4835 namespace Detail{ namespace
4867 std::string name = Detail::getAnnotation( cls, "Name", testCaseName ); in registerTestMethods()
4868 … std::string desc = Detail::getAnnotation( cls, "Description", testCaseName ); in registerTestMethods()
4910 return "equals string: " + Catch::Detail::stringify( m_substr ); in describe()
4923 return "contains string: " + Catch::Detail::stringify( m_substr ); in describe()
4936 return "starts with: " + Catch::Detail::stringify( m_substr ); in describe()
4948 return "ends with: " + Catch::Detail::stringify( m_substr ); in describe()
6433 namespace Detail { namespace
6447 namespace Detail {
6483 namespace Detail { namespace
6520 Detail::CompleteType_t<Detail::ResultOf_t<Fun()>> user_code(Fun&& fun) { in user_code()
6522 return Detail::complete_invoke(std::forward<Fun>(fun)); in user_code()
6525 CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg); in user_code()
6534 namespace Detail { namespace
6559 Chronometer(Detail::ChronometerConcept& meter, int k) in Chronometer()
6571 Detail::optimizer_barrier(); in measure()
6575 Detail::optimizer_barrier(); in measure()
6578 Detail::ChronometerConcept* impl;
6629 namespace Detail { namespace
6720 namespace Detail { namespace
6766 … using TimingOf = Timing<ClockDuration<Clock>, Detail::CompleteType_t<Detail::ResultOf_t<Sig>>>;
6775 namespace Detail { namespace
6779 auto&& r = Detail::complete_invoke(fun, std::forward<Args>(args)...); in measure()
6794 namespace Detail { namespace
6797 return Detail::measure<Clock>(fun, iters); in measure_one()
6801 Detail::ChronometerModel<Clock> meter; in measure_one()
6802 auto&& result = Detail::complete_invoke(fun, Chronometer(meter, iters)); in measure_one()
6842 Detail::BenchmarkFunction benchmark;
6854Detail::run_for_at_least<Clock>(std::chrono::duration_cast<ClockDuration<Clock>>(warmup_time), war… in run()
6859 Detail::ChronometerModel<Clock> model; in run()
6893 namespace Detail { namespace
7031 namespace Detail { namespace
7075 return Detail::measure<Clock>([k] { in estimate_clock_cost()
7104 auto iters = Detail::warmup<Clock>(); in measure_environment()
7105 auto resolution = Detail::estimate_clock_resolution<Clock>(iters); in measure_environment()
7106 auto cost = Detail::estimate_clock_cost<Clock>(resolution.mean); in measure_environment()
7165 namespace Detail { namespace
7173 …auto analysis = Catch::Benchmark::Detail::analyse_samples(cfg.benchmarkConfidenceInterval(), cfg.b… in analyse()
7174 … auto outliers = Catch::Benchmark::Detail::classify_outliers(samples.begin(), samples.end()); in analyse()
7238 auto min_time = env.clock_resolution.mean * Detail::minimum_ticks; in prepare()
7239 …run_time = std::max(min_time, std::chrono::duration_cast<decltype(min_time)>(Detail::warmup_time)); in prepare()
7240 …auto&& test = Detail::run_for_at_least<Clock>(std::chrono::duration_cast<ClockDuration<Clock>>(run… in prepare()
7242 …ples(), fun, std::chrono::duration_cast<FloatDuration<Clock>>(Detail::warmup_time), Detail::warmup… in prepare()
7249 auto env = Detail::measure_environment<Clock>(); in run()
7273 auto analysis = Detail::analyse(*cfg, env, samples.begin(), samples.end()); in run()
7278 …if (translateActiveException() != Detail::benchmarkErrorMsg) // benchmark errors have been reporte… in run()
7285 typename std::enable_if<!Detail::is_related<Fun, Benchmark>::value, int>::type = 0>
7287 fun = Detail::BenchmarkFunction(func); in operator =()
7297 Detail::BenchmarkFunction fun;
7323 namespace Detail { namespace
7373 using storage_for = Detail::ObjectStorage<T, true>;
7376 using destructable_object = Detail::ObjectStorage<T, false>;
7645 auto m = Catch::Benchmark::Detail::mean(first, last); in standard_deviation()
7657 namespace Detail { namespace
7726 auto mean = &Detail::mean<std::vector<double>::iterator>; in analyse_samples()
7756 … double outlier_variance = Detail::outlier_variance(mean_estimate, stddev_estimate, n); in analyse_samples()
7782 namespace Detail { namespace
7803 rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )"; in toString()
7831 Detail::Approx operator "" _a(long double val) { in operator ""_a()
7832 return Detail::Approx(val); in operator ""_a()
7834 Detail::Approx operator "" _a(unsigned long long val) { in operator ""_a()
7835 return Detail::Approx(val); in operator ""_a()
7839 std::string StringMaker<Catch::Detail::Approx>::convert(Catch::Detail::Approx const& value) { in convert()
10439 namespace Detail { namespace
10465 namespace Detail { namespace
10505 const auto valueNames = Catch::Detail::parseEnums( allValueNames ); in makeEnumInfo()
10577 return Catch::Detail::stringify( [exception description] ); in translateActiveException()
11101 …Catch::cout() << Column( Catch::Detail::stringify( testCaseInfo.lineInfo ) ).indent(4) << std::end… in listTests()
11427 …return "is within " + ::Catch::Detail::stringify(m_margin) + " of " + ::Catch::Detail::stringify(m… in describe()
11541 std::string Catch::Matchers::Generic::Detail::finalizeDescription(const std::string& desc) { in finalizeDescription()
11626 …return "matches " + ::Catch::Detail::stringify(m_regex) + ((m_caseSensitivity == CaseSensitive::Ch… in describe()
12347 Detail::EnumValuesRegistry m_enumValuesRegistry;
13406 namespace Detail { namespace { namespace
13505 return new Detail::CoutStream(); in makeStream()
13508 return new Detail::DebugOutStream(); in makeStream()
13513 return new Detail::FileStream( filename ); in makeStream()
14718 namespace Detail { namespace
14806 return ::Catch::Detail::stringify(std::string{ str }); in convert()
14812 return ::Catch::Detail::stringify(std::string{ str }); in convert()
14819 return ::Catch::Detail::stringify(std::string{ str }); in convert()
14832 return ::Catch::Detail::stringify(s); in convert()
14843 return ::Catch::Detail::stringify(std::wstring{ str }); in convert()
14850 return ::Catch::Detail::stringify(std::wstring{ str }); in convert()
14860 return ::Catch::Detail::stringify(std::to_integer<unsigned long long>(value)); in convert()
14865 return ::Catch::Detail::stringify(static_cast<long long>(value)); in convert()
14868 return ::Catch::Detail::stringify(static_cast<long long>(value)); in convert()
14873 if (value > Detail::hexThreshold) { in convert()
14880 return ::Catch::Detail::stringify(static_cast<unsigned long long>(value)); in convert()
14883 return ::Catch::Detail::stringify(static_cast<unsigned long long>(value)); in convert()
14888 if (value > Detail::hexThreshold) { in convert()
14908 return ::Catch::Detail::stringify(static_cast<unsigned int>(value)); in convert()
14916 return ::Catch::Detail::stringify(static_cast<signed char>(c)); in convert()
14919 return ::Catch::Detail::stringify(static_cast<char>(c)); in convert()
16635 … xml.writeAttribute( "time", ::Catch::Detail::stringify( sectionNode.stats.durationInSeconds ) ); in writeSection()
17398 using Catch::Detail::Approx;
17575 using Catch::Detail::Approx;