Home
last modified time | relevance | path

Searched refs:itemLength (Results 1 – 6 of 6) sorted by relevance

/external/webkit/WebCore/platform/graphics/chromium/
DUniscribeHelper.cpp219 int itemLength = shaping.charLength(); in characterToX() local
221 if (offset >= item.iCharPos && offset <= item.iCharPos + itemLength) { in characterToX()
226 hr = ScriptCPtoX(charLength, FALSE, itemLength, in characterToX()
258 int itemLength = shaping.charLength(); in xToCharacter() local
259 if (x <= itemAdvance && itemLength > 0) { in xToCharacter()
269 hr = ScriptXtoCP(x, itemLength, shaping.glyphLength(), in xToCharacter()
518 int itemLength, in shape() argument
541 shaping.m_logs.resize(itemLength); in shape()
567 hr = ScriptShape(tempDC, scriptCache, input, itemLength, in shape()
606 const UChar *family = getFallbackFamily(input, itemLength, in shape()
[all …]
DUniscribeHelper.h339 bool shape(const UChar* input, int itemLength, int numGlyphs, SCRIPT_ITEM& run, Shaping&);
/external/icu4c/tools/icuswap/
Dicuswap.cpp346 int32_t itemLength; in udata_swapPackage() local
421 itemLength=udata_swap(ds, inBytes+offset, -1, NULL, pErrorCode); in udata_swapPackage()
424 return headerSize+offset+(uint32_t)itemLength; in udata_swapPackage()
466 itemLength=(int32_t)(ds->readUInt32(inEntries[0].dataOffset)-offset); in udata_swapPackage()
467 udata_swapInvStringBlock(ds, inBytes+offset, itemLength, outBytes+offset, pErrorCode); in udata_swapPackage()
529 uprv_memcpy(outBytes+offset, inBytes+offset, itemLength); in udata_swapPackage()
/external/webkit/WebCore/platform/graphics/win/
DUniscribeController.cpp152 … int itemLength = m_run.rtl() ? indexOfFontTransition - index : index - indexOfFontTransition; in advance() local
154 …ShapeAndPlace((isSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, fontData, glyph… in advance()
159 int itemLength = m_run.rtl() ? indexOfFontTransition + 1 : length - indexOfFontTransition; in advance() local
160 if (itemLength) { in advance()
163 …eAndPlace((nextIsSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, nextFontData, g… in advance()
/external/webkit/WebCore/platform/graphics/mac/
DCoreTextController.cpp291 … int itemLength = m_run.rtl() ? indexOfFontTransition - index : index - indexOfFontTransition; in collectCoreTextRuns() local
292 …rCharacters((isSmallCaps ? m_smallCapsBuffer.data() : cp) + itemStart, itemLength, itemStart, glyp… in collectCoreTextRuns()
297 …int itemLength = m_run.rtl() ? indexOfFontTransition + 1 : m_end - indexOfFontTransition - (hasTra… in collectCoreTextRuns() local
298 if (itemLength) { in collectCoreTextRuns()
300 …racters((nextIsSmallCaps ? m_smallCapsBuffer.data() : cp) + itemStart, itemLength, itemStart, next… in collectCoreTextRuns()
/external/icu4c/tools/toolutil/
Dpackage.cpp429 int32_t itemLength, typeEnum; in readPackage() local
522 itemLength=(int32_t)(ds->readUInt32(inEntries[0].dataOffset))-stringsOffset; in readPackage()
525 while(itemLength>0 && inBytes[stringsOffset+itemLength-1]!=0) { in readPackage()
526 --itemLength; in readPackage()
529 if((inStringTop+itemLength)>STRING_STORE_SIZE) { in readPackage()
535 ds->swapInvChars(ds, inBytes+stringsOffset, itemLength, inItemStrings, &errorCode); in readPackage()
540 inStringTop+=itemLength; in readPackage()