Searched defs:utf (Results 1 - 5 of 5) sorted by relevance
/art/libdexfile/dex/ |
H A D | utf.cc | 17 #include "utf.h" 24 #include "utf-inl.h" 286 std::string PrintableString(const char* utf) { argument 289 const char* p = utf;
|
/art/runtime/mirror/ |
H A D | string.cc | 25 #include "dex/utf-inl.h" 197 String* String::AllocFromModifiedUtf8(Thread* self, const char* utf) { argument 198 DCHECK(utf != nullptr); 199 size_t byte_count = strlen(utf); 200 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); 201 return AllocFromModifiedUtf8(self, char_count, utf, byte_count);
|
/art/runtime/ |
H A D | jni_internal_test.cc | 1519 // .. but is stored as is in the utf-16 representation. 1673 const char* utf = env_->GetStringUTFChars(s, nullptr); local 1674 EXPECT_STREQ("hello", utf); 1675 env_->ReleaseStringUTFChars(s, utf); 1678 utf = env_->GetStringUTFChars(s, &is_copy); 1680 EXPECT_STREQ("hello", utf); 1681 env_->ReleaseStringUTFChars(s, utf);
|
H A D | check_jni.cc | 2459 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { argument 2460 ReleaseStringCharsInternal(__FUNCTION__, env, string, utf, true, false); 3438 jboolean* is_copy, bool utf, bool critical) { 3447 if (utf) { 3458 if (utf) { 3471 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { 3472 return utf ? result.u : result.p; 3479 const void* chars, bool utf, bool critical) { 3494 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { 3495 if (utf) { 3437 GetStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, jboolean* is_copy, bool utf, bool critical) argument 3478 ReleaseStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, const void* chars, bool utf, bool critical) argument [all...] |
H A D | jni_internal.cc | 37 #include "dex/utf.h" 1777 static jstring NewStringUTF(JNIEnv* env, const char* utf) { argument 1778 if (utf == nullptr) { 1782 mirror::String* result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf);
|
Completed in 9625 milliseconds