/external/icu/icu4c/source/common/ |
D | ubidiwrt.c | 355 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local 436 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered() 437 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered() 441 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered() 446 dest+=runLength; in ubidi_writeReordered() 448 destSize-=runLength; in ubidi_writeReordered() 459 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); in ubidi_writeReordered() 486 runLength=doWriteForward(src, runLength, in ubidi_writeReordered() 490 dest+=runLength; in ubidi_writeReordered() 492 destSize-=runLength; in ubidi_writeReordered() [all …]
|
D | ubidi.c | 2353 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local 2427 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly() 2428 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly() 2429 if(runLength<2) { in setParaRunsOnly() 2433 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly() 2455 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly() 2460 if(runLength<2) { in setParaRunsOnly() 2471 limit=logicalStart+runLength-1; in setParaRunsOnly() 2474 start=logicalStart+runLength-1; in setParaRunsOnly()
|
/external/icu/icu4c/source/tools/genrb/ |
D | rle.c | 155 int32_t runLength = 1; in usArrayToRLEString() local 161 if (s == runValue && runLength < 0xFFFF){ in usArrayToRLEString() 162 ++runLength; in usArrayToRLEString() 164 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString() 166 runLength = 1; in usArrayToRLEString() 169 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString() 202 int runLength = 1; in byteArrayToRLEString() local 208 if (b == runValue && runLength < 0xFF){ in byteArrayToRLEString() 209 ++runLength; in byteArrayToRLEString() 212 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString() [all …]
|
/external/icu/android_icu4j/src/main/java/android/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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Utility.java | 228 int runLength = 1; in arrayToRLEString() local 231 if (s == runValue && runLength < 0xFFFF) { in arrayToRLEString() 232 ++runLength; in arrayToRLEString() 234 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 236 runLength = 1; in arrayToRLEString() 239 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 262 int runLength = 1; in arrayToRLEString() local 265 if (s == runValue && runLength < 0xFFFF) ++runLength; in arrayToRLEString() 267 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 269 runLength = 1; in arrayToRLEString() [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 2101 int runLength = 0; in onCharsToGlyphs() local 2102 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs() 2103 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs() 2104 ++runLength; in onCharsToGlyphs() 2105 if (runLength < glyphsLeft) { in onCharsToGlyphs() 2109 if (runLength) { in onCharsToGlyphs() 2110 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs() 2111 glyphIndex += runLength; in onCharsToGlyphs() 2132 int runLength = 0; in onCharsToGlyphs() local 2133 while (runLength < glyphsLeft && !SkUTF16_IsHighSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestBidi.java | 205 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local 259 runLength = run.getLength(); in _testReordering() 265 } while (--runLength > 0); in _testReordering() 267 logicalStart += runLength; /* logicalLimit */ in _testReordering() 270 } while (--runLength > 0); in _testReordering()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestBidi.java | 209 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local 263 runLength = run.getLength(); in _testReordering() 269 } while (--runLength > 0); in _testReordering() 271 logicalStart += runLength; /* logicalLimit */ in _testReordering() 274 } while (--runLength > 0); in _testReordering()
|
/external/guava/guava/src/com/google/common/net/ |
D | InetAddresses.java | 390 int runLength = i - runStart; in compressLongestRunOfZeroes() local 391 if (runLength > bestRunLength) { in compressLongestRunOfZeroes() 393 bestRunLength = runLength; in compressLongestRunOfZeroes()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Bidi.java | 3630 oldRunCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local 3677 for (i = 0; i < oldRunCount; i++, visualStart += runLength) { in setParaRunsOnly() 3678 runLength = runs[i].limit - visualStart; in setParaRunsOnly() 3679 if (runLength < 2) { in setParaRunsOnly() 3683 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly() 3711 runLength = i==0 ? runs[0].limit : in setParaRunsOnly() 3715 if (runLength < 2) { in setParaRunsOnly() 3726 limit = logicalStart + runLength - 1; in setParaRunsOnly() 3729 start = logicalStart + runLength - 1; in setParaRunsOnly()
|
D | Transliterator.java | 902 int runLength = runLimit - runStart; in filteredTransliterate() local 1016 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Bidi.java | 3667 oldRunCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local 3714 for (i = 0; i < oldRunCount; i++, visualStart += runLength) { in setParaRunsOnly() 3715 runLength = runs[i].limit - visualStart; in setParaRunsOnly() 3716 if (runLength < 2) { in setParaRunsOnly() 3720 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly() 3748 runLength = i==0 ? runs[0].limit : in setParaRunsOnly() 3752 if (runLength < 2) { in setParaRunsOnly() 3763 limit = logicalStart + runLength - 1; in setParaRunsOnly() 3766 start = logicalStart + runLength - 1; in setParaRunsOnly()
|
/external/icu/icu4c/source/layoutex/ |
D | ParagraphLayout.cpp | 1029 le_int32 relStart, run, runLength; in computeVisualRuns() local 1030 … UBiDiDirection runDirection = ubidi_getVisualRun(fLineBidi, visualRun, &relStart, &runLength); in computeVisualRuns() 1032 le_int32 runEnd = runStart + runLength - 1; in computeVisualRuns()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | Transliterator.java | 925 int runLength = runLimit - runStart; in filteredTransliterate() local 1039 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
|
/external/icu/icu4c/source/i18n/ |
D | translit.cpp | 542 int32_t runLength = runLimit - runStart; in filteredTransliterate() local 636 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, UnicodeString()); in filteredTransliterate()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 1149 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local 1193 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering() 1194 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering() 1198 } while(--runLength>0); in _testReordering() 1200 logicalStart+=runLength; /* logicalLimit */ in _testReordering() 1203 } while(--runLength>0); in _testReordering()
|