Searched defs:utf (Results 1 - 5 of 5) sorted by relevance
/art/runtime/mirror/ |
H A D | string.cc | 29 #include "utf-inl.h" 110 String* String::AllocFromModifiedUtf8(Thread* self, const char* utf) { argument 111 DCHECK(utf != nullptr); 112 size_t byte_count = strlen(utf); 113 size_t char_count = CountModifiedUtf8Chars(utf, byte_count); 114 return AllocFromModifiedUtf8(self, char_count, utf, byte_count);
|
/art/runtime/ |
H A D | jni_internal_test.cc | 1425 // .. but is stored as is in the utf-16 representation. 1579 const char* utf = env_->GetStringUTFChars(s, nullptr); local 1580 EXPECT_STREQ("hello", utf); 1581 env_->ReleaseStringUTFChars(s, utf); 1584 utf = env_->GetStringUTFChars(s, &is_copy); 1586 EXPECT_STREQ("hello", utf); 1587 env_->ReleaseStringUTFChars(s, utf);
|
H A D | check_jni.cc | 2295 static void ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) { argument 2296 ReleaseStringCharsInternal(__FUNCTION__, env, string, utf, true, false); 3252 jboolean* is_copy, bool utf, bool critical) { 3260 if (utf) { 3271 if (utf) { 3284 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { 3285 return utf ? result.u : result.p; 3292 const void* chars, bool utf, bool critical) { 3306 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { 3307 if (utf) { 3251 GetStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, jboolean* is_copy, bool utf, bool critical) argument 3291 ReleaseStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, const void* chars, bool utf, bool critical) argument [all...] |
H A D | utils.cc | 42 #include "utf-inl.h" 503 std::string PrintableString(const char* utf) { argument 506 const char* p = utf;
|
H A D | jni_internal.cc | 57 #include "utf.h" 1642 static jstring NewStringUTF(JNIEnv* env, const char* utf) { argument 1643 if (utf == nullptr) { 1647 mirror::String* result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf);
|
Completed in 419 milliseconds