Home | History | Annotate | Download | only in common

Lines Matching defs:cp

168     UChar32 cp = 0;
218 for (; i < source.length(); i += U16_LENGTH(cp)) {
219 cp = source.char32At(i);
220 if (nfcImpl.isCanonSegmentStarter(cp)) {
287 UChar32 cp;
294 for (i = 0; i < source.length(); i += U16_LENGTH(cp)) {
295 cp = source.char32At(i);
303 if (skipZeros && i != 0 && u_getCombiningClass(cp) == 0) {
311 //Hashtable *subpermute = permute(source.substring(0,i) + source.substring(i + UTF16.getCharCount(cp)));
312 permute(subPermuteString.replace(i, U16_LENGTH(cp), NULL, 0), skipZeros, &subpermute, status);
324 UnicodeString *chStr = new UnicodeString(cp);
445 UChar32 cp;
446 for (int32_t i = 0; i < segLen; i += U16_LENGTH(cp)) {
448 U16_GET(segment, 0, i, segLen, cp);
449 if (!nfcImpl.getCanonStartSet(cp, starts)) {
516 UChar32 cp;
523 U16_NEXT(segment, i, segLen, cp);
525 if (cp == decompCp) { // if equal, eat another cp from decomp
527 //if (PROGRESS) printf(" matches: %s\n", UToS(Tr(UnicodeString(cp))));
536 //if (PROGRESS) printf(" buffer: %s\n", UToS(Tr(UnicodeString(cp))));
539 temp.append(cp);
549 segClass = getClass(cp);