Searched refs:java_string (Results 1 – 2 of 2) sorted by relevance
/art/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 153 static jbyteArray charsToBytes(JNIEnv* env, jstring java_string, jint offset, jint length, in charsToBytes() argument 157 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String*>(java_string))); in charsToBytes() 181 static jbyteArray CharsetUtils_toAsciiBytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toAsciiBytes() argument 183 return charsToBytes(env, java_string, offset, length, 0x7f); in CharsetUtils_toAsciiBytes() 186 static jbyteArray CharsetUtils_toIsoLatin1Bytes(JNIEnv* env, jclass, jstring java_string, in CharsetUtils_toIsoLatin1Bytes() argument 188 return charsToBytes(env, java_string, offset, length, 0xff); in CharsetUtils_toIsoLatin1Bytes() 191 static jbyteArray CharsetUtils_toUtf8Bytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toUtf8Bytes() argument 195 Handle<mirror::String> string(hs.NewHandle(soa.Decode<mirror::String*>(java_string))); in CharsetUtils_toUtf8Bytes()
|
/art/runtime/ |
D | jni_internal.cc | 1656 static jsize GetStringLength(JNIEnv* env, jstring java_string) { in GetStringLength() argument 1657 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(java_string); in GetStringLength() 1659 return soa.Decode<mirror::String*>(java_string)->GetLength(); in GetStringLength() 1662 static jsize GetStringUTFLength(JNIEnv* env, jstring java_string) { in GetStringUTFLength() argument 1663 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(java_string); in GetStringUTFLength() 1665 return soa.Decode<mirror::String*>(java_string)->GetUtfLength(); in GetStringUTFLength() 1668 static void GetStringRegion(JNIEnv* env, jstring java_string, jsize start, jsize length, in GetStringRegion() argument 1670 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(java_string); in GetStringRegion() 1672 mirror::String* s = soa.Decode<mirror::String*>(java_string); in GetStringRegion() 1682 static void GetStringUTFRegion(JNIEnv* env, jstring java_string, jsize start, jsize length, in GetStringUTFRegion() argument [all …]
|