Home
last modified time | relevance | path

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

/freebsd/sys/dev/le/
H A Dlance.c693 *bptr = (*from++ << 8) | (*bptr & 0xff);
694 bptr += 2;
700 bptr += 2;
720 bptr += 2;
728 bptr += 2;
744 bptr += 2;
749 *bptr = 0;
750 bptr += 2;
774 bptr += 32;
794 bptr += 32;
[all …]
/freebsd/libexec/talkd/
H A Dannounce.c95 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 Dsubr_module.c448 sbuf_printf(sbp, "%s", (char *)bptr); in preload_modinfo_value()
452 sbuf_printf(sbp, "%lu", *(u_long *)bptr); in preload_modinfo_value()
479 sbuf_print_vmoffset(sbp, *(vm_offset_t *)bptr); in preload_modinfo_value()
482 sbuf_printf(sbp, "0x%08x", *bptr); in preload_modinfo_value()
503 uint32_t *bptr, type, len; in preload_dump_internal() local
511 bptr = (uint32_t *)preload_metadata; in preload_dump_internal()
513 while (bptr[0] != MODINFO_END || bptr[1] != MODINFO_END) { in preload_dump_internal()
514 sbuf_printf(sbp, " %p:\n", bptr); in preload_dump_internal()
515 type = *bptr++; in preload_dump_internal()
516 len = *bptr++; in preload_dump_internal()
[all …]
/freebsd/contrib/diff/src/
H A Ddiff3.c940 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()
961 bptr->ranges[0][0]++; in process_diff()
964 bptr->ranges[1][0]++; in process_diff()
980 bptr->lines[0] = xmalloc (numlines * sizeof *bptr->lines[0]); in process_diff()
981 bptr->lengths[0] = xmalloc (numlines * sizeof *bptr->lengths[0]); in process_diff()
984 &(bptr->lines[0][i]), in process_diff()
1005 bptr->lines[1] = xmalloc (numlines * sizeof *bptr->lines[1]); in process_diff()
1006 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/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c331 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()
450 ccsr_write4(OCP85XX_BSTRH, bptr >> 32); in mpc85xx_smp_start_cpu()
451 ccsr_write4(OCP85XX_BSTRL, bptr); in mpc85xx_smp_start_cpu()
473 bptr = (bptr >> 12) | 0x80000000u; in mpc85xx_smp_start_cpu()
[all …]
/freebsd/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/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/contrib/bc/src/
H A Dlibrary.c896 BclNum* bptr; in bcl_binary() local
914 bptr = BCL_NUM(ctxt, b); in bcl_binary()
916 assert(aptr != NULL && bptr != NULL); 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 != NULL); in bcl_divmod_helper()
1181 BclNum* bptr; in bcl_modexp_helper() local
1202 bptr = BCL_NUM(ctxt, b); in bcl_modexp_helper()
1252 BclNum* bptr; in bcl_cmp() local
1264 bptr = BCL_NUM(ctxt, b); in bcl_cmp()
[all …]
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dx86_64-mont.pl825 my $bptr="%rdx"; # not used
1112 my $rptr=$bptr;
1114 lea 8($bp),$bptr
1127 mov $mi,$bptr # borrow $bptr
1138 adcx %rax,$bptr # discarded
1195 dec $bptr # of=0, pass cf
1199 mov 8(%rsp),$bptr # re-load &b[i]
1208 mov ($bptr),%rdx # b[i]
1209 lea 8($bptr),$bptr # b++
1303 dec $bptr # of=0, pass cf
[all …]
H A Darmv4-mont.pl309 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 Dx86_64-mont5.pl1197 movq $bptr,%xmm4
1211 movq %xmm4,$bptr
2243 my $rptr=$bptr;
2303 pand `16*($i+1)-128`($bptr),%xmm1
2330 lea $STRIDE($bptr),$bptr
2411 dec $bptr # of=0, pass cf
2450 lea $STRIDE($bptr),$bptr
2541 dec $bptr # of=0, pass cf
2554 cmp %r10,$bptr
2684 movq $bptr,%xmm4
[all …]
H A Darmv8-mont.pl307 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("x$_",(0..5));
359 ldr $sBi,[$bptr],#4 // *b++
381 ldr $sBi,[$bptr],#4 // *b++
589 add $bptr,sp,$num,lsl#2
600 sub x17,$bptr,$aptr
608 sub x11,$bptr,x11 // this is num*4
612 mov $nptr,$bptr // second 3/4th of frame
645 sub x17,$bptr,$aptr // preserves carry
/freebsd/usr.bin/gencat/
H A Dgencat.c237 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 DBIO_s_mem.pod154 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/sys/geom/vinum/
H A Dgeom_vinum_subr.c61 char *aptr, *bptr, *cptr; in gv_parse_config() local
71 for (aptr = buf; *aptr != '\0'; aptr = bptr) { in gv_parse_config()
72 bptr = aptr; in gv_parse_config()
76 while (*bptr != '\n') in gv_parse_config()
77 bptr++; in gv_parse_config()
78 *bptr = '\0'; in gv_parse_config()
79 bptr++; in gv_parse_config()
/freebsd/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/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DREADME.txt127 %bptr = inttoptr i64 %addr to i128 *
129 %b = load i128 *%bptr
/freebsd/crypto/openssl/crypto/ec/asm/
H A Decp_nistz256-armv4.pl974 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 Dofw_syscons.c1064 u_int16_t *bptr = base; in ofwfb_fillw() local
1067 *bptr++ = pat; in ofwfb_fillw()
/freebsd/crypto/openssh/
H A Dsshkey.c3216 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()