/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetASCII.java | 70 int targetLength = target.limit() - oldTarget; in decodeLoop() local 72 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength) in decodeLoop() 82 if (sourceLength <= targetLength) { in decodeLoop() 87 source.position(oldSource + targetLength); in decodeLoop() 88 target.position(oldTarget + targetLength); in decodeLoop() 228 int targetLength = target.limit() - oldTarget; in encodeLoop() local 230 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength) in encodeLoop() 240 if (sourceLength <= targetLength) { in encodeLoop() 245 source.position(oldSource + targetLength); in encodeLoop() 246 target.position(oldTarget + targetLength); in encodeLoop()
|
D | CharsetCompoundText.java | 350 int targetLength = 0; in encodeLoop() local 373 targetLength = 0; in encodeLoop() 451 targetLength = i; in encodeLoop() 455 targetBytes[i+targetLength] = tmpTargetBuffer.get(i); in encodeLoop() 457 targetLength += i; in encodeLoop() 459 for (i = 0; i < targetLength; i++) { in encodeLoop() 475 for (int n = i; n < targetLength; n++) { in encodeLoop()
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/ |
D | AbbreviatorTest.java | 128 …oid assertTheory0(int averageLen, String filename, String result, int fixedLen, int targetLength) { in assertTheory0() argument 133 … assertUsefulness(int averageLen, String filename, String result, int fixedLen, int targetLength) { in assertUsefulness() argument 137 if (targetLength > fixedLen + margin) { in assertUsefulness() 139 … + targetLength + ", avgLen=" + averageLen, result.length() <= targetLength + averageLen); in assertUsefulness() 144 void assertTheory1(String filename, String result, int fixedLen, int targetLength) { in assertTheory1() argument 151 void assertTheory2(String filename, String result, int fixedLen, int targetLength) { in assertTheory2() argument
|
/external/icu/icu4c/source/common/ |
D | ucnvhz.cpp | 41 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument 43 …if(targetIndex < targetLength){ … 343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local 358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() [all …]
|
D | unistr.cpp | 1693 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument 1697 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading() 1702 int32_t start = targetLength - oldLength; in padLeading() 1709 setLength(targetLength); in padLeading() 1715 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument 1719 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing() 1724 int32_t length = targetLength; in padTrailing() 1728 setLength(targetLength); in padTrailing()
|
D | ucnv.cpp | 2407 int32_t targetLength=0; in ucnv_internalConvert() local 2423 targetLength=0; in ucnv_internalConvert() 2435 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert() 2458 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert() 2462 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode); in ucnv_internalConvert() 2466 return targetLength; in ucnv_internalConvert() 2476 int32_t targetLength; in ucnv_convert() local 2506 targetLength=ucnv_internalConvert(outConverter, inConverter, in ucnv_convert() 2514 return targetLength; in ucnv_convert() 2527 int32_t targetLength; in ucnv_convertAlgorithmic() local [all …]
|
/external/icu/icu4c/source/i18n/ |
D | ucol.cpp | 445 int32_t targetLength) in ucol_strcoll() argument 451 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll() 456 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll() 467 int32_t targetLength, in ucol_strcollUTF8() argument 474 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8() 484 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8() 496 int32_t targetLength) in ucol_greater() argument 498 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater() 508 int32_t targetLength) in ucol_greaterOrEqual() argument 510 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual() [all …]
|
D | sortkey.cpp | 196 int32_t targetLength = target.getLength(); in compareTo() local 197 if (minLength < targetLength) { in compareTo() 199 } else if (minLength == targetLength) { in compareTo() 202 minLength = targetLength; in compareTo()
|
D | coll.cpp | 511 const UChar* target, int32_t targetLength) in compare() 515 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec); in compare()
|
/external/icu/libandroidicu/include/unicode/ |
D | ucol.h | 564 int32_t targetLength); 590 int32_t targetLength, 610 const UChar *target, int32_t targetLength); 629 const UChar *target, int32_t targetLength); 648 const UChar *target, int32_t targetLength);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucol.h | 564 int32_t targetLength); 590 int32_t targetLength, 610 const UChar *target, int32_t targetLength); 629 const UChar *target, int32_t targetLength); 648 const UChar *target, int32_t targetLength);
|
D | coll.h | 424 const char16_t* target, int32_t targetLength) 444 const char16_t* target, int32_t targetLength,
|
D | tblcoll.h | 312 const char16_t* target, int32_t targetLength,
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkgitems.cpp | 134 int32_t treeLength, suffixLength, targetLength; in makeTargetName() local 150 targetLength=treeLength+idLength+suffixLength; in makeTargetName() 151 if(targetLength>=capacity) { in makeTargetName() 153 itemName, (long)targetLength); in makeTargetName()
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 1578 uint32_t targetLength) const; 1646 uint32_t targetLength, 2611 UBool padLeading(int32_t targetLength, 2625 UBool padTrailing(int32_t targetLength, 2634 inline UBool truncate(int32_t targetLength); 4749 UnicodeString::truncate(int32_t targetLength) in truncate() argument 4751 if(isBogus() && targetLength == 0) { in truncate() 4755 } else if((uint32_t)targetLength < (uint32_t)length()) { in truncate() 4756 setLength(targetLength); in truncate()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccapitst.c | 2151 int32_t targetLength; in convertExStreaming() local 2188 targetLength=(int32_t)(target-targetBuffer); in convertExStreaming() 2197 if(targetLength+chunkSize<=sizeof(targetBuffer)) { in convertExStreaming() 2217 } else if(targetLength!=expectTargetLength) { in convertExStreaming() 2219 testName, chunkSize, targetLength, expectTargetLength); in convertExStreaming() 2220 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) { in convertExStreaming()
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 1126 …r * coll, const UChar * source, int32_t sourceLength, const UChar * target, int32_t targetLength) { in ucol_equal_android() argument 1127 return ucol_equal(coll, source, sourceLength, target, targetLength); in ucol_equal_android() 1198 …r * coll, const UChar * source, int32_t sourceLength, const UChar * target, int32_t targetLength) { in ucol_greater_android() argument 1199 return ucol_greater(coll, source, sourceLength, target, targetLength); in ucol_greater_android() 1201 …r * coll, const UChar * source, int32_t sourceLength, const UChar * target, int32_t targetLength) { in ucol_greaterOrEqual_android() argument 1202 return ucol_greaterOrEqual(coll, source, sourceLength, target, targetLength); in ucol_greaterOrEqual_android() 1264 …r * coll, const UChar * source, int32_t sourceLength, const UChar * target, int32_t targetLength) { in ucol_strcoll_android() argument 1265 return ucol_strcoll(coll, source, sourceLength, target, targetLength); in ucol_strcoll_android() 1270 …nst char * source, int32_t sourceLength, const char * target, int32_t targetLength, UErrorCode * s… in ucol_strcollUTF8_android() argument 1271 return ucol_strcollUTF8(coll, source, sourceLength, target, targetLength, status); in ucol_strcollUTF8_android()
|
/external/lz4/lib/ |
D | lz4hc.c | 720 U32 targetLength; in LZ4HC_compress_generic_internal() member 755 cParam.nbSearches, cParam.targetLength, limit, in LZ4HC_compress_generic_internal()
|
/external/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 2017 int32_t targetLength, 2099 int32_t targetLength, in compare() argument 2103 UnicodeString t(target, targetLength); in compare()
|