Home
last modified time | relevance | path

Searched refs:charPos (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp108 TextCharPos* charPos, in CalcTextInfo() argument
135 charPos[0].m_Origin = CFX_PointF(penX + left, penY + top); in CalcTextInfo()
136 charPos[0].m_GlyphIndex = encoding->GlyphFromCharCode(charcodes[0]); in CalcTextInfo()
137 charPos[0].m_FontCharWidth = cFont->GetGlyphWidth(charPos[0].m_GlyphIndex); in CalcTextInfo()
139 charPos[0].m_ExtGID = charPos[0].m_GlyphIndex; in CalcTextInfo()
141 penX += (float)(charPos[0].m_FontCharWidth) * (float)fontSize / 1000.0f; in CalcTextInfo()
143 charPos[i].m_Origin = CFX_PointF(penX + left, penY + top); in CalcTextInfo()
144 charPos[i].m_GlyphIndex = encoding->GlyphFromCharCode(charcodes[i]); in CalcTextInfo()
145 charPos[i].m_FontCharWidth = cFont->GetGlyphWidth(charPos[i].m_GlyphIndex); in CalcTextInfo()
147 charPos[i].m_ExtGID = charPos[i].m_GlyphIndex; in CalcTextInfo()
[all …]
DBC_OneDimWriter.h71 TextCharPos* charPos,
/external/pdfium/core/fxge/skia/
Dfx_skia_device_embeddertest.cpp40 TextCharPos charPos[1]; in CommonTest() local
41 charPos[0].m_Origin = CFX_PointF(0, 1); in CommonTest()
42 charPos[0].m_GlyphIndex = 1; in CommonTest()
43 charPos[0].m_FontCharWidth = 4u; in CommonTest()
68 driver->DrawDeviceText(SK_ARRAY_COUNT(charPos), charPos, &font, matrix, in CommonTest()
91 driver->DrawDeviceText(SK_ARRAY_COUNT(charPos), charPos, &font, matrix2, in CommonTest()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DRemoteDebugEventSocketListener.cs72 int charPos; field in Antlr.Runtime.Debug.RemoteDebugEventSocketListener.ProxyToken
78 int line, int charPos, string text) { in ProxyToken() argument
83 this.charPos = charPos; in ProxyToken()
117 return charPos;
120 charPos = value;
181 public int charPos = -1; field in Antlr.Runtime.Debug.RemoteDebugEventSocketListener.ProxyTree
185 public ProxyTree(int ID, int type, int line, int charPos, int tokenIndex, string text) { in ProxyTree() argument
189 this.charPos = charPos; in ProxyTree()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DRemoteDebugEventSocketListener.cs76 int charPos; field in Antlr.Runtime.Debug.RemoteDebugEventSocketListener.ProxyToken
83 int line, int charPos, string text ) in ProxyToken() argument
89 this.charPos = charPos; in ProxyToken()
134 return charPos;
138 charPos = value;
217 public int charPos = -1; field in Antlr.Runtime.Debug.RemoteDebugEventSocketListener.ProxyTree
221 public ProxyTree( int ID, int type, int line, int charPos, int tokenIndex, string text ) in ProxyTree() argument
226 this.charPos = charPos; in ProxyTree()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DRemoteDebugEventSocketListener.java64 int charPos; field in RemoteDebugEventSocketListener.ProxyToken
68 int line, int charPos, String text) in ProxyToken() argument
74 this.charPos = charPos; in ProxyToken()
110 return charPos; in getCharPositionInLine()
115 this.charPos = pos; in setCharPositionInLine()
161 public int charPos = -1; field in RemoteDebugEventSocketListener.ProxyTree
165 public ProxyTree(int ID, int type, int line, int charPos, int tokenIndex, String text) { in ProxyTree() argument
169 this.charPos = charPos; in ProxyTree()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DUTF32Reader.java187 int bytePos = _byteCount + gotBytes, charPos = _charCount; in reportUnexpectedEOF() local
189 …of a 4-byte UTF-32 char: got "+gotBytes+", needed "+needed+", at char #"+charPos+", byte #"+bytePo… in reportUnexpectedEOF()
193 int bytePos = _byteCount + _ptr - 1, charPos = _charCount + offset; in reportInvalid() local
195 …Invalid UTF-32 character 0x"+Integer.toHexString(value)+msg+" at char #"+charPos+", byte #"+bytePo… in reportInvalid()
/external/pdfium/core/fpdfapi/render/
Dcpdf_textrenderer.cpp31 const std::vector<float>& charPos, in DrawTextPath() argument
41 const CPDF_CharPosList CharPosList(charCodes, charPos, pFont, font_size); in DrawTextPath()
112 const std::vector<float>& charPos, in DrawNormalText() argument
118 const CPDF_CharPosList CharPosList(charCodes, charPos, pFont, font_size); in DrawNormalText()
Dcpdf_textrenderer.h37 const std::vector<float>& charPos,
50 const std::vector<float>& charPos,
Dcpdf_charposlist.cpp16 const std::vector<float>& charPos, in CPDF_CharPosList() argument
85 charpos.m_Origin = CFX_PointF(i > 0 ? charPos[i - 1] : 0, 0); in CPDF_CharPosList()
Dcpdf_charposlist.h20 const std::vector<float>& charPos,
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java1646 int charPos; in int2alphaCount() local
1648 charPos = buf.length - 1; // work backward through buf[] in int2alphaCount()
1701 buf[charPos--] = table[lookupIndex]; // left to right or top to bottom in int2alphaCount()
1705 stringBuf.append(buf, charPos + 1, (buf.length - charPos - 1)); in int2alphaCount()
1744 int charPos; in tradAlphaCount() local
1746 charPos = 0; //start at 0 in tradAlphaCount()
1790 if (buf[charPos - 1] != zeroChar.getChar(0)) in tradAlphaCount()
1791 buf[charPos++] = zeroChar.getChar(0); in tradAlphaCount()
1842 buf[charPos++] = multiplierChar; in tradAlphaCount()
1843 buf[charPos++] = table[lookupIndex]; in tradAlphaCount()
[all …]
/external/antlr/tool/src/main/java/org/antlr/tool/
DInterpreter.java89 int charPos = ((CharStream)input).getCharPositionInLine(); in nextToken() local
112 token.setCharPositionInLine(charPos); in nextToken()