/netbsd-src/external/mpl/bind/dist/lib/isccc/ |
H A D | base64.c | 49 sr.base = source->rstart; in isccc_base64_encode() 50 sr.length = (unsigned int)(source->rend - source->rstart); in isccc_base64_encode() 51 isc_buffer_init(&tb, target->rstart, in isccc_base64_encode() 52 (unsigned int)(target->rend - target->rstart)); in isccc_base64_encode() 58 source->rstart = source->rend; in isccc_base64_encode() 59 target->rstart = isc_buffer_used(&tb); in isccc_base64_encode() 68 isc_buffer_init(&b, target->rstart, in isccc_base64_decode() 69 (unsigned int)(target->rend - target->rstart)); in isccc_base64_decode() 74 target->rstart = isc_buffer_used(&b); in isccc_base64_decode()
|
H A D | sexpr.c | 105 sexpr->value.as_region.rstart = malloc(region_size + 1); in isccc_sexpr_frombinary() 106 if (sexpr->value.as_region.rstart == NULL) { in isccc_sexpr_frombinary() 110 sexpr->value.as_region.rend = sexpr->value.as_region.rstart + in isccc_sexpr_frombinary() 112 memmove(sexpr->value.as_region.rstart, region->rstart, region_size); in isccc_sexpr_frombinary() 116 sexpr->value.as_region.rstart[region_size] = '\0'; in isccc_sexpr_frombinary() 146 free(sexpr->value.as_region.rstart); in isccc_sexpr_free() 156 curr = r->rstart; in printable() 204 curr = sexpr->value.as_region.rstart; in isccc_sexpr_print() 309 return (char *)sexpr->value.as_region.rstart; in isccc_sexpr_tostring() [all...] |
H A D | cc.c | 132 isc_buffer_putmem(*buffer, vr->rstart, len); in value_towire() 268 source.rstart = digest; in sign() 293 result = isc_hmac(md_type, secret->rstart, REGION_SIZE(*secret), data, in sign() 301 target.rstart = digestb64; in sign() 409 source.rstart = digest; in verify() 434 result = isc_hmac(md_type, secret->rstart, REGION_SIZE(*secret), data, in verify() 441 target.rstart = digestb64; in verify() 457 if ((region->rend - region->rstart) != HMD5_LENGTH) { in verify() 460 value = region->rstart; in verify() 475 if ((region->rend - region->rstart) ! in verify() [all...] |
/netbsd-src/external/mpl/bind/dist/lib/isccc/include/isccc/ |
H A D | util.h | 204 #define REGION_SIZE(r) ((unsigned int)((r).rend - (r).rstart)) 205 #define REGION_EMPTY(r) ((r).rstart == (r).rend) 208 (r).rstart = (unsigned char *)s; \ 209 (r).rend = (r).rstart + strlen(s); \
|
H A D | types.h | 52 unsigned char *rstart; member
|
/netbsd-src/sys/arch/hpcsh/hpcsh/ |
H A D | bus_space.c | 220 _bus_space_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in _bus_space_alloc() argument 230 *bshp = *bpap = rstart + hbs->hbs_base_addr; in _bus_space_alloc() 236 error = extent_alloc_subregion(ex, rstart + base, rend + base, size, in _bus_space_alloc() 243 " size=0x%08x\n", (uint32_t)base, (uint32_t)rstart, in _bus_space_alloc()
|
/netbsd-src/sys/arch/x86/x86/ |
H A D | bus_space.c | 296 bus_addr_t rstart, bus_addr_t rend, in bus_space_reserve_subregion() argument 314 rstart, rend, size, alignment, boundary, flags, bsrp); in bus_space_reserve_subregion() 332 rstart = MAX(rstart, ex->ex_start); in bus_space_reserve_subregion() 334 if (rstart >= rend) in bus_space_reserve_subregion() 340 error = extent_alloc_subregion(ex, rstart, rend, size, alignment, in bus_space_reserve_subregion() 391 bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend, in bus_space_alloc() argument 405 rstart, rend, size, alignment, boundary, flags, bpap, bshp); in bus_space_alloc() 411 error = bus_space_reserve_subregion(t, rstart, rend, size, alignment, in bus_space_alloc()
|
/netbsd-src/sys/arch/powerpc/powerpc/ |
H A D | bus_space.c | 691 memio_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend, in memio_alloc() argument 700 rstart = _BUS_SPACE_STRIDE(t, rstart); in memio_alloc() 705 if (t->pbs_limit != 0 && rstart + size - 1 > t->pbs_limit) { in memio_alloc() 708 __func__, t, t->pbs_base, t->pbs_limit, rstart, size); in memio_alloc() 720 if (rstart < t->pbs_extent->ex_start || rend > t->pbs_extent->ex_end) in memio_alloc() 723 error = extent_alloc_subregion(t->pbs_extent, rstart, rend, size, in memio_alloc()
|
/netbsd-src/sys/arch/playstation2/playstation2/ |
H A D | bus_space.c | 234 _default_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in _default_alloc() argument 244 *bshp = *bpap = rstart + pbs->pbs_base_addr; in _default_alloc() 250 error = extent_alloc_subregion(ex, rstart + base, rend + base, size, in _default_alloc()
|
/netbsd-src/sys/arch/ews4800mips/ews4800mips/ |
H A D | bus_space.c | 241 _default_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in _default_alloc() argument 253 *bshp = *bpap = rstart + ebs->ebs_base_addr; in _default_alloc() 259 error = extent_alloc_subregion(ex, rstart + base, rend + base, size, in _default_alloc()
|
/netbsd-src/sys/arch/arm/xscale/ |
H A D | becc_space.c | 245 becc_io_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in becc_io_bs_alloc() argument 313 becc_mem_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in becc_mem_bs_alloc() argument
|
H A D | i80312_space.c | 260 i80312_io_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in i80312_io_bs_alloc() argument 351 i80312_mem_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in i80312_mem_bs_alloc() argument
|
H A D | i80321_space.c | 320 i80321_io_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in i80321_io_bs_alloc() argument 426 i80321_mem_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in i80321_mem_bs_alloc() argument
|
H A D | ixp425_pci_space.c | 238 ixp425_pci_io_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in ixp425_pci_io_bs_alloc() argument 438 ixp425_pci_mem_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, in ixp425_pci_mem_bs_alloc() argument
|
/netbsd-src/sys/arch/evbarm/tsarm/isa/ |
H A D | isa_io.c | 330 bus_addr_t rstart, in isa_bs_alloc() argument 352 rstart, /* minaddr */ in isa_bs_alloc()
|
/netbsd-src/games/backgammon/backgammon/ |
H A D | main.c | 75 static const char rstart[] = ". Red starts.\n"; variable 258 writel(rstart); in main()
|
/netbsd-src/sys/arch/pmax/pmax/ |
H A D | bus_space.c | 61 bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend, in bus_space_alloc() argument
|
/netbsd-src/sys/arch/emips/emips/ |
H A D | bus_space.c | 68 bus_addr_t rstart, in bus_space_alloc() argument
|
/netbsd-src/external/gpl2/rcs/dist/src/ |
H A D | rlog.c | 1097 struct buf const *rstart, *rend; in getnumericrev() local 1105 rstart = &s; in getnumericrev() 1150 rstart = &e; in getnumericrev() 1159 pt->strtrev = fstr_save(rstart->string); in getnumericrev()
|
/netbsd-src/sys/arch/hpcmips/hpcmips/ |
H A D | bus_space.c | 327 __bs_alloc(bus_space_tag_t tx, bus_addr_t rstart, bus_addr_t rend, in __bs_alloc() argument 339 rstart += t->base; in __bs_alloc() 341 if ((err = extent_alloc_subregion(t->extent, rstart, rend, size, in __bs_alloc()
|
/netbsd-src/sys/arch/news68k/news68k/ |
H A D | bus_space.c | 72 bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend, in bus_space_alloc() argument
|
/netbsd-src/sys/arch/arm/footbridge/ |
H A D | footbridge_com_io.c | 153 bus_addr_t rstart, in fcomcons_bs_alloc() argument
|
/netbsd-src/sys/arch/arm/iomd/ |
H A D | iomd_io.c | 148 iomd_bs_alloc(void *t, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, in iomd_bs_alloc() argument
|
/netbsd-src/sys/arch/hppa/dev/ |
H A D | elroy.c | 373 elroy_ioalloc(void *v, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, in elroy_ioalloc() argument 383 if (rstart < iostart || rend > ioend) in elroy_ioalloc() 386 rstart += sc->sc_iobase; in elroy_ioalloc() 388 if (bus_space_alloc(sc->sc_bt, rstart, rend, size, in elroy_ioalloc() 396 elroy_memalloc(void *v, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, in elroy_memalloc() argument 403 if (bus_space_alloc(sc->sc_bt, rstart, rend, size, in elroy_memalloc()
|
H A D | dino.c | 533 dino_ioalloc(void *v, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, in dino_ioalloc() argument 542 if (rstart < ex->ex_start || rend > ex->ex_end) in dino_ioalloc() 545 if ((error = extent_alloc_subregion(ex, rstart, rend, size, in dino_ioalloc() 558 dino_memalloc(void *v, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, in dino_memalloc() argument 574 if (rstart < 0xf0800000 || rend >= 0xff800000 || reg == 0) in dino_memalloc() 579 rstart = HPPA_IOSPACE | i << 23; in dino_memalloc() 583 if ((error = bus_space_alloc(sc->sc_bt, rstart, rend, size, align, in dino_memalloc()
|