Home
last modified time | relevance | path

Searched refs:java_string (Results 1 – 2 of 2) sorted by relevance

/art/runtime/native/
Dlibcore_util_CharsetUtils.cc157 static jbyteArray charsToBytes(JNIEnv* env, jstring java_string, jint offset, jint length, in charsToBytes() argument
161 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String>(java_string))); in charsToBytes()
184 static jbyteArray CharsetUtils_toAsciiBytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toAsciiBytes() argument
186 return charsToBytes(env, java_string, offset, length, 0x7f); in CharsetUtils_toAsciiBytes()
189 static jbyteArray CharsetUtils_toIsoLatin1Bytes(JNIEnv* env, jclass, jstring java_string, in CharsetUtils_toIsoLatin1Bytes() argument
191 return charsToBytes(env, java_string, offset, length, 0xff); in CharsetUtils_toIsoLatin1Bytes()
194 static jbyteArray CharsetUtils_toUtf8Bytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toUtf8Bytes() argument
198 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String>(java_string))); in CharsetUtils_toUtf8Bytes()
/art/runtime/jni/
Djni_internal.cc1820 static jsize GetStringLength(JNIEnv* env, jstring java_string) { in GetStringLength() argument
1821 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(java_string); in GetStringLength()
1823 return soa.Decode<mirror::String>(java_string)->GetLength(); in GetStringLength()
1826 static jsize GetStringUTFLength(JNIEnv* env, jstring java_string) { in GetStringUTFLength() argument
1827 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(java_string); in GetStringUTFLength()
1829 return soa.Decode<mirror::String>(java_string)->GetUtfLength(); in GetStringUTFLength()
1832 static void GetStringRegion(JNIEnv* env, jstring java_string, jsize start, jsize length, in GetStringRegion() argument
1834 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(java_string); in GetStringRegion()
1836 ObjPtr<mirror::String> s = soa.Decode<mirror::String>(java_string); in GetStringRegion()
1852 static void GetStringUTFRegion(JNIEnv* env, jstring java_string, jsize start, jsize length, in GetStringUTFRegion() argument
[all …]