Home
last modified time | relevance | path

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

/external/icu4c/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.c1562 runCount, runLength, addedRuns, insertRemove, in setParaRunsOnly() local
1636 for(i=0; i<runCount; i++, visualStart+=runLength) { in setParaRunsOnly()
1637 runLength=runs[i].visualLimit-visualStart; in setParaRunsOnly()
1638 if(runLength<2) { in setParaRunsOnly()
1642 for(j=logicalStart+1; j<logicalStart+runLength; j++) { in setParaRunsOnly()
1664 runLength= i==0 ? runs[0].visualLimit : in setParaRunsOnly()
1669 if(runLength<2) { in setParaRunsOnly()
1680 limit=logicalStart+runLength-1; in setParaRunsOnly()
1683 start=logicalStart+runLength-1; in setParaRunsOnly()
/external/icu4c/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/icu4c/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.cpp541 int32_t runLength = runLimit - runStart; in filteredTransliterate() local
636 text.handleReplaceBetween(rollbackOrigin, rollbackOrigin + runLength, EMPTY); in filteredTransliterate()
/external/webkit/WebCore/platform/graphics/mac/
DFontMacATSUI.mm333 UniCharCount runLength = m_run.length();
336 memcpy(m_charBuffer.get(), m_run.characters(), runLength * sizeof(UChar));
341 runLength, // length
342 runLength, // total length
344 &runLength, // length of style run
382 while (substituteOffset < runLength) {
398 substituteOffset = runLength;
422 m_charBuffer.set(new UChar[runLength]);
426 shapeArabic(m_run.characters(), m_charBuffer.get(), runLength, i);
432 m_charBuffer.set(new UChar[runLength]);
[all …]
/external/webkit/WebCore/editing/
DTextIterator.cpp1035 int runLength = m_textIterator.length(); in advance() local
1036 if (runLength == 0) in advance()
1040 if (count < runLength) { in advance()
1047 count -= runLength; in advance()
1048 m_offset += runLength; in advance()
/external/icu4c/layoutex/
DParagraphLayout.cpp881 le_int32 relStart, run, runLength; in computeVisualRuns() local
882 … UBiDiDirection runDirection = ubidi_getVisualRun(fLineBidi, visualRun, &relStart, &runLength); in computeVisualRuns()
884 le_int32 runEnd = runStart + runLength - 1; in computeVisualRuns()
/external/webkit/WebCore/platform/
DKURL.cpp865 unsigned runLength = (encodedRunEnd - encodedRunPosition) / 3; in decodeURLEscapeSequences() local
866 buffer.resize(runLength); in decodeURLEscapeSequences()
869 for (unsigned i = 0; i < runLength; ++i) { in decodeURLEscapeSequences()
/external/icu4c/test/cintltst/
Dcbiditst.c995 int32_t runCount, visualIndex, logicalStart, runLength; in _testReordering() local
1039 odd=(UBool)ubidi_getVisualRun(pBiDi, i, &logicalStart, &runLength); in _testReordering()
1040 log_verbose(" (%c @%d[%d])", odd ? 'R' : 'L', logicalStart, runLength); in _testReordering()
1044 } while(--runLength>0); in _testReordering()
1046 logicalStart+=runLength; /* logicalLimit */ in _testReordering()
1049 } while(--runLength>0); in _testReordering()