Home
last modified time | relevance | path

Searched refs:nglyphs (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxpict.c373 int nglyphs; in dmxProcRenderAddGlyphs() local
385 nglyphs = stuff->nglyphs; in dmxProcRenderAddGlyphs()
387 gi = (xGlyphInfo *) (gids + nglyphs); in dmxProcRenderAddGlyphs()
388 bits = (CARD8 *) (gi + nglyphs); in dmxProcRenderAddGlyphs()
391 (sizeof(CARD32) + sizeof(xGlyphInfo)) * nglyphs); in dmxProcRenderAddGlyphs()
393 gidsCopy = xallocarray(nglyphs, sizeof(*gidsCopy)); in dmxProcRenderAddGlyphs()
394 for (i = 0; i < nglyphs; i++) in dmxProcRenderAddGlyphs()
406 nglyphs, (char *) bits, nbytes); in dmxProcRenderAddGlyphs()
432 int nglyphs; in dmxProcRenderFreeGlyphs() local
435 nglyphs = ((client->req_len << 2) - sizeof(xRenderFreeGlyphsReq)) >> 2; in dmxProcRenderFreeGlyphs()
[all …]
/OK3568_Linux_fs/external/xserver/glx/
H A Dxfont.c109 unsigned long i, nglyphs; in MakeBitmapsFromFont() local
126 &nglyphs, &pci); in MakeBitmapsFromFont()
132 if (nglyphs) { in MakeBitmapsFromFont()
/OK3568_Linux_fs/external/xserver/dix/
H A Dglyphcurs.c138 unsigned long nglyphs; in CursorMetricsFromGlyph() local
155 (*pfont->get_glyphs) (pfont, 1, chs, encoding, &nglyphs, &pci); in CursorMetricsFromGlyph()
156 if (nglyphs == 0) in CursorMetricsFromGlyph()
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_text.c37 unsigned long nglyphs; in glamor_get_glyphs() local
60 encoding, &nglyphs, charinfo); in glamor_get_glyphs()
73 if (nglyphs == count) in glamor_get_glyphs()
79 encoding, &nglyphs, &charinfo[c]); in glamor_get_glyphs()
80 if (!nglyphs) in glamor_get_glyphs()
/OK3568_Linux_fs/external/xserver/render/
H A Drender.c1001 int remain, nglyphs; in ProcRenderAddGlyphs() local
1022 nglyphs = stuff->nglyphs; in ProcRenderAddGlyphs()
1023 if (nglyphs > UINT32_MAX / sizeof(GlyphNewRec)) in ProcRenderAddGlyphs()
1028 if (nglyphs <= NLOCALGLYPH) { in ProcRenderAddGlyphs()
1033 glyphsBase = (GlyphNewPtr) calloc(nglyphs, sizeof(GlyphNewRec)); in ProcRenderAddGlyphs()
1043 gi = (xGlyphInfo *) (gids + nglyphs); in ProcRenderAddGlyphs()
1044 bits = (CARD8 *) (gi + nglyphs); in ProcRenderAddGlyphs()
1045 remain -= (sizeof(CARD32) + sizeof(xGlyphInfo)) * nglyphs; in ProcRenderAddGlyphs()
1056 for (i = 0; i < nglyphs; i++) { in ProcRenderAddGlyphs()
1163 if (remain || i < nglyphs) { in ProcRenderAddGlyphs()
[all …]
/OK3568_Linux_fs/external/xserver/
H A DChangeLog106996 render: Bounds check for nglyphs in ProcRenderAddGlyphs (#28801)