Lines Matching refs:contractions
689 USet *contractions = context->conts;
700 if(contractions && rightIndex-leftIndex > 1) {
701 uset_addString(contractions, buffer+leftIndex, rightIndex-leftIndex);
722 if(contractions) {
723 uset_addString(contractions, buffer+leftIndex, rightIndex-leftIndex);
742 if(contractions) {
743 uset_addString(contractions, buffer+leftIndex, rightIndex+1-leftIndex);
767 // if there are suppressed contractions, we don't
797 * Get a set containing the contractions defined by the collator. The set includes
798 * both the UCA contractions and the contractions defined by the collator
806 USet *contractions,
809 ucol_getContractionsAndExpansions(coll, contractions, NULL, FALSE, status);
810 return uset_getItemCount(contractions);
818 * @param addPrefixes add the prefix contextual elements to contractions
825 USet *contractions,
838 if(contractions) {
839 uset_clear(contractions);
850 contContext c = { NULL, contractions, expansions, src.removeSet, addPrefixes, status };
852 // Add the UCA contractions
856 // This is collator specific. Add contractions from a collator
886 USet *contractions = uset_open(0,0);
889 int32_t contsSize = ucol_getContractions(coll, contractions, status);
895 len = uset_getItem(contractions, i, NULL, NULL, buffer, internalBufferSize, status);
907 uset_close(contractions);