Home | History | Annotate | Download | only in runtime

Lines Matching defs:char_count

1914   static jstring NewString(JNIEnv* env, const jchar* chars, jsize char_count) {
1915 if (UNLIKELY(char_count < 0)) {
1916 JniAbortF("NewString", "char_count < 0: %d", char_count);
1919 if (UNLIKELY(chars == nullptr && char_count > 0)) {
1920 JniAbortF("NewString", "chars == null && char_count > 0");
1924 mirror::String* result = mirror::String::AllocFromUtf16(soa.Self(), char_count, chars);
1987 int32_t char_count = s->GetLength();
1989 jchar* bytes = new jchar[char_count];
1990 for (int32_t i = 0; i < char_count; i++) {