Home
last modified time | relevance | path

Searched refs:nChars (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp31 int nChars, in CGDrawGlyphRun() argument
37 if (nChars == 0) in CGDrawGlyphRun()
60 CFX_FixedBufGrow<uint16_t, 32> glyph_indices(nChars); in CGDrawGlyphRun()
61 CFX_FixedBufGrow<CGPoint, 32> glyph_positions(nChars); in CGDrawGlyphRun()
62 for (int i = 0; i < nChars; i++) { in CGDrawGlyphRun()
81 nChars, argb, nullptr); in CGDrawGlyphRun()
103 bool CFX_AggDeviceDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
118 for (int i = 0; i < nChars; i++) { in DrawDeviceText()
154 bool ret = CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pObject2Device, in DrawDeviceText()
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp199 bool CGdiPrinterDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
209 if (nChars < 1 || !pFont || !pFont->IsEmbedded() || !pFont->IsTTFont()) in DrawDeviceText()
291 std::vector<INT> spacing(nChars); in DrawDeviceText()
293 for (int i = 0; i < nChars; ++i) { in DrawDeviceText()
315 if (ExtTextOutW(m_hDC, 0, 0, ETO_GLYPH_INDEX, nullptr, wsText.c_str(), nChars, in DrawDeviceText()
316 nChars > 1 ? &spacing[1] : nullptr)) { in DrawDeviceText()
325 g_pdfium_typeface_accessible_func(&lf, wsText.c_str(), nChars); in DrawDeviceText()
327 nChars, nChars > 1 ? &spacing[1] : nullptr); in DrawDeviceText()
485 bool CPSPrinterDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
491 return m_PSRenderer.DrawText(nChars, pCharPos, pFont, pObject2Device, in DrawDeviceText()
[all …]
Dwin32_int.h259 bool DrawDeviceText(int nChars,
318 bool DrawDeviceText(int nChars,
381 bool DrawDeviceText(int nChars,
Dcfx_psrenderer.h70 bool DrawText(int nChars,
Dcfx_psrenderer.cpp641 bool CFX_PSRenderer::DrawText(int nChars, in DrawText() argument
670 for (int i = 0; i < nChars; i++) { in DrawText()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DLexer.java126 int nChars = pat.length(); in tokenize() local
138 for (int i = 0; i < nChars; i++) in tokenize()
164 for (i++; (i < nChars) && ((c = pat.charAt(i)) != '\"'); i++); in tokenize()
166 if (c == '\"' && i < nChars) in tokenize()
198 for (i++; (i < nChars) && ((c = pat.charAt(i)) != '\''); i++); in tokenize()
200 if (c == '\'' && i < nChars) in tokenize()
365 posOfNSSep = mapNSTokens(pat, startSubstring, posOfNSSep, nChars); in tokenize()
369 addToTokenQueue(pat.substring(startSubstring, nChars)); in tokenize()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorCharacters.java54 int nChars = m_accumulator.length(); in startNonText() local
56 if ((nChars > 0) in startNonText()
80 char[] chars = new char[nChars]; in startNonText()
82 m_accumulator.getChars(0, nChars, chars, 0); in startNonText()
/external/pdfium/core/fpdfapi/render/
Dcpdf_textrenderer.cpp86 int nChars = pFont->CountChar(str.c_str(), str.GetLength()); in DrawTextString() local
87 if (nChars <= 0) in DrawTextString()
93 codes.resize(nChars); in DrawTextString()
94 positions.resize(nChars - 1); in DrawTextString()
96 for (int i = 0; i < nChars; i++) { in DrawTextString()
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp152 int nChars = 0; in SetSegments() local
154 nChars += pFont->CountChar(pStrs[i].c_str(), pStrs[i].GetLength()); in SetSegments()
155 nChars += nsegs - 1; in SetSegments()
156 m_CharCodes.resize(nChars); in SetSegments()
157 m_CharPos.resize(nChars - 1); in SetSegments()
/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanelExe.cpp307 DWORD nChars; in InitInstance() local
310 nChars = GetModuleFileName( NULL, exePath, sizeof_array( exePath ) ); in InitInstance()
312 err = translate_errno( nChars > 0, (OSStatus) GetLastError(), kUnknownErr ); in InitInstance()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp793 bool HasRSX(int nChars, in HasRSX() argument
800 for (int index = 0; index < nChars; ++index) { in HasRSX()
825 bool DrawText(int nChars, in DrawText() argument
836 bool hasRSX = HasRSX(nChars, pCharPos, &scaleX, &oneAtATime); in DrawText()
860 m_positions.setCount(nChars + count); in DrawText()
861 m_glyphs.setCount(nChars + count); in DrawText()
863 m_rsxform.setCount(nChars + count); in DrawText()
869 for (int index = 0; index < nChars; ++index) { in DrawText()
881 for (int index = 0; index < nChars; ++index) in DrawText()
885 for (int index = 0; index < nChars; ++index) { in DrawText()
[all …]
Dfx_skia_device.h132 bool DrawDeviceText(int nChars,
/external/pdfium/core/fxge/
Dcfx_renderdevice.h210 bool DrawNormalText(int nChars,
217 bool DrawTextPath(int nChars,
Difx_renderdevicedriver.cpp64 bool IFX_RenderDeviceDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
Dcfx_renderdevice.cpp867 bool CFX_RenderDevice::DrawNormalText(int nChars, in DrawNormalText() argument
878 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pText2Device, in DrawNormalText()
887 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pText2Device, in DrawNormalText()
906 return DrawTextPath(nChars, pCharPos, pFont, font_size, pText2Device, in DrawNormalText()
936 std::vector<FXTEXT_GLYPHPOS> glyphs(nChars); in DrawNormalText()
1086 bool CFX_RenderDevice::DrawTextPath(int nChars, in DrawTextPath() argument
1097 for (int iChar = 0; iChar < nChars; ++iChar) { in DrawTextPath()
Difx_renderdevicedriver.h91 virtual bool DrawDeviceText(int nChars,
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h94 bool DrawDeviceText(int nChars,
Dfx_agg_driver.cpp1135 bool CFX_AggDeviceDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.h199 le_uint32 unicodesToGlyphs(LEUnicode *chars, le_uint32 nChars, LEGlyphID *glyphs,
/external/icu/icu4c/source/test/letest/
DFontObject.h195 le_uint32 unicodesToGlyphs(LEUnicode *chars, le_uint32 nChars, LEGlyphID *glyphs,
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp1166 size_t nChars = pTextObj->CountChars(); in GetTextObjectWritingMode() local
1167 if (nChars <= 1) in GetTextObjectWritingMode()
1172 pTextObj->GetCharInfo(nChars - 1, &last); in GetTextObjectWritingMode()
/external/pdfium/third_party/lcms/src/
Dcmstypes.c4994 cmsUInt32Number nChars; in ReadOneWChar() local
5006 nChars = e ->Sizes[i] / sizeof(cmsUInt16Number); in ReadOneWChar()
5009 *wcstr = (wchar_t*) _cmsMallocZero(e ->ContextID, (nChars + 1) * sizeof(wchar_t)); in ReadOneWChar()
5012 if (!_cmsReadWCharArray(io, nChars, *wcstr)) { in ReadOneWChar()
5018 (*wcstr)[nChars] = 0; in ReadOneWChar()