Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/le/
H A Dlance.c699 *bptr = (*from++ << 8) | (*bptr & 0xff);
700 bptr += 2;
706 bptr += 2;
726 bptr += 2;
734 bptr += 2;
750 bptr += 2;
755 *bptr = 0;
756 bptr += 2;
780 bptr += 32;
800 bptr += 32;
[all …]
/freebsd-13.1/libexec/talkd/
H A Dannounce.c103 char *bptr, *lptr, *vis_user; in print_mesg() local
140 bptr = big_buf; in print_mesg()
141 *bptr++ = '\007'; /* send something to wake them up */ in print_mesg()
142 *bptr++ = '\r'; /* add a \r in case of raw mode */ in print_mesg()
143 *bptr++ = '\n'; in print_mesg()
148 *(bptr++) = *(lptr++); in print_mesg()
151 *(bptr++) = ' '; in print_mesg()
152 *(bptr++) = '\r'; /* add a \r in case of raw mode */ in print_mesg()
153 *(bptr++) = '\n'; in print_mesg()
155 *bptr = '\0'; in print_mesg()
[all …]
/freebsd-13.1/sys/kern/
H A Dsubr_module.c451 sbuf_printf(sbp, "%s", (char *)bptr); in preload_modinfo_value()
455 sbuf_printf(sbp, "%lu", *(u_long *)bptr); in preload_modinfo_value()
482 sbuf_print_vmoffset(sbp, *(vm_offset_t *)bptr); in preload_modinfo_value()
485 sbuf_printf(sbp, "0x%08x", *bptr); in preload_modinfo_value()
506 uint32_t *bptr, type, len; in preload_dump_internal() local
514 bptr = (uint32_t *)preload_metadata; in preload_dump_internal()
516 while (bptr[0] != MODINFO_END || bptr[1] != MODINFO_END) { in preload_dump_internal()
517 sbuf_printf(sbp, " %p:\n", bptr); in preload_dump_internal()
518 type = *bptr++; in preload_dump_internal()
519 len = *bptr++; in preload_dump_internal()
[all …]
/freebsd-13.1/contrib/diff/src/
H A Ddiff3.c941 bptr = xmalloc (sizeof *bptr); in process_diff()
942 bptr->lines[0] = bptr->lines[1] = 0; in process_diff()
943 bptr->lengths[0] = bptr->lengths[1] = 0; in process_diff()
962 bptr->ranges[0][0]++; in process_diff()
965 bptr->ranges[1][0]++; in process_diff()
981 bptr->lines[0] = xmalloc (numlines * sizeof *bptr->lines[0]); in process_diff()
982 bptr->lengths[0] = xmalloc (numlines * sizeof *bptr->lengths[0]); in process_diff()
985 &(bptr->lines[0][i]), in process_diff()
1006 bptr->lines[1] = xmalloc (numlines * sizeof *bptr->lines[1]); in process_diff()
1007 bptr->lengths[1] = xmalloc (numlines * sizeof *bptr->lengths[1]); in process_diff()
[all …]
H A Dutil.c612 long int *aptr, long int *bptr) in translate_range() argument
615 *bptr = translate_line_number (file, b + 1) - 1; in translate_range()
/freebsd-13.1/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c333 vm_paddr_t rel_pa, bptr; in mpc85xx_smp_start_cpu_epapr() local
357 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu_epapr()
361 rel->entry_h = (bptr >> 32); __asm __volatile("sync" ::: "memory"); in mpc85xx_smp_start_cpu_epapr()
363 rel->entry_l = bptr & 0xffffffff; __asm __volatile("sync" ::: "memory"); in mpc85xx_smp_start_cpu_epapr()
380 vm_paddr_t bptr; in mpc85xx_smp_start_cpu() local
430 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu()
431 KASSERT((bptr & 0xfff) == 0, in mpc85xx_smp_start_cpu()
452 ccsr_write4(OCP85XX_BSTRH, bptr >> 32); in mpc85xx_smp_start_cpu()
453 ccsr_write4(OCP85XX_BSTRL, bptr); in mpc85xx_smp_start_cpu()
475 bptr = (bptr >> 12) | 0x80000000u; in mpc85xx_smp_start_cpu()
[all …]
/freebsd-13.1/contrib/bc/src/
H A Dlibrary.c609 BcNum *aptr, *bptr; in bcl_binary() local
626 bptr = BC_NUM(ctxt, b); in bcl_binary()
637 op(aptr, bptr, &c, ctxt->scale); in bcl_binary()
724 BcNum *aptr, *bptr; in bcl_divmod() local
740 bptr = BC_NUM(ctxt, b); in bcl_divmod()
798 BcNum *aptr, *bptr, *cptr; in bcl_modexp() local
817 bptr = BC_NUM(ctxt, b); in bcl_modexp()
833 bc_num_modexp(aptr, bptr, cptr, &d); in bcl_modexp()
853 BcNum *aptr, *bptr; in bcl_cmp() local
861 bptr = BC_NUM(ctxt, b); in bcl_cmp()
[all …]
/freebsd-13.1/contrib/tcsh/
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()
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 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.c269 Char *bptr; in tenematch() local
283 for (bptr = qline.s + wordp; bptr < slshp; bptr++) { in tenematch()
339 for (bptr = word_start; bptr < str_end; bptr++) { in tenematch()
344 if (isglob(*bptr)) { in tenematch()
419 if (bptr != NULL) { in tenematch()
421 xfree(bptr); in tenematch()
424 xfree(bptr); in tenematch()
435 xfree(bptr); in tenematch()
438 xfree(bptr); in tenematch()
595 Char *bptr; in insert_meta() local
[all …]
/freebsd-13.1/contrib/libedit/TEST/
H A Dwtc1.c62 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-13.1/crypto/openssl/crypto/bn/asm/
H A Dx86_64-mont.pl823 my $bptr="%rdx"; # not used
1110 my $rptr=$bptr;
1112 lea 8($bp),$bptr
1125 mov $mi,$bptr # borrow $bptr
1136 adcx %rax,$bptr # discarded
1193 dec $bptr # of=0, pass cf
1197 mov 8(%rsp),$bptr # re-load &b[i]
1206 mov ($bptr),%rdx # b[i]
1207 lea 8($bptr),$bptr # b++
1301 dec $bptr # of=0, pass cf
[all …]
H A Darmv4-mont.pl300 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("r$_",(0..5));
322 vld1.32 {${Bi}[0]}, [$bptr,:32]!
375 vld1.32 {${Bi}[0]}, [$bptr,:32]!
466 vld1.32 {${Bi}[0]},[$bptr,:32]! @ *b++
489 vld1.32 {${Bi}[0]},[$bptr,:32]! @ *b++
679 add $bptr,sp,$num,lsl#2
688 teq $aptr,$bptr @ preserves carry
695 sub r11,$bptr,r11 @ this is num*4
699 mov $nptr,$bptr @ second 3/4th of frame
727 teq $aptr,$bptr @ preserves carry
H A Dx86_64-mont5.pl1195 movq $bptr,%xmm4
1209 movq %xmm4,$bptr
2428 my $rptr=$bptr;
2488 pand `16*($i+1)-128`($bptr),%xmm1
2515 lea $STRIDE($bptr),$bptr
2596 dec $bptr # of=0, pass cf
2635 lea $STRIDE($bptr),$bptr
2726 dec $bptr # of=0, pass cf
2739 cmp %r10,$bptr
2869 movq $bptr,%xmm4
[all …]
/freebsd-13.1/usr.bin/gencat/
H A Dgencat.c239 static char buf[BUFSIZ], *bptr = buf, *bend = buf; local
251 for (; bptr < bend && cptr < cend; ++cptr, ++bptr) {
252 if (*bptr == '\n') {
254 ++bptr;
257 *cptr = *bptr;
263 if (bptr == bend) {
273 bptr = buf;
/freebsd-13.1/sys/geom/vinum/
H A Dgeom_vinum_subr.c64 char *aptr, *bptr, *cptr; in gv_parse_config() local
74 for (aptr = buf; *aptr != '\0'; aptr = bptr) { in gv_parse_config()
75 bptr = aptr; in gv_parse_config()
79 while (*bptr != '\n') in gv_parse_config()
80 bptr++; in gv_parse_config()
81 *bptr = '\0'; in gv_parse_config()
82 bptr++; in gv_parse_config()
/freebsd-13.1/contrib/openbsm/libbsm/
H A Dbsm_io.c1863 u_char *bptr; in fetch_execarg_tok() local
1875 while (bptr && (*bptr != '\0')) { in fetch_execarg_tok()
1880 if (!bptr) in fetch_execarg_tok()
1921 u_char *bptr; in fetch_execenv_tok() local
1933 while (bptr && (*bptr != '\0')) { in fetch_execenv_tok()
1938 if (!bptr) in fetch_execenv_tok()
4512 u_char *bptr; in au_read_rec() local
4544 bptr = *buf; in au_read_rec()
4547 *bptr = type; in au_read_rec()
4548 bptr++; in au_read_rec()
[all …]
/freebsd-13.1/contrib/file/src/
H A Dreadelf.c975 char *bptr; in get_string_on_virtaddr() local
994 for (bptr = buf; *bptr && isprint(CAST(unsigned char, *bptr)); bptr++) in get_string_on_virtaddr()
996 if (*bptr != '\0') in get_string_on_virtaddr()
999 return bptr - buf; in get_string_on_virtaddr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DREADME.txt127 %bptr = inttoptr i64 %addr to i128 *
129 %b = load i128 *%bptr
/freebsd-13.1/crypto/openssl/doc/man3/
H A DBIO_s_mem.pod148 BUF_MEM *bptr;
150 BIO_get_mem_ptr(mem, &bptr);
/freebsd-13.1/crypto/openssl/crypto/ec/asm/
H A Decp_nistz256-armv4.pl970 my ($rptr,$aptr,$bptr,$toutptr)=map("r$_",(0..3));
985 vld1.32 {${Bi}[0]},[$bptr,:32]!
1007 vld1.32 {${Bi}[0]},[$bptr,:32]!
/freebsd-13.1/sys/powerpc/ofw/
H A Dofw_syscons.c1069 u_int16_t *bptr = base; in ofwfb_fillw() local
1072 *bptr++ = pat; in ofwfb_fillw()
/freebsd-13.1/crypto/openssh/
H A Dsshkey.c4377 char *bptr; in sshkey_private_to_blob_pem_pkcs8() local
4439 if ((blen = BIO_get_mem_data(bio, &bptr)) <= 0) { in sshkey_private_to_blob_pem_pkcs8()
4443 if ((r = sshbuf_put(blob, bptr, blen)) != 0) in sshkey_private_to_blob_pem_pkcs8()