• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ICU-511.35/icuSources/i18n/

Lines Matching defs:targetLength

7114     int32_t targetLength;
7129 targetLength = targetString.length();
7132 targetLength = (tColl->flags&UCOL_ITER_HASLEN)?(int32_t)(tColl->endp-tColl->string):-1;
7149 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen);
7156 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen);
7672 const UChar *target, int32_t targetLength,
7677 IInit_collIterate(coll, target, targetLength, &tColl, status);
8050 int32_t targetLength,
8057 uiter_setUTF8(&tgt, target, targetLength);
8546 int32_t targetLength)
8554 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength);
8566 if (source==target && sourceLength==targetLength) {
8573 return ((const Collator*)coll->delegate)->compare(source,sourceLength,target,targetLength, status);
8583 if (sourceLength == -1 && targetLength == -1) {
8600 const UChar *pTargEnd = target + targetLength;
8607 if ((*pSrc == 0 && sourceLength == -1) || (*pTarg == 0 && targetLength == -1)) {
8635 (pTarg != target+targetLength && ucol_unsafeCP(*pTarg, coll)))
8653 if (targetLength > 0) {
8654 targetLength -= equalLength;
8660 if(!coll->latinOneUse || (sourceLength > 0 && *source&0xff00) || (targetLength > 0 && *target&0xff00)) {
8661 returnVal = ucol_strcollRegular(coll, source, sourceLength, target, targetLength, &status);
8663 returnVal = ucol_strcollUseLatin1(coll, source, sourceLength, target, targetLength, &status);
8675 int32_t targetLength,
8684 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength);
8701 if (source==target && sourceLength==targetLength) {
8709 StringPiece(target, (targetLength < 0) ? uprv_strlen(target) : targetLength),
8721 if (sourceLength == -1 && targetLength == -1) {
8739 const char *pTargEnd = target + targetLength;
8746 if ((*pSrc == 0 && sourceLength == -1) || (*pTarg == 0 && targetLength == -1)) {
8798 U8_GET_OR_FFFD((const uint8_t*)target, 0, equalLength, targetLength, uc32);
8822 if (targetLength > 0) {
8823 targetLength -= equalLength;
8828 bSawNonLatin1 |= (target && (targetLength != 0) && (uint8_t)*target > 0xc3);
8834 returnVal = ucol_strcollRegularUTF8(coll, source, sourceLength, target, targetLength, status);
8836 returnVal = ucol_strcollUseLatin1UTF8(coll, source, sourceLength, target, targetLength, status);
8849 int32_t targetLength)
8851 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
8861 int32_t targetLength)
8863 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
8873 int32_t targetLength)
8875 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)