/netbsd/sys/dev/tc/ |
H A D | if_le_ioasic.c | 203 *bptr = (*from++ << 8) | (*bptr & 0xff); in le_ioasic_copytobuf_gap2() 204 bptr += 2; in le_ioasic_copytobuf_gap2() 210 bptr += 2; in le_ioasic_copytobuf_gap2() 230 bptr += 2; in le_ioasic_copyfrombuf_gap2() 235 tmp = *bptr; in le_ioasic_copyfrombuf_gap2() 238 bptr += 2; in le_ioasic_copyfrombuf_gap2() 271 bptr += 32; in le_ioasic_copytobuf_gap16() 299 bptr += 32; in le_ioasic_copytobuf_gap16() 314 bptr += 32; in le_ioasic_copytobuf_gap16() 350 bptr += 32; in le_ioasic_copyfrombuf_gap16() [all …]
|
/netbsd/sys/arch/pmax/ibus/ |
H A D | if_le_ibus.c | 114 *bptr = (*from++ << 8) | (*bptr & 0xff); in le_dec_copytobuf_gap2() 115 bptr += 2; in le_dec_copytobuf_gap2() 121 bptr += 2; in le_dec_copytobuf_gap2() 141 bptr += 2; in le_dec_copyfrombuf_gap2() 146 tmp = *bptr; in le_dec_copyfrombuf_gap2() 149 bptr += 2; in le_dec_copyfrombuf_gap2() 153 *to = *bptr & 0xff; in le_dec_copyfrombuf_gap2() 164 *bptr &= 0xff; in le_dec_zerobuf_gap2() 165 bptr += 2; in le_dec_zerobuf_gap2() 170 *bptr = 0; in le_dec_zerobuf_gap2() [all …]
|
/netbsd/sys/arch/vax/if/ |
H A D | if_le.c | 244 *bptr = (*from++ << 8) | (*bptr & 0xff); in lance_copytobuf_gap2() 245 bptr += 2; in lance_copytobuf_gap2() 251 bptr += 2; in lance_copytobuf_gap2() 271 bptr += 2; in lance_copyfrombuf_gap2() 276 tmp = *bptr; in lance_copyfrombuf_gap2() 279 bptr += 2; in lance_copyfrombuf_gap2() 283 *to = *bptr & 0xff; in lance_copyfrombuf_gap2() 294 *bptr &= 0xff; in lance_zerobuf_gap2() 295 bptr += 2; in lance_zerobuf_gap2() 300 *bptr = 0; in lance_zerobuf_gap2() [all …]
|
/netbsd/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() 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() 93 buf->ptr = buf->bptr; in buf_reset() [all …]
|
H A D | fmt.c | 289 cp = lbuf.bptr; 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() 514 for (cp = buf->bptr; *cp == ' '; cp++) in tabulate() [all …]
|
/netbsd/sys/dev/ic/ |
H A D | lance.c | 688 *bptr = (*from++ << 8) | (*bptr & 0xff); 689 bptr += 2; 695 bptr += 2; 715 bptr += 2; 723 bptr += 2; 739 bptr += 2; 744 *bptr = 0; 745 bptr += 2; 770 bptr += 32; 791 bptr += 32; [all …]
|
/netbsd/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/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() 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() 315 bptr += size - 1; in elmc_mca_copyout() [all …]
|
/netbsd/external/gpl2/diffutils/dist/src/ |
H A D | diff3.c | 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() 987 bptr->ranges[0][0]++; in process_diff() 990 bptr->ranges[1][0]++; in process_diff() 1006 bptr->lines[0] = xmalloc (numlines * sizeof *bptr->lines[0]); in process_diff() 1007 bptr->lengths[0] = xmalloc (numlines * sizeof *bptr->lengths[0]); in process_diff() 1010 &(bptr->lines[0][i]), in process_diff() 1031 bptr->lines[1] = xmalloc (numlines * sizeof *bptr->lines[1]); in process_diff() 1032 bptr->lengths[1] = xmalloc (numlines * sizeof *bptr->lengths[1]); in process_diff() [all …]
|
/netbsd/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
H A D | id2entry.c | 427 bptr = a->a_vals; in mdb_id2entry() 432 *bptr++ = gluebv; in mdb_id2entry() 434 bptr++; in mdb_id2entry() 1027 BerVarray bptr; in mdb_entry_decode() local 1041 bptr = a->a_vals; in mdb_entry_decode() 1085 bptr += i + 1; in mdb_entry_decode() 1087 bptr += i + 1; in mdb_entry_decode() 1093 bptr++; in mdb_entry_decode() 1097 bptr++; in mdb_entry_decode() 1105 bptr++; in mdb_entry_decode() [all …]
|
/netbsd/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() 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() 173 bptr += size - 1; in ai_copyout() [all …]
|
H A D | if_ix.c | 241 uint8_t *bptr = dst; in ix_copyin() local 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() 285 const uint8_t *bptr = src; in ix_copyout() local 299 offset++; bptr++; size--; in ix_copyout() 303 wptr = (const uint16_t*)bptr; in ix_copyout() 312 (const uint16_t *)bptr, size / 2); in ix_copyout() [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() 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() 280 bptr += size - 1; in ef_copyout() [all …]
|
/netbsd/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/external/gpl3/gcc.old/dist/libgfortran/generated/ |
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()
|
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()
|
/netbsd/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/external/gpl3/gcc/dist/libgfortran/generated/ |
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()
|
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()
|
/netbsd/external/gpl2/xcvs/dist/diff/ |
H A D | diff3.c | 1090 bptr = 0; /* Pacify `gcc -W'. */ 1095 bptr->lines[0] = bptr->lines[1] = 0; 1096 bptr->lengths[0] = bptr->lengths[1] = 0; 1116 bptr->ranges[0][0]++; 1119 bptr->ranges[1][0]++; 1137 &(bptr->lines[0][i]), 1138 &(bptr->lengths[0][i]), 1160 &(bptr->lines[1][i]), 1161 &(bptr->lengths[1][i]), 1167 *block_list_end = bptr; [all …]
|
/netbsd/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/lib/libedit/TEST/ |
H A D | wtc1.c | 62 char *buf, *bptr; in complete() local 76 buf = bptr = malloc(mblen); in complete() 81 bptr += wctomb(bptr, ptr[i]); in complete() 83 *bptr = 0; /* Terminate multibyte string */ in complete() 84 mblen = bptr - buf; in complete()
|
/netbsd/external/bsd/openldap/dist/servers/slapd/ |
H A D | entry.c | 830 BerVarray bptr; in entry_decode() local 877 a->a_vals = bptr; in entry_decode() 881 bptr->bv_len = i; in entry_decode() 884 bptr++; in entry_decode() 888 bptr->bv_len = 0; in entry_decode() 889 bptr++; in entry_decode() 893 a->a_nvals = bptr; in entry_decode() 896 bptr->bv_len = i; in entry_decode() 899 bptr++; in entry_decode() 903 bptr->bv_len = 0; in entry_decode() [all …]
|