Home | History | Annotate | Download | only in vm

Lines Matching refs:bytes

598  * Verify that "bytes" points to valid "modified UTF-8" data.
600 static void checkUtfString(JNIEnv* env, const char* bytes, bool nullOk,
603 const char* origBytes = bytes;
605 if (bytes == NULL) {
614 while (*bytes != '\0') {
615 u1 utf8 = *(bytes++);
626 // Bit pattern 0xxx. No need for any extra bytes.
635 * Bit pattern 10xx or 1111, which are illegal start bytes.
643 // Bit pattern 1110, so there are two additional bytes.
644 utf8 = *(bytes++);
654 utf8 = *(bytes++);
1035 LOGE("createGuardedCopy failed on alloc of %d bytes\n", newLen);
1182 * Return the width, in bytes, of a primitive type.
1995 static jstring Check_NewStringUTF(JNIEnv* env, const char* bytes)
1998 CHECK_UTF_STRING(env, bytes, true);
2000 result = BASE_ENV(env)->NewStringUTF(env, bytes);