| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | glyph.c | 89 GlyphPtr glyph; in GlyphUninit() local 97 glyph = globalGlyphs[fdepth].table[i].glyph; in GlyphUninit() 98 if (glyph && glyph != DeletedGlyph) { in GlyphUninit() 99 if (GetGlyphPicture(glyph, pScreen)) { in GlyphUninit() 100 FreePicture((void *) GetGlyphPicture(glyph, pScreen), 0); in GlyphUninit() 101 SetGlyphPicture(glyph, pScreen, NULL); in GlyphUninit() 103 (*ps->UnrealizeGlyph) (pScreen, glyph); in GlyphUninit() 125 GlyphPtr glyph; in FindGlyphRef() local 136 glyph = gr->glyph; in FindGlyphRef() 137 if (!glyph) { in FindGlyphRef() [all …]
|
| H A D | glyphstr.h | 51 #define GlyphPicture(glyph) ((PicturePtr *) ((glyph) + 1)) argument 55 GlyphPtr glyph; member 103 AddGlyph(GlyphSetPtr glyphSet, GlyphPtr glyph, Glyph id); 122 GetGlyphPicture(GlyphPtr glyph, ScreenPtr pScreen); 124 SetGlyphPicture(GlyphPtr glyph, ScreenPtr pScreen, PicturePtr picture);
|
| H A D | mipict.h | 75 miRealizeGlyph(ScreenPtr pScreen, GlyphPtr glyph); 78 miUnrealizeGlyph(ScreenPtr pScreen, GlyphPtr glyph);
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/ |
| H A D | glyph_pbf.cpp | 18 Glyph glyph; in parseGlyphPBF() local 27 glyph.id = glyph_pbf.get_uint32(); in parseGlyphPBF() 34 glyph.metrics.width = glyph_pbf.get_uint32(); in parseGlyphPBF() 38 glyph.metrics.height = glyph_pbf.get_uint32(); in parseGlyphPBF() 42 glyph.metrics.left = glyph_pbf.get_sint32(); in parseGlyphPBF() 46 glyph.metrics.top = glyph_pbf.get_sint32(); in parseGlyphPBF() 50 glyph.metrics.advance = glyph_pbf.get_uint32(); in parseGlyphPBF() 64 glyph.metrics.width >= 256 || glyph.metrics.height >= 256 || in parseGlyphPBF() 65 glyph.metrics.left < -128 || glyph.metrics.left >= 128 || in parseGlyphPBF() 66 glyph.metrics.top < -128 || glyph.metrics.top >= 128 || in parseGlyphPBF() [all …]
|
| H A D | glyph_atlas.cpp | 22 const Glyph& glyph = **entry.second; in makeGlyphAtlas() local 25 glyph.bitmap.size.width + 2 * padding, in makeGlyphAtlas() 26 glyph.bitmap.size.height + 2 * padding); in makeGlyphAtlas() 33 AlphaImage::copy(glyph.bitmap, in makeGlyphAtlas() 40 glyph.bitmap.size); in makeGlyphAtlas() 42 positions.emplace(glyph.id, in makeGlyphAtlas() 50 glyph.metrics in makeGlyphAtlas()
|
| H A D | shaping.cpp | 86 for (auto& glyph : shaping.positionedGlyphs) { in align() local 87 glyph.x += shiftX; in align() 88 glyph.y += shiftY; in align() 102 PositionedGlyph& glyph = positionedGlyphs[end]; in justifyLine() local 103 auto it = glyphs.find(glyph.glyph); in justifyLine() 106 const float lineIndent = float(glyph.x + lastAdvance) * justify; in justifyLine() 288 const Glyph& glyph = **it->second; in shapeLines() local 292 x += glyph.metrics.advance + spacing; in shapeLines()
|
| H A D | quads.cpp | 108 auto positionsIt = positions.find(positionedGlyph.glyph); in getGlyphQuads() 112 const GlyphPosition& glyph = positionsIt->second; in getGlyphQuads() local 113 const Rect<uint16_t>& rect = glyph.rect; in getGlyphQuads() 119 const float halfAdvance = glyph.metrics.advance / 2.0; in getGlyphQuads() 131 const float x1 = glyph.metrics.left - rectBuffer - halfAdvance + builtInOffset.x; in getGlyphQuads() 132 const float y1 = -glyph.metrics.top - rectBuffer + builtInOffset.y; in getGlyphQuads()
|
| H A D | glyph_manager.cpp | 100 for (auto& glyph : glyphs) { in processResponse() local 101 entry.glyphs.erase(glyph.id); in processResponse() 102 entry.glyphs.emplace(glyph.id, makeMutable<Glyph>(std::move(glyph))); in processResponse()
|
| H A D | glyph.cpp | 6 GlyphRange getGlyphRange(GlyphID glyph) { in getGlyphRange() argument 7 unsigned start = (glyph/256) * 256; in getGlyphRange()
|
| H A D | glyph.hpp | 24 GlyphRange getGlyphRange(GlyphID glyph); 63 : glyph(glyph_), x(x_), y(y_), vertical(vertical_) {} in PositionedGlyph() 65 GlyphID glyph = 0; member in mbgl::PositionedGlyph
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/ |
| H A D | CVE-2022-2601.patch | 9 The inconsistency between "glyph" and "max_glyph_size" when grub_malloc() 34 static struct grub_font_glyph *glyph = 0; 44 - if (max_glyph_size < sizeof (*glyph) + (bounds.width * bounds.height + GRUB_CHAR_BIT - 1) / GRUB… 46 + grub_add (sizeof (*glyph), cur_glyph_size, &cur_glyph_size)) 51 grub_free (glyph); 52 - max_glyph_size = (sizeof (*glyph) + (bounds.width * bounds.height + GRUB_CHAR_BIT - 1) / GRU… 55 - glyph = grub_malloc (max_glyph_size); 58 + glyph = max_glyph_size > 0 ? grub_malloc (max_glyph_size) : NULL; 60 if (!glyph) 67 - grub_memset (glyph, 0, sizeof (*glyph) [all …]
|
| H A D | 0001-font-Fix-size-overflow-in-grub_font_get_glyph_intern.patch | 44 if (index_entry->glyph) 45 /* Return cached glyph. */ 51 - glyph = grub_malloc (sizeof (struct grub_font_glyph) + len); 52 - if (!glyph) 53 + /* Calculate real struct size of current glyph. */ 61 + /* Allocate and initialize the glyph struct. */ 62 + glyph = grub_malloc (sz); 63 + if (glyph == NULL)
|
| /OK3568_Linux_fs/external/xserver/fb/ |
| H A D | fbglyph.c | 69 void (*glyph) (FbBits *, FbStride, int, FbStip *, FbBits, int, int); in fbPolyGlyphBlt() local 75 glyph = 0; in fbPolyGlyphBlt() 80 glyph = fbGlyph8; in fbPolyGlyphBlt() 83 glyph = fbGlyph16; in fbPolyGlyphBlt() 86 glyph = fbGlyph32; in fbPolyGlyphBlt() 101 if (glyph && gWidth <= sizeof(FbStip) * 8 && in fbPolyGlyphBlt() 105 (*glyph) (dst + (gy + dstYoff) * dstStride, dstStride, dstBpp, in fbPolyGlyphBlt() 137 void (*glyph) (FbBits *, FbStride, int, FbStip *, FbBits, int, int); in fbImageGlyphBlt() local 143 glyph = 0; in fbImageGlyphBlt() 148 glyph = fbGlyph8; in fbImageGlyphBlt() [all …]
|
| H A D | fbpict.c | 109 GlyphPtr glyph; in fbGlyphs() local 140 glyph = *glyphs++; in fbGlyphs() 142 if (!(g = pixman_glyph_cache_lookup (glyphCache, glyph, NULL))) { in fbGlyphs() 147 pPicture = GetGlyphPicture(glyph, pScreen); in fbGlyphs() 156 g = pixman_glyph_cache_insert(glyphCache, glyph, NULL, in fbGlyphs() 157 glyph->info.x, in fbGlyphs() 158 glyph->info.y, in fbGlyphs() 169 pglyphs[i].glyph = g; in fbGlyphs() 173 x += glyph->info.xOff; in fbGlyphs() 174 y += glyph->info.yOff; in fbGlyphs()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/ |
| H A D | debug_bucket.cpp | 36 const glyph& glyph = simplex[c - 32]; in DebugBucket() local 37 for (int32_t j = 0; j < glyph.length; j += 2) { in DebugBucket() 38 if (glyph.data[j] == -1 && glyph.data[j + 1] == -1) { in DebugBucket() 42 int16_t(::round(left + glyph.data[j] * scale)), in DebugBucket() 43 int16_t(::round(baseline - glyph.data[j + 1] * scale)) in DebugBucket() 57 left += glyph.width * scale; in DebugBucket()
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_glyphs.c | 636 GlyphPtr glyph; in GlyphExtents() local 651 glyph = *glyphs++; in GlyphExtents() 652 x1 = x - glyph->info.x; in GlyphExtents() 655 y1 = y - glyph->info.y; in GlyphExtents() 658 x2 = x1 + glyph->info.width; in GlyphExtents() 661 y2 = y1 + glyph->info.height; in GlyphExtents() 672 x += glyph->info.xOff; in GlyphExtents() 673 y += glyph->info.yOff; in GlyphExtents() 693 GlyphPtr glyph; in exaGlyphs() local 782 glyph = *glyphs++; in exaGlyphs() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/vt/ |
| H A D | consolemap.c | 201 int j, glyph; in set_inverse_transl() local 215 glyph = conv_uni_to_pc(conp, t[j]); in set_inverse_transl() 216 if (glyph >= 0 && glyph < MAX_GLYPH && q[glyph] < 32) { in set_inverse_transl() 218 q[glyph] = j; in set_inverse_transl() 226 int i, j, k, glyph; in set_inverse_trans_unicode() local 249 glyph = p2[k]; in set_inverse_trans_unicode() 250 if (glyph >= 0 && glyph < MAX_GLYPH in set_inverse_trans_unicode() 251 && q[glyph] < 32) in set_inverse_trans_unicode() 252 q[glyph] = (i << 11) + (j << 6) + k; in set_inverse_trans_unicode() 271 u16 inverse_translate(const struct vc_data *conp, int glyph, int use_unicode) in inverse_translate() argument [all …]
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_composite_glyphs.c | 382 GlyphPtr glyph = *glyphs++; in glamor_composite_glyphs() local 386 if (glyph->info.width && glyph->info.height) { in glamor_composite_glyphs() 387 PicturePtr glyph_pict = GlyphPicture(glyph)[screen_num]; in glamor_composite_glyphs() 402 x_src + (x - glyph->info.x), (y - glyph->info.y), in glamor_composite_glyphs() 404 x - glyph->info.x, y - glyph->info.y, in glamor_composite_glyphs() 464 v[0] = x - glyph->info.x; in glamor_composite_glyphs() 465 v[1] = y - glyph->info.y; in glamor_composite_glyphs() 472 v[0] = x - glyph->info.x; in glamor_composite_glyphs() 473 v[1] = y - glyph->info.y; in glamor_composite_glyphs() 478 v[0] = x - glyph->info.x + glyph_draw->width; in glamor_composite_glyphs() [all …]
|
| H A D | glamor_font.c | 46 CharInfoPtr glyph; in glamor_font_get() local 106 (*font->get_glyphs)(font, 1, c, TwoD16Bit, &count, &glyph); in glamor_font_get() 108 glamor_font->default_char = count ? glyph : NULL; in glamor_font_get() 128 (*font->get_glyphs)(font, 1, c, TwoD16Bit, &count, &glyph); in glamor_font_get() 132 char *src = glyph->bits; in glamor_font_get() 142 for (y = 0; y < GLYPHHEIGHTPIXELS(glyph); y++) { in glamor_font_get() 143 memcpy(dst, src, GLYPHWIDTHBYTES(glyph)); in glamor_font_get() 145 src += GLYPHWIDTHBYTESPADDED(glyph); in glamor_font_get()
|
| H A D | glamor_glyphblt.c | 99 uint8_t *glyph = glyphbits; in glamor_poly_glyph_blt_gl() local 100 for (xx = 0; xx < w; glyph += ((xx&7) == 7), xx++) { in glamor_poly_glyph_blt_gl() 104 if (!(*glyph & (1 << (xx & 7)))) in glamor_poly_glyph_blt_gl()
|
| /OK3568_Linux_fs/external/xserver/miext/rootless/ |
| H A D | rootlessScreen.c | 287 GlyphPtr glyph; in RootlessGlyphs() local 322 glyph = *glyphs++; in RootlessGlyphs() 324 box.x1 = x - glyph->info.x; in RootlessGlyphs() 325 box.y1 = y - glyph->info.y; in RootlessGlyphs() 326 box.x2 = box.x1 + glyph->info.width; in RootlessGlyphs() 327 box.y2 = box.y1 + glyph->info.height; in RootlessGlyphs() 329 x += glyph->info.xOff; in RootlessGlyphs() 330 y += glyph->info.yOff; in RootlessGlyphs() 335 glyph = *glyphs++; in RootlessGlyphs() 337 x1 = x - glyph->info.x; in RootlessGlyphs() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | consolemap.h | 20 extern u16 inverse_translate(const struct vc_data *conp, int glyph, 28 #define inverse_translate(conp, glyph, uni) ((uint16_t)glyph) argument
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/harfbuzz/harfbuzz/ |
| H A D | CVE-2023-25193.patch | 50 - /* Now we search backwards for a non-mark glyph */ 51 + /* Now we search backwards for a non-mark glyph. 103 /* Checking that matched glyph is actually a base glyph by GDEF is too strong; disabled */ 124 /* Now we search backwards for a non-mark glyph */ 152 /* Checking that matched glyph is actually a ligature by GDEF is too strong; disabled */
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/licenses/ |
| H A D | Arphic-Public-License | 16 …including modifying glyph, reordering glyph, converting format, changing font name, or adding/dele… 30 …including modifying glyph, reordering glyph, converting format, changing font name, or adding/dele…
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | stb_truetype.h | 798 …GlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *… 799 …fo *info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int *width, int *… 800 …igned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph); 801 … int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph); 802 STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float … 803 STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x… 1562 STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x… in stbtt_GetGlyphBitmapBoxSubpixel() argument 1565 if (!stbtt_GetGlyphBox(font, glyph, &x0,&y0,&x1,&y1)) { in stbtt_GetGlyphBitmapBoxSubpixel() 1580 STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float … in stbtt_GetGlyphBitmapBox() argument 1582 stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); in stbtt_GetGlyphBitmapBox() [all …]
|