Home | History | Annotate | Download | only in cintltst

Lines Matching refs:codepoints

1029 * Getting codepoints from a string
1030 * @param str character string contain codepoints seperated by space and ended
1032 * @param codepoints array for storage, assuming size > 5
1035 static char *getCodePoints(char *str, UChar *codepoints, UChar *contextCPs) {
1040 *codepoints = 0;
1055 /* prepend the precontext string to the codepoints */
1056 u_memcpy(codepoints, contextCPs, contextLength);
1057 codepoints += contextLength;
1063 u_parseString(s, codepoints, 99, NULL, &errorCode);
1270 UChar codepoints[10];
1302 str = getCodePoints(line, codepoints, contextCPs);
1304 /* these are 'fake' codepoints in the fractional UCA, and are used just
1308 if(*codepoints == 0xFDD0) {
1328 iter = ucol_openElements(coll, codepoints, -1, &status);
1341 if(UCOL_ISTHAIPREVOWEL(*codepoints) && ce == 0 && count == 0) {
1505 static void showCodepoints(const UChar *codepoints, int length, char * codepointText) {
1511 int bytesWritten = sprintf(codepointText, " %04X", *codepoints++);
1522 static UBool checkCEValidity(const UCollator *coll, const UChar *codepoints,
1526 UCollationElements *iter = ucol_openElements(coll, codepoints, length,
1554 if (*codepoints == 0xFFFE /* && length == 1 */) {
1564 (int)*codepoints, (int)length);
1683 showCodepoints(codepoints, length, codepointText);
1703 UChar codepoints[11];
1726 getCodePoints(line, codepoints, contextCPs);
1727 checkCEValidity(coll, codepoints, u_strlen(codepoints));
1733 codepoints[0] = (UChar)c;
1734 checkCEValidity(coll, codepoints, 1);
1740 U16_APPEND_UNSAFE(codepoints, i, c);
1741 checkCEValidity(coll, codepoints, i);
1833 uprv_memcpy(codepoints, src.source + chOffset,
1835 codepoints[chLen] = 0;
1836 checkCEValidity(coll, codepoints, chLen);
1851 static void printSortKeyError(const UChar *codepoints, int length,
1857 log_err("0x%04x ", *codepoints);
1859 codepoints ++;
1873 const UChar *codepoints,
1899 sklen = ucol_getSortKey(coll, codepoints, length, sortkey, 128);
1902 printSortKeyError(codepoints, length, sortkey, sklen);
1912 printSortKeyError(codepoints, length, sortkey, sklen);
1932 UChar codepoints[10];
1953 getCodePoints(line, codepoints, contextCPs);
1954 if(codepoints[0] == 0xFFFE) {
1958 checkSortKeyValidity(coll, codepoints, u_strlen(codepoints));
1962 codepoints[0] = 0;
1964 while (codepoints[0] < 0xFFFF) {
1965 if (u_isdefined((UChar32)codepoints[0])) {
1966 checkSortKeyValidity(coll, codepoints, 1);
1968 codepoints[0] ++;
2042 uprv_memcpy(codepoints, src.source + chOffset,
2044 codepoints[chLen] = 0;
2045 if(codepoints[0] == 0xFFFE) {
2049 checkSortKeyValidity(coll, codepoints, chLen);