Home | History | Annotate | Download | only in cintltst

Lines Matching refs:codepoints

1025 * Getting codepoints from a string
1026 * @param str character string contain codepoints seperated by space and ended
1028 * @param codepoints array for storage, assuming size > 5
1031 static char * getCodePoints(char *str, UChar *codepoints, UChar *contextCPs) {
1035 *codepoints = (UChar)((hex2num(*pStartCP) << 12) |
1046 *contextCPs = *codepoints;
1047 *(++codepoints) = (UChar)((hex2num(*pStartCP) << 12) |
1054 codepoints ++;
1057 *codepoints = (UChar)((hex2num(*pStartCP) << 12) |
1061 codepoints ++;
1064 *codepoints = 0;
1267 UChar codepoints[10];
1299 str = getCodePoints(line, codepoints, contextCPs);
1301 /* these are 'fake' codepoints in the fractional UCA, and are used just
1305 if(*codepoints == 0xFDD0) {
1325 iter = ucol_openElements(coll, codepoints, -1, &status);
1338 if(UCOL_ISTHAIPREVOWEL(*codepoints) && ce == 0 && count == 0) {
1517 * Determines case of the string of codepoints.
1518 * If it is a multiple codepoints it has to treated as a contraction.
1574 static UBool checkCEValidity(const UCollator *coll, const UChar *codepoints,
1579 UCollationElements *iter = ucol_openElements(coll, codepoints, length,
1621 primary, codepoints[0]);
1653 UChar codepoints[10];
1676 getCodePoints(line, codepoints, contextCPs);
1677 checkCEValidity(coll, codepoints, u_strlen(codepoints), 5, 86);
1683 codepoints[0] = (UChar)c;
1684 checkCEValidity(coll, codepoints, 1, 5, 86);
1690 U16_APPEND_UNSAFE(codepoints, i, c);
1691 checkCEValidity(coll, codepoints, i, 5, 86);
1763 uprv_memcpy(codepoints, src.source + chOffset,
1765 codepoints[chLen] = 0;
1766 checkCEValidity(coll, codepoints, chLen, 4, 85);
1777 static void printSortKeyError(const UChar *codepoints, int length,
1783 log_err("0x%04x ", *codepoints);
1785 codepoints ++;
1799 const UChar *codepoints,
1825 sklen = ucol_getSortKey(coll, codepoints, length, sortkey, 128);
1828 printSortKeyError(codepoints, length, sortkey, sklen);
1838 printSortKeyError(codepoints, length, sortkey, sklen);
1858 UChar codepoints[10];
1879 getCodePoints(line, codepoints, contextCPs);
1880 checkSortKeyValidity(coll, codepoints, u_strlen(codepoints));
1884 codepoints[0] = 0;
1886 while (codepoints[0] < 0xFFFF) {
1887 if (u_isdefined((UChar32)codepoints[0])) {
1888 checkSortKeyValidity(coll, codepoints, 1);
1890 codepoints[0] ++;
1945 uprv_memcpy(codepoints, src.source + chOffset,
1947 codepoints[chLen] = 0;
1948 checkSortKeyValidity(coll, codepoints, chLen);