/external/icu/icu4c/source/common/ |
D | ubidiwrt.cpp | 357 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 …]
|
D | ubidi.cpp | 2382 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local 2456 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly() 2457 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly() 2458 if(runLength<2) { in setParaRunsOnly() 2462 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly() 2484 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly() 2489 if(runLength<2) { in setParaRunsOnly() 2500 limit=logicalStart+runLength-1; in setParaRunsOnly() 2503 start=logicalStart+runLength-1; in setParaRunsOnly()
|
/external/icu/icu4c/source/tools/genrb/ |
D | rle.c | 157 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Utility.java | 240 int runLength = 1; in arrayToRLEString() local 243 if (s == runValue && runLength < 0xFFFF) { in arrayToRLEString() 244 ++runLength; in arrayToRLEString() 246 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 248 runLength = 1; in arrayToRLEString() 251 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 274 int runLength = 1; in arrayToRLEString() local 277 if (s == runValue && runLength < 0xFFFF) ++runLength; in arrayToRLEString() 279 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 281 runLength = 1; in arrayToRLEString() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Utility.java | 244 int runLength = 1; in arrayToRLEString() local 247 if (s == runValue && runLength < 0xFFFF) { in arrayToRLEString() 248 ++runLength; in arrayToRLEString() 250 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 252 runLength = 1; in arrayToRLEString() 255 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 278 int runLength = 1; in arrayToRLEString() local 281 if (s == runValue && runLength < 0xFFFF) ++runLength; in arrayToRLEString() 283 encodeRun(buffer, runValue, runLength); in arrayToRLEString() 285 runLength = 1; in arrayToRLEString() [all …]
|
/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/skia/src/ports/ |
D | SkFontHost_win.cpp | 2060 int runLength = 0; in onCharsToGlyphs() local 2061 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs() 2062 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs() 2063 ++runLength; in onCharsToGlyphs() 2064 if (runLength < glyphsLeft) { in onCharsToGlyphs() 2068 if (runLength) { in onCharsToGlyphs() 2069 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs() 2070 glyphIndex += runLength; in onCharsToGlyphs() 2091 int runLength = 0; in onCharsToGlyphs() local 2092 while (runLength < glyphsLeft && !SkUTF16_IsHighSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs() [all …]
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 2060 int runLength = 0; in onCharsToGlyphs() local 2061 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs() 2062 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs() 2063 ++runLength; in onCharsToGlyphs() 2064 if (runLength < glyphsLeft) { in onCharsToGlyphs() 2068 if (runLength) { in onCharsToGlyphs() 2069 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs() 2070 glyphIndex += runLength; in onCharsToGlyphs() 2091 int runLength = 0; in onCharsToGlyphs() local 2092 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 | 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 | 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 | 3656 oldRunCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local 3703 for (i = 0; i < oldRunCount; i++, visualStart += runLength) { in setParaRunsOnly() 3704 runLength = runs[i].limit - visualStart; in setParaRunsOnly() 3705 if (runLength < 2) { in setParaRunsOnly() 3709 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly() 3737 runLength = i==0 ? runs[0].limit : in setParaRunsOnly() 3741 if (runLength < 2) { in setParaRunsOnly() 3752 limit = logicalStart + runLength - 1; in setParaRunsOnly() 3755 start = logicalStart + runLength - 1; in setParaRunsOnly()
|
D | Transliterator.java | 905 int runLength = runLimit - runStart; in filteredTransliterate() local 1019 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Bidi.java | 3691 oldRunCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local 3738 for (i = 0; i < oldRunCount; i++, visualStart += runLength) { in setParaRunsOnly() 3739 runLength = runs[i].limit - visualStart; in setParaRunsOnly() 3740 if (runLength < 2) { in setParaRunsOnly() 3744 for (j = logicalStart+1; j < logicalStart+runLength; j++) { in setParaRunsOnly() 3772 runLength = i==0 ? runs[0].limit : in setParaRunsOnly() 3776 if (runLength < 2) { in setParaRunsOnly() 3787 limit = logicalStart + runLength - 1; in setParaRunsOnly() 3790 start = logicalStart + runLength - 1; in setParaRunsOnly()
|
/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 | 928 int runLength = runLimit - runStart; in filteredTransliterate() local 1042 text.replace(rollbackOrigin, rollbackOrigin + runLength, ""); in filteredTransliterate()
|
/external/icu/icu4c/source/i18n/ |
D | translit.cpp | 544 int32_t runLength = runLimit - runStart; in filteredTransliterate() local 638 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, UnicodeString()); in filteredTransliterate()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 1153 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local 1197 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering() 1198 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering() 1202 } while(--runLength>0); in _testReordering() 1204 logicalStart+=runLength; /* logicalLimit */ in _testReordering() 1207 } while(--runLength>0); in _testReordering()
|