Home
last modified time | relevance | path

Searched refs:rawChars (Results 1 – 6 of 6) sorted by relevance

/external/catch2/include/internal/
Dcatch_stringref.h57 StringRef( char const* rawChars ) noexcept;
59 StringRef( char const* rawChars, size_type size ) noexcept in StringRef() argument
60 : m_start( rawChars ), in StringRef()
122 inline auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef {
123 return StringRef( rawChars, size );
128 inline auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::Stri…
129 return Catch::StringRef( rawChars, size );
Dcatch_stringref.cpp27 StringRef::StringRef( char const* rawChars ) noexcept in StringRef() argument
28 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) ) in StringRef()
/external/catch2/projects/SelfTest/IntrospectiveTests/
DString.tests.cpp49 auto rawChars = s.currentData(); variable
50 REQUIRE( std::strcmp( rawChars, "hello" ) == 0 );
55 REQUIRE( s.c_str() == rawChars );
87 auto rawChars = ss.currentData(); variable
88 REQUIRE( rawChars == s.currentData() ); // same pointer value
89 REQUIRE( ss.c_str() != rawChars );
/external/catch2/single_include/catch2/
Dcatch.hpp556 StringRef( char const* rawChars ) noexcept;
558 StringRef( char const* rawChars, size_type size ) noexcept in StringRef() argument
559 : m_start( rawChars ), in StringRef()
620 inline auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef { in operator ""_sr() argument
621 return StringRef( rawChars, size ); in operator ""_sr()
626 inline auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::Stri… in operator ""_catch_sr() argument
627 return Catch::StringRef( rawChars, size ); in operator ""_catch_sr()
11425 StringRef::StringRef( char const* rawChars ) noexcept in StringRef() argument
11426 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) ) in StringRef()
/external/catch2/projects/SelfTest/Baselines/
Dcompact.sw.approved.txt940 String.tests.cpp:<line number>: passed: std::strcmp( rawChars, "hello" ) == 0 for: 0 == 0
942 String.tests.cpp:<line number>: passed: s.c_str() == rawChars for: "hello" == "hello"
955 String.tests.cpp:<line number>: passed: rawChars == s.currentData() for: "hello world!" == "hello w…
956 String.tests.cpp:<line number>: passed: ss.c_str() != rawChars for: "hello" != "hello world!"
Dconsole.sw.approved.txt6846 REQUIRE( std::strcmp( rawChars, "hello" ) == 0 )
6864 REQUIRE( s.c_str() == rawChars )
6950 REQUIRE( rawChars == s.currentData() )
6955 REQUIRE( ss.c_str() != rawChars )