Searched refs:nchars (Results 1 - 25 of 38) sorted by relevance

12

/xsrc/external/mit/libX11/dist/src/
H A DQuTextE16.c37 register int nchars,
51 nbytes = nchars << 1;
56 req->oddLength = nchars & 1;
57 for (ptr = (unsigned char *)buf, i = nchars; --i >= 0; string++) {
33 XQueryTextExtents16(register Display * dpy,Font fid,_Xconst XChar2b * string,register int nchars,int * dir,int * font_ascent,int * font_descent,register XCharStruct * overall) argument
H A DQuTextExt.c37 register int nchars,
51 nbytes = nchars << 1;
56 req->oddLength = nchars & 1;
57 for (ptr = buf, i = nchars; --i >= 0;) {
33 XQueryTextExtents(register Display * dpy,Font fid,register _Xconst char * string,register int nchars,int * dir,int * font_ascent,int * font_descent,register XCharStruct * overall) argument
H A DPolyTxt.c70 if (item->nchars > 0)
72 length += SIZEOF(xTextElt) * ((item->nchars + 253) / 254 - 1);
74 length += item->nchars;
113 int PartialNChars = item->nchars;
H A DPolyTxt16.c70 if (item->nchars > 0)
72 length += SIZEOF(xTextElt) * ((item->nchars + 253) / 254 - 1);
74 length += item->nchars << 1;
113 int PartialNChars = item->nchars;
H A DTextExt.c77 int nchars,
106 for (i = 0, us = (unsigned char *) string; i < nchars; i++, us++) {
74 XTextExtents(XFontStruct * fs,_Xconst char * string,int nchars,int * dir,int * font_ascent,int * font_descent,register XCharStruct * overall) argument
H A DTextExt16.c51 int nchars,
79 for (i = 0; i < nchars; i++, string++) {
48 XTextExtents16(XFontStruct * fs,_Xconst XChar2b * string,int nchars,int * dir,int * font_ascent,int * font_descent,register XCharStruct * overall) argument
/xsrc/external/mit/libXrender/dist/src/
H A DGlyph.c431 int nchars; local in function:XRenderCompositeText8
441 nchars = elts[i].nchars;
447 elen = SIZEOF(xGlyphElt) * ((nchars + MAX_8-1) / MAX_8) + nchars;
461 int nchars; local in function:XRenderCompositeText8
475 nchars = elts[i].nchars;
479 while (nchars)
481 int this_chars = nchars > MAX_
546 int nchars; local in function:XRenderCompositeText16
574 int nchars; local in function:XRenderCompositeText16
661 int nchars; local in function:XRenderCompositeText32
684 int nchars; local in function:XRenderCompositeText32
[all...]
/xsrc/external/mit/xfs/dist/difs/
H A Dcharinfo.c94 int nchars; local in function:getCharInfos
112 * compute nchars
116 nchars = n2dChars(pinfo);
118 nchars = lastCol - firstCol + 1;
126 nchars = 0;
131 nchars += (rp->max_char_high - rp->min_char_high + 1) *
136 xchars = (CharInfoPtr *) FScalloc (nchars, sizeof (CharInfoPtr));
184 *nump = nchars;
203 int nchars; local in function:GetExtents
210 &nchars,
332 int nchars; local in function:packGlyphs
[all...]
/xsrc/external/mit/libXfont/dist/src/bitmap/
H A Dbitmaputil.c72 int nchars; local in function:bitmapComputeFontBounds
93 nchars = bitmapFont->num_chars;
94 for (i = 0, ci = bitmapFont->metrics; i < nchars; i++, ci++) {
149 int nchars; local in function:bitmapComputeFontInkBounds
176 nchars = bitmapFont->num_chars;
177 for (i = 0, ci = bitmapFont->ink_metrics; i < nchars; i++, ci++) {
H A Dbdfread.c266 nchars, local in function:bdfReadCharacters
293 if ((!line) || (sscanf((char *) line, "CHARS %d", &nchars) != 1)) {
297 if (nchars < 1) {
301 if (nchars > (signed) (INT32_MAX / sizeof(CharInfoRec))) {
302 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
306 ci = calloc(nchars, sizeof(CharInfoRec));
308 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
315 bitmapExtra->glyphNames = malloc(nchars * sizeof(Atom));
318 nchars, (int) sizeof(Atom));
323 bitmapExtra->sWidths = malloc(nchars * sizeo
[all...]
H A Dbitscale.c760 int nchars = 0; /* how many characters in the font */ local in function:ScaleFont
849 nchars = (lastRow - firstRow + 1) * (lastCol - firstCol + 1);
856 bitmapFont->num_chars = nchars;
864 bitmapFont->metrics = malloc(nchars * sizeof(CharInfoRec));
867 nchars, (unsigned long)sizeof(CharInfoRec));
870 bitmapFont->encoding = calloc(NUM_SEGMENTS(nchars), sizeof(CharInfoPtr*));
873 nchars, (unsigned long)sizeof(CharInfoPtr));
912 for (i = 0; i < nchars; i++)
1014 for (i = 0; i < nchars; i++)
1096 for(i=0; i<NUM_SEGMENTS(nchars);
1454 int nchars = 0; local in function:BitmapScaleBitmaps
[all...]
/xsrc/external/mit/libXfont2/dist/src/bitmap/
H A Dbitmaputil.c74 int nchars; local in function:bitmapComputeFontBounds
95 nchars = bitmapFont->num_chars;
96 for (i = 0, ci = bitmapFont->metrics; i < nchars; i++, ci++) {
151 int nchars; local in function:bitmapComputeFontInkBounds
178 nchars = bitmapFont->num_chars;
179 for (i = 0, ci = bitmapFont->ink_metrics; i < nchars; i++, ci++) {
H A Dbdfread.c268 nchars, local in function:bdfReadCharacters
295 if ((!line) || (sscanf((char *) line, "CHARS %d", &nchars) != 1)) {
299 if (nchars < 1) {
303 if (nchars > (signed) (INT32_MAX / sizeof(CharInfoRec))) {
304 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
308 ci = calloc(nchars, sizeof(CharInfoRec));
310 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
317 bitmapExtra->glyphNames = mallocarray(nchars, sizeof(Atom));
320 nchars, (int) sizeof(Atom));
325 bitmapExtra->sWidths = mallocarray(nchars, sizeo
[all...]
H A Dbitscale.c757 int nchars = 0; /* how many characters in the font */ local in function:ScaleFont
846 nchars = (lastRow - firstRow + 1) * (lastCol - firstCol + 1);
853 bitmapFont->num_chars = nchars;
861 bitmapFont->metrics = mallocarray(nchars, sizeof(CharInfoRec));
864 nchars, (unsigned long)sizeof(CharInfoRec));
867 bitmapFont->encoding = calloc(NUM_SEGMENTS(nchars), sizeof(CharInfoPtr*));
870 nchars, (unsigned long)sizeof(CharInfoPtr));
909 for (i = 0; i < nchars; i++)
1011 for (i = 0; i < nchars; i++)
1093 for(i=0; i<NUM_SEGMENTS(nchars);
1451 int nchars = 0; local in function:BitmapScaleBitmaps
[all...]
/xsrc/external/mit/bdftopcf/dist/
H A Dbitmaputil.c75 int nchars; local in function:bitmapComputeFontBounds
94 nchars = bitmapFont->num_chars;
95 for (i = 0, ci = bitmapFont->metrics; i < nchars; i++, ci++) {
163 int nchars, i; local in function:bitmapComputeFontInkBounds
175 nchars = bitmapFont->num_chars;
176 for (i = 0, ci = bitmapFont->ink_metrics; i < nchars; i++, ci++) {
H A Dbdfread.c256 int i, ndx, nchars, nignored; local in function:bdfReadCharacters
283 if ((!line) || (sscanf((char *) line, "CHARS %d", &nchars) != 1)) {
287 if (nchars < 1) {
291 if (nchars > (signed) (INT32_MAX / sizeof(CharInfoRec))) {
292 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
296 ci = calloc(nchars, sizeof(CharInfoRec));
298 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
305 bitmapExtra->glyphNames = malloc(nchars * sizeof(Atom));
308 nchars, (int) sizeof(Atom));
313 bitmapExtra->sWidths = malloc(nchars * sizeo
[all...]
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DmbWrap.c85 p->chars, p->nchars);
87 esc = fs->methods->mb_escapement (fs, p->chars, p->nchars);
H A Dutf8Wrap.c107 p->chars, p->nchars);
109 esc = fs->methods->utf8_escapement (fs, p->chars, p->nchars);
H A DwcWrap.c86 p->chars, p->nchars);
88 esc = fs->methods->wc_escapement (fs, p->chars, p->nchars);
H A DICWrap.c411 XwcLookupString(XIC ic, XKeyEvent *ev, wchar_t *buffer, int nchars, argument
415 return (*ic->methods->wc_lookup_string) (ic, ev, buffer, nchars,
/xsrc/external/mit/xditview/dist/
H A Dparse.c344 if (dw->dvi.cache.cache[dw->dvi.cache.index].nchars != 0) {
348 dw->dvi.cache.cache[dw->dvi.cache.index].nchars = 0;
352 if (dw->dvi.cache.cache[dw->dvi.cache.index].nchars != 0) {
356 dw->dvi.cache.cache[dw->dvi.cache.index].nchars = 0;
364 if (text->nchars == 0) {
387 text->nchars += len;
/xsrc/external/mit/x11perf/dist/
H A Ddo_text.c93 items[i*SEGS+0].nchars = charsPerLine/4;
97 items[i*SEGS+1].nchars = charsPerLine/2;
101 items[i*SEGS+2].nchars = charsPerLine/4;
182 items[i*SEGS+0].nchars = charsPerLine/4;
187 items[i*SEGS+1].nchars = charsPerLine/2;
192 items[i*SEGS+2].nchars = charsPerLine/4;
/xsrc/external/mit/libXft/dist/src/
H A Dxftrender.c45 int nchars)
47 if (nchars == 0)
55 srcx, srcy, dstx, dsty, (char*)chars, nchars);
60 srcx, srcy, dstx, dsty, (unsigned short*)chars, nchars);
65 srcx, srcy, dstx, dsty, (unsigned int*)chars, nchars);
404 elts[nelt].nchars = n;
428 elts[nelt].nchars = n;
692 elts[nelt].nchars = n;
717 elts[nelt].nchars = n;
33 _XftCompositeString(Display * dpy,int op,Picture src,Picture dst,XRenderPictFormat * format,GlyphSet glyphset,int srcx,int srcy,int dstx,int dsty,int charwidth,unsigned int * chars,int nchars) argument
/xsrc/external/mit/libXrender/dist/include/X11/extensions/
H A DXrender.h224 int nchars; member in struct:_XGlyphElt8
242 int nchars; member in struct:_XGlyphElt16
260 int nchars; member in struct:_XGlyphElt32
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Drender-glyphs.c363 elt.nchars = 1;
396 elt.nchars = n;

Completed in 41 milliseconds

12