Home
last modified time | relevance | path

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

/art/test/929-search/
Dsearch.cc35 ScopedUtfChars utf(env, segment); in Java_Main_addToBootClassLoader() local
36 if (utf.c_str() == nullptr) { in Java_Main_addToBootClassLoader()
39 jvmtiError result = jvmti_env->AddToBootstrapClassLoaderSearch(utf.c_str()); in Java_Main_addToBootClassLoader()
45 ScopedUtfChars utf(env, segment); in Java_Main_addToSystemClassLoader() local
46 if (utf.c_str() == nullptr) { in Java_Main_addToSystemClassLoader()
49 jvmtiError result = jvmti_env->AddToSystemClassLoaderSearch(utf.c_str()); in Java_Main_addToSystemClassLoader()
/art/runtime/mirror/
Dstring.cc196 String* String::AllocFromModifiedUtf8(Thread* self, const char* utf) { in AllocFromModifiedUtf8() argument
197 DCHECK(utf != nullptr); in AllocFromModifiedUtf8()
198 size_t byte_count = strlen(utf); in AllocFromModifiedUtf8()
199 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); in AllocFromModifiedUtf8()
200 return AllocFromModifiedUtf8(self, char_count, utf, byte_count); in AllocFromModifiedUtf8()
Dstring.h133 static String* AllocFromModifiedUtf8(Thread* self, const char* utf)
/art/runtime/
Dutils.cc313 std::string PrintableString(const char* utf) { in PrintableString() argument
316 const char* p = utf; in PrintableString()
Dcheck_jni.cc2309 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { in ReleaseStringUTFChars() argument
2310 ReleaseStringCharsInternal(__FUNCTION__, env, string, utf, true, false); in ReleaseStringUTFChars()
3267 jboolean* is_copy, bool utf, bool critical) { in GetStringCharsInternal() argument
3275 if (utf) { in GetStringCharsInternal()
3286 if (utf) { in GetStringCharsInternal()
3299 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { in GetStringCharsInternal()
3300 return utf ? result.u : result.p; in GetStringCharsInternal()
3307 const void* chars, bool utf, bool critical) { in ReleaseStringCharsInternal() argument
3321 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { in ReleaseStringCharsInternal()
3322 if (utf) { in ReleaseStringCharsInternal()
Djni_internal_test.cc1605 const char* utf = env_->GetStringUTFChars(s, nullptr); in TEST_F() local
1606 EXPECT_STREQ("hello", utf); in TEST_F()
1607 env_->ReleaseStringUTFChars(s, utf); in TEST_F()
1610 utf = env_->GetStringUTFChars(s, &is_copy); in TEST_F()
1612 EXPECT_STREQ("hello", utf); in TEST_F()
1613 env_->ReleaseStringUTFChars(s, utf); in TEST_F()
DAndroid.bp217 "utf.cc",
Djni_internal.cc1754 static jstring NewStringUTF(JNIEnv* env, const char* utf) { in NewStringUTF() argument
1755 if (utf == nullptr) { in NewStringUTF()
1759 mirror::String* result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf); in NewStringUTF()