Lines Matching refs:bufferLen
542 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) {
567 if(buffer!=0 && bufferLen>0){
570 u_memcpy(buffer, ucaRules, uprv_min(UCAlen, bufferLen));
572 if(len > 0 && bufferLen > UCAlen) {
573 u_memcpy(buffer+UCAlen, rules, uprv_min(len, bufferLen-UCAlen));
576 return u_terminateUChars(buffer, bufferLen, len+UCAlen, &status);