/external/chromium_org/third_party/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);
|
/external/chromium_org/third_party/icu/source/test/letest/ |
H A D | letest.h | 38 LEGlyphID *glyphs; member in struct:TestResult
|
/external/chromium_org/third_party/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/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);
|
/external/harfbuzz_ng/util/ |
H A D | helper-cairo.hh | 51 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t 60 if (glyphs) 61 cairo_glyph_free (glyphs); 69 *x_advance = glyphs[num_glyphs].x; 70 *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);
|
/external/icu/icu4c/source/test/letest/ |
H A D | letest.h | 38 LEGlyphID *glyphs; member in struct:TestResult
|
/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)) {
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | GlyphBuffer.h | 53 Glyph* glyphs(unsigned from) { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer 55 const Glyph* glyphs(unsigned from) const { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
H A D | FontMac.cpp | 109 const Glyph* glyphs = glyphBuffer.glyphs(from); local 148 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint); 166 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
|
H A D | SimpleFontDataCoreText.cpp | 38 void CGFontGetGlyphsForUnichars(CGFontRef, const UniChar chars[], CGGlyph glyphs[], size_t length); 80 // CoreText doesn't have vertical glyphs of surrogate pair characters. 81 // Therefore, we should not use CoreText, but this always returns horizontal glyphs. 82 // FIXME: We should use vertical glyphs. https://code.google.com/p/chromium/issues/detail?id=340173 104 Vector<CGGlyph, 512> glyphs(bufferLength); 106 CGFontGetGlyphsForUnichars(platformData().cgFont(), buffer, glyphs.data(), bufferLength); 108 if (glyphs[i]) { 109 pageToFill->setGlyphDataForIndex(offset + i, glyphs[i], this); 114 && CTFontGetGlyphsForCharacters(platformData().ctFont(), buffer, glyphs.data(), bufferLength)) { 116 // places the glyphs a 155 const CGGlyph* glyphs = CTRunGetGlyphsPtr(ctRun); local [all...] |
/external/chromium_org/third_party/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/chromium_org/third_party/skia/bench/ |
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 | 134 int glyphs = 0; variable 139 glyphs += count; 142 SkDebugf("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collisions, glyphs, 143 collisions * 100.0 / glyphs, gRec[i].fName);
|
/external/chromium_org/third_party/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/chromium_org/ui/gfx/ |
H A D | render_text_harfbuzz.h | 32 // Returns whether the given shaped run contains any missing glyphs. 46 scoped_ptr<uint16[]> glyphs; member in struct:gfx::internal::TextRunHarfBuzz 113 // Shape the glyphs needed for the text |run|.
|
H A D | render_text_mac.h | 56 std::vector<uint16> glyphs; member in struct:gfx::RenderTextMac::TextRun
|
/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/bench/ |
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);
|
/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/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGGlyphMap.h | 43 Vector<SVGGlyph> glyphs; member in struct:WebCore::GlyphMapNode 58 // Register glyphs with 'id's in the id glyph map and in the glyph table. 79 node->glyphs.append(glyph); 80 SVGGlyph& lastGlyph = node->glyphs.last(); 107 void collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs) 116 collectGlyphsForIterator(textIterator, glyphs); 119 collectGlyphsForIterator(textIterator, glyphs); 122 std::sort(glyphs.begin(), glyphs.end(), compareGlyphPriority); 125 void collectGlyphsForStringExact(const String& string, Vector<SVGGlyph>& glyphs) cons 228 collectGlyphsForIterator(Iterator& textIterator, Vector<SVGGlyph>& glyphs) argument [all...] |