Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/common/
Dubidiwrt.c359 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local
440 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered()
441 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered()
445 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered()
449 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()
491 dest+=runLength; in ubidi_writeReordered()
492 destSize-=runLength; in ubidi_writeReordered()
[all …]
Dubidi.c1584 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local
1658 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly()
1659 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly()
1660 if(runLength<2) { in setParaRunsOnly()
1664 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
1686 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly()
1691 if(runLength<2) { in setParaRunsOnly()
1702 limit=logicalStart+runLength-1; in setParaRunsOnly()
1705 start=logicalStart+runLength-1; in setParaRunsOnly()
/external/icu/icu4c/source/common/
Dubidiwrt.c360 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local
441 if(UBIDI_LTR==ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength)) { in ubidi_writeReordered()
442 runLength=doWriteForward(text+logicalStart, runLength, in ubidi_writeReordered()
446 runLength=doWriteReverse(text+logicalStart, runLength, in ubidi_writeReordered()
451 dest+=runLength; in ubidi_writeReordered()
453 destSize-=runLength; in ubidi_writeReordered()
464 dir=ubidi_getVisualRun(pBiDi, run, &logicalStart, &runLength); in ubidi_writeReordered()
491 runLength=doWriteForward(src, runLength, in ubidi_writeReordered()
495 dest+=runLength; in ubidi_writeReordered()
497 destSize-=runLength; in ubidi_writeReordered()
[all …]
Dubidi.c2350 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local
2424 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly()
2425 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly()
2426 if(runLength<2) { in setParaRunsOnly()
2430 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2452 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly()
2457 if(runLength<2) { in setParaRunsOnly()
2468 limit=logicalStart+runLength-1; in setParaRunsOnly()
2471 start=logicalStart+runLength-1; in setParaRunsOnly()
/external/chromium_org/third_party/icu/source/tools/genrb/
Drle.c155 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/icu4c/source/tools/genrb/
Drle.c155 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/chromium_org/third_party/WebKit/Source/platform/text/
DDecodeEscapeSequences.h56 static String decodeRun(const CharType* run, size_t runLength, const WTF::TextEncoding&) in decodeRun()
62 size_t numberOfSequences = runLength / sequenceSize; in decodeRun()
103 … static String decodeRun(const CharType* run, size_t runLength, const WTF::TextEncoding& encoding) in decodeRun()
108 buffer.resize(runLength); // Unescaping hex sequences only makes the length smaller. in decodeRun()
110 const CharType* runEnd = run + runLength; in decodeRun()
/external/chromium_org/third_party/icu/source/i18n/
Dbocsu.c168 int32_t i, runLength; in u_lengthOfIdenticalLevelRun() local
171 runLength=0; in u_lengthOfIdenticalLevelRun()
185 runLength+=lengthOfDiff(c-prev); in u_lengthOfIdenticalLevelRun()
188 return runLength; in u_lengthOfIdenticalLevelRun()
Dtranslit.cpp544 int32_t runLength = runLimit - runStart; in filteredTransliterate() local
639 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, EMPTY); in filteredTransliterate()
/external/skia/src/ports/
DSkFontHost_win.cpp2212 int runLength = 0; in onCharsToGlyphs() local
2213 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2214 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2215 ++runLength; in onCharsToGlyphs()
2216 if (runLength < glyphsLeft) { in onCharsToGlyphs()
2220 if (runLength) { in onCharsToGlyphs()
2221 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2222 glyphIndex += runLength; in onCharsToGlyphs()
2243 int runLength = 0; in onCharsToGlyphs() local
2244 while (runLength < glyphsLeft && !SkUTF16_IsHighSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs()
[all …]
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_win.cpp2212 int runLength = 0; in onCharsToGlyphs() local
2213 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2214 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2215 ++runLength; in onCharsToGlyphs()
2216 if (runLength < glyphsLeft) { in onCharsToGlyphs()
2220 if (runLength) { in onCharsToGlyphs()
2221 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2222 glyphIndex += runLength; in onCharsToGlyphs()
2243 int runLength = 0; in onCharsToGlyphs() local
2244 while (runLength < glyphsLeft && !SkUTF16_IsHighSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextIterator.cpp1557 int runLength = m_textIterator.length(); in advance() local
1558 if (!runLength) { in advance()
1562 if (count < runLength) { in advance()
1569 count -= runLength; in advance()
1570 m_offset += runLength; in advance()
1638 int runLength = m_textIterator.length(); in advance() local
1639 if (!runLength) { in advance()
1642 if (count < runLength) { in advance()
1648 count -= runLength; in advance()
1649 m_offset += runLength; in advance()
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java426 int runLength = i - runStart; in compressLongestRunOfZeroes() local
427 if (runLength > bestRunLength) { in compressLongestRunOfZeroes()
429 bestRunLength = runLength; in compressLongestRunOfZeroes()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp1029 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/icu4c/source/i18n/
Dtranslit.cpp542 int32_t runLength = runLimit - runStart; in filteredTransliterate() local
636 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, UnicodeString()); in filteredTransliterate()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcbiditst.c998 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1042 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1043 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1047 } while(--runLength>0); in _testReordering()
1049 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1052 } while(--runLength>0); in _testReordering()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c1147 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1191 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1192 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1196 } while(--runLength>0); in _testReordering()
1198 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1201 } while(--runLength>0); in _testReordering()