/freebsd/sys/dev/le/ |
H A D | lance.c | 686 volatile uint16_t *bptr; 690 bptr = ((volatile uint16_t *)buf) + (boff - 1); 691 *bptr = (*from++ << 8) | (*bptr & 0xff); 692 bptr += 2; 695 bptr = ((volatile uint16_t *)buf) + boff; 697 *bptr = (from[1] << 8) | (from[0] & 0xff); 698 bptr += 2; 703 *bptr = (uint16_t)*from; 711 volatile uint16_t *bptr; 716 bptr = ((volatile uint16_t *)buf) + (boff - 1); [all …]
|
/freebsd/libexec/talkd/ |
H A D | announce.c | 95 char *bptr, *lptr, *vis_user; in print_mesg() local 132 bptr = big_buf; in print_mesg() 133 *bptr++ = '\007'; /* send something to wake them up */ in print_mesg() 134 *bptr++ = '\r'; /* add a \r in case of raw mode */ in print_mesg() 135 *bptr++ = '\n'; in print_mesg() 140 *(bptr++) = *(lptr++); in print_mesg() 143 *(bptr++) = ' '; in print_mesg() 144 *(bptr++) = '\r'; /* add a \r in case of raw mode */ in print_mesg() 145 *(bptr++) = '\n'; in print_mesg() 147 *bptr = '\0'; in print_mesg() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_module.c | 460 preload_modinfo_value(struct sbuf *sbp, uint32_t *bptr, int type, int len) in preload_modinfo_value() argument 472 sbuf_printf(sbp, "%s", (char *)bptr); in preload_modinfo_value() 476 sbuf_printf(sbp, "%lu", *(u_long *)bptr); in preload_modinfo_value() 506 sbuf_print_vmoffset(sbp, *(vm_offset_t *)bptr); in preload_modinfo_value() 509 sbuf_printf(sbp, "0x%08x", *bptr); in preload_modinfo_value() 513 sbuf_printf(sbp, "0x%lu", *(uint64_t *)bptr); in preload_modinfo_value() 535 uint32_t *bptr, type, len; in preload_dump_internal() local 543 bptr = (uint32_t *)preload_metadata; in preload_dump_internal() 545 while (bptr[0] != MODINFO_END || bptr[1] != MODINFO_END) { in preload_dump_internal() 546 sbuf_printf(sbp, " %p:\n", bptr); in preload_dump_internal() [all …]
|
/freebsd/contrib/diff/src/ |
H A D | diff3.c | 928 struct diff_block *block_list, **block_list_end, *bptr; in process_diff() local 930 / MIN (sizeof *bptr->lines[1], in process_diff() 931 sizeof *bptr->lengths[1])); in process_diff() 936 bptr = 0; /* Pacify `gcc -W'. */ in process_diff() 940 bptr = xmalloc (sizeof *bptr); in process_diff() 941 bptr->lines[0] = bptr->lines[1] = 0; in process_diff() 942 bptr->lengths[0] = bptr->lengths[1] = 0; in process_diff() 944 dt = process_diff_control (&scan_diff, bptr); in process_diff() 961 bptr->ranges[0][0]++; in process_diff() 964 bptr->ranges[1][0]++; in process_diff() [all …]
|
H A D | util.c | 612 long int *aptr, long int *bptr) in translate_range() argument 615 *bptr = translate_line_number (file, b + 1) - 1; in translate_range()
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | platform_mpc85xx.c | 331 vm_paddr_t rel_pa, bptr; in mpc85xx_smp_start_cpu_epapr() local 355 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu_epapr() 359 rel->entry_h = (bptr >> 32); __asm __volatile("sync" ::: "memory"); in mpc85xx_smp_start_cpu_epapr() 361 rel->entry_l = bptr & 0xffffffff; __asm __volatile("sync" ::: "memory"); in mpc85xx_smp_start_cpu_epapr() 378 vm_paddr_t bptr; in mpc85xx_smp_start_cpu() local 428 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu() 429 KASSERT((bptr & 0xfff) == 0, in mpc85xx_smp_start_cpu() 430 ("%s: boot page is not aligned (%#jx)", __func__, (uintmax_t)bptr)); in mpc85xx_smp_start_cpu() 450 ccsr_write4(OCP85XX_BSTRH, bptr >> 32); in mpc85xx_smp_start_cpu() 451 ccsr_write4(OCP85XX_BSTRL, bptr); in mpc85xx_smp_start_cpu() [all …]
|
/freebsd/contrib/tcsh/ |
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 | 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() 1084 const struct biltins *bptr; in find_cmd() local 1108 for (bptr = bfunc; bptr < &bfunc[nbfunc]; bptr++) { in find_cmd() 1109 if (eq(cmd, str2short(bptr->bname))) { in find_cmd() 1118 for (bptr = nt_bfunc; bptr < &nt_bfunc[nt_nbfunc]; bptr++) { in find_cmd() 1119 if (eq(cmd, str2short(bptr->bname))) { in find_cmd()
|
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 | 269 Char *bptr; in tenematch() local 283 for (bptr = qline.s + wordp; bptr < slshp; bptr++) { in tenematch() 288 if (isglob(*bptr)) { in tenematch() 339 for (bptr = word_start; bptr < str_end; bptr++) { in tenematch() 344 if (isglob(*bptr)) { in tenematch() 418 bptr = dollar(qline.s + word); in tenematch() 419 if (bptr != NULL) { in tenematch() 420 if (insert_meta(word_start, str_end, bptr, !qu) < 0) { in tenematch() 421 xfree(bptr); in tenematch() 424 xfree(bptr); in tenematch() [all …]
|
/freebsd/contrib/bc/src/ |
H A D | library.c | 896 BclNum* bptr; in bcl_binary() local 914 bptr = BCL_NUM(ctxt, b); in bcl_binary() 916 assert(aptr != NULL && bptr != NULL); in bcl_binary() 917 assert(BCL_NUM_ARRAY(aptr) != NULL && BCL_NUM_ARRAY(bptr) != NULL); in bcl_binary() 922 req(BCL_NUM_NUM(aptr), BCL_NUM_NUM(bptr), ctxt->scale)); in bcl_binary() 924 op(BCL_NUM_NUM(aptr), BCL_NUM_NUM(bptr), BCL_NUM_NUM_NP(c), ctxt->scale); in bcl_binary() 932 if (b.i != a.i) bcl_num_dtor(ctxt, b, bptr); in bcl_binary() 1093 BclNum* bptr; in bcl_divmod_helper() local 1110 bptr = BCL_NUM(ctxt, b); in bcl_divmod_helper() 1112 assert(aptr != NULL && bptr ! in bcl_divmod_helper() 1181 BclNum* bptr; bcl_modexp_helper() local 1252 BclNum* bptr; bcl_cmp() local [all...] |
/freebsd/contrib/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()
|
/freebsd/crypto/openssl/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 …]
|
H A D | armv4-mont.pl | 309 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("r$_",(0..5)); 331 vld1.32 {${Bi}[0]}, [$bptr,:32]! 384 vld1.32 {${Bi}[0]}, [$bptr,:32]! 475 vld1.32 {${Bi}[0]},[$bptr,:32]! @ *b++ 498 vld1.32 {${Bi}[0]},[$bptr,:32]! @ *b++ 688 add $bptr,sp,$num,lsl#2 697 teq $aptr,$bptr @ preserves carry 704 sub r11,$bptr,r11 @ this is num*4 708 mov $nptr,$bptr @ second 3/4th of frame 736 teq $aptr,$bptr @ preserves carry
|
H A D | x86_64-mont5.pl | 1089 my $bptr="%rdx"; # const void *table, 1197 movq $bptr,%xmm4 1211 movq %xmm4,$bptr 2241 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)= 2243 my $rptr=$bptr; 2250 lea 128($bp),$bptr # size optimization 2302 pand `16*($i+0)-128`($bptr),%xmm0 # while it's still in register 2303 pand `16*($i+1)-128`($bptr),%xmm1 2304 pand `16*($i+2)-128`($bptr),%xmm2 2306 pand `16*($i+3)-128`($bptr),%xmm3 [all …]
|
H A D | armv8-mont.pl | 309 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("x$_",(0..5)); 361 ldr $sBi,[$bptr],#4 // *b++ 383 ldr $sBi,[$bptr],#4 // *b++ 591 add $bptr,sp,$num,lsl#2 602 sub x17,$bptr,$aptr 610 sub x11,$bptr,x11 // this is num*4 614 mov $nptr,$bptr // second 3/4th of frame 647 sub x17,$bptr,$aptr // preserves carry
|
/freebsd/usr.bin/gencat/ |
H A D | gencat.c | 237 static char buf[BUFSIZ], *bptr = buf, *bend = buf; local 249 for (; bptr < bend && cptr < cend; ++cptr, ++bptr) { 250 if (*bptr == '\n') { 252 ++bptr; 255 *cptr = *bptr; 261 if (bptr == bend) { 271 bptr = buf;
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_s_mem.pod | 154 BUF_MEM *bptr; 156 BIO_get_mem_ptr(mem, &bptr); 163 BUF_MEM *bptr; 167 BIO_get_mem_ptr(bio, &bptr); 170 bptr->data = NULL; /* Tell BUF_MEM to orphan data */ 171 BUF_MEM_free(bptr);
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_io.c | 1863 u_char *bptr; in fetch_execarg_tok() local 1870 bptr = buf + tok->len; in fetch_execarg_tok() 1872 tok->tt.execarg.text[i] = (char*)bptr; in fetch_execarg_tok() 1875 while (bptr && (*bptr != '\0')) { in fetch_execarg_tok() 1878 bptr = buf + tok->len; in fetch_execarg_tok() 1880 if (!bptr) in fetch_execarg_tok() 1921 u_char *bptr; in fetch_execenv_tok() local 1928 bptr = buf + tok->len; in fetch_execenv_tok() 1930 tok->tt.execenv.text[i] = (char*)bptr; in fetch_execenv_tok() 1933 while (bptr && (*bptr != '\0')) { in fetch_execenv_tok() [all …]
|
/freebsd/contrib/file/src/ |
H A D | readelf.c | 1042 char *bptr; in get_string_on_virtaddr() local 1061 for (bptr = buf; *bptr && isprint(CAST(unsigned char, *bptr)); bptr++) in get_string_on_virtaddr() 1063 if (*bptr != '\0') in get_string_on_virtaddr() 1066 return bptr - buf; in get_string_on_virtaddr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | README.txt | 127 %bptr = inttoptr i64 %addr to i128 * 129 %b = load i128 *%bptr
|
/freebsd/crypto/openssl/crypto/ec/asm/ |
H A D | ecp_nistz256-armv4.pl | 974 my ($rptr,$aptr,$bptr,$toutptr)=map("r$_",(0..3)); 989 vld1.32 {${Bi}[0]},[$bptr,:32]! 1011 vld1.32 {${Bi}[0]},[$bptr,:32]!
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_syscons.c | 1064 u_int16_t *bptr = base; in ofwfb_fillw() local 1067 *bptr++ = pat; in ofwfb_fillw()
|
/freebsd/crypto/openssh/ |
H A D | sshkey.c | 3324 char *bptr; in sshkey_private_to_blob_pem_pkcs8() local 3394 if ((blen = BIO_get_mem_data(bio, &bptr)) <= 0) { in sshkey_private_to_blob_pem_pkcs8() 3398 if ((r = sshbuf_put(blob, bptr, blen)) != 0) in sshkey_private_to_blob_pem_pkcs8()
|