Searched refs:str (Results 1 – 5 of 5) sorted by relevance
/libnativehelper/tests/ |
D | libnativehelper_test.cpp | 46 ScopedUtfChars str = GET_UTF_OR_RETURN(env, j_str.get()); in TEST_F() local 47 result.reset(new ScopedUtfChars(std::move(str))); in TEST_F() 61 ScopedUtfChars str = GET_UTF_OR_RETURN_VOID(env, j_str.get()); in TEST_F() local 62 result.reset(new ScopedUtfChars(std::move(str))); in TEST_F() 71 ScopedUtfChars str = GET_UTF_OR_RETURN(env, nullptr); in TEST_F() local 85 ScopedUtfChars str = GET_UTF_OR_RETURN_VOID(env, nullptr); in TEST_F() local 104 ScopedUtfChars str(mEnv, result->get()); in TEST_F() local 105 EXPECT_EQ(str.c_str(), std::string_view("foo")); in TEST_F() 128 ScopedUtfChars str(mEnv, result->get()); in TEST_F() local 129 EXPECT_EQ(str.c_str(), std::string_view("foo")); in TEST_F() [all …]
|
D | JniSafeRegisterNativeMethods_test.cpp | 27 return ss.str(); in stringify_helper() 44 EXPECT_EQ("V", ss.str()); in TEST() 89 #define PARSE_SIGNATURE_AS_LIST(str) (ParseSignatureAsList<sizeof(str)>(str)) in TEST() argument 596 nativehelper::detail::ConstexprStringView str) { in MakeNode() argument 597 return nativehelper::detail::JniDescriptorNode{str}; in MakeNode()
|
/libnativehelper/header_only_include/nativehelper/ |
D | utils.h | 38 [[maybe_unused]] static const char* GetCStr(const char* str) { return str; } in GetCStr() argument 39 [[maybe_unused]] static const char* GetCStr(const std::string& str) { return str.c_str(); } in GetCStr() argument
|
/libnativehelper/include_platform_header_only/nativehelper/detail/ |
D | signature_checker.h | 148 inline std::ostream& operator<<(std::ostream& os, const ConstexprStringView& str) { 149 for (char c : str) { 1404 static constexpr ConstexprStringDescriptorType str = GetString(); 1405 return &str[0];
|
/libnativehelper/include_jni/ |
D | jni.h | 991 void GetStringRegion(jstring str, jsize start, jsize len, jchar* buf) in GetStringRegion() 992 { functions->GetStringRegion(this, str, start, len, buf); } in GetStringRegion() 994 void GetStringUTFRegion(jstring str, jsize start, jsize len, char* buf) in GetStringUTFRegion() 995 { return functions->GetStringUTFRegion(this, str, start, len, buf); } in GetStringUTFRegion()
|