Home
last modified time | relevance | path

Searched refs:utf (Results 1 – 9 of 9) 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.cc179 ObjPtr<String> String::AllocFromModifiedUtf8(Thread* self, const char* utf) { in AllocFromModifiedUtf8() argument
180 DCHECK(utf != nullptr); in AllocFromModifiedUtf8()
181 size_t byte_count = strlen(utf); in AllocFromModifiedUtf8()
182 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); in AllocFromModifiedUtf8()
183 return AllocFromModifiedUtf8(self, char_count, utf, byte_count); in AllocFromModifiedUtf8()
Dstring.h161 static ObjPtr<String> AllocFromModifiedUtf8(Thread* self, const char* utf)
/art/test/674-hiddenapi/
Dhiddenapi.cc57 ScopedUtfChars utf(env, jpath); in Java_Main_appendToBootClassLoader() local
58 const char* path = utf.c_str(); in Java_Main_appendToBootClassLoader()
/art/runtime/jni/
Djava_vm_ext.cc960 ScopedUtfChars utf(env, reinterpret_cast<jstring>(local_string.get())); in LoadNativeLibrary() local
961 if (utf.c_str() != nullptr) { in LoadNativeLibrary()
962 return utf.c_str(); in LoadNativeLibrary()
Dcheck_jni.cc2514 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { in ReleaseStringUTFChars() argument
2515 ReleaseStringCharsInternal(__FUNCTION__, env, string, utf, true, false); in ReleaseStringUTFChars()
3493 jboolean* is_copy, bool utf, bool critical) { in GetStringCharsInternal() argument
3502 if (utf) { in GetStringCharsInternal()
3513 if (utf) { in GetStringCharsInternal()
3526 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { in GetStringCharsInternal()
3527 return utf ? result.u : result.p; in GetStringCharsInternal()
3534 const void* chars, bool utf, bool critical) { in ReleaseStringCharsInternal() argument
3549 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { in ReleaseStringCharsInternal()
3550 if (utf) { in ReleaseStringCharsInternal()
Djni_internal_test.cc1790 const char* utf = env_->GetStringUTFChars(s, nullptr); in TEST_F() local
1791 EXPECT_STREQ("hello", utf); in TEST_F()
1792 env_->ReleaseStringUTFChars(s, utf); in TEST_F()
1795 utf = env_->GetStringUTFChars(s, &is_copy); in TEST_F()
1797 EXPECT_STREQ("hello", utf); in TEST_F()
1798 env_->ReleaseStringUTFChars(s, utf); in TEST_F()
Djni_internal.cc1909 static jstring NewStringUTF(JNIEnv* env, const char* utf) { in NewStringUTF() argument
1910 if (utf == nullptr) { in NewStringUTF()
1918 size_t utf8_length = strlen(utf); in NewStringUTF()
1931 utf, in NewStringUTF()
1951 utf, in NewStringUTF()
1960 utf = replacement_utf->c_str(); in NewStringUTF()
1968 mirror::String::AllocFromModifiedUtf8(soa.Self(), utf16_length, utf, utf8_length); in NewStringUTF()
/art/libdexfile/
DAndroid.bp47 "dex/utf.cc",