Home | History | Annotate | Download | only in common

Lines Matching defs:cp

167     UChar32 cp = 0;
217 for (; i < source.length(); i += UTF16_CHAR_LENGTH(cp)) {
218 cp = source.char32At(i);
219 if (nfcImpl.isCanonSegmentStarter(cp)) {
286 UChar32 cp;
293 for (i = 0; i < source.length(); i += UTF16_CHAR_LENGTH(cp)) {
294 cp = source.char32At(i);
302 if (skipZeros && i != 0 && u_getCombiningClass(cp) == 0) {
310 //Hashtable *subpermute = permute(source.substring(0,i) + source.substring(i + UTF16.getCharCount(cp)));
311 permute(subPermuteString.replace(i, UTF16_CHAR_LENGTH(cp), NULL, 0), skipZeros, &subpermute, status);
323 UnicodeString *chStr = new UnicodeString(cp);
444 UChar32 cp;
445 for (int32_t i = 0; i < segLen; i += UTF16_CHAR_LENGTH(cp)) {
447 UTF_GET_CHAR(segment, 0, i, segLen, cp);
448 if (!nfcImpl.getCanonStartSet(cp, starts)) {
515 UChar32 cp;
522 U16_NEXT(segment, i, segLen, cp);
524 if (cp == decompCp) { // if equal, eat another cp from decomp
526 //if (PROGRESS) printf(" matches: %s\n", UToS(Tr(UnicodeString(cp))));
535 //if (PROGRESS) printf(" buffer: %s\n", UToS(Tr(UnicodeString(cp))));
538 temp.append(cp);
548 segClass = getClass(cp);