Home
last modified time | relevance | path

Searched refs:runLength (Results 1 – 21 of 21) sorted by relevance

/external/icu/icu4c/source/common/
Dubidiwrt.cpp357 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local
438 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered()
439 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered()
443 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered()
448 dest+=runLength; in ubidi_writeReordered()
450 destSize-=runLength; in ubidi_writeReordered()
461 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); in ubidi_writeReordered()
488 runLength=doWriteForward(src, runLength, in ubidi_writeReordered()
492 dest+=runLength; in ubidi_writeReordered()
494 destSize-=runLength; in ubidi_writeReordered()
[all …]
Dubidi.cpp2379 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local
2453 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly()
2454 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly()
2455 if(runLength<2) { in setParaRunsOnly()
2459 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2481 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly()
2486 if(runLength<2) { in setParaRunsOnly()
2497 limit=logicalStart+runLength-1; in setParaRunsOnly()
2500 start=logicalStart+runLength-1; in setParaRunsOnly()
/external/icu/icu4c/source/tools/genrb/
Drle.c157 int32_t runLength = 1; in usArrayToRLEString() local
163 if (s == runValue && runLength < 0xFFFF){ in usArrayToRLEString()
164 ++runLength; in usArrayToRLEString()
166 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString()
168 runLength = 1; in usArrayToRLEString()
171 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString()
204 int runLength = 1; in byteArrayToRLEString() local
210 if (b == runValue && runLength < 0xFF){ in byteArrayToRLEString()
211 ++runLength; in byteArrayToRLEString()
214 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py221 runLength = 0
223 while pos < numPoints and runLength <= MAX_RUN_LENGTH:
240 runLength += 1
242 runHeader = bytechr(runLength - 1)
244 runHeader = bytechr((runLength - 1) | POINTS_ARE_WORDS)
343 runLength = 0
346 while pos < numDeltas and runLength < 64 and deltas[pos] == 0:
348 runLength += 1
349 assert runLength >= 1 and runLength <= 64
350 stream.write(bytechr(DELTAS_ARE_ZERO | (runLength - 1)))
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java230 int runLength = 1; in arrayToRLEString() local
233 if (s == runValue && runLength < 0xFFFF) { in arrayToRLEString()
234 ++runLength; in arrayToRLEString()
236 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
238 runLength = 1; in arrayToRLEString()
241 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
264 int runLength = 1; in arrayToRLEString() local
267 if (s == runValue && runLength < 0xFFFF) ++runLength; in arrayToRLEString()
269 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
271 runLength = 1; in arrayToRLEString()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java234 int runLength = 1; in arrayToRLEString() local
237 if (s == runValue && runLength < 0xFFFF) { in arrayToRLEString()
238 ++runLength; in arrayToRLEString()
240 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
242 runLength = 1; in arrayToRLEString()
245 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
268 int runLength = 1; in arrayToRLEString() local
271 if (s == runValue && runLength < 0xFFFF) ++runLength; in arrayToRLEString()
273 encodeRun(buffer, runValue, runLength); in arrayToRLEString()
275 runLength = 1; in arrayToRLEString()
[all …]
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DInetAddressUtil.java58 int runLength = i - runStart; in compressLongestRunOfZeroes() local
59 if (runLength > bestRunLength) { in compressLongestRunOfZeroes()
61 bestRunLength = runLength; in compressLongestRunOfZeroes()
/external/python/cpython2/Mac/Modules/cg/
DCFMLateImport.c988 UInt16 runLength; in RunRelocationEngine() local
990 runLength = (opCode & 0x01FF) + 1; in RunRelocationEngine()
991 state.relocAddress += runLength; in RunRelocationEngine()
996 UInt16 runLength; in RunRelocationEngine() local
998 runLength = (opCode & 0x01FF) + 1; in RunRelocationEngine()
999 state.relocAddress += (runLength * 3); in RunRelocationEngine()
1005 UInt16 runLength; in RunRelocationEngine() local
1007 runLength = (opCode & 0x01FF) + 1; in RunRelocationEngine()
1008 state.relocAddress += (runLength * 2); in RunRelocationEngine()
1014 UInt16 runLength; in RunRelocationEngine() local
[all …]
/external/skia/src/ports/
DSkFontHost_win.cpp2010 int runLength = 0; in onCharsToGlyphs() local
2011 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2012 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2013 ++runLength; in onCharsToGlyphs()
2014 if (runLength < glyphsLeft) { in onCharsToGlyphs()
2018 if (runLength) { in onCharsToGlyphs()
2019 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2020 glyphIndex += runLength; in onCharsToGlyphs()
2041 int runLength = 0; in onCharsToGlyphs() local
2042 while (runLength < glyphsLeft && !SkUTF16_IsLeadingSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs()
[all …]
/external/skqp/src/ports/
DSkFontHost_win.cpp2011 int runLength = 0; in onCharsToGlyphs() local
2012 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2013 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2014 ++runLength; in onCharsToGlyphs()
2015 if (runLength < glyphsLeft) { in onCharsToGlyphs()
2019 if (runLength) { in onCharsToGlyphs()
2020 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2021 glyphIndex += runLength; in onCharsToGlyphs()
2042 int runLength = 0; in onCharsToGlyphs() local
2043 while (runLength < glyphsLeft && !SkUTF16_IsLeadingSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorOutputStream.java312 private int runLength = 0; field in BZip2CompressorOutputStream
425 int runLengthShadow = this.runLength; in writeRun()
486 if (this.runLength > 0) { in finish()
652 if (++this.runLength > 254) { in write0()
655 this.runLength = 0; in write0()
660 this.runLength = 1; in write0()
665 this.runLength++; in write0()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidi.java210 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
264 runLength = run.getLength(); in _testReordering()
270 } while (--runLength > 0); in _testReordering()
272 logicalStart += runLength; /* logicalLimit */ in _testReordering()
275 } while (--runLength > 0); in _testReordering()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidi.java213 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
267 runLength = run.getLength(); in _testReordering()
273 } while (--runLength > 0); in _testReordering()
275 logicalStart += runLength; /* logicalLimit */ in _testReordering()
278 } while (--runLength > 0); in _testReordering()
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java390 int runLength = i - runStart; in compressLongestRunOfZeroes() local
391 if (runLength > bestRunLength) { in compressLongestRunOfZeroes()
393 bestRunLength = runLength; in compressLongestRunOfZeroes()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidi.java3697 oldRunCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local
3744 for (i = 0; i < oldRunCount; i++, visualStart += runLength) { in setParaRunsOnly()
3745 runLength = runs[i].limit - visualStart; in setParaRunsOnly()
3746 if (runLength < 2) { in setParaRunsOnly()
3750 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly()
3778 runLength = i==0 ? runs[0].limit : in setParaRunsOnly()
3782 if (runLength < 2) { in setParaRunsOnly()
3793 limit = logicalStart + runLength - 1; in setParaRunsOnly()
3796 start = logicalStart + runLength - 1; in setParaRunsOnly()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidi.java3662 oldRunCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local
3709 for (i = 0; i < oldRunCount; i++, visualStart += runLength) { in setParaRunsOnly()
3710 runLength = runs[i].limit - visualStart; in setParaRunsOnly()
3711 if (runLength < 2) { in setParaRunsOnly()
3715 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly()
3743 runLength = i==0 ? runs[0].limit : in setParaRunsOnly()
3747 if (runLength < 2) { in setParaRunsOnly()
3758 limit = logicalStart + runLength - 1; in setParaRunsOnly()
3761 start = logicalStart + runLength - 1; in setParaRunsOnly()
DTransliterator.java1128 int runLength = runLimit - runStart; in filteredTransliterate() local
1242 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp1031 le_int32 relStart, run, runLength; in computeVisualRuns() local
1032 … UBiDiDirection runDirection = ubidi_getVisualRun(fLineBidi, visualRun, &relStart, &runLength); in computeVisualRuns()
1034 le_int32 runEnd = runStart + runLength - 1; in computeVisualRuns()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterator.java1175 int runLength = runLimit - runStart; in filteredTransliterate() local
1289 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
/external/icu/icu4c/source/i18n/
Dtranslit.cpp544 int32_t runLength = runLimit - runStart; in filteredTransliterate() local
638 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, UnicodeString()); in filteredTransliterate()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1156 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1200 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1201 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1205 } while(--runLength>0); in _testReordering()
1207 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1210 } while(--runLength>0); in _testReordering()