Home
last modified time | relevance | path

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

/external/catch2/include/internal/
Dcatch_stringref.h34 StringRef( char const* rawChars ) noexcept;
36 constexpr StringRef( char const* rawChars, size_type size ) noexcept in StringRef() argument
37 : m_start( rawChars ), in StringRef()
95 constexpr auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef {
96 return StringRef( rawChars, size );
100 constexpr auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::S…
101 return Catch::StringRef( rawChars, size );
Dcatch_stringref.cpp17 StringRef::StringRef( char const* rawChars ) noexcept in StringRef() argument
18 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) ) in StringRef()
/external/catch2/projects/SelfTest/IntrospectiveTests/
DString.tests.cpp25 auto rawChars = s.data(); variable
26 REQUIRE( std::strcmp( rawChars, "hello" ) == 0 );
29 REQUIRE(s.c_str() == rawChars);
30 REQUIRE(s.data() == rawChars);
/external/catch2/single_include/catch2/
Dcatch.hpp613 StringRef( char const* rawChars ) noexcept;
615 constexpr StringRef( char const* rawChars, size_type size ) noexcept in StringRef() argument
616 : m_start( rawChars ), in StringRef()
673 constexpr auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef { in operator ""_sr() argument
674 return StringRef( rawChars, size ); in operator ""_sr()
678 constexpr auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::S… in operator ""_catch_sr() argument
679 return Catch::StringRef( rawChars, size ); in operator ""_catch_sr()
13704 StringRef::StringRef( char const* rawChars ) noexcept in StringRef() argument
13705 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) ) in StringRef()
/external/libabigail/tests/lib/
Dcatch.hpp616 StringRef( char const* rawChars ) noexcept;
618 constexpr StringRef( char const* rawChars, size_type size ) noexcept in StringRef() argument
619 : m_start( rawChars ), in StringRef()
676 constexpr auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef { in operator ""_sr() argument
677 return StringRef( rawChars, size ); in operator ""_sr()
681 constexpr auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::S… in operator ""_catch_sr() argument
682 return Catch::StringRef( rawChars, size ); in operator ""_catch_sr()
13849 StringRef::StringRef( char const* rawChars ) noexcept in StringRef() argument
13850 : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) ) in StringRef()
/external/catch2/projects/SelfTest/Baselines/
Dcompact.sw.approved.txt1191 String.tests.cpp:<line number>: passed: std::strcmp( rawChars, "hello" ) == 0 for: 0 == 0
1193 String.tests.cpp:<line number>: passed: s.c_str() == rawChars for: "hello" == "hello"
1194 String.tests.cpp:<line number>: passed: s.data() == rawChars for: "hello" == "hello"
Dconsole.sw.approved.txt8705 REQUIRE( std::strcmp( rawChars, "hello" ) == 0 )
8713 REQUIRE( s.c_str() == rawChars )
8718 REQUIRE( s.data() == rawChars )