Home
last modified time | relevance | path

Searched refs:ConstexprStringView (Results 1 – 2 of 2) sorted by relevance

/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h68 struct ConstexprStringView { struct
72 constexpr ConstexprStringView(const char (& lit)[N]) // NOLINT: explicit. in ConstexprStringView() function
79 constexpr ConstexprStringView(const char* ptr, size_t size) in ConstexprStringView() argument
86 constexpr ConstexprStringView() : _array(""), _size(0u) {} in ConstexprStringView() function
102 constexpr ConstexprStringView substr(size_t start, size_t len) const { in substr() argument
106 return ConstexprStringView(&_array[start], len); in substr()
110 constexpr ConstexprStringView substr(size_t start) const { in substr() argument
131 operator==(const ConstexprStringView& lhs, const ConstexprStringView& rhs) { argument
144 operator!=(const ConstexprStringView& lhs, const ConstexprStringView& rhs) {
148 inline std::ostream& operator<<(std::ostream& os, const ConstexprStringView& str) {
[all …]
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp38 constexpr ConstexprStringView v_str = "V"; in TEST()
596 nativehelper::detail::ConstexprStringView str) { in MakeNode()
676 constexpr auto str_type_name = ConstexprStringView(#type_name); \