Lines Matching defs:prefix
649 CollationBuilder::addRelation(int32_t strength, const UnicodeString &prefix,
654 if(!prefix.isEmpty()) {
655 nfd.normalize(prefix, nfdPrefix, errorCode);
657 parserErrorReason = "normalizing the relation prefix";
692 // Note: If there is a prefix, then the parser checked that
693 // both the prefix and the string begin with NFC boundaries (not Jamo V or T).
694 // Therefore: prefix.isEmpty() || !isJamoVOrT(nfdString.charAt(0))
748 if(!icu4xMode && (prefix != nfdPrefix || str != nfdString) &&
749 !ignorePrefix(prefix, errorCode) && !ignoreString(str, errorCode)) {
753 ce32 = addIfDifferent(prefix, str, ces, cesLength, ce32, errorCode);
1137 UnicodeString prefix;
1147 ce32 = addIfDifferent(prefix, str, newCEs, newCEsLength, ce32, errorCode);
1155 UnicodeString prefix = prefixIter.next();
1156 if(prefix.isBogus()) { break; }
1157 if(ignorePrefix(prefix, errorCode)) { continue; }
1158 UBool samePrefix = prefix == nfdPrefix;
1168 ce32 = addIfDifferent(prefix, str, newCEs, newCEsLength, ce32, errorCode);
1227 // (Alternatively, print a warning when prefix contractions are missing.)
1353 UnicodeString prefix; // empty
1367 addIfDifferent(prefix, composite, ces, cesLength, Collation::UNASSIGNED_CE32, errorCode);
1372 CollationBuilder::addIfDifferent(const UnicodeString &prefix, const UnicodeString &str,
1377 int32_t oldCEsLength = dataBuilder->getCEs(prefix, str, oldCEs, 0);
1382 dataBuilder->addCE32(prefix, str, ce32, errorCode);