HomeSort by: relevance | last modified time | path
    Searched refs:nchars (Results 1 - 25 of 38) sorted by relevancy

1 2

  /xsrc/external/mit/libX11/dist/src/
QuTextE16.c 37 register int nchars,
51 nbytes = nchars << 1;
56 req->oddLength = nchars & 1;
57 for (ptr = (unsigned char *)buf, i = nchars; --i >= 0; string++) {
QuTextExt.c 37 register int nchars,
51 nbytes = nchars << 1;
56 req->oddLength = nchars & 1;
57 for (ptr = buf, i = nchars; --i >= 0;) {
PolyTxt.c 70 if (item->nchars > 0)
72 length += SIZEOF(xTextElt) * ((item->nchars + 253) / 254 - 1);
74 length += item->nchars;
113 int PartialNChars = item->nchars;
PolyTxt16.c 70 if (item->nchars > 0)
72 length += SIZEOF(xTextElt) * ((item->nchars + 253) / 254 - 1);
74 length += item->nchars << 1;
113 int PartialNChars = item->nchars;
TextExt.c 77 int nchars,
106 for (i = 0, us = (unsigned char *) string; i < nchars; i++, us++) {
TextExt16.c 51 int nchars,
79 for (i = 0; i < nchars; i++, string++) {
  /xsrc/external/mit/libXrender/dist/src/
Glyph.c 431 int nchars; local
441 nchars = elts[i].nchars;
447 elen = SIZEOF(xGlyphElt) * ((nchars + MAX_8-1) / MAX_8) + nchars;
461 int nchars; local
475 nchars = elts[i].nchars;
479 while (nchars)
481 int this_chars = nchars > MAX_8 ? MAX_8 : nchars
546 int nchars; local
574 int nchars; local
661 int nchars; local
684 int nchars; local
    [all...]
  /xsrc/external/mit/xfs/dist/difs/
charinfo.c 94 int nchars; local
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
210 &nchars, &xchars)
332 int nchars; local
    [all...]
  /xsrc/external/mit/bdftopcf/dist/
bitmaputil.c 75 int nchars; local
94 nchars = bitmapFont->num_chars;
95 for (i = 0, ci = bitmapFont->metrics; i < nchars; i++, ci++) {
163 int nchars, i; local
175 nchars = bitmapFont->num_chars;
176 for (i = 0, ci = bitmapFont->ink_metrics; i < nchars; i++, ci++) {
bdfread.c 256 int i, ndx, nchars, nignored; local
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 * sizeof(int))
    [all...]
  /xsrc/external/mit/libXfont/dist/src/bitmap/
bitmaputil.c 72 int nchars; local
93 nchars = bitmapFont->num_chars;
94 for (i = 0, ci = bitmapFont->metrics; i < nchars; i++, ci++) {
149 int nchars; local
176 nchars = bitmapFont->num_chars;
177 for (i = 0, ci = bitmapFont->ink_metrics; i < nchars; i++, ci++) {
bdfread.c 266 nchars, local
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 * sizeof(int))
    [all...]
bitscale.c 760 int nchars = 0; /* how many characters in the font */ local
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); i++
1454 int nchars = 0; local
    [all...]
  /xsrc/external/mit/libXfont2/dist/src/bitmap/
bitmaputil.c 74 int nchars; local
95 nchars = bitmapFont->num_chars;
96 for (i = 0, ci = bitmapFont->metrics; i < nchars; i++, ci++) {
151 int nchars; local
178 nchars = bitmapFont->num_chars;
179 for (i = 0, ci = bitmapFont->ink_metrics; i < nchars; i++, ci++) {
bdfread.c 268 nchars, local
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, sizeof(int))
    [all...]
bitscale.c 757 int nchars = 0; /* how many characters in the font */ local
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); i++
1451 int nchars = 0; local
    [all...]
  /xsrc/external/mit/libX11/dist/src/xlibi18n/
mbWrap.c 85 p->chars, p->nchars);
87 esc = fs->methods->mb_escapement (fs, p->chars, p->nchars);
utf8Wrap.c 107 p->chars, p->nchars);
109 esc = fs->methods->utf8_escapement (fs, p->chars, p->nchars);
wcWrap.c 86 p->chars, p->nchars);
88 esc = fs->methods->wc_escapement (fs, p->chars, p->nchars);
ICWrap.c 411 XwcLookupString(XIC ic, XKeyEvent *ev, wchar_t *buffer, int nchars,
415 return (*ic->methods->wc_lookup_string) (ic, ev, buffer, nchars,
  /xsrc/external/mit/xditview/dist/
parse.c 344 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;
draw.c 98 dw->dvi.cache.cache[i].nchars);
123 dw->dvi.cache.cache[0].nchars = 0;
  /xsrc/external/mit/x11perf/dist/
do_text.c 93 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/
xftrender.c 45 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;
  /xsrc/external/mit/libXrender/dist/include/X11/extensions/
Xrender.h 224 int nchars; member in struct:_XGlyphElt8
242 int nchars; member in struct:_XGlyphElt16
260 int nchars; member in struct:_XGlyphElt32

Completed in 39 milliseconds

1 2