Searched refs:utf (Results 1 – 9 of 9) sorted by relevance
/art/test/929-search/ |
D | search.cc | 35 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/ |
D | string.cc | 185 ObjPtr<String> String::AllocFromModifiedUtf8(Thread* self, const char* utf) { in AllocFromModifiedUtf8() argument 186 DCHECK(utf != nullptr); in AllocFromModifiedUtf8() 187 size_t byte_count = strlen(utf); in AllocFromModifiedUtf8() 188 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); in AllocFromModifiedUtf8() 189 return AllocFromModifiedUtf8(self, char_count, utf, byte_count); in AllocFromModifiedUtf8()
|
D | string.h | 161 static ObjPtr<String> AllocFromModifiedUtf8(Thread* self, const char* utf)
|
/art/test/674-hiddenapi/ |
D | hiddenapi.cc | 57 ScopedUtfChars utf(env, jpath); in Java_Main_appendToBootClassLoader() local 58 const char* path = utf.c_str(); in Java_Main_appendToBootClassLoader()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 960 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()
|
D | check_jni.cc | 2464 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { in ReleaseStringUTFChars() argument 2465 ReleaseStringCharsInternal(__FUNCTION__, env, string, utf, true, false); in ReleaseStringUTFChars() 3443 jboolean* is_copy, bool utf, bool critical) { in GetStringCharsInternal() argument 3452 if (utf) { in GetStringCharsInternal() 3463 if (utf) { in GetStringCharsInternal() 3476 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { in GetStringCharsInternal() 3477 return utf ? result.u : result.p; in GetStringCharsInternal() 3484 const void* chars, bool utf, bool critical) { in ReleaseStringCharsInternal() argument 3499 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { in ReleaseStringCharsInternal() 3500 if (utf) { in ReleaseStringCharsInternal()
|
D | jni_internal_test.cc | 1672 const char* utf = env_->GetStringUTFChars(s, nullptr); in TEST_F() local 1673 EXPECT_STREQ("hello", utf); in TEST_F() 1674 env_->ReleaseStringUTFChars(s, utf); in TEST_F() 1677 utf = env_->GetStringUTFChars(s, &is_copy); in TEST_F() 1679 EXPECT_STREQ("hello", utf); in TEST_F() 1680 env_->ReleaseStringUTFChars(s, utf); in TEST_F()
|
D | jni_internal.cc | 1810 static jstring NewStringUTF(JNIEnv* env, const char* utf) { in NewStringUTF() argument 1811 if (utf == nullptr) { in NewStringUTF() 1815 ObjPtr<mirror::String> result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf); in NewStringUTF()
|
/art/libdexfile/ |
D | Android.bp | 44 "dex/utf.cc",
|