Home | History | Annotate | Download | only in cintltst

Lines Matching refs:codepoints

1028 * Getting codepoints from a string
1029 * @param str character string contain codepoints seperated by space and ended
1031 * @param codepoints array for storage, assuming size > 5
1034 static char *getCodePoints(char *str, UChar *codepoints, UChar *contextCPs) {
1039 *codepoints = 0;
1054 /* prepend the precontext string to the codepoints */
1055 u_memcpy(codepoints, contextCPs, contextLength);
1056 codepoints += contextLength;
1062 u_parseString(s, codepoints, 99, NULL, &errorCode);
1269 UChar codepoints[10];
1301 str = getCodePoints(line, codepoints, contextCPs);
1303 /* these are 'fake' codepoints in the fractional UCA, and are used just
1307 if(*codepoints == 0xFDD0) {
1327 iter = ucol_openElements(coll, codepoints, -1, &status);
1340 if(UCOL_ISTHAIPREVOWEL(*codepoints) && ce == 0 && count == 0) {
1504 static void showCodepoints(const UChar *codepoints, int length, char * codepointText) {
1510 int bytesWritten = sprintf(codepointText, " %04X", *codepoints++);
1521 static UBool checkCEValidity(const UCollator *coll, const UChar *codepoints,
1525 UCollationElements *iter = ucol_openElements(coll, codepoints, length,
1553 if (*codepoints == 0xFFFE /* && length == 1 */) {
1563 (int)*codepoints, (int)length);
1682 showCodepoints(codepoints, length, codepointText);
1700 UChar codepoints[11];
1723 getCodePoints(line, codepoints, contextCPs);
1724 checkCEValidity(coll, codepoints, u_strlen(codepoints));
1730 codepoints[0] = (UChar)c;
1731 checkCEValidity(coll, codepoints, 1);
1737 U16_APPEND_UNSAFE(codepoints, i, c);
1738 checkCEValidity(coll, codepoints, i);
1814 uprv_memcpy(codepoints, src.source + chOffset,
1816 codepoints[chLen] = 0;
1817 checkCEValidity(coll, codepoints, chLen);
1828 static void printSortKeyError(const UChar *codepoints, int length,
1834 log_err("0x%04x ", *codepoints);
1836 codepoints ++;
1850 const UChar *codepoints,
1876 sklen = ucol_getSortKey(coll, codepoints, length, sortkey, 128);
1879 printSortKeyError(codepoints, length, sortkey, sklen);
1889 printSortKeyError(codepoints, length, sortkey, sklen);
1909 UChar codepoints[10];
1930 getCodePoints(line, codepoints, contextCPs);
1931 if(codepoints[0] == 0xFFFE) {
1935 checkSortKeyValidity(coll, codepoints, u_strlen(codepoints));
1939 codepoints[0] = 0;
1941 while (codepoints[0] < 0xFFFF) {
1942 if (u_isdefined((UChar32)codepoints[0])) {
1943 checkSortKeyValidity(coll, codepoints, 1);
1945 codepoints[0] ++;
2004 codepoints, src.source + chOffset,
2006 codepoints[chLen] = 0;
2007 if(codepoints[0] == 0xFFFE) {
2011 checkSortKeyValidity(coll, codepoints, chLen);