Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/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.c2256 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local
2330 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly()
2331 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly()
2332 if(runLength<2) { in setParaRunsOnly()
2336 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
2358 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly()
2363 if(runLength<2) { in setParaRunsOnly()
2374 limit=logicalStart+runLength-1; in setParaRunsOnly()
2377 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/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/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/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/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.cpp2184 int runLength = 0; in onCharsToGlyphs() local
2185 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2186 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2187 ++runLength; in onCharsToGlyphs()
2188 if (runLength < glyphsLeft) { in onCharsToGlyphs()
2192 if (runLength) { in onCharsToGlyphs()
2193 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2194 glyphIndex += runLength; in onCharsToGlyphs()
2215 int runLength = 0; in onCharsToGlyphs() local
2216 while (runLength < glyphsLeft && !SkUTF16_IsHighSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs()
[all …]
/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/chromium_org/third_party/WebKit/Source/core/editing/
DTextIterator.cpp1747 int runLength = m_textIterator.length(); in advance() local
1748 if (!runLength) { in advance()
1752 if (count < runLength) { in advance()
1759 count -= runLength; in advance()
1760 m_offset += runLength; in advance()
1831 int runLength = m_textIterator.length(); in advance() local
1832 if (!runLength) { in advance()
1835 if (count < runLength) { in advance()
1841 count -= runLength; in advance()
1842 m_offset += runLength; in advance()
/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/chromium_org/third_party/icu/source/i18n/
Dtranslit.cpp542 int32_t runLength = runLimit - runStart; in filteredTransliterate() local
636 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, UnicodeString()); in filteredTransliterate()
/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.c1145 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1189 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1190 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1194 } while(--runLength>0); in _testReordering()
1196 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1199 } 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()