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) */
873 static const uint8_t bytes[]={ 0xe0, 0xa5, 0x9c, 0 };
879 /* 3 bytes input, one UChar output (U+095C) */
882 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 3, &errorCode);
888 /* 4 bytes input, two UChars output (U+095C U+0000) */
891 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, 4, &errorCode);
897 /* NUL-terminated 3 bytes input, one UChar output (U+095C) */
900 destPointer=u_strFromUTF8(NULL, 0, &destLength, (const char *)bytes, -1, &errorCode);
906 /* 3 bytes input, one UChar output (U+095C), transform not just preflight */
910 destPointer=u_strFromUTF8(dest, LENGTHOF(dest), &destLength, (const char *)bytes, 3, &errorCode);
924 static const uint8_t bytes[]={
940 /* non-ASCII characters in the last few bytes */
992 pDest=u_strFromUTF8Lenient(NULL, 1, &destLength, (const char *)bytes, -1, &errorCode);
1000 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, (const char *)bytes, -1, &errorCode);
1008 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, (const char *)bytes, -1, NULL);
1016 for(pb=(const char *)bytes, pu=uchars;