Lines Matching refs:cp
164 UChar32 cp = 0;
214 for (; i < source.length(); i += UTF16_CHAR_LENGTH(cp)) {
215 cp = source.char32At(i);
216 if (unorm_isCanonSafeStart(cp)) {
283 UChar32 cp;
290 for (i = 0; i < source.length(); i += UTF16_CHAR_LENGTH(cp)) {
291 cp = source.char32At(i);
299 if (skipZeros && i != 0 && u_getCombiningClass(cp) == 0) {
307 //Hashtable *subpermute = permute(source.substring(0,i) + source.substring(i + UTF16.getCharCount(cp)));
308 permute(subPermuteString.replace(i, UTF16_CHAR_LENGTH(cp), NULL, 0), skipZeros, &subpermute, status);
320 UnicodeString *chStr = new UnicodeString(cp);
441 UChar32 cp, end = 0;
443 for (i = 0; i < segLen; i += UTF16_CHAR_LENGTH(cp)) {
445 UTF_GET_CHAR(segment, 0, i, segLen, cp);
446 if (!unorm_getCanonStartSet(cp, &starts)) {
450 for(j = 0, cp = end+1; cp <= end || uset_getSerializedRange(&starts, j++, &cp, &end); ++cp) {
453 if (extract(&remainder, cp, segment, segLen, i, status) == NULL) {
459 prefix += cp;
526 UChar32 cp;
536 UTF_NEXT_CHAR(segment, i, segLen, cp);
538 if (cp == decompCp) { // if equal, eat another cp from decomp
540 //if (PROGRESS) printf(" matches: %s\n", UToS(Tr(UnicodeString(cp))));
552 //if (PROGRESS) printf(" buffer: %s\n", UToS(Tr(UnicodeString(cp))));
556 U16_APPEND(buff, bufLen, bufSize, cp, overflow);
578 segClass = getClass(cp);