| /dflybsd-src/sys/dev/netif/lnc/ |
| H A D | lance.c | 611 volatile uint16_t *bptr; 615 bptr = ((volatile uint16_t *)buf) + (boff - 1); 616 *bptr = (*from++ << 8) | (*bptr & 0xff); 617 bptr += 2; 620 bptr = ((volatile uint16_t *)buf) + boff; 622 *bptr = (from[1] << 8) | (from[0] & 0xff); 623 bptr += 2; 628 *bptr = (uint16_t)*from; 636 volatile uint16_t *bptr; 641 bptr = ((volatile uint16_t *)buf) + (boff - 1); [all …]
|
| /dflybsd-src/libexec/talkd/ |
| H A D | announce.c | 97 char *bptr, *lptr, *vis_user; in print_mesg() local 133 bptr = big_buf; in print_mesg() 134 *bptr++ = '\007'; /* send something to wake them up */ in print_mesg() 135 *bptr++ = '\r'; /* add a \r in case of raw mode */ in print_mesg() 136 *bptr++ = '\n'; in print_mesg() 141 *(bptr++) = *(lptr++); in print_mesg() 144 *(bptr++) = ' '; in print_mesg() 145 *(bptr++) = '\r'; /* add a \r in case of raw mode */ in print_mesg() 146 *(bptr++) = '\n'; in print_mesg() 148 *bptr = '\0'; in print_mesg() [all …]
|
| /dflybsd-src/test/sysperf/ |
| H A D | mbwtest.c | 146 register char *bptr; in bandwidth_test() local 154 for (bptr = buf; bptr < lptr; bptr += 32) { in bandwidth_test() 155 v = *(volatile int *)(bptr + 0); in bandwidth_test() 156 v = *(volatile int *)(bptr + 4); in bandwidth_test() 157 v = *(volatile int *)(bptr + 8); in bandwidth_test() 158 v = *(volatile int *)(bptr + 12); in bandwidth_test() 159 v = *(volatile int *)(bptr + 16); in bandwidth_test() 160 v = *(volatile int *)(bptr + 20); in bandwidth_test() 161 v = *(volatile int *)(bptr + 24); in bandwidth_test() 162 v = *(volatile int *)(bptr + 28); in bandwidth_test()
|
| /dflybsd-src/sys/kern/ |
| H A D | subr_module.c | 365 preload_modinfo_value(struct sbuf *sbp, uint32_t *bptr, int type, int len) in preload_modinfo_value() argument 371 sbuf_printf(sbp, "%s", (char *)bptr); in preload_modinfo_value() 374 sbuf_printf(sbp, "%lu", *(u_long *)bptr); in preload_modinfo_value() 384 sbuf_printf(sbp, "0x%016lx", *(vm_offset_t *)bptr); in preload_modinfo_value() 387 sbuf_printf(sbp, "0x%08x", *bptr); in preload_modinfo_value() 404 uint32_t *bptr, type, len; in preload_dump_internal() local 409 bptr = (uint32_t *)preload_metadata; in preload_dump_internal() 410 while (bptr[0] != MODINFO_END) { in preload_dump_internal() 411 sbuf_printf(sbp, " %p:\n", bptr); in preload_dump_internal() 413 type = *bptr++; in preload_dump_internal() [all …]
|
| /dflybsd-src/contrib/cvs-1.12/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 …]
|
| H A D | util.c | 700 translate_range (file, a, b, aptr, bptr) in translate_range() argument 703 int *aptr, *bptr; 706 *bptr = translate_line_number (file, b + 1) - 1;
|
| /dflybsd-src/contrib/tcsh-6/ |
| H A D | sh.exec.c | 929 const struct biltins *bptr; in tellmewhat() local 970 for (bptr = bfunc; bptr < &bfunc[nbfunc]; bptr++) { in tellmewhat() 971 if (eq(sp->word, str2short(bptr->bname))) { in tellmewhat() 986 for (bptr = nt_bfunc; bptr < &nt_bfunc[nt_nbfunc]; bptr++) { in tellmewhat() 987 if (eq(sp->word, str2short(bptr->bname))) { in tellmewhat() 1085 const struct biltins *bptr; in find_cmd() local 1109 for (bptr = bfunc; bptr < &bfunc[nbfunc]; bptr++) { in find_cmd() 1110 if (eq(cmd, str2short(bptr->bname))) { in find_cmd() 1119 for (bptr = nt_bfunc; bptr < &nt_bfunc[nt_nbfunc]; bptr++) { in find_cmd() 1120 if (eq(cmd, str2short(bptr->bname))) { in find_cmd()
|
| H A D | gethost.c | 170 const char *ptr, *bptr, *eptr = NULL, *name; in explode() local 179 for (ptr = defs; (bptr = strstr(ptr, def)) != NULL; ptr = eptr + 1) { in explode() 180 if (ptr != bptr) in explode() 181 buf = cat(buf, ptr, bptr - ptr + 1); in explode() 189 buf = cat(buf, bptr, eptr - bptr + 1); in explode() 190 name = bptr + sizeof(def) - 1; in explode()
|
| H A D | tw.init.c | 266 const struct biltins *bptr; in tw_cmd_builtin() local 268 for (bptr = bfunc; bptr < &bfunc[nbfunc]; bptr++) in tw_cmd_builtin() 269 if (bptr->bname) in tw_cmd_builtin() 270 tw_cmd_add(str2short(bptr->bname)); in tw_cmd_builtin() 272 for (bptr = nt_bfunc; bptr < &nt_bfunc[nt_nbfunc]; bptr++) in tw_cmd_builtin() 273 if (bptr->bname) in tw_cmd_builtin() 274 tw_cmd_add(str2short(bptr->bname)); in tw_cmd_builtin()
|
| H A D | tw.parse.c | 268 Char *bptr; in tenematch() local 282 for (bptr = qline.s + wordp; bptr < slshp; bptr++) { in tenematch() 287 if (isglob(*bptr)) { in tenematch() 338 for (bptr = word_start; bptr < str_end; bptr++) { in tenematch() 343 if (isglob(*bptr)) { in tenematch() 417 bptr = dollar(qline.s + word); in tenematch() 418 if (bptr != NULL) { in tenematch() 419 if (insert_meta(word_start, str_end, bptr, !qu) < 0) { in tenematch() 420 xfree(bptr); in tenematch() 423 xfree(bptr); in tenematch() [all …]
|
| /dflybsd-src/games/phantasia/ |
| H A D | gamesupport.c | 56 bool *bptr; /* pointer to bool item to change */ in changestats() local 382 bptr = &playerp->p_palantir; in changestats() 387 bptr = &playerp->p_blessing; in changestats() 392 bptr = &playerp->p_virgin; in changestats() 397 bptr = &playerp->p_blindness; in changestats() 449 mvprintw(23, 0, "%s = %c; %s = ", prompt, flag[*bptr], in changestats() 453 *bptr = TRUE; in changestats() 455 *bptr = FALSE; in changestats()
|
| /dflybsd-src/usr.bin/gencat/ |
| H A D | gencat.c | 235 static char buf[BUFSIZ], *bptr = buf, *bend = buf; local 247 for (; bptr < bend && cptr < cend; ++cptr, ++bptr) { 248 if (*bptr == '\n') { 250 ++bptr; 253 *cptr = *bptr; 259 if (bptr == bend) { 269 bptr = buf;
|
| /dflybsd-src/crypto/libressl/tls/ |
| H A D | tls_conninfo.c | 183 BUF_MEM *bptr = NULL; in tls_conninfo_cert_pem() local 203 BIO_get_mem_ptr(membio, &bptr); in tls_conninfo_cert_pem() 206 if ((ctx->conninfo->peer_cert = malloc(bptr->length)) == NULL) in tls_conninfo_cert_pem() 208 ctx->conninfo->peer_cert_len = bptr->length; in tls_conninfo_cert_pem() 209 memcpy(ctx->conninfo->peer_cert, bptr->data, in tls_conninfo_cert_pem()
|
| /dflybsd-src/contrib/file/src/ |
| H A D | readelf.c | 983 char *bptr; in get_string_on_virtaddr() local 1002 for (bptr = buf; *bptr && isprint(CAST(unsigned char, *bptr)); bptr++) in get_string_on_virtaddr() 1004 if (*bptr != '\0') in get_string_on_virtaddr() 1007 return bptr - buf; in get_string_on_virtaddr()
|
| /dflybsd-src/crypto/openssh/ |
| H A D | sshkey.c | 3216 char *bptr; in sshkey_private_to_blob_pem_pkcs8() local 3280 if ((blen = BIO_get_mem_data(bio, &bptr)) <= 0) { in sshkey_private_to_blob_pem_pkcs8() 3284 if ((r = sshbuf_put(blob, bptr, blen)) != 0) in sshkey_private_to_blob_pem_pkcs8()
|