/external/chromium_org/third_party/icu/source/test/letest/ |
H A D | cletest.c | 45 le_int32 glyphCount = 0; local 55 glyphCount = le_getGlyphCount(engine, &status); 56 if (glyphCount != 0) { 57 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount); 60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 61 indices = NEW_ARRAY(le_int32, glyphCount + 10); 62 positions = NEW_ARRAY(float, glyphCount + 10); 124 glyphCount = le_layoutChars(engine, NULL, 0, 0, 0, FALSE, 0.0, 0.0, &status); 131 glyphCount = le_layoutChars(engine, chars, -1, 6, 20, TRUE, 0.0, 0.0, &status); 138 glyphCount 214 le_int32 glyphCount; local 665 const le_int32 glyphCount = pl_getVisualRunGlyphCount(visualRun); local [all...] |
H A D | letest.cpp | 62 le_int32 glyphCount = 0; local 64 glyphCount = engine->getGlyphCount(); 65 if (glyphCount != 0) { 66 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount); 69 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 70 indices = NEW_ARRAY(le_int32, glyphCount + 10); 71 positions = NEW_ARRAY(float, glyphCount + 10); 147 glyphCount = engine->layoutChars(NULL, 0, 0, 0, FALSE, 0.0, 0.0, status); 160 glyphCount = engine->layoutChars(chars, -1, 6, 20, TRUE, 0.0, 0.0, status); 167 glyphCount 244 le_int32 glyphCount; local 612 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local 896 le_int32 glyphCount = visualRun->getGlyphCount(); local [all...] |
H A D | xmlreader.cpp | 181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local 226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); 230 expected.glyphCount = glyphCount; 232 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { 233 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n", 234 id, charCount, glyphCount, indexCount, positionCount);
|
H A D | gendata.cpp | 204 int32_t glyphCount = 0; local 314 glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, leStatus); 316 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); 317 indices = NEW_ARRAY(le_int32, glyphCount); 318 positions = NEW_ARRAY(float, glyphCount * 2 + 2); 331 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount); 333 dumpLongs(outputFile, "result-indices", indices, glyphCount); 335 dumpFloats(outputFile, "result-positions", positions, glyphCount * 2 + 2);
|
/external/icu/icu4c/source/test/letest/ |
H A D | cletest.c | 45 le_int32 glyphCount = 0; local 55 glyphCount = le_getGlyphCount(engine, &status); 56 if (glyphCount != 0) { 57 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount); 60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 61 indices = NEW_ARRAY(le_int32, glyphCount + 10); 62 positions = NEW_ARRAY(float, glyphCount + 10); 124 glyphCount = le_layoutChars(engine, NULL, 0, 0, 0, FALSE, 0.0, 0.0, &status); 131 glyphCount = le_layoutChars(engine, chars, -1, 6, 20, TRUE, 0.0, 0.0, &status); 138 glyphCount 214 le_int32 glyphCount; local 666 const le_int32 glyphCount = pl_getVisualRunGlyphCount(visualRun); local [all...] |
H A D | letest.cpp | 62 le_int32 glyphCount = 0; local 64 glyphCount = engine->getGlyphCount(); 65 if (glyphCount != 0) { 66 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount); 69 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 70 indices = NEW_ARRAY(le_int32, glyphCount + 10); 71 positions = NEW_ARRAY(float, glyphCount + 10); 147 glyphCount = engine->layoutChars(NULL, 0, 0, 0, FALSE, 0.0, 0.0, status); 160 glyphCount = engine->layoutChars(chars, -1, 6, 20, TRUE, 0.0, 0.0, status); 167 glyphCount 244 le_int32 glyphCount; local 612 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local 897 le_int32 glyphCount = visualRun->getGlyphCount(); local [all...] |
H A D | xmlreader.cpp | 181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local 226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); 230 expected.glyphCount = glyphCount; 232 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { 233 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n", 234 id, charCount, glyphCount, indexCount, positionCount);
|
H A D | gendata.cpp | 204 int32_t glyphCount = 0; local 314 glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, leStatus); 316 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); 317 indices = NEW_ARRAY(le_int32, glyphCount); 318 positions = NEW_ARRAY(float, glyphCount * 2 + 2); 331 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount); 333 dumpLongs(outputFile, "result-indices", indices, glyphCount); 335 dumpFloats(outputFile, "result-positions", positions, glyphCount * 2 + 2);
|
/external/chromium_org/third_party/icu/source/test/perf/leperf/ |
H A D | xmlreader.cpp | 181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local 226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); 230 expected.glyphCount = glyphCount; 232 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { 233 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n", 234 id, charCount, glyphCount, indexCount, positionCount);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | typeface.cpp | 112 int glyphCount = paint.textToGlyphs(text, len, glyphs); local 113 if (glyphCount < 1) { 117 SkAutoSTMalloc<128, int32_t> adjustmentStorage(glyphCount - 1); 119 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) { 127 SkAutoSTMalloc<128, SkPoint> posStorage(glyphCount); 129 getGlyphPositions(glyphPaint, glyphs, glyphCount, x, y, pos); 131 applyKerning(pos, adjustments, glyphCount, glyphPaint); 132 canvas->drawPosText(glyphs, glyphCount * sizeof(uint16_t), pos, glyphPaint);
|
/external/icu/icu4c/source/layout/ |
H A D | SegmentArrayProcessor.cpp | 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); local 41 for (glyph = 0; glyph < glyphCount; glyph += 1) {
|
H A D | SegmentArrayProcessor2.cpp | 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); local 41 for (glyph = 0; glyph < glyphCount; glyph += 1) {
|
H A D | SegmentSingleProcessor.cpp | 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); local 41 for (glyph = 0; glyph < glyphCount && LE_SUCCESS(success); glyph += 1) {
|
H A D | ContextualGlyphSubstProc2.cpp | 127 TTGlyphID glyphCount = SWAPW(lookupTable8->glyphCount); local 128 TTGlyphID lastGlyph = firstGlyph + glyphCount; 131 LEReferenceToArrayOf<LookupValue> valueArray(lookupTable8, success, &lookupTable8->valueArray[0], glyphCount);
|
H A D | ContextualSubstSubtables.cpp | 50 le_bool ContextualSubstitutionBase::matchGlyphIDs(const TTGlyphID *glyphArray, le_uint16 glyphCount, argument 57 match = glyphCount -1; 61 while (glyphCount > 0) { 72 glyphCount -= 1; 79 le_bool ContextualSubstitutionBase::matchGlyphClasses(const le_uint16 *classArray, le_uint16 glyphCount, argument 88 match = glyphCount - 1; 92 while (glyphCount > 0) { 111 glyphCount -= 1; 118 le_bool ContextualSubstitutionBase::matchGlyphCoverages(const Offset *coverageTableOffsetArray, le_uint16 glyphCount, argument 125 glyph = glyphCount [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
H A D | xmlreader.cpp | 181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local 226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); 230 expected.glyphCount = glyphCount; 232 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { 233 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n", 234 id, charCount, glyphCount, indexCount, positionCount);
|
/external/skia/gm/ |
H A D | typeface.cpp | 112 int glyphCount = paint.textToGlyphs(text, len, glyphs); local 113 if (glyphCount < 1) { 117 SkAutoSTMalloc<128, int32_t> adjustmentStorage(glyphCount - 1); 119 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) { 127 SkAutoSTMalloc<128, SkPoint> posStorage(glyphCount); 129 getGlyphPositions(glyphPaint, glyphs, glyphCount, x, y, pos); 131 applyKerning(pos, adjustments, glyphCount, glyphPaint); 132 canvas->drawPosText(glyphs, glyphCount * sizeof(uint16_t), pos, glyphPaint);
|
/external/skia/src/core/ |
H A D | SkTypeface.cpp | 58 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE { 59 if (glyphs && glyphCount > 0) { 60 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 223 uint16_t glyphs[], int glyphCount) const { 224 if (glyphCount <= 0) { 229 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 233 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/ |
H A D | PlatformFontsSidebarPane.js | 114 return b.glyphCount - a.glyphCount; 126 var usage = platformFonts[i].glyphCount;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
H A D | ComplexTextController.cpp | 91 glyphCountSoFar += m_complexTextRuns[i]->glyphCount(); 114 for (unsigned j = 0; j < complexTextRun.glyphCount(); ++j) { 120 hitGlyphEnd = std::max<CFIndex>(hitGlyphStart, j + 1 < complexTextRun.glyphCount() ? complexTextRun.indexAt(j + 1) : static_cast<CFIndex>(complexTextRun.indexEnd())); 160 while (firstGlyphAfterCluster < complexTextRun.glyphCount() && complexTextRun.indexAt(firstGlyphAfterCluster) >= clusterStart && complexTextRun.indexAt(firstGlyphAfterCluster) < clusterEnd) { 175 offsetIntoAdjustedGlyphs += complexTextRun.glyphCount(); 373 leftmostGlyph += m_complexTextRuns[i]->glyphCount(); 402 leftmostGlyph += m_complexTextRuns[m_currentRun++]->glyphCount(); 433 size_t glyphCount = complexTextRun.glyphCount(); 434 unsigned g = ltr ? m_glyphInCurrentRun : glyphCount [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | text.h | 62 VGint glyphCount,
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | text.h | 62 VGint glyphCount,
|
/external/icu/icu4c/source/layoutex/ |
H A D | ParagraphLayout.cpp | 395 fStyleRunInfo[run].glyphCount = 0; 418 fStyleRunInfo[run].glyphCount = fStyleRunInfo[run].engine->layoutChars(fChars, runStart, fStyleRunLimits[run] - runStart, fCharCount, 427 fGlyphCount += fStyleRunInfo[run].glyphCount; 451 le_int32 glyphCount = fStyleRunInfo[run].glyphCount; local 454 fStyleRunInfo[run].glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount); 455 fStyleRunInfo[run].positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); 480 for (glyph = 0; glyph < glyphCount; glyph += 1) { 485 LXUtilities::reverse(&fGlyphWidths[glyphBase], glyphCount); 486 LXUtilities::reverse(&fGlyphToCharMap[glyphBase], glyphCount); 1100 le_int32 glyphCount = rightGlyph - leftGlyph; local 1206 le_int32 glyphCount = lastRun->getGlyphCount(); local 1221 append(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount, const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) argument [all...] |
/external/skia/src/ports/ |
H A D | SkTypeface_win_dw.cpp | 66 uint16_t glyphs[], int glyphCount) const 70 for (int i = 0; i < glyphCount; ++i) { 78 return glyphCount; 87 for (int baseGlyph = 0; baseGlyph < glyphCount; baseGlyph += scratchCount) { 88 int glyphsLeft = glyphCount - baseGlyph; 99 fDWriteFontFace->GetGlyphIndices(utf32, glyphCount, glyphs); 106 for (int i = 0; i < glyphCount; ++i) { 111 return glyphCount; 286 const unsigned glyphCount, 326 if (glyph[j] < glyphCount 285 populate_glyph_to_unicode(IDWriteFontFace* fontFace, const unsigned glyphCount, SkTDArray<SkUnichar>* glyphToUnicode) argument 357 const unsigned glyphCount = fDWriteFontFace->GetGlyphCount(); local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkTypeface.cpp | 58 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE { 59 if (glyphs && glyphCount > 0) { 60 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 222 uint16_t glyphs[], int glyphCount) const { 223 if (glyphCount <= 0) { 228 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 232 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount);
|