Lines Matching defs:contractions
733 USet *contractions = context->conts;
744 if(contractions && rightIndex-leftIndex > 1) {
745 uset_addString(contractions, buffer+leftIndex, rightIndex-leftIndex);
766 if(contractions) {
767 uset_addString(contractions, buffer+leftIndex, rightIndex-leftIndex);
786 if(contractions) {
787 uset_addString(contractions, buffer+leftIndex, rightIndex+1-leftIndex);
811 // if there are suppressed contractions, we don't
841 * Get a set containing the contractions defined by the collator. The set includes
842 * both the UCA contractions and the contractions defined by the collator
850 USet *contractions,
853 ucol_getContractionsAndExpansions(coll, contractions, NULL, FALSE, status);
854 return uset_getItemCount(contractions);
862 * @param addPrefixes add the prefix contextual elements to contractions
869 USet *contractions,
882 if(contractions) {
883 uset_clear(contractions);
894 contContext c = { NULL, contractions, expansions, src.removeSet, addPrefixes, status };
896 // Add the UCA contractions
900 // This is collator specific. Add contractions from a collator
930 USet *contractions = uset_open(0,0);
933 int32_t contsSize = ucol_getContractions(coll, contractions, status);
939 len = uset_getItem(contractions, i, NULL, NULL, buffer, internalBufferSize, status);
951 uset_close(contractions);