/external/icu/icu4c/source/common/ |
D | ubidiwrt.cpp | 364 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local 445 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered() 446 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered() 450 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered() 455 dest+=runLength; in ubidi_writeReordered() 457 destSize-=runLength; in ubidi_writeReordered() 468 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); in ubidi_writeReordered() 495 runLength=doWriteForward(src, runLength, in ubidi_writeReordered() 499 dest+=runLength; in ubidi_writeReordered() 501 destSize-=runLength; in ubidi_writeReordered() [all …]
|
D | ubidi.cpp | 2377 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local 2451 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly() 2452 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly() 2453 if(runLength<2) { in setParaRunsOnly() 2457 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly() 2479 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly() 2484 if(runLength<2) { in setParaRunsOnly() 2495 limit=logicalStart+runLength-1; in setParaRunsOnly() 2498 start=logicalStart+runLength-1; in setParaRunsOnly()
|
/external/icu/icu4c/source/tools/genrb/ |
D | rle.c | 158 int32_t runLength = 1; in usArrayToRLEString() local 164 if (s == runValue && runLength < 0xFFFF){ in usArrayToRLEString() 165 ++runLength; in usArrayToRLEString() 167 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString() 169 runLength = 1; in usArrayToRLEString() 172 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString() 205 int runLength = 1; in byteArrayToRLEString() local 211 if (b == runValue && runLength < 0xFF){ in byteArrayToRLEString() 212 ++runLength; in byteArrayToRLEString() 215 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/ |
D | DvbParser.java | 700 int runLength = 0; in paint2BitPixelCodeString() local 704 runLength = 1; in paint2BitPixelCodeString() 707 runLength = 3 + data.readBits(3); in paint2BitPixelCodeString() 710 runLength = 1; in paint2BitPixelCodeString() 717 runLength = 2; in paint2BitPixelCodeString() 720 runLength = 12 + data.readBits(4); in paint2BitPixelCodeString() 724 runLength = 29 + data.readBits(8); in paint2BitPixelCodeString() 730 if (runLength != 0 && paint != null) { in paint2BitPixelCodeString() 732 canvas.drawRect(column, line, column + runLength, line + 1, paint); in paint2BitPixelCodeString() 735 column += runLength; in paint2BitPixelCodeString() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | TupleVariation.py | 224 runLength = 0 226 while pos < numPoints and runLength <= MAX_RUN_LENGTH: 243 runLength += 1 245 runHeader = bytechr(runLength - 1) 247 runHeader = bytechr((runLength - 1) | POINTS_ARE_WORDS) 346 runLength = 0 349 while pos < numDeltas and runLength < 64 and deltas[pos] == 0: 351 runLength += 1 352 assert runLength >= 1 and runLength <= 64 353 stream.write(bytechr(DELTAS_ARE_ZERO | (runLength - 1))) [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Utility.java | 232 int runLength = 1; in arrayToRLEString() local 235 if (s == runValue && runLength < 0xFFFF) { in arrayToRLEString() 236 ++runLength; in arrayToRLEString() 238 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 240 runLength = 1; in arrayToRLEString() 243 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 266 int runLength = 1; in arrayToRLEString() local 269 if (s == runValue && runLength < 0xFFFF) ++runLength; in arrayToRLEString() 271 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 273 runLength = 1; in arrayToRLEString() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Utility.java | 236 int runLength = 1; in arrayToRLEString() local 239 if (s == runValue && runLength < 0xFFFF) { in arrayToRLEString() 240 ++runLength; in arrayToRLEString() 242 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 244 runLength = 1; in arrayToRLEString() 247 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 270 int runLength = 1; in arrayToRLEString() local 273 if (s == runValue && runLength < 0xFFFF) ++runLength; in arrayToRLEString() 275 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 277 runLength = 1; in arrayToRLEString() [all …]
|
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/ |
D | InetAddressUtil.java | 58 int runLength = i - runStart; in compressLongestRunOfZeroes() local 59 if (runLength > bestRunLength) { in compressLongestRunOfZeroes() 61 bestRunLength = runLength; in compressLongestRunOfZeroes()
|
/external/python/cpython2/Mac/Modules/cg/ |
D | CFMLateImport.c | 988 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/guava/guava-tests/benchmark/com/google/common/collect/ |
D | ImmutableSetHashFloodingDetectionBenchmark.java | 86 for (int runLength = 0; i < startOfEndRun && hashTable[i] != null; i++) { in hashFloodingDetected() 87 runLength++; in hashFloodingDetected() 88 if (runLength > maxRunBeforeFallback) { in hashFloodingDetected()
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 2011 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/pgs/ |
D | PgsDecoder.java | 224 int runLength = in build() local 230 argbBitmapData, argbBitmapDataIndex, argbBitmapDataIndex + runLength, color); in build() 231 argbBitmapDataIndex += runLength; in build()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/ |
D | BZip2CompressorOutputStream.java | 312 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/ |
D | TestBidi.java | 210 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/ |
D | TestBidi.java | 213 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/ |
D | InetAddresses.java | 424 int runLength = i - runStart; in compressLongestRunOfZeroes() local 425 if (runLength > bestRunLength) { in compressLongestRunOfZeroes() 427 bestRunLength = runLength; in compressLongestRunOfZeroes()
|
/external/guava/android/guava/src/com/google/common/net/ |
D | InetAddresses.java | 428 int runLength = i - runStart; in compressLongestRunOfZeroes() local 429 if (runLength > bestRunLength) { in compressLongestRunOfZeroes() 431 bestRunLength = runLength; in compressLongestRunOfZeroes()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Bidi.java | 3697 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/skia/src/ports/ |
D | SkFontHost_win.cpp | 1967 int runLength = 0; in onCharsToGlyphs() local 1968 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { in onCharsToGlyphs() 1969 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); in onCharsToGlyphs() 1970 ++runLength; in onCharsToGlyphs() 1972 if (runLength) { in onCharsToGlyphs() 1973 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs() 1974 glyphIndex += runLength; in onCharsToGlyphs()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Bidi.java | 3662 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()
|
D | Transliterator.java | 1128 int runLength = runLimit - runStart; in filteredTransliterate() local 1242 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
|
/external/icu/icu4c/source/layoutex/ |
D | ParagraphLayout.cpp | 1031 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/ |
D | Transliterator.java | 1175 int runLength = runLimit - runStart; in filteredTransliterate() local 1289 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
|
/external/icu/icu4c/source/i18n/ |
D | translit.cpp | 545 int32_t runLength = runLimit - runStart; in filteredTransliterate() local 639 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, UnicodeString()); in filteredTransliterate()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 1156 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()
|