/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) UPRV_… 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 | 1696 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument 1700 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading() 1705 int32_t start = targetLength - oldLength; in padLeading() 1712 setLength(targetLength); in padLeading() 1718 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument 1722 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing() 1727 int32_t length = targetLength; in padTrailing() 1731 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()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | AdtsReader.java | 174 int targetLength = hasCrc ? HEADER_SIZE + CRC_SIZE : HEADER_SIZE; in consume() local 175 if (continueRead(data, adtsScratch.data, targetLength)) { in consume() 215 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument 216 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 219 return bytesRead == targetLength; in continueRead() 458 private boolean tryRead(ParsableByteArray source, byte[] target, int targetLength) { in tryRead() argument 459 if (source.bytesLeft() < targetLength) { in tryRead() 462 source.readBytes(target, /* offset= */ 0, targetLength); in tryRead()
|
D | DtsReader.java | 139 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument 140 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 143 return bytesRead == targetLength; in continueRead()
|
D | PesReader.java | 172 ParsableByteArray source, @Nullable byte[] target, int targetLength) { in continueRead() argument 173 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 182 return bytesRead == targetLength; in continueRead()
|
D | Ac4Reader.java | 162 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument 163 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 166 return bytesRead == targetLength; in continueRead()
|
D | Ac3Reader.java | 163 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument 164 int bytesToRead = Math.min(source.bytesLeft(), targetLength - bytesRead); in continueRead() 167 return bytesRead == targetLength; in continueRead()
|
/external/icu/libandroidicu/include/unicode/ |
D | ucol.h | 569 int32_t targetLength); 595 int32_t targetLength, 615 const UChar *target, int32_t targetLength); 634 const UChar *target, int32_t targetLength); 653 const UChar *target, int32_t targetLength);
|
/external/icu/libicu/cts_headers/unicode/ |
D | ucol.h | 569 int32_t targetLength); 595 int32_t targetLength, 615 const UChar *target, int32_t targetLength); 634 const UChar *target, int32_t targetLength); 653 const UChar *target, int32_t targetLength);
|
D | coll.h | 433 const char16_t* target, int32_t targetLength) 454 const char16_t* target, int32_t targetLength,
|
D | unistr.h | 1581 uint32_t targetLength) const; 1649 uint32_t targetLength, 2596 UBool padLeading(int32_t targetLength, 2610 UBool padTrailing(int32_t targetLength, 2619 inline UBool truncate(int32_t targetLength); 4730 UnicodeString::truncate(int32_t targetLength) in truncate() argument 4732 if(isBogus() && targetLength == 0) { in truncate() 4736 } else if((uint32_t)targetLength < (uint32_t)length()) { in truncate() 4737 setLength(targetLength); in truncate()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucol.h | 569 int32_t targetLength); 595 int32_t targetLength, 615 const UChar *target, int32_t targetLength); 634 const UChar *target, int32_t targetLength); 653 const UChar *target, int32_t targetLength);
|
D | coll.h | 433 const char16_t* target, int32_t targetLength) 454 const char16_t* target, int32_t targetLength,
|
/external/zstd/lib/compress/ |
D | zstd_fast.c | 56 size_t const stepSize = cParams->targetLength + !(cParams->targetLength) + 1; in ZSTD_compressBlock_fast_generic() 215 U32 const stepSize = cParams->targetLength + !(cParams->targetLength); in ZSTD_compressBlock_fast_dictMatchState_generic() 383 U32 const stepSize = cParams->targetLength + !(cParams->targetLength); in ZSTD_compressBlock_fast_extDict_generic()
|
/external/zstd/tests/fuzz/ |
D | zstd_helpers.c | 45 cParams.targetLength = FUZZ_dataProducer_uint32Range(producer, 0, 512); in FUZZ_randomCParams() 76 set(cctx, ZSTD_c_targetLength, cParams.targetLength); in FUZZ_setRandomParameters()
|
/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/zstd/lib/legacy/ |
D | zstd_v05.h | 89 …U32 contentLog; U32 hashLog; U32 searchLog; U32 searchLength; U32 targetLength; ZSTDv05_strategy s… member
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 1581 uint32_t targetLength) const; 1649 uint32_t targetLength, 2596 UBool padLeading(int32_t targetLength, 2610 UBool padTrailing(int32_t targetLength, 2619 inline UBool truncate(int32_t targetLength); 4730 UnicodeString::truncate(int32_t targetLength) in truncate() argument 4732 if(isBogus() && targetLength == 0) { in truncate() 4736 } else if((uint32_t)targetLength < (uint32_t)length()) { in truncate() 4737 setLength(targetLength); in truncate()
|
/external/zstd/tests/ |
D | longmatch.c | 54 params.cParams.targetLength = 16; in main()
|