Searched refs:maplen (Results 1 - 14 of 14) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/lib/
H A Ducsmap.c118 size_t maplen);
171 unsigned long *map, size_t maplen)
178 TRACE(("idn_ucsmap_add(ucs=U+%lX, maplen=%u)\n", ucs, maplen));
186 if (maplen > MAX_MAPLEN) {
187 WARNING(("idn_ucsmap_add: maplen too large (> %d)\n",
205 e->len = maplen;
207 if (maplen > 0) {
209 e->map = save_mapped_sequence(ctx, map, maplen);
214 * Zero 'maplen' i
170 idn_ucsmap_add(idn_ucsmap_t ctx, unsigned long ucs, unsigned long *map, size_t maplen) argument
328 save_mapped_sequence(idn_ucsmap_t ctx, unsigned long *map, size_t maplen) argument
[all...]
/netbsd-6-1-5-RELEASE/sbin/wsconsctl/
H A Dmap_parse.y74 for (i = 0; i < kbmap.maplen; i++) {
113 newkbmap.maplen = 0;
132 if (dst >= newkbmap.maplen)
133 newkbmap.maplen = dst + 1;
140 if ((unsigned int)$2 >= newkbmap.maplen)
141 newkbmap.maplen = $2 + 1;
H A Dutil.c406 kbmap.maplen = 0;
410 if (newkbmap.maplen < kbmap.maplen)
411 newkbmap.maplen = kbmap.maplen;
412 for (u = 0; u < kbmap.maplen; u++) {
422 kbmap.maplen = newkbmap.maplen;
424 kbmap.maplen * sizeof(struct wscons_keymap));
489 for (i = 0; i < map->maplen;
[all...]
H A Dkeyboard.c112 kbmap.maplen = KS_NUMKEYCODES;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/include/idn/
H A Ducsmap.h93 * characters of length 'maplen'. 'map' may be NULL if 'maplen' is zero,
100 * or too large maplen.
104 size_t maplen);
/netbsd-6-1-5-RELEASE/sys/dev/pci/
H A Dbtvmeii.c90 unsigned long pcibase, maplen; member in struct:b3_2706_vmemaprescs
289 unsigned long boundary, maplen, pcibase; local
317 maplen = vmeend - vmebase + boundary;
319 if (extent_alloc(sc->vmeext, maplen, boundary, 0, EX_FAST, &pcibase)) {
324 res = univ_pci_mapvme(&sc->univdata, wnd, vmebase, maplen,
327 extent_free(sc->vmeext, pcibase, maplen, 0);
336 extent_free(sc->vmeext, pcibase, maplen, 0);
348 sc->vmemaprescs[wnd].maplen = maplen;
361 extent_free(sc->vmeext, r->pcibase, r->maplen,
[all...]
H A Dbtvmei.c69 int firstpage, maplen; member in struct:b3_617_vmeresc
395 unsigned long maplen, first, i; local
406 maplen = ((vmeend - vmebase) / VME_PAGESIZE + 1) * 4;
408 if (extent_alloc(sc->vmeext, maplen, 4, 0, EX_FAST, &first))
417 i < first + maplen;
436 for (i = first; i < first + maplen; i += 4)
438 extent_free(sc->vmeext, first, maplen, 0);
451 r->maplen = maplen;
465 for (i = r->firstpage; i < r->firstpage + r->maplen;
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/make/
H A Dparse.c377 size_t maplen; /* length of mmap area, or 0 */ member in struct:loadedfile
393 lf->maplen = 0;
402 if (lf->maplen > 0) {
403 munmap(lf->buf, lf->maplen);
502 lf->maplen = pagesize * ((lf->len + pagesize - 1)/pagesize);
509 if (lf->maplen == 0) {
510 lf->maplen = pagesize;
517 lf->buf = mmap(NULL, lf->maplen, PROT_READ|PROT_WRITE,
521 if (lf->len == lf->maplen && lf->buf[lf->len - 1] != '\n') {
525 munmap(lf->buf, lf->maplen);
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/sparc64/
H A Dofw_machdep.c693 int maplen = sizeof static_interrupt_map; local
738 "interrupt-map", interrupt_map, maplen)) <= 0) {
760 if (interrupt_map_len > maplen) {
761 DPRINTF(("interrupt_map_len %d > maplen %d, "
762 "allocating\n", interrupt_map_len, maplen));
770 maplen = interrupt_map_len;
/netbsd-6-1-5-RELEASE/sys/dev/wscons/
H A Dwskbdutil.c467 wskbd_init_keymap(int newlen, struct wscons_keymap **map, int *maplen) argument
471 if (newlen != *maplen) {
472 if (*maplen > 0)
474 *maplen = newlen;
479 for (i = 0; i < *maplen; i++) {
490 struct wscons_keymap **map, int *maplen)
524 wskbd_init_keymap(i + 1, map, maplen);
489 wskbd_load_keymap(const struct wskbd_mapdata *mapdata, struct wscons_keymap **map, int *maplen) argument
H A Dwskbd.c1176 if (umdp->maplen > WSKBDIO_MAXMAPLEN)
1179 len = umdp->maplen*sizeof(struct wscons_keymap);
1183 wskbd_init_keymap(umdp->maplen,
1196 if (umdp->maplen > sc->sc_maplen)
1197 umdp->maplen = sc->sc_maplen;
1199 umdp->maplen*sizeof(struct wscons_keymap));
H A Dwsconsio.h156 u_int maplen; /* number of entries in map */ member in struct:wskbd_map_data
/netbsd-6-1-5-RELEASE/lib/librumpclient/
H A Drumpclient.c532 size_t maplen; local
558 maplen = *(size_t *)spc->spc_buf;
559 mapaddr = mmap(NULL, maplen, PROT_READ|PROT_WRITE,
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/booke/pci/
H A Dpq3pci.c1087 size_t maplen = __arraycount(pq3pci_msigroups); local
1089 uint32_t bitmap[maplen];
1091 for (u_int i = 0; i < maplen; i++) {
1110 for (u_int i = 0; i < maplen; i++) {

Completed in 115 milliseconds