Lines Matching refs:chars
2458 static jstring NewStringUTF(JNIEnv* env, const char* chars) { in NewStringUTF() argument
2462 JniValueType args[2] = {{.E = env}, {.u = chars}}; in NewStringUTF()
2466 result.s = baseEnv(env)->NewStringUTF(env, chars); in NewStringUTF()
2519 static void ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) { in ReleaseStringChars() argument
2520 ReleaseStringCharsInternal(__FUNCTION__, env, string, chars, false, false); in ReleaseStringChars()
2527 static void ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* chars) { in ReleaseStringCritical() argument
2528 ReleaseStringCharsInternal(__FUNCTION__, env, string, chars, false, true); in ReleaseStringCritical()
3538 const void* chars, bool utf, bool critical) { in ReleaseStringCharsInternal() argument
3546 sc.CheckNonNull(chars); in ReleaseStringCharsInternal()
3547 bool force_copy_ok = !soa.ForceCopy() || GuardedCopy::Check(function_name, chars, false); in ReleaseStringCharsInternal()
3549 chars = reinterpret_cast<const jchar*>(GuardedCopy::Destroy(const_cast<void*>(chars))); in ReleaseStringCharsInternal()
3552 JniValueType args[3] = {{.E = env}, {.s = string}, {.p = chars}}; in ReleaseStringCharsInternal()
3556 baseEnv(env)->ReleaseStringUTFChars(env, string, reinterpret_cast<const char*>(chars)); in ReleaseStringCharsInternal()
3559 baseEnv(env)->ReleaseStringCritical(env, string, reinterpret_cast<const jchar*>(chars)); in ReleaseStringCharsInternal()
3561 baseEnv(env)->ReleaseStringChars(env, string, reinterpret_cast<const jchar*>(chars)); in ReleaseStringCharsInternal()