Searched refs:glyphCount (Results 1 - 25 of 84) sorted by relevance

1234

/external/icu/icu4c/source/layout/
H A DMultipleSubstSubtables.cpp31 // glyphCount?
47 le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount); local
49 if (glyphCount == 0) {
52 } else if (glyphCount == 1) {
65 for (le_int32 i = 0; i < glyphCount; i += 1) {
74 LEGlyphID *newGlyphs = glyphIterator->insertGlyphs(glyphCount, success);
82 insert = glyphCount - 1;
86 for (le_int32 i = 0; i < glyphCount; i += 1) {
H A DThaiLayoutEngine.cpp71 le_int32 glyphCount; local
90 glyphCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage);
91 mapCharsToGlyphs(outChars, 0, glyphCount, FALSE, FALSE, glyphStorage, success);
95 glyphStorage.adoptGlyphCount(glyphCount);
96 return glyphCount;
H A DStateTableProcessor2.cpp60 le_int32 glyphCount = glyphStorage.getGlyphCount(); local
66 currGlyph = glyphCount - 1;
78 while ((dir == 1 && currGlyph <= glyphCount) || (dir == -1 && currGlyph >= -1)) {
85 if (currGlyph == glyphCount || currGlyph == -1) {
109 while ((dir == 1 && currGlyph <= glyphCount) || (dir == -1 && currGlyph >= -1)) {
116 if (currGlyph == glyphCount || currGlyph == -1) {
146 while ((dir == 1 && currGlyph <= glyphCount) || (dir == -1 && currGlyph >= -1)) {
153 if (currGlyph == glyphCount || currGlyph == -1) {
156 } else if(currGlyph > glyphCount) {
157 // note if > glyphCount, w
[all...]
H A DSegmentSingleProcessor2.cpp39 le_int32 glyphCount = glyphStorage.getGlyphCount(); local
42 for (glyph = 0; glyph < glyphCount; glyph += 1) {
H A DSimpleArrayProcessor.cpp37 le_int32 glyphCount = glyphStorage.getGlyphCount(); local
42 for (glyph = 0; LE_SUCCESS(success) && (glyph < glyphCount); glyph += 1) {
H A DSimpleArrayProcessor2.cpp40 le_int32 glyphCount = glyphStorage.getGlyphCount();
43 for (glyph = 0; glyph < glyphCount; glyph += 1) {
H A DSingleTableProcessor.cpp39 le_int32 glyphCount = glyphStorage.getGlyphCount(); local
41 for (glyph = 0; glyph < glyphCount; glyph += 1) {
H A DSingleTableProcessor2.cpp41 le_int32 glyphCount = glyphStorage.getGlyphCount(); local
43 for (glyph = 0; glyph < glyphCount; glyph += 1) {
H A DAlternateSubstSubtables.h25 le_uint16 glyphCount; member in struct:AlternateSetTable
H A DCoverageTables.h29 le_uint16 glyphCount; member in struct:CoverageFormat1Table
H A DMultipleSubstSubtables.h25 le_uint16 glyphCount; member in struct:SequenceTable
H A DTrimmedArrayProcessor.cpp36 lastGlyph = firstGlyph + SWAPW(trimmedArrayLookupTable->glyphCount);
46 le_int32 glyphCount = glyphStorage.getGlyphCount();
49 for (glyph = 0; glyph < glyphCount; glyph += 1) {
H A DTrimmedArrayProcessor2.cpp31 lastGlyph = firstGlyph + SWAPW(trimmedArrayLookupTable->glyphCount);
42 le_int32 glyphCount = glyphStorage.getGlyphCount();
45 for (glyph = 0; glyph < glyphCount; glyph += 1) {
H A DContextualSubstSubtables.h34 const TTGlyphID *glyphArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
38 const le_uint16 *classArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
42 const Offset *coverageTableOffsetArray, le_uint16 glyphCount,
81 le_uint16 glyphCount; member in struct:SubRuleTable
110 le_uint16 glyphCount; member in struct:SubClassRuleTable
125 le_uint16 glyphCount; member in struct:ContextualSubstitutionFormat3Subtable
H A DStateTableProcessor.cpp53 le_int32 glyphCount = glyphStorage.getGlyphCount(); local
57 while (currGlyph <= glyphCount) {
60 if (currGlyph == glyphCount) {
H A DSingleSubstitutionSubtables.h37 le_uint16 glyphCount; member in struct:SingleSubstitutionFormat2Subtable
/external/skia/gm/
H A Dtextblobshader.cpp38 int glyphCount = fGlyphs.count(); variable
41 run = &builder.allocRun(p, glyphCount, 10, 10, NULL);
42 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t));
44 run = &builder.allocRunPosH(p, glyphCount, 80, NULL);
45 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t));
46 for (int i = 0; i < glyphCount; ++i) {
50 run = &builder.allocRunPos(p, glyphCount, NULL);
51 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t));
52 for (int i = 0; i < glyphCount; ++i) {
54 run->pos[i * 2 + 1] = 150 + 5 * sinf((float)i * 8 / glyphCount);
[all...]
/external/icu/icu4c/source/test/perf/leperf/
H A Dleperf.cpp22 le_int32 glyphCount; member in class:Params
40 le_int32 glyphCount = 0; local
42 glyphCount = engine->layoutChars(chars, 0, params->charLen, params->charLen, TRUE, 0.0, 0.0, status);
43 glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount + 10);
44 indices = LE_NEW_ARRAY(le_int32, glyphCount + 10);
45 positions = LE_NEW_ARRAY(float, glyphCount + 10);
47 params->glyphCount = glyphCount;
112 u_printf("leperf: glyphs=%d\n", p.glyphCount);
/external/skia/bench/
H A DCmapBench.cpp24 int glyphCount);
27 int glyphCount) {
34 int glyphCount) {
36 SkASSERT(glyphCount <= NGLYPHS);
44 size_t len, int glyphCount) {
47 SkASSERT(glyphCount <= NGLYPHS);
51 face->charsToGlyphs(text, encoding, glyphs, glyphCount);
56 size_t len, int glyphCount) {
61 face->charsToGlyphs(text, encoding, NULL, glyphCount);
26 containsText_proc(int loops, const SkPaint& paint, const void* text, size_t len, int glyphCount) argument
33 textToGlyphs_proc(int loops, const SkPaint& paint, const void* text, size_t len, int glyphCount) argument
43 charsToGlyphs_proc(int loops, const SkPaint& paint, const void* text, size_t len, int glyphCount) argument
55 charsToGlyphsNull_proc(int loops, const SkPaint& paint, const void* text, size_t len, int glyphCount) argument
/external/skia/src/gpu/
H A DGrTextBlobCache.cpp16 GrAtlasTextContext::BitmapTextBlob* GrTextBlobCache::createBlob(int glyphCount, int runCount, argument
20 size_t verticesCount = glyphCount * kVerticesPerGlyph * maxVASize;
23 glyphCount * sizeof(GrGlyph**) +
31 cacheBlob->fRuns = reinterpret_cast<BitmapTextBlob::Run*>(cacheBlob->fGlyphs + glyphCount);
H A DGrTextBlobCache.h34 BitmapTextBlob* createBlob(int glyphCount, int runCount, size_t maxVASize);
36 int glyphCount = 0; local
38 BlobGlyphCount(&glyphCount, &runCount, blob);
39 BitmapTextBlob* cacheBlob = this->createBlob(glyphCount, runCount, maxVAStride);
48 int glyphCount = 0; local
50 BlobGlyphCount(&glyphCount, &runCount, blob);
51 BitmapTextBlob* cacheBlob = this->createBlob(glyphCount, runCount, maxVAStride);
122 void BlobGlyphCount(int* glyphCount, int* runCount, const SkTextBlob* blob) { argument
125 *glyphCount += itCounter.glyphCount();
[all...]
/external/skia/src/core/
H A DSkTextBlob.cpp117 uint32_t glyphCount() const {
144 static size_t StorageSize(int glyphCount, SkTextBlob::GlyphPositioning positioning) { argument
147 + SkAlign4(glyphCount* sizeof(uint16_t))
148 + glyphCount * sizeof(SkScalar) * ScalarsPerGlyph(positioning));
158 + StorageSize(run->glyphCount(), run->positioning()));
226 SkASSERT(it.glyphCount() > 0);
228 buffer.write32(it.glyphCount());
235 buffer.writeByteArray(it.glyphs(), it.glyphCount() * sizeof(uint16_t));
237 it.glyphCount() * sizeof(SkScalar) * ScalarsPerGlyph(it.positioning()));
256 int glyphCount local
318 uint32_t SkTextBlob::RunIterator::glyphCount() const { function in class:SkTextBlob::RunIterator
[all...]
/external/icu/icu4c/source/test/letest/
H A Dletest.h42 le_int32 glyphCount; member in struct:TestResult
H A Dcletest.c47 le_int32 glyphCount = 0; local
57 glyphCount = le_getGlyphCount(engine, &status);
58 if (glyphCount != 0) {
59 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount);
62 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
63 indices = NEW_ARRAY(le_int32, glyphCount + 10);
64 positions = NEW_ARRAY(float, glyphCount + 10);
126 glyphCount = le_layoutChars(engine, NULL, 0, 0, 0, FALSE, 0.0, 0.0, &status);
133 glyphCount = le_layoutChars(engine, chars, -1, 6, 20, TRUE, 0.0, 0.0, &status);
140 glyphCount
216 le_int32 glyphCount; local
668 const le_int32 glyphCount = pl_getVisualRunGlyphCount(visualRun); local
[all...]
/external/skia/src/ports/
H A DSkTypeface_win_dw.cpp75 uint16_t glyphs[], int glyphCount) const
79 for (int i = 0; i < glyphCount; ++i) {
87 return glyphCount;
96 for (int baseGlyph = 0; baseGlyph < glyphCount; baseGlyph += scratchCount) {
97 int glyphsLeft = glyphCount - baseGlyph;
108 fDWriteFontFace->GetGlyphIndices(utf32, glyphCount, glyphs);
115 for (int i = 0; i < glyphCount; ++i) {
120 return glyphCount;
288 const unsigned glyphCount,
293 SkAutoTMalloc<SkUnichar> glyphToUni(glyphCount);
287 populate_glyph_to_unicode(IDWriteFontFace* fontFace, const unsigned glyphCount, SkTDArray<SkUnichar>* glyphToUnicode) argument
[all...]

Completed in 394 milliseconds

1234