Home | History | Annotate | Download | only in i18n

Lines Matching defs:sourceLength

4436         int32_t        sourceLength,
4443 ((sourceLength==-1 && source!=NULL) ? u_strlen(source) : sourceLength));
4447 return ((const Collator*)coll->delegate)->getSortKey(source, sourceLength, result, resultLength);
4470 coll->sortKeyGen(coll, source, sourceLength, sink, &status);
4482 const UChar *source, int32_t sourceLength,
4486 coll->sortKeyGen(coll, source, sourceLength, sink, &errorCode);
4554 int32_t sourceLength,
4570 int32_t len = (sourceLength == -1 ? u_strlen(source) : sourceLength);
4958 int32_t sourceLength,
4974 int32_t len = sourceLength;
6062 int32_t sourceLength,
6086 && (source[sourceIndex] != 0 || sourceIndex < sourceLength));
6088 if((source[sourceIndex] == 0 || sourceIndex == sourceLength)
7033 int32_t sourceLength;
7047 sourceLength = sourceString.length();
7051 sourceLength = (sColl->flags&UCOL_ITER_HASLEN)?(int32_t)(sColl->endp-sColl->string):-1;
7059 sourceKeyLen = ucol_getSortKey(coll, source, sourceLength, sourceKeyP, sourceKeyLen);
7066 sourceKeyLen = ucol_getSortKey(coll, source, sourceLength, sourceKeyP, sourceKeyLen);
7594 const UChar *source, int32_t sourceLength,
7599 IInit_collIterate(coll, source, sourceLength, &sColl, status);
7971 int32_t sourceLength,
7979 uiter_setUTF8(&src, source, sourceLength);
8467 int32_t sourceLength,
8476 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vh ", source, sourceLength);
8480 if((source == NULL && sourceLength != 0) || (target == NULL && targetLength != 0)) {
8489 if (source==target && sourceLength==targetLength) {
8496 return ((const Collator*)coll->delegate)->compare(source,sourceLength,target,targetLength, status);
8506 if (sourceLength == -1 && targetLength == -1) {
8522 const UChar *pSrcEnd = source + sourceLength;
8530 if ((*pSrc == 0 && sourceLength == -1) || (*pTarg == 0 && targetLength == -1)) {
8557 if ((pSrc != source+sourceLength && ucol_unsafeCP(*pSrc, coll)) ||
8573 if (sourceLength > 0) {
8574 sourceLength -= equalLength;
8583 if(!coll->latinOneUse || (sourceLength > 0 && *source&0xff00) || (targetLength > 0 && *target&0xff00)) {
8584 returnVal = ucol_strcollRegular(coll, source, sourceLength, target, targetLength, &status);
8586 returnVal = ucol_strcollUseLatin1(coll, source, sourceLength, target, targetLength, &status);
8596 int32_t sourceLength,
8606 UTRACE_DATA2(UTRACE_VERBOSE, "source string = %vb ", source, sourceLength);
8616 if((source == NULL && sourceLength != 0) || (target == NULL && targetLength != 0)) {
8624 if (source==target && sourceLength==targetLength) {
8631 StringPiece(source, (sourceLength < 0) ? uprv_strlen(source) : sourceLength),
8644 if (sourceLength == -1 && targetLength == -1) {
8661 const char *pSrcEnd = source + sourceLength;
8669 if ((*pSrc == 0 && sourceLength == -1) || (*pTarg == 0 && targetLength == -1)) {
8714 U8_GET_OR_FFFD((const uint8_t*)source, 0, equalLength, sourceLength, uc32);
8742 if (sourceLength > 0) {
8743 sourceLength -= equalLength;
8750 bSawNonLatin1 = (source && (sourceLength != 0) && (uint8_t)*source > 0xc3);
8757 returnVal = ucol_strcollRegularUTF8(coll, source, sourceLength, target, targetLength, status);
8759 returnVal = ucol_strcollUseLatin1UTF8(coll, source, sourceLength, target, targetLength, status);
8770 int32_t sourceLength,
8774 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
8782 int32_t sourceLength,
8786 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)
8794 int32_t sourceLength,
8798 return (ucol_strcoll(coll, source, sourceLength, target, targetLength)