| /netbsd-src/sys/dev/tc/ |
| H A D | if_le_ioasic.c | 198 volatile uint16_t *bptr; in le_ioasic_copytobuf_gap2() local 202 bptr = ((volatile uint16_t *)buf) + (boff - 1); in le_ioasic_copytobuf_gap2() 203 *bptr = (*from++ << 8) | (*bptr & 0xff); in le_ioasic_copytobuf_gap2() 204 bptr += 2; in le_ioasic_copytobuf_gap2() 207 bptr = ((volatile uint16_t *)buf) + boff; in le_ioasic_copytobuf_gap2() 209 *bptr = (from[1] << 8) | (from[0] & 0xff); in le_ioasic_copytobuf_gap2() 210 bptr += 2; in le_ioasic_copytobuf_gap2() 215 *bptr = (uint16_t)*from; in le_ioasic_copytobuf_gap2() 223 volatile uint16_t *bptr; in le_ioasic_copyfrombuf_gap2() local 228 bptr = ((volatile uint16_t *)buf) + (boff - 1); in le_ioasic_copyfrombuf_gap2() [all …]
|
| /netbsd-src/sys/arch/pmax/ibus/ |
| H A D | if_le_ibus.c | 109 volatile uint16_t *bptr; in le_dec_copytobuf_gap2() local 113 bptr = ((volatile uint16_t *)buf) + (boff - 1); in le_dec_copytobuf_gap2() 114 *bptr = (*from++ << 8) | (*bptr & 0xff); in le_dec_copytobuf_gap2() 115 bptr += 2; in le_dec_copytobuf_gap2() 118 bptr = ((volatile uint16_t *)buf) + boff; in le_dec_copytobuf_gap2() 120 *bptr = (from[1] << 8) | (from[0] & 0xff); in le_dec_copytobuf_gap2() 121 bptr += 2; in le_dec_copytobuf_gap2() 126 *bptr = (uint16_t)*from; in le_dec_copytobuf_gap2() 134 volatile uint16_t *bptr; in le_dec_copyfrombuf_gap2() local 139 bptr = ((volatile uint16_t *)buf) + (boff - 1); in le_dec_copyfrombuf_gap2() [all …]
|
| /netbsd-src/sys/arch/vax/if/ |
| H A D | if_le.c | 239 volatile uint16_t *bptr; in lance_copytobuf_gap2() local 243 bptr = ((volatile uint16_t *)buf) + (boff - 1); in lance_copytobuf_gap2() 244 *bptr = (*from++ << 8) | (*bptr & 0xff); in lance_copytobuf_gap2() 245 bptr += 2; in lance_copytobuf_gap2() 248 bptr = ((volatile uint16_t *)buf) + boff; in lance_copytobuf_gap2() 250 *bptr = (from[1] << 8) | (from[0] & 0xff); in lance_copytobuf_gap2() 251 bptr += 2; in lance_copytobuf_gap2() 256 *bptr = (uint16_t)*from; in lance_copytobuf_gap2() 264 volatile uint16_t *bptr; in lance_copyfrombuf_gap2() local 269 bptr = ((volatile uint16_t *)buf) + (boff - 1); in lance_copyfrombuf_gap2() [all …]
|
| /netbsd-src/usr.bin/fmt/ |
| H A D | buffer.h | 41 wchar_t *bptr; member 48 buf->ptr = buf->bptr = calloc(BUF_SIZE, sizeof(*buf->ptr)); in buf_init() 57 free(buf->bptr); in buf_end() 64 size_t len = (buf->eptr - buf->bptr) + in buf_grow() 66 wchar_t *nptr = realloc(buf->bptr, len * sizeof(*buf->ptr)); in buf_grow() 71 if (nptr == buf->bptr) { in buf_grow() 72 buf->eptr = buf->bptr + len; in buf_grow() 76 diff = nptr - buf->bptr; in buf_grow() 77 buf->bptr += diff; in buf_grow() 78 buf->eptr = buf->bptr + len; in buf_grow() [all …]
|
| H A D | fmt.c | 289 cp = lbuf.bptr; in fmt() 306 for (cp2 = cbuf.ptr - 1; cp2 >= cbuf.bptr && *cp2 == ' '; cp2--) in fmt() 334 if (buf->ptr == buf->bptr) { in prefix() 339 for (cp = buf->bptr; *cp == ' '; cp++) in prefix() 341 np = cp - buf->bptr; in prefix() 419 pack(word.bptr, wlen); in split() 453 if (outbuf.bptr == outbuf.ptr) in pack() 460 s = outbuf.ptr - outbuf.bptr; in pack() 486 if (outbuf.bptr == outbuf.ptr) in oflush() 507 for (cp = buf->ptr - 1; cp >= buf->bptr && *cp == ' '; cp--) in tabulate() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | lance.c | 685 volatile uint16_t *bptr; 689 bptr = ((volatile uint16_t *)buf) + (boff - 1); 690 *bptr = (*from++ << 8) | (*bptr & 0xff); 691 bptr += 2; 694 bptr = ((volatile uint16_t *)buf) + boff; 696 *bptr = (from[1] << 8) | (from[0] & 0xff); 697 bptr += 2; 702 *bptr = (uint16_t)*from; 710 volatile uint16_t *bptr; [all...] |
| /netbsd-src/libexec/talkd/ |
| H A D | announce.c | 103 char *bptr, *lptr, vis_user[sizeof(request->l_name) * 4]; in print_mesg() local 139 bptr = big_buf; in print_mesg() 140 *bptr++ = '\a'; /* send something to wake them up */ in print_mesg() 141 *bptr++ = '\r'; /* add a \r in case of raw mode */ in print_mesg() 142 *bptr++ = '\n'; in print_mesg() 147 *(bptr++) = *(lptr++); in print_mesg() 150 *(bptr++) = ' '; in print_mesg() 151 *(bptr++) = '\r'; /* add a \r in case of raw mode */ in print_mesg() 152 *(bptr++) = '\n'; in print_mesg() 154 *bptr = '\0'; in print_mesg() [all …]
|
| /netbsd-src/sys/dev/mca/ |
| H A D | if_elmc_mca.c | 281 u_int8_t* bptr = dst; in elmc_mca_copyin() local 284 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in elmc_mca_copyin() 285 offset++; bptr++; size--; in elmc_mca_copyin() 289 bus_space_read_region_2(sc->bt, sc->bh, offset, (u_int16_t *) bptr, in elmc_mca_copyin() 293 bptr += size - 1; in elmc_mca_copyin() 295 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in elmc_mca_copyin() 304 const u_int8_t* bptr = src; in elmc_mca_copyout() local 307 bus_space_write_1(sc->bt, sc->bh, offset, *bptr); in elmc_mca_copyout() 308 offset++; bptr++; size--; in elmc_mca_copyout() 313 (const u_int16_t *)bptr, size >> 1); in elmc_mca_copyout() [all …]
|
| /netbsd-src/external/gpl2/diffutils/dist/src/ |
| H A D | diff3.c | 954 struct diff_block *block_list, **block_list_end, *bptr; in process_diff() local 956 / MIN (sizeof *bptr->lines[1], in process_diff() 957 sizeof *bptr->lengths[1])); in process_diff() 962 bptr = 0; /* Pacify `gcc -W'. */ in process_diff() 966 bptr = xmalloc (sizeof *bptr); in process_diff() 967 bptr->lines[0] = bptr->lines[1] = 0; in process_diff() 968 bptr->lengths[0] = bptr->lengths[1] = 0; in process_diff() 970 dt = process_diff_control (&scan_diff, bptr); in process_diff() 987 bptr->ranges[0][0]++; in process_diff() 990 bptr->ranges[1][0]++; in process_diff() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
| H A D | id2entry.c | 423 struct berval *bptr; in mdb_id2entry() local 427 bptr = a->a_vals; in mdb_id2entry() 432 *bptr++ = gluebv; in mdb_id2entry() 433 BER_BVZERO(bptr); in mdb_id2entry() 434 bptr++; in mdb_id2entry() 439 a->a_vals = bptr; in mdb_id2entry() 442 *bptr++ = gluebv; in mdb_id2entry() 443 BER_BVZERO(bptr); in mdb_id2entry() 1027 BerVarray bptr; in mdb_entry_decode() local 1041 bptr = a->a_vals; in mdb_entry_decode() [all …]
|
| /netbsd-src/sys/dev/isa/ |
| H A D | if_ai.c | 140 uint8_t *bptr = dst; in ai_copyin() local 143 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in ai_copyin() 144 offset++; bptr++; size--; in ai_copyin() 148 bus_space_read_region_2(sc->bt, sc->bh, offset, (uint16_t *)bptr, in ai_copyin() 152 bptr += size - 1; in ai_copyin() 154 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in ai_copyin() 162 const uint8_t *bptr = src; in ai_copyout() local 165 bus_space_write_1(sc->bt, sc->bh, offset, *bptr); in ai_copyout() 166 offset++; bptr++; size--; in ai_copyout() 171 (const uint16_t *)bptr, size >> 1); in ai_copyout() [all …]
|
| H A D | if_ix.c | 241 uint8_t *bptr = dst; in ix_copyin() local 252 *bptr = bus_space_read_1(sc->bt, sc->bh, IX_DATAPORT); in ix_copyin() 254 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in ix_copyin() 255 offset++; bptr++; size--; in ix_copyin() 259 wptr = (uint16_t*)bptr; in ix_copyin() 268 (uint16_t *)bptr, size / 2); in ix_copyin() 271 bptr += size - 1; in ix_copyin() 275 *bptr = bus_space_read_1(sc->bt, sc->bh, IX_DATAPORT); in ix_copyin() 277 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in ix_copyin() 285 const uint8_t *bptr = src; in ix_copyout() local [all …]
|
| H A D | if_ef.c | 247 uint8_t *bptr = dst; in ef_copyin() local 250 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in ef_copyin() 251 offset++; bptr++; size--; in ef_copyin() 255 bus_space_read_region_2(sc->bt, sc->bh, offset, (uint16_t *) bptr, in ef_copyin() 259 bptr += size - 1; in ef_copyin() 261 *bptr = bus_space_read_1(sc->bt, sc->bh, offset); in ef_copyin() 269 const uint8_t *bptr = src; in ef_copyout() local 272 bus_space_write_1(sc->bt, sc->bh, offset, *bptr); in ef_copyout() 273 offset++; bptr++; size--; in ef_copyout() 278 (const uint16_t *)bptr, size >> 1); in ef_copyout() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| H A D | eoshift2.c | 50 const char *bptr; in eoshift2() local 165 bptr = bound->base_addr; in eoshift2() 167 bptr = NULL; in eoshift2() 209 if (bptr) in eoshift2() 212 memcpy (dest, bptr, size); in eoshift2() 232 bptr += bstride0; in eoshift2() 244 bptr -= bstride[n] * extent[n]; in eoshift2() 257 bptr += bstride[n]; in eoshift2()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/generated/ |
| H A D | eoshift3_8.c | 59 const char *bptr; in eoshift3() local 173 bptr = bound->base_addr; in eoshift3() 175 bptr = NULL; in eoshift3() 221 if (bptr) in eoshift3() 224 memcpy (dest, bptr, size); in eoshift3() 245 bptr += bstride0; in eoshift3() 258 bptr -= bstride[n] * extent[n]; in eoshift3() 272 bptr += bstride[n]; in eoshift3()
|
| H A D | eoshift3_4.c | 59 const char *bptr; in eoshift3() local 173 bptr = bound->base_addr; in eoshift3() 175 bptr = NULL; in eoshift3() 221 if (bptr) in eoshift3() 224 memcpy (dest, bptr, size); in eoshift3() 245 bptr += bstride0; in eoshift3() 258 bptr -= bstride[n] * extent[n]; in eoshift3() 272 bptr += bstride[n]; in eoshift3()
|
| H A D | eoshift3_16.c | 59 const char *bptr; in eoshift3() local 173 bptr = bound->base_addr; in eoshift3() 175 bptr = NULL; in eoshift3() 221 if (bptr) in eoshift3() 224 memcpy (dest, bptr, size); in eoshift3() 245 bptr += bstride0; in eoshift3() 258 bptr -= bstride[n] * extent[n]; in eoshift3() 272 bptr += bstride[n]; in eoshift3()
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/generated/ |
| H A D | eoshift3_4.c | 59 const char *bptr; in eoshift3() local 173 bptr = bound->base_addr; in eoshift3() 175 bptr = NULL; in eoshift3() 221 if (bptr) in eoshift3() 224 memcpy (dest, bptr, size); in eoshift3() 245 bptr += bstride0; in eoshift3() 258 bptr -= bstride[n] * extent[n]; in eoshift3() 272 bptr += bstride[n]; in eoshift3()
|
| H A D | eoshift3_8.c | 59 const char *bptr; in eoshift3() local 173 bptr = bound->base_addr; in eoshift3() 175 bptr = NULL; in eoshift3() 221 if (bptr) in eoshift3() 224 memcpy (dest, bptr, size); in eoshift3() 245 bptr += bstride0; in eoshift3() 258 bptr -= bstride[n] * extent[n]; in eoshift3() 272 bptr += bstride[n]; in eoshift3()
|
| H A D | eoshift3_16.c | 59 const char *bptr; in eoshift3() local 173 bptr = bound->base_addr; in eoshift3() 175 bptr = NULL; in eoshift3() 221 if (bptr) in eoshift3() 224 memcpy (dest, bptr, size); in eoshift3() 245 bptr += bstride0; in eoshift3() 258 bptr -= bstride[n] * extent[n]; in eoshift3() 272 bptr += bstride[n]; in eoshift3()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| H A D | eoshift2.c | 50 const char *bptr; in eoshift2() local 165 bptr = bound->base_addr; in eoshift2() 167 bptr = NULL; in eoshift2() 209 if (bptr) in eoshift2() 212 memcpy (dest, bptr, size); in eoshift2() 232 bptr += bstride0; in eoshift2() 244 bptr -= bstride[n] * extent[n]; in eoshift2() 257 bptr += bstride[n]; in eoshift2()
|
| /netbsd-src/external/gpl2/xcvs/dist/diff/ |
| H A D | diff3.c | 1085 struct diff_block *block_list, **block_list_end, *bptr; local 1090 bptr = 0; /* Pacify `gcc -W'. */ 1094 bptr = ALLOCATE (1, struct diff_block); 1095 bptr->lines[0] = bptr->lines[1] = 0; 1096 bptr->lengths[0] = bptr->lengths[1] = 0; 1098 dt = process_diff_control (&scan_diff, bptr); 1116 bptr->ranges[0][0]++; 1119 bptr->ranges[1][0]++; 1132 int numlines = D_NUMLINES (bptr, 0); 1133 bptr->lines[0] = ALLOCATE (numlines, char *); [all …]
|
| /netbsd-src/games/phantasia/ |
| H A D | gamesupport.c | 33 phbool *bptr; /* pointer to bool item to change */ in changestats() local 371 bptr = &playerp->p_palantir; in changestats() 376 bptr = &playerp->p_blessing; in changestats() 381 bptr = &playerp->p_virgin; in changestats() 386 bptr = &playerp->p_blindness; in changestats() 438 mvprintw(23, 0, "%s = %c; %s = ", prompt, flag[(int)*bptr], in changestats() 442 *bptr = TRUE; in changestats() 445 *bptr = FALSE; in changestats()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | entry.c | 830 BerVarray bptr; in entry_decode() local 851 bptr = (BerVarray)eh->bv.bv_val; in entry_decode() 877 a->a_vals = bptr; in entry_decode() 881 bptr->bv_len = i; in entry_decode() 882 bptr->bv_val = (char *)ptr; in entry_decode() 884 bptr++; in entry_decode() 887 bptr->bv_val = NULL; in entry_decode() 888 bptr->bv_len = 0; in entry_decode() 889 bptr++; in entry_decode() 893 a->a_nvals = bptr; in entry_decode() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/asm/ |
| H A D | x86_64-mont.pl | 825 my $bptr="%rdx"; # not used 1110 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)= 1112 my $rptr=$bptr; 1114 lea 8($bp),$bptr 1122 mov $bptr,8(%rsp) # off-load &b[i] 1127 mov $mi,$bptr # borrow $bptr 1138 adcx %rax,$bptr # discarded 1144 mov 48(%rsp),$bptr # counter value 1195 dec $bptr # of=0, pass cf 1199 mov 8(%rsp),$bptr # re-load &b[i] [all …]
|