Home | History | Annotate | Download | only in cintltst

Lines Matching defs:code

379             break; /* done with code points, got a string or -1 */
930 * This test fails incorrectly if the First or Last code point of a repetitive area
937 * code points' properties.
939 * For this, it would have had to set a flag for which code points were listed explicitly.
953 /* get the character code, field 0 */
960 log_err("error in UnicodeData.txt: code point %lu out of range\n", c);
977 log_err("error: syntax error in field 3 at code 0x%lx\n", c);
1011 log_err("error: syntax error in field 12 at code 0x%lx\n", c);
1018 /* no case mapping: the API must map the code point to itself */
1028 log_err("error: syntax error in field 13 at code 0x%lx\n", c);
1035 /* no case mapping: the API must map the code point to itself */
1045 log_err("error: syntax error in field 14 at code 0x%lx\n", c);
1052 /* no case mapping: the API must map the code point to itself */
1083 /* stop at the range that includes the last test code point (increases code coverage for enumeration) */
1099 /* default Bidi classes for unassigned code points */
1148 * See also DerivedBidiClass.txt for Cn code points!
1152 * In particular, non-characters and unassigned Default Ignorable Code Points
1417 log_err("The no: of code units for U+%04x:- Expected: %d Got: %d\n", c, codepoint[i], UTF_CHAR_LENGTH(c));
1457 uint32_t code;
1488 UChar32 code, UCharNameChoice nameChoice,
1502 if(code==(UChar32)names[i].code) {
1506 log_err("u_enumCharName(0x%lx - Extended)=%s instead of %s\n", code, name, names[i].extName);
1511 log_err("u_enumCharName(0x%lx)=%s instead of %s\n", code, name, names[i].name);
1517 log_err("u_enumCharName(0x%lx - 1.0)=%s instead of %s\n", code, name, expected);
1523 log_err("u_enumCharName(0x%lx - alias)=%s instead of %s\n", code, name, expected);
1542 UChar32 code, UCharNameChoice nameChoice,
1546 if (ecncp->last != (int32_t) code - 1) {
1548 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);
1550 log_err("u_enumCharName(0x%lx - Ext) instead of u_enumCharName(0x0 - Ext)\n", code);
1553 ecncp->last = (int32_t) code;
1556 log_err("u_enumCharName(0x%lx - Ext) should not be an empty string\n", code);
1559 return enumCharNamesFn(&ecncp->length, code, nameChoice, name, length);
1598 length=u_charName(names[i].code, U_UNICODE_CHAR_NAME, name, sizeof(name), &errorCode);
1600 log_err("u_charName(0x%lx) error %s\n", names[i].code, u_errorName(errorCode));
1604 log_err("u_charName(0x%lx) gets: %s (length %ld) instead of: %s\n", names[i].code, name, length, names[i].name);
1614 if(c!=(UChar32)names[i].code) {
1615 log_err("u_charFromName(%s) gets 0x%lx instead of 0x%lx\n", names[i].name, c, names[i].code);
1620 length=u_charName(names[i].code, U_UNICODE_10_CHAR_NAME, name, sizeof(name), &errorCode);
1622 log_err("u_charName(0x%lx - 1.0) error %s\n", names[i].code, u_errorName(errorCode));
1626 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);
1636 if(c!=(UChar32)names[i].code) {
1637 log_err("u_charFromName(%s - 1.0) gets 0x%lx instead of 0x%lx\n", names[i].oldName, c, names[i].code);
1642 length=u_charName(names[i].code, U_CHAR_NAME_ALIAS, name, sizeof(name), &errorCode);
1644 log_err("u_charName(0x%lx - alias) error %s\n", names[i].code, u_errorName(errorCode));
1653 names[i].code, name, length, expected);
1664 if(c!=(UChar32)names[i].code) {
1666 expected, c, names[i].code);
1758 log_err("u_charName() returned a name with a TAB for some code point\n", cp);
1837 u_charMirror(0xbb)==0xab && u_charMirror(0x2215)==0x29F5 && u_charMirror(0x29F5)==0x2215 && /* large delta between the code points */
2100 props[][3]={ /* code point, property, value */
2275 /* test default Bidi classes for unassigned code points */
2856 /* Script should return USCRIPT_INVALID_CODE for an invalid code point. */
2982 break; /* done with code points, got a string or -1 */
3024 /* new in Unicode 5.0: exactly all unassigned+PUA+surrogate code points have script=Unknown */
3210 /* get code point */
3234 /* there is a simple mapping only if there is exactly one code point (count is in UChars) */
3241 * Test remaining mappings for the previous code point.
3324 /* verify that all code points that are not mentioned in CaseFolding.txt fold to themselves */