Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dstring.cc110 String* String::AllocFromModifiedUtf8(Thread* self, const char* utf) { in AllocFromModifiedUtf8() argument
111 DCHECK(utf != nullptr); in AllocFromModifiedUtf8()
112 size_t byte_count = strlen(utf); in AllocFromModifiedUtf8()
113 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); in AllocFromModifiedUtf8()
114 return AllocFromModifiedUtf8(self, char_count, utf, byte_count); in AllocFromModifiedUtf8()
Dstring.h116 static String* AllocFromModifiedUtf8(Thread* self, const char* utf)
/art/runtime/
Djni_internal_test.cc1579 const char* utf = env_->GetStringUTFChars(s, nullptr); in TEST_F() local
1580 EXPECT_STREQ("hello", utf); in TEST_F()
1581 env_->ReleaseStringUTFChars(s, utf); in TEST_F()
1584 utf = env_->GetStringUTFChars(s, &is_copy); in TEST_F()
1586 EXPECT_STREQ("hello", utf); in TEST_F()
1587 env_->ReleaseStringUTFChars(s, utf); in TEST_F()
Dcheck_jni.cc2295 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { in ReleaseStringUTFChars() argument
2296 ReleaseStringCharsInternal(__FUNCTION__, env, string, utf, true, false); in ReleaseStringUTFChars()
3252 jboolean* is_copy, bool utf, bool critical) { in GetStringCharsInternal() argument
3260 if (utf) { in GetStringCharsInternal()
3271 if (utf) { in GetStringCharsInternal()
3284 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { in GetStringCharsInternal()
3285 return utf ? result.u : result.p; in GetStringCharsInternal()
3292 const void* chars, bool utf, bool critical) { in ReleaseStringCharsInternal() argument
3306 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { in ReleaseStringCharsInternal()
3307 if (utf) { in ReleaseStringCharsInternal()
Dutils.cc503 std::string PrintableString(const char* utf) { in PrintableString() argument
506 const char* p = utf; in PrintableString()
DAndroid.mk188 utf.cc \
Djni_internal.cc1642 static jstring NewStringUTF(JNIEnv* env, const char* utf) { in NewStringUTF() argument
1643 if (utf == nullptr) { in NewStringUTF()
1647 mirror::String* result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf); in NewStringUTF()