Home | History | Annotate | Download | only in jni

Lines Matching defs:bytes

61 static bool isValidUtf8(const char* bytes) {
62 while (*bytes != '\0') {
63 unsigned char utf8 = *(bytes++);
74 // Bit pattern 0xxx. No need for any extra bytes.
82 * Bit pattern 10xx or 1111, which are illegal start bytes.
88 // Bit pattern 1110, so there are two additional bytes.
89 utf8 = *(bytes++);
97 utf8 = *(bytes++);
358 jbyte* bytes = env->GetByteArrayElements(array, NULL);
359 memcpy(bytes, data + 4, len);
360 env->ReleaseByteArrayElements(array, bytes, 0);