Home
last modified time | relevance | path

Searched refs:numchars (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/external/bsd/flex/dist/examples/manual/
H A Dwc.lex11 int numchars = 0; variable
26 [\n] { numchars++; numlines++; }
27 [\r] { numchars++; }
28 [^ \t\n]+ { numwords++; numchars += yyleng; }
29 . { numchars++; }
71 numlines = numchars = numwords = 0;
81 totchars += numchars;
88 fprintf(stdout,"characters %5d ",numchars);
/netbsd-src/usr.bin/uniq/
H A Duniq.c57 static int numchars, numfields, repeats; variable
92 numchars = strtol(optarg, &p, 10); in main()
93 if (numchars < 0 || *p) in main()
133 if (numfields || numchars) in main()
153 if (numfields || numchars) { in main()
215 for (nchars = numchars; nchars-- && *str; ++str, --ls) in skip()
/netbsd-src/usr.sbin/wsfontload/
H A Dwsfontload.c151 f.numchars = 256; in main()
236 len = f.fontheight * f.numchars * f.stride; in main()
255 f.numchars = le32toh(foo); in main()
268 len = f.numchars * f.fontheight * f.stride; in main()
289 printf("numchars: %d\n", f.numchars); in main()
/netbsd-src/sys/dev/wsfont/
H A Dwsfontdev.c136 buf = malloc(d->fontheight * d->stride * d->numchars, in wsfontioctl()
139 d->fontheight * d->stride * d->numchars); in wsfontioctl()
H A Dspleen5x8.h35 .numchars = 128 - ' ',
H A Dspleen12x24.h35 .numchars = 256 - ' ',
H A Dspleen8x16.h35 .numchars = 256 - ' ',
H A Dspleen16x32.h35 .numchars = 256 - ' ',
H A Dspleen6x12.h34 .numchars = 256 - ' ',
H A Dspleen32x64.h35 .numchars = 256 - ' ',
H A Dwsfont.c390 m = p + font->stride * font->numchars * font->fontheight; in wsfont_revbit()
406 nr = font->numchars * font->fontheight; in wsfont_revbyte()
460 newdata = malloc(newstride * font->fontwidth * font->numchars, in wsfont_rotate_internal()
468 for (n = 0; n < font->numchars; n++) { in wsfont_rotate_internal()
695 size = font->fontheight * font->numchars * font->stride; in wsfont_add0()
/netbsd-src/external/bsd/flex/dist/src/
H A Dtblcmp.c501 void mkentry (int *state, int numchars, int statenum, int deflink, in mkentry() argument
517 for (minec = 1; minec <= numchars; ++minec) { in mkentry()
531 for (maxec = numchars; maxec > 0; --maxec) { in mkentry()
547 if (totaltrans * 100 <= numchars * INTERIOR_FIT_PERCENTAGE) { in mkentry()
/netbsd-src/sys/dev/ic/
H A Dvga_subr.c198 int numchars) in vga_load_builtinfont() argument
205 for (i = firstchar; i < firstchar + numchars; i++) in vga_load_builtinfont()
H A Dvga.c570 vga_loadchars(&vc->hdl, 0, wf->firstchar, wf->numchars, in vga_init()
948 f->wsfont->numchars, f->wsfont->fontheight, f->wsfont->data); in vga_usefont()
/netbsd-src/sys/arch/newsmips/dev/
H A Dfb.c690 newsrom8x16.numchars = 96;
701 newsrom12x24.numchars = 96;
/netbsd-src/sys/dev/rasops/
H A Drasops.h162 (c) - (font)->firstchar < (font)->numchars)
H A Drasops.c346 ri->ri_optfont.fontheight * ri->ri_optfont.numchars); in rasops_reconfig()
352 ri->ri_optfont.numchars = 16; in rasops_reconfig()
357 ri->ri_optfont.numchars; in rasops_reconfig()
/netbsd-src/sys/dev/isa/
H A Dega.c762 if (data->firstchar != 0 || data->numchars != 256) in ega_load_font()
783 f->numchars = data->numchars; in ega_load_font()
/netbsd-src/sys/arch/powerpc/oea/
H A Dofw_rascons.c221 openfirm6x11.numchars = 96; in copy_rom_font()
/netbsd-src/sys/arch/hpcsh/dev/hd64461/
H A Dhd64461video.c933 font->numchars); in hd64461video_font_load()
939 for (i = font->firstchar; i < font->numchars; i++) { in hd64461video_font_load()
947 for (i = font->firstchar; i < font->numchars; i++) { in hd64461video_font_load()
/netbsd-src/sys/dev/wscons/
H A Dwsconsio.h446 int firstchar, numchars;
445 int firstchar, numchars; global() member
/netbsd-src/sys/arch/playstation2/ee/
H A Dgsfb.c421 if (c < font->firstchar || c >= font->firstchar + font->numchars) in _gsfb_mapchar()
/netbsd-src/sys/arch/sgimips/gio/
H A Dlight.c382 ch >= dc->dc_fontdata->firstchar + dc->dc_fontdata->numchars) in light_mapchar()
/netbsd-src/sys/arch/vax/vsa/
H A Dgpx.c1013 ss->ss_gpr = MIN(GPX_WIDTH / (NBBY * font->stride), font->numchars); in gpx_upload_font()
1017 for (row = 1, remaining = font->numchars; remaining != 0; in gpx_upload_font()
/netbsd-src/sys/arch/amiga/dev/
H A Damidisplaycc.c628 fonthigh = fontlow + scr->wsfont->numchars - 1; in amidisplaycc_putchar()
1916 font.numchars = kernel_font_hi_8x8 - kernel_font_lo_8x8 + 1; in amidisplaycc_getbuiltinfont()

12