Home
last modified time | relevance | path

Searched refs:utf (Results 1 – 7 of 7) 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.cc185 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()
Dstring.h157 static ObjPtr<String> AllocFromModifiedUtf8(Thread* self, const char* utf)
/art/test/674-hiddenapi/
Dhiddenapi.cc54 ScopedUtfChars utf(env, jpath); in Java_Main_appendToBootClassLoader() local
55 const char* path = utf.c_str(); in Java_Main_appendToBootClassLoader()
/art/libdexfile/
DAndroid.bp38 "dex/utf.cc",
/art/runtime/jni/
Djava_vm_ext.cc951 ScopedUtfChars utf(env, reinterpret_cast<jstring>(local_string.get())); in LoadNativeLibrary() local
952 if (utf.c_str() != nullptr) { in LoadNativeLibrary()
953 return utf.c_str(); in LoadNativeLibrary()
Djni_internal.cc1972 static jstring NewStringUTF(JNIEnv* env, const char* utf) { in NewStringUTF() argument
1973 if (utf == nullptr) { in NewStringUTF()
1977 ObjPtr<mirror::String> result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf); in NewStringUTF()