Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/apple/
Dfx_apple_platform.cpp43 int nChars, in _CGDrawGlyphRun() argument
52 if (nChars == 0) { in _CGDrawGlyphRun()
77 CFX_FixedBufGrow<FX_WORD, 32> glyph_indices(nChars); in _CGDrawGlyphRun()
78 CFX_FixedBufGrow<CGPoint, 32> glyph_positions(nChars); in _CGDrawGlyphRun()
79 for (int i = 0; i < nChars; i++) { in _CGDrawGlyphRun()
97 nChars, argb, NULL); in _CGDrawGlyphRun()
100 FX_BOOL CFX_AggDeviceDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
118 for (int i = 0; i < nChars; i++) { in DrawDeviceText()
156 _CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pCache, pObject2Device, in DrawDeviceText()
Dfx_quartz_device.cpp738 FX_BOOL CFX_QuartzDeviceDriver::CG_DrawGlypRun(int nChars, in CG_DrawGlypRun() argument
748 if (nChars == 0) { in CG_DrawGlypRun()
763 CFX_FixedBufGrow<FX_WORD, 32> glyph_indices(nChars); in CG_DrawGlypRun()
764 CFX_FixedBufGrow<CGPoint, 32> glyph_positions(nChars); in CG_DrawGlypRun()
765 for (int i = 0; i < nChars; i++) { in CG_DrawGlypRun()
800 glyph_positions, nChars); in CG_DrawGlypRun()
804 FX_BOOL CFX_QuartzDeviceDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
826 while (i < nChars) { in DrawDeviceText()
855 nChars -= i; in DrawDeviceText()
Dapple_int.h165 FX_BOOL DrawDeviceText(int nChars,
185 FX_BOOL CG_DrawGlypRun(int nChars,
/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/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp513 void Load(int nChars,
528 void CPDF_CharPosList::Load(int nChars, in Load() argument
533 m_pCharPos = FX_Alloc(FXTEXT_CHARPOS, nChars); in Load()
537 for (int iChar = 0; iChar < nChars; iChar++) { in Load()
539 nChars == 1 ? (FX_DWORD)(uintptr_t)pCharCodes : pCharCodes[iChar]; in Load()
587 int nChars, in DrawTextPath() argument
603 CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size); in DrawTextPath()
638 int nChars = pFont->CountChar(str, str.GetLength()); in DrawTextString() local
639 if (nChars == 0) { in DrawTextString()
646 if (nChars == 1) { in DrawTextString()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp281 void CPDF_TextObject::SetText(int nChars, in SetText() argument
292 for (i = 0; i < nChars - 1; ++i) { in SetText()
297 m_nChars = nChars + nKernings; in SetText()
301 for (int i = 0, index = 0; i < nChars; ++i) { in SetText()
303 if (pKernings[i] != 0 && i != nChars - 1) { in SetText()
582 void CPDF_TextObject::SetData(int nChars, in SetData() argument
588 m_nChars = nChars; in SetData()
591 if (nChars == 0) { in SetData()
594 if (nChars == 1) { in SetData()
597 m_pCharCodes = FX_Alloc(FX_DWORD, nChars); in SetData()
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h185 int nChars,
199 int nChars,
209 int nChars,
Dfpdf_pageobj.h440 void SetText(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pKernings);
451 void SetData(int nChars,
457 void GetData(int& nChars, FX_DWORD*& pCharCodes, FX_FLOAT*& pCharPos) { in GetData() argument
458 nChars = m_nChars; in GetData()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp45 int nChars, in FXGE_GetGlyphsBBox() argument
51 for (int iChar = 0; iChar < nChars; iChar++) { in FXGE_GetGlyphsBBox()
89 static void _AdjustGlyphSpace(FXTEXT_GLYPHPOS* pGlyphAndPos, int nChars) { in _AdjustGlyphSpace() argument
90 ASSERT(nChars > 1); in _AdjustGlyphSpace()
92 if (pGlyphAndPos[nChars - 1].m_OriginX == pGlyphAndPos[0].m_OriginX) { in _AdjustGlyphSpace()
94 } else if (pGlyphAndPos[nChars - 1].m_OriginY != pGlyphAndPos[0].m_OriginY) { in _AdjustGlyphSpace()
97 int i = nChars - 1; in _AdjustGlyphSpace()
174 FX_BOOL CFX_RenderDevice::DrawNormalText(int nChars, in DrawNormalText() argument
196 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, in DrawNormalText()
217 m_pDeviceDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, in DrawNormalText()
[all …]
Dfx_ge_ps.cpp642 FX_BOOL CFX_PSRenderer::DrawText(int nChars, in DrawText() argument
672 for (int i = 0; i < nChars; i++) { in DrawText()
/external/pdfium/core/include/fxge/
Dfx_ge.h378 FX_BOOL DrawNormalText(int nChars,
389 FX_BOOL DrawTextPath(int nChars,
592 virtual FX_BOOL DrawDeviceText(int nChars,
682 FX_BOOL DrawText(int nChars,
Dfx_font.h521 int nChars,
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.h114 virtual FX_BOOL DrawDeviceText(int nChars,
Dfx_skia_device.cpp272 FX_BOOL CFX_SkiaDeviceDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
281 return m_pAggDriver->DrawDeviceText(nChars, pCharPos, pFont, pCache, in DrawDeviceText()
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h115 FX_BOOL DrawDeviceText(int nChars,
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.h193 le_uint32 unicodesToGlyphs(LEUnicode *chars, le_uint32 nChars, LEGlyphID *glyphs,
/external/icu/icu4c/source/test/letest/
DFontObject.h193 le_uint32 unicodesToGlyphs(LEUnicode *chars, le_uint32 nChars, LEGlyphID *glyphs,
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp462 FX_BOOL CPSPrinterDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument
471 return m_PSRenderer.DrawText(nChars, pCharPos, pFont, pCache, pObject2Device, in DrawDeviceText()
Dwin32_int.h346 FX_BOOL DrawDeviceText(int nChars,
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp1548 int32_t nChars = pTextObj->CountChars(); in ProcessTextObject() local
1549 if (nChars == 1) { in ProcessTextObject()
1757 int32_t nChars = pTextObj->CountChars(); in GetTextObjectWritingMode() local
1758 if (nChars == 1) { in GetTextObjectWritingMode()
1763 pTextObj->GetCharInfo(nChars - 1, &last); in GetTextObjectWritingMode()
1932 int32_t nChars = pObj->CountChars(); in ProcessInsertObject() local
1933 if (nChars == 1 && (0x2D == curChar || 0xAD == curChar) && in ProcessInsertObject()
/external/pdfium/third_party/lcms2-2.6/src/
Dcmstypes.c4944 cmsUInt32Number nChars; in ReadOneWChar() local
4956 nChars = e ->Sizes[i] / sizeof(cmsUInt16Number); in ReadOneWChar()
4959 *wcstr = (wchar_t*) _cmsMallocZero(e ->ContextID, (nChars + 1) * sizeof(wchar_t)); in ReadOneWChar()
4962 if (!_cmsReadWCharArray(io, nChars, *wcstr)) { in ReadOneWChar()
4968 (*wcstr)[nChars] = 0; in ReadOneWChar()
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp220 FX_BOOL CFX_AggDeviceDriver::DrawDeviceText(int nChars, in DrawDeviceText() argument