Searched defs:utf (Results 1 - 5 of 5) sorted by relevance
/art/runtime/mirror/ |
H A D | string.cc | 29 #include "utf-inl.h" 109 String* String::AllocFromModifiedUtf8(Thread* self, const char* utf) { argument 110 DCHECK(utf != nullptr); 111 size_t char_count = CountModifiedUtf8Chars(utf); 112 return AllocFromModifiedUtf8(self, char_count, utf);
|
/art/runtime/ |
H A D | jni_internal_test.cc | 1364 // .. but is stored as is in the utf-16 representation. 1512 const char* utf = env_->GetStringUTFChars(s, nullptr); local 1513 EXPECT_STREQ("hello", utf); 1514 env_->ReleaseStringUTFChars(s, utf); 1517 utf = env_->GetStringUTFChars(s, &is_copy); 1519 EXPECT_STREQ("hello", utf); 1520 env_->ReleaseStringUTFChars(s, utf);
|
H A D | utils.cc | 40 #include "utf-inl.h" 499 std::string PrintableString(const char* utf) { argument 502 const char* p = utf;
|
H A D | check_jni.cc | 2111 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { argument 2112 ReleaseStringCharsInternal(__FUNCTION__, env, string, utf, true, false); 3060 jboolean* is_copy, bool utf, bool critical) { 3068 if (utf) { 3079 if (utf) { 3092 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { 3093 return utf ? result.u : result.p; 3100 const void* chars, bool utf, bool critical) { 3114 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { 3115 if (utf) { 3059 GetStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, jboolean* is_copy, bool utf, bool critical) argument 3099 ReleaseStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, const void* chars, bool utf, bool critical) argument [all...] |
H A D | jni_internal.cc | 57 #include "utf.h" 1647 static jstring NewStringUTF(JNIEnv* env, const char* utf) { argument 1648 if (utf == nullptr) { 1652 mirror::String* result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf);
|
Completed in 84 milliseconds