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

12345

/external/icu/icu4c/source/layout/
H A DMultipleSubstSubtables.cpp31 // glyphCount?
42 le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount); local
44 if (glyphCount == 0) {
47 } else if (glyphCount == 1) {
60 for (le_int32 i = 0; i < glyphCount; i += 1) {
69 LEGlyphID *newGlyphs = glyphIterator->insertGlyphs(glyphCount, success);
77 insert = glyphCount - 1;
81 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/chromium_org/third_party/icu/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/chromium_org/third_party/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/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/chromium_org/third_party/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/chromium_org/third_party/skia/src/core/
H A DSkTextBlob.cpp35 uint32_t glyphCount() const { function in class:SkTextBlob::RunRecord
62 static size_t StorageSize(int glyphCount, SkTextBlob::GlyphPositioning positioning) { argument
65 + SkAlign4(glyphCount* sizeof(uint16_t))
66 + glyphCount * sizeof(SkScalar) * ScalarsPerGlyph(positioning));
76 + StorageSize(run->glyphCount(), run->positioning()));
152 SkASSERT(it.glyphCount() > 0);
154 buffer.write32(it.glyphCount());
161 buffer.writeByteArray(it.glyphs(), it.glyphCount() * sizeof(uint16_t));
163 it.glyphCount() * sizeof(SkScalar) * ScalarsPerGlyph(it.positioning()));
182 int glyphCount local
244 uint32_t SkTextBlob::RunIterator::glyphCount() const { function in class:SkTextBlob::RunIterator
[all...]
/external/chromium_org/third_party/icu/source/test/letest/
H A Dletest.h37 le_int32 glyphCount; member in struct:TestResult
/external/icu/icu4c/source/test/letest/
H A Dletest.h37 le_int32 glyphCount; member in struct:TestResult
/external/chromium_org/third_party/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;
291 const unsigned glyphCount,
296 SkAutoTMalloc<SkUnichar> glyphToUni(glyphCount);
290 populate_glyph_to_unicode(IDWriteFontFace* fontFace, const unsigned glyphCount, SkTDArray<SkUnichar>* glyphToUnicode) argument
[all...]

Completed in 356 milliseconds

12345