Home
last modified time | relevance | path

Searched refs:targetLength (Results 1 – 25 of 73) sorted by relevance

123

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetASCII.java70 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()
DCharsetCompoundText.java350 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/
DAbbreviatorTest.java128 …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/cronet/third_party/icu/source/common/
Ducnvhz.cpp41 #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 …]
/external/icu/icu4c/source/common/
Ducnvhz.cpp41 #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 …]
/external/icu/icu4c/source/i18n/
Ducol.cpp451 int32_t targetLength) in ucol_strcoll() argument
457 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
462 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
473 int32_t targetLength, in ucol_strcollUTF8() argument
480 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
490 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
502 int32_t targetLength) in ucol_greater() argument
504 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
514 int32_t targetLength) in ucol_greaterOrEqual() argument
516 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual()
[all …]
Dsortkey.cpp196 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/cronet/third_party/icu/source/i18n/
Ducol.cpp451 int32_t targetLength) in ucol_strcoll() argument
457 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
462 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
473 int32_t targetLength, in ucol_strcollUTF8() argument
480 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
490 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
502 int32_t targetLength) in ucol_greater() argument
504 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
514 int32_t targetLength) in ucol_greaterOrEqual() argument
516 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual()
[all …]
Dsortkey.cpp196 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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DAdtsReader.java178 int targetLength = hasCrc ? HEADER_SIZE + CRC_SIZE : HEADER_SIZE; in consume() local
179 if (continueRead(data, adtsScratch.data, targetLength)) { in consume()
219 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
220 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
223 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()
DDtsReader.java145 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
146 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
149 return bytesRead == targetLength; in continueRead()
DAc3Reader.java170 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
171 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
174 return bytesRead == targetLength; in continueRead()
DPesReader.java174 ParsableByteArray source, @Nullable byte[] target, int targetLength) { in continueRead() argument
175 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
184 return bytesRead == targetLength; in continueRead()
DAc4Reader.java173 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
174 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
177 return bytesRead == targetLength; in continueRead()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DAdtsReader.java176 int targetLength = hasCrc ? HEADER_SIZE + CRC_SIZE : HEADER_SIZE; in consume() local
177 if (continueRead(data, adtsScratch.data, targetLength)) { in consume()
217 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
218 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
221 return bytesRead == targetLength; in continueRead()
456 private boolean tryRead(ParsableByteArray source, byte[] target, int targetLength) { in tryRead() argument
457 if (source.bytesLeft() < targetLength) { in tryRead()
460 source.readBytes(target, /* offset= */ 0, targetLength); in tryRead()
DDtsReader.java145 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
146 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
149 return bytesRead == targetLength; in continueRead()
DPesReader.java174 ParsableByteArray source, @Nullable byte[] target, int targetLength) { in continueRead() argument
175 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
184 return bytesRead == targetLength; in continueRead()
DAc4Reader.java170 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
171 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
174 return bytesRead == targetLength; in continueRead()
DAc3Reader.java167 private boolean continueRead(ParsableByteArray source, byte[] target, int targetLength) { in continueRead() argument
168 int bytesToRead = min(source.bytesLeft(), targetLength - bytesRead); in continueRead()
171 return bytesRead == targetLength; in continueRead()
/external/licenseclassifier/v2/
Dsearchset_test.go295 targetLength, subsetLength, q int
304 targetLength: 100,
319 targetLength: 100,
332 targetLength: 100,
351 targetLength: 100,
380 …if got := c.detectRuns(test.name, test.matched, test.targetLength, test.subsetLength, test.thresho…
/external/icu/icu4c/source/i18n/unicode/
Ducol.h569 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/libandroidicu/include/unicode/
Ducol.h569 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/cronet/third_party/icu/source/i18n/unicode/
Ducol.h569 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/
Ducol.h569 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/zstd/lib/compress/
Dzstd_fast.c102 size_t const stepSize = hasStep ? (cParams->targetLength + !(cParams->targetLength) + 1) : 2; in ZSTD_compressBlock_fast_noDict_generic()
341 if (ms->cParams.targetLength > 1) { in ZSTD_compressBlock_fast()
380 U32 const stepSize = cParams->targetLength + !(cParams->targetLength); in ZSTD_compressBlock_fast_dictMatchState_generic()
556 U32 const stepSize = cParams->targetLength + !(cParams->targetLength); in ZSTD_compressBlock_fast_extDict_generic()

123