Lines Matching defs:bytes
787 /* from UTF-8 with length (just first 3 bytes which are valid) */
819 /* from UTF-8 with length (just first 3 bytes which are valid) */
851 * Test with an illegal lead byte that would be followed by more than 3 trail bytes.
886 static const uint8_t bytes[]={ 0xe0, 0xa5, 0x9c, 0 };
892 /* 3 bytes input, one UChar output (U+095C) */
895 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
901 /* 4 bytes input, two UChars output (U+095C U+0000) */
904 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
910 /* NUL-terminated 3 bytes input, one UChar output (U+095C) */
913 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, -1, &errorCode);
919 /* 3 bytes input, one UChar output (U+095C), transform not just preflight */
923 destPointer=u_strFromUTF8(dest, UPRV_LENGTHOF(dest), &destLength, (const char *)bytes, 3, &errorCode);
937 static const uint8_t bytes[]={
953 /* non-ASCII characters in the last few bytes */
1005 pDest=u_strFromUTF8Lenient(NULL, 1, &destLength, (const char *)bytes, -1, &errorCode);
1013 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, (const char *)bytes, -1, &errorCode);
1021 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, (const char *)bytes, -1, NULL);
1029 for(pb=(const char *)bytes, pu=uchars;