Home | History | Annotate | Download | only in cintltst

Lines Matching refs:code

377             break; /* done with code points, got a string or -1 */
972 * This test fails incorrectly if the First or Last code point of a repetitive area
979 * code points' properties.
981 * For this, it would have had to set a flag for which code points were listed explicitly.
995 /* get the character code, field 0 */
1002 log_err("error in UnicodeData.txt: code point %lu out of range\n", c);
1019 log_err("error: syntax error in field 3 at code 0x%lx\n", c);
1053 log_err("error: syntax error in field 12 at code 0x%lx\n", c);
1060 /* no case mapping: the API must map the code point to itself */
1070 log_err("error: syntax error in field 13 at code 0x%lx\n", c);
1077 /* no case mapping: the API must map the code point to itself */
1087 log_err("error: syntax error in field 14 at code 0x%lx\n", c);
1094 /* no case mapping: the API must map the code point to itself */
1125 /* stop at the range that includes the last test code point (increases code coverage for enumeration) */
1141 /* default Bidi classes for unassigned code points */
1188 * See also DerivedBidiClass.txt for Cn code points!
1192 * In particular, non-characters and unassigned Default Ignorable Code Points
1457 log_err("The no: of code units for U+%04x:- Expected: %d Got: %d\n", c, codepoint[i], UTF_CHAR_LENGTH(c));
1497 uint32_t code;
1516 UChar32 code, UCharNameChoice nameChoice,
1529 if(code==(UChar32)names[i].code) {
1533 log_err("u_enumCharName(0x%lx - Extended)=%s instead of %s\n", code, name, names[i].extName);
1538 log_err("u_enumCharName(0x%lx)=%s instead of %s\n", code, name, names[i].name);
1543 log_err("u_enumCharName(0x%lx - 1.0)=%s instead of %s\n", code, name, names[i].oldName);
1562 UChar32 code, UCharNameChoice nameChoice,
1566 if (ecncp->last != (int32_t) code - 1) {
1568 log_err("u_enumCharName(0x%lx - Ext) after u_enumCharName(0x%lx - Ext) instead of u_enumCharName(0x%lx - Ext)\n", code, ecncp->last, ecncp->last + 1);
1570 log_err("u_enumCharName(0x%lx - Ext) instead of u_enumCharName(0x0 - Ext)\n", code);
1573 ecncp->last = (int32_t) code;
1576 log_err("u_enumCharName(0x%lx - Ext) should not be an empty string\n", code);
1579 return enumCharNamesFn(&ecncp->length, code, nameChoice, name, length);
1617 length=u_charName(names[i].code, U_UNICODE_CHAR_NAME, name, sizeof(name), &errorCode);
1619 log_err("u_charName(0x%lx) error %s\n", names[i].code, u_errorName(errorCode));
1623 log_err("u_charName(0x%lx) gets: %s (length %ld) instead of: %s\n", names[i].code, name, length, names[i].name);
1633 if(c!=(UChar32)names[i].code) {
1634 log_err("u_charFromName(%s) gets 0x%lx instead of 0x%lx\n", names[i].name, c, names[i].code);
1639 length=u_charName(names[i].code, U_UNICODE_10_CHAR_NAME, name, sizeof(name), &errorCode);
1641 log_err("u_charName(0x%lx - 1.0) error %s\n", names[i].code, u_errorName(errorCode));
1645 log_err("u_charName(0x%lx - 1.0) gets %s length %ld instead of nothing or %s\n", names[i].code, name, length, names[i].oldName);
1655 if(c!=(UChar32)names[i].code) {
1656 log_err("u_charFromName(%s - 1.0) gets 0x%lx instead of 0x%lx\n", names[i].oldName, c, names[i].code);
1748 log_err("u_charName() returned a name with a TAB for some code point\n", cp);
1827 code points */
2090 props[][3]={ /* code point, property, value */
2264 /* test default Bidi classes for unassigned code points */
2805 /* Script should return USCRIPT_INVALID_CODE for an invalid code point. */
2950 break; /* done with code points, got a string or -1 */
3028 /* new in Unicode 5.0: exactly all unassigned+PUA+surrogate code points have script=Unknown */
3214 /* get code point */
3238 /* there is a simple mapping only if there is exactly one code point (count is in UChars) */
3245 * Test remaining mappings for the previous code point.
3328 /* verify that all code points that are not mentioned in CaseFolding.txt fold to themselves */