Home
last modified time | relevance | path

Searched refs:bptr (Results 1 – 17 of 17) sorted by relevance

/dragonfly/sys/dev/netif/lnc/
H A Dlance.c616 *bptr = (*from++ << 8) | (*bptr & 0xff);
617 bptr += 2;
623 bptr += 2;
643 bptr += 2;
651 bptr += 2;
667 bptr += 2;
672 *bptr = 0;
673 bptr += 2;
697 bptr += 32;
717 bptr += 32;
[all …]
/dragonfly/libexec/talkd/
H A Dannounce.c97 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 …]
/dragonfly/test/sysperf/
H A Dmbwtest.c146 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()
/dragonfly/sys/kern/
H A Dsubr_module.c371 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()
418 len = *bptr++; in preload_dump_internal()
[all …]
/dragonfly/contrib/diffutils/src/
H A Ddiff3.c1009 bptr = xmalloc (sizeof *bptr); in process_diff()
1010 bptr->lines[0] = bptr->lines[1] = 0; in process_diff()
1011 bptr->lengths[0] = bptr->lengths[1] = 0; in process_diff()
1030 bptr->ranges[0][0]++; in process_diff()
1033 bptr->ranges[1][0]++; in process_diff()
1049 bptr->lines[0] = xmalloc (numlines * sizeof *bptr->lines[0]); in process_diff()
1050 bptr->lengths[0] = xmalloc (numlines * sizeof *bptr->lengths[0]); in process_diff()
1053 &(bptr->lines[0][i]), in process_diff()
1074 bptr->lines[1] = xmalloc (numlines * sizeof *bptr->lines[1]); in process_diff()
1075 bptr->lengths[1] = xmalloc (numlines * sizeof *bptr->lengths[1]); in process_diff()
[all …]
H A Dutil.c1409 printint *aptr, printint *bptr) in translate_range() argument
1412 *bptr = translate_line_number (file, b + 1) - 1; in translate_range()
/dragonfly/contrib/cvs-1.12/diff/
H A Ddiff3.c1090 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 …]
H A Dutil.c700 translate_range (file, a, b, aptr, bptr) in translate_range() argument
703 int *aptr, *bptr;
706 *bptr = translate_line_number (file, b + 1) - 1;
/dragonfly/contrib/tcsh-6/
H A Dgethost.c170 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 Dsh.exec.c929 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 Dtw.init.c266 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 Dtw.parse.c268 Char *bptr; in tenematch() local
282 for (bptr = qline.s + wordp; bptr < slshp; bptr++) { in tenematch()
338 for (bptr = word_start; bptr < str_end; bptr++) { in tenematch()
343 if (isglob(*bptr)) { in tenematch()
418 if (bptr != NULL) { in tenematch()
420 xfree(bptr); in tenematch()
423 xfree(bptr); in tenematch()
434 xfree(bptr); in tenematch()
437 xfree(bptr); in tenematch()
594 Char *bptr; in insert_meta() local
[all …]
/dragonfly/games/phantasia/
H A Dgamesupport.c56 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()
/dragonfly/usr.bin/gencat/
H A Dgencat.c235 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;
/dragonfly/crypto/libressl/tls/
H A Dtls_conninfo.c183 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()
/dragonfly/contrib/file/src/
H A Dreadelf.c983 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()
/dragonfly/crypto/openssh/
H A Dsshkey.c4404 char *bptr; in sshkey_private_to_blob_pem_pkcs8() local
4466 if ((blen = BIO_get_mem_data(bio, &bptr)) <= 0) { in sshkey_private_to_blob_pem_pkcs8()
4470 if ((r = sshbuf_put(blob, bptr, blen)) != 0) in sshkey_private_to_blob_pem_pkcs8()