Home | History | Annotate | Download | only in jni

Lines Matching defs:bytes

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