/external/harfbuzz_ng/src/ |
H A D | test-would-substitute.cc | 100 hb_codepoint_t glyphs[2]; local 101 if (!hb_font_glyph_from_string (font, argv[3], -1, &glyphs[0]) || 103 !hb_font_glyph_from_string (font, argv[4], -1, &glyphs[1]))) 105 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, false);
|
H A D | hb-ot-shape-complex-arabic-fallback.hh | 52 OT::GlyphID glyphs[SHAPING_TABLE_LAST - SHAPING_TABLE_FIRST + 1]; local 69 glyphs[num_glyphs].set (u_glyph); 80 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); 82 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 117 /* Sort out the first-glyphs */ 131 /* Now that the first-glyphs are sorted, walk again, populate ligatures. */
|
H A D | hb-ot-shape-normalize.cc | 180 hb_codepoint_t glyphs[HB_UNICODE_MAX_DECOMPOSITION_LEN]; local 187 if (!c->font->get_glyph (decomposed[i], 0, &glyphs[i])) 191 output_char (c->buffer, decomposed[i], glyphs[i]); 378 * glyphs in most scripts AND a desired feature for Hangul. Apparently Hangul
|
/external/harfbuzz_ng/util/ |
H A D | helper-cairo.hh | 50 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t 59 if (glyphs) 60 cairo_glyph_free (glyphs); 68 *x_advance = glyphs[num_glyphs].x; 69 *y_advance = glyphs[num_glyphs].y;
|
H A D | hb-ot-shape-closure.cc | 58 glyphs = hb_set_create (); 68 hb_set_clear (glyphs); 69 shaper.shape_closure (text, text_len, font, buffer, glyphs); 71 if (hb_set_is_empty (glyphs)) 76 for (hb_codepoint_t i = -1; hb_set_next (glyphs, &i);) 96 hb_set_destroy (glyphs); 97 glyphs = NULL; 106 hb_set_t *glyphs; member in struct:shape_closure_consumer_t
|
/external/icu/icu4c/source/samples/layout/ |
H A D | Surface.cpp | 15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, argument 28 glyphs, count, (INT *) dx);
|
H A D | rsurface.cpp | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, argument 21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
|
H A D | GnomeFontInstance.cpp | 41 void GnomeSurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, argument 46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y); 178 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, argument 185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]);
|
H A D | GDIFontInstance.cpp | 53 void GDISurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, argument 68 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyphs[g]);
|
H A D | paragraph.cpp | 241 const LEGlyphID *glyphs = visualRun->getGlyphs(); local 244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
|
/external/icu/icu4c/source/test/letest/ |
H A D | letest.h | 43 LEGlyphID *glyphs; member in struct:TestResult
|
/external/skia/bench/ |
H A D | TextBlobBench.cpp | 33 SkTDArray<uint16_t> glyphs; local 35 glyphs.append(paint.textToGlyphs(text, len, NULL)); 36 paint.textToGlyphs(text, len, glyphs.begin()); 41 const SkTextBlobBuilder::RunBuffer& run = builder.allocRun(paint, glyphs.count(), 10, 10, 43 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
|
H A D | CmapBench.cpp | 35 uint16_t glyphs[NGLYPHS]; local 39 paint.textToGlyphs(text, len, glyphs); 46 uint16_t glyphs[NGLYPHS]; local 51 face->charsToGlyphs(text, encoding, glyphs, glyphCount);
|
H A D | FontCacheBench.cpp | 123 int glyphs = 0; variable 128 glyphs += count; 131 SkDebugf("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collisions, glyphs, 132 collisions * 100.0 / glyphs, gRec[i].fName);
|
/external/skia/tests/ |
H A D | FontMgrTest.cpp | 25 uint16_t glyphs[5]; local 26 sk_bzero(glyphs, sizeof(glyphs)); 28 int count = font->textToGlyphs("Hello", 5, kUTF8_SkTextEncoding, glyphs, SK_ARRAY_COUNT(glyphs)); 32 REPORTER_ASSERT(reporter, 0 != glyphs[i]); 34 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e' 35 REPORTER_ASSERT(reporter, glyphs[2] == glyphs[ [all...] |
/external/icu/icu4c/source/layout/ |
H A D | LEInsertionList.cpp | 20 LEGlyphID glyphs[ANY_NUMBER]; member in struct:InsertionRecord 82 return insertion->glyphs; 88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
|
H A D | loengine.cpp | 75 LEGlyphID glyphs[], 85 le->getGlyphs(glyphs, *success); 74 le_getGlyphs(le_engine *engine, LEGlyphID glyphs[], LEErrorCode *success) argument
|
/external/icu/icu4c/source/test/perf/leperf/ |
H A D | leperf.cpp | 37 LEGlyphID *glyphs = NULL; local 43 glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount + 10); 46 engine->getGlyphs(glyphs, status); 50 delete glyphs; 112 u_printf("leperf: glyphs=%d\n", p.glyphCount);
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
H A D | subsetter.cc | 40 void Subsetter::SetGlyphs(IntegerList* glyphs) { argument 41 new_to_old_glyphs_ = *glyphs;
|
/external/skia/src/core/ |
H A D | SkFont.cpp | 62 uint16_t glyphs[], int maxGlyphCount) const { 85 if (NULL == glyphs) { 104 memcpy(glyphs, text, count << 1); 108 (void)fTypeface->charsToGlyphs(text, typeface_encoding, glyphs, count); 61 textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, uint16_t glyphs[], int maxGlyphCount) const argument
|
/external/harfbuzz_ng/test/api/ |
H A D | test-shape.c | 92 hb_glyph_info_t *glyphs; local 116 glyphs = hb_buffer_get_glyph_infos (buffer, NULL); 126 g_assert_cmphex (glyphs[i].codepoint, ==, output_glyphs[i]); 127 g_assert_cmphex (glyphs[i].cluster, ==, i);
|
H A D | test-buffer.c | 185 hb_glyph_info_t *glyphs; local 194 glyphs = hb_buffer_get_glyph_infos (b, &len2); 199 g_assert_cmphex (glyphs[i].mask, ==, 1); 200 g_assert_cmphex (glyphs[i].var1.u32, ==, 0); 201 g_assert_cmphex (glyphs[i].var2.u32, ==, 0); 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 214 g_assert_cmphex (glyphs[i].cluster, ==, cluster); 221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); 225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 232 g_assert_cmphex (glyphs[ 382 hb_glyph_info_t *glyphs; local 679 hb_glyph_info_t *glyphs; local 738 hb_glyph_info_t *glyphs; local 792 hb_glyph_info_t *glyphs; local [all...] |
/external/skia/gm/ |
H A D | typeface.cpp | 77 static void getGlyphPositions(const SkPaint& paint, const uint16_t glyphs[], argument 83 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 111 uint16_t* glyphs = glyphStorage.get(); local 112 int glyphCount = paint.textToGlyphs(text, len, glyphs); 119 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) { 129 getGlyphPositions(glyphPaint, glyphs, glyphCount, x, y, pos); 132 canvas->drawPosText(glyphs, glyphCount * sizeof(uint16_t), pos, glyphPaint);
|
/external/skia/include/core/ |
H A D | SkTextBlob.h | 66 const uint16_t* glyphs() const; 125 * Returns an immutable SkTextBlob for the current runs/glyphs. The builder is reset and 133 * A run is a sequence of glyphs sharing the same font metrics and positioning mode. 136 uint16_t* glyphs; member in struct:SkTextBlobBuilder::RunBuffer 145 * @param count Number of glyphs. 151 * build() call. The buffer is guaranteed to hold @count@ glyphs. 161 * @param count Number of glyphs. 177 * @param count Number of glyphs.
|
/external/skia/tools/ |
H A D | sk_tool_utils.cpp | 84 SkTDArray<uint16_t> glyphs; local 87 glyphs.append(paint.textToGlyphs(text, len, NULL)); 88 paint.textToGlyphs(text, len, glyphs.begin()); 91 const SkTextBlobBuilder::RunBuffer& run = builder->allocRun(paint, glyphs.count(), x, y, 93 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
|