• Home
  • Raw
  • Download

Lines Matching refs:coll

47     RuleBasedCollator *coll = new RuleBasedCollator(  in ucol_openBinary()  local
51 if(coll == NULL) { in ucol_openBinary()
56 delete coll; in ucol_openBinary()
59 return coll->toUCollator(); in ucol_openBinary()
63 ucol_cloneBinary(const UCollator *coll, in ucol_cloneBinary() argument
70 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_cloneBinary()
71 if(rbc == NULL && coll != NULL) { in ucol_cloneBinary()
79 ucol_safeClone(const UCollator *coll, void * /*stackBuffer*/, int32_t * pBufferSize, UErrorCode *st… in ucol_safeClone() argument
84 if (coll == NULL) { in ucol_safeClone()
95 Collator *newColl = Collator::fromUCollator(coll)->clone(); in ucol_safeClone()
106 ucol_close(UCollator *coll) in ucol_close() argument
109 UTRACE_DATA1(UTRACE_INFO, "coll = %p", coll); in ucol_close()
110 if(coll != NULL) { in ucol_close()
111 delete Collator::fromUCollator(coll); in ucol_close()
192 ucol_getSortKey(const UCollator *coll, in ucol_getSortKey() argument
200 UTRACE_DATA3(UTRACE_VERBOSE, "coll=%p, source string = %vh ", coll, source, in ucol_getSortKey()
204 int32_t keySize = Collator::fromUCollator(coll)-> in ucol_getSortKey()
213 ucol_nextSortKeyPart(const UCollator *coll, in ucol_nextSortKeyPart() argument
225 coll, iter, state[0], state[1], dest, count); in ucol_nextSortKeyPart()
227 int32_t i = Collator::fromUCollator(coll)-> in ucol_nextSortKeyPart()
306 ucol_setMaxVariable(UCollator *coll, UColReorderCode group, UErrorCode *pErrorCode) { in ucol_setMaxVariable() argument
308 Collator::fromUCollator(coll)->setMaxVariable(group, *pErrorCode); in ucol_setMaxVariable()
312 ucol_getMaxVariable(const UCollator *coll) { in ucol_getMaxVariable() argument
313 return Collator::fromUCollator(coll)->getMaxVariable(); in ucol_getMaxVariable()
317 ucol_setVariableTop(UCollator *coll, const UChar *varTop, int32_t len, UErrorCode *status) { in ucol_setVariableTop() argument
318 if(U_FAILURE(*status) || coll == NULL) { in ucol_setVariableTop()
321 return Collator::fromUCollator(coll)->setVariableTop(varTop, len, *status); in ucol_setVariableTop()
324 U_CAPI uint32_t U_EXPORT2 ucol_getVariableTop(const UCollator *coll, UErrorCode *status) { in ucol_getVariableTop() argument
325 if(U_FAILURE(*status) || coll == NULL) { in ucol_getVariableTop()
328 return Collator::fromUCollator(coll)->getVariableTop(*status); in ucol_getVariableTop()
332 ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status) { in ucol_restoreVariableTop() argument
333 if(U_FAILURE(*status) || coll == NULL) { in ucol_restoreVariableTop()
336 Collator::fromUCollator(coll)->setVariableTop(varTop, *status); in ucol_restoreVariableTop()
340 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status… in ucol_setAttribute() argument
341 if(U_FAILURE(*status) || coll == NULL) { in ucol_setAttribute()
345 Collator::fromUCollator(coll)->setAttribute(attr, value, *status); in ucol_setAttribute()
349 ucol_getAttribute(const UCollator *coll, UColAttribute attr, UErrorCode *status) { in ucol_getAttribute() argument
350 if(U_FAILURE(*status) || coll == NULL) { in ucol_getAttribute()
354 return Collator::fromUCollator(coll)->getAttribute(attr, *status); in ucol_getAttribute()
358 ucol_setStrength( UCollator *coll, in ucol_setStrength() argument
362 ucol_setAttribute(coll, UCOL_STRENGTH, strength, &status); in ucol_setStrength()
366 ucol_getStrength(const UCollator *coll) in ucol_getStrength() argument
369 return ucol_getAttribute(coll, UCOL_STRENGTH, &status); in ucol_getStrength()
373 ucol_getReorderCodes(const UCollator *coll, in ucol_getReorderCodes() argument
381 return Collator::fromUCollator(coll)->getReorderCodes(dest, destCapacity, *status); in ucol_getReorderCodes()
385 ucol_setReorderCodes(UCollator* coll, in ucol_setReorderCodes() argument
393 Collator::fromUCollator(coll)->setReorderCodes(reorderCodes, reorderCodesLength, *status); in ucol_setReorderCodes()
405 ucol_getVersion(const UCollator* coll, in ucol_getVersion() argument
408 Collator::fromUCollator(coll)->getVersion(versionInfo); in ucol_getVersion()
412 ucol_strcollIter( const UCollator *coll, in ucol_strcollIter() argument
422 UTRACE_DATA3(UTRACE_VERBOSE, "coll=%p, sIter=%p, tIter=%p", coll, sIter, tIter); in ucol_strcollIter()
424 if(sIter == NULL || tIter == NULL || coll == NULL) { in ucol_strcollIter()
430 UCollationResult result = Collator::fromUCollator(coll)->compare(*sIter, *tIter, *status); in ucol_strcollIter()
441 ucol_strcoll( const UCollator *coll, in ucol_strcoll() argument
449 UTRACE_DATA3(UTRACE_VERBOSE, "coll=%p, source=%p, target=%p", coll, source, target); in ucol_strcoll()
455 UCollationResult returnVal = Collator::fromUCollator(coll)-> in ucol_strcoll()
463 const UCollator *coll, in ucol_strcollUTF8() argument
472 UTRACE_DATA3(UTRACE_VERBOSE, "coll=%p, source=%p, target=%p", coll, source, target); in ucol_strcollUTF8()
483 UCollationResult returnVal = Collator::fromUCollator(coll)->internalCompareUTF8( in ucol_strcollUTF8()
492 ucol_greater( const UCollator *coll, in ucol_greater() argument
498 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
504 ucol_greaterOrEqual( const UCollator *coll, in ucol_greaterOrEqual() argument
510 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual()
516 ucol_equal( const UCollator *coll, in ucol_equal() argument
522 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_equal()
527 ucol_getUCAVersion(const UCollator* coll, UVersionInfo info) { in ucol_getUCAVersion() argument
528 const Collator *c = Collator::fromUCollator(coll); in ucol_getUCAVersion()
546 ucol_getRules(const UCollator *coll, int32_t *length) { in ucol_getRules() argument
547 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRules()
549 if(rbc != NULL || coll == NULL) { in ucol_getRules()
561 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { in ucol_getRulesEx() argument
563 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRulesEx()
564 if(rbc != NULL || coll == NULL) { in ucol_getRulesEx()
576 ucol_getLocale(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) { in ucol_getLocale() argument
577 return ucol_getLocaleByType(coll, type, status); in ucol_getLocale()
581 ucol_getLocaleByType(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) { in ucol_getLocaleByType() argument
586 UTRACE_DATA1(UTRACE_INFO, "coll=%p", coll); in ucol_getLocaleByType()
589 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getLocaleByType()
590 if(rbc == NULL && coll != NULL) { in ucol_getLocaleByType()
603 ucol_getTailoredSet(const UCollator *coll, UErrorCode *status) { in ucol_getTailoredSet() argument
607 UnicodeSet *set = Collator::fromUCollator(coll)->getTailoredSet(*status); in ucol_getTailoredSet()