Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/le/
Dlance.c688 volatile uint16_t *bptr;
692 bptr = ((volatile uint16_t *)buf) + (boff - 1);
693 *bptr = (*from++ << 8) | (*bptr & 0xff);
694 bptr += 2;
697 bptr = ((volatile uint16_t *)buf) + boff;
699 *bptr = (from[1] << 8) | (from[0] & 0xff);
700 bptr += 2;
705 *bptr = (uint16_t)*from;
713 volatile uint16_t *bptr;
718 bptr = ((volatile uint16_t *)buf) + (boff - 1);
[all …]
/freebsd-12-stable/libexec/talkd/
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-12-stable/contrib/diff/src/
Ddiff3.c929 struct diff_block *block_list, **block_list_end, *bptr; in process_diff() local
931 / MIN (sizeof *bptr->lines[1], in process_diff()
932 sizeof *bptr->lengths[1])); in process_diff()
937 bptr = 0; /* Pacify `gcc -W'. */ in process_diff()
941 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()
945 dt = process_diff_control (&scan_diff, bptr); in process_diff()
962 bptr->ranges[0][0]++; in process_diff()
965 bptr->ranges[1][0]++; in process_diff()
[all …]
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-12-stable/sys/powerpc/mpc85xx/
Dplatform_mpc85xx.c332 vm_paddr_t rel_pa, bptr; in mpc85xx_smp_start_cpu_epapr() local
356 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu_epapr()
359 rel->entry_h = (bptr >> 32); in mpc85xx_smp_start_cpu_epapr()
360 rel->entry_l = bptr; __asm __volatile("sync"); in mpc85xx_smp_start_cpu_epapr()
377 vm_paddr_t bptr; in mpc85xx_smp_start_cpu() local
425 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu()
426 KASSERT((bptr & 0xfff) == 0, in mpc85xx_smp_start_cpu()
427 ("%s: boot page is not aligned (%#jx)", __func__, (uintmax_t)bptr)); in mpc85xx_smp_start_cpu()
447 ccsr_write4(OCP85XX_BSTRH, bptr >> 32); in mpc85xx_smp_start_cpu()
448 ccsr_write4(OCP85XX_BSTRL, bptr); in mpc85xx_smp_start_cpu()
[all …]
/freebsd-12-stable/contrib/bc/src/
Dlibrary.c603 BcNum *aptr, *bptr; in bcl_binary() local
620 bptr = BC_NUM(ctxt, b); in bcl_binary()
622 assert(aptr != NULL && bptr != NULL); in bcl_binary()
623 assert(aptr->num != NULL && bptr->num != NULL); in bcl_binary()
627 bc_num_init(&c, req(aptr, bptr, ctxt->scale)); in bcl_binary()
631 op(aptr, bptr, &c, ctxt->scale); in bcl_binary()
639 if (b.i != a.i) bcl_num_dtor(ctxt, b, bptr); in bcl_binary()
718 BcNum *aptr, *bptr; in bcl_divmod() local
734 bptr = BC_NUM(ctxt, b); in bcl_divmod()
736 assert(aptr != NULL && bptr != NULL); in bcl_divmod()
[all …]
/freebsd-12-stable/contrib/tcsh/
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()
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()
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()
Dtw.parse.c269 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-12-stable/contrib/libedit/TEST/
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-12-stable/crypto/openssl/crypto/bn/asm/
Dx86_64-mont.pl823 my $bptr="%rdx"; # not used
1108 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)=
1110 my $rptr=$bptr;
1112 lea 8($bp),$bptr
1120 mov $bptr,8(%rsp) # off-load &b[i]
1125 mov $mi,$bptr # borrow $bptr
1136 adcx %rax,$bptr # discarded
1142 mov 48(%rsp),$bptr # counter value
1193 dec $bptr # of=0, pass cf
1197 mov 8(%rsp),$bptr # re-load &b[i]
[all …]
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
Dx86_64-mont5.pl1087 my $bptr="%rdx"; # const void *table,
1195 movq $bptr,%xmm4
1209 movq %xmm4,$bptr
2239 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)=
2241 my $rptr=$bptr;
2248 lea 128($bp),$bptr # size optimization
2300 pand `16*($i+0)-128`($bptr),%xmm0 # while it's still in register
2301 pand `16*($i+1)-128`($bptr),%xmm1
2302 pand `16*($i+2)-128`($bptr),%xmm2
2304 pand `16*($i+3)-128`($bptr),%xmm3
[all …]
/freebsd-12-stable/usr.bin/gencat/
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-12-stable/sys/geom/vinum/
Dgeom_vinum_subr.c63 char *aptr, *bptr, *cptr; in gv_parse_config() local
73 for (aptr = buf; *aptr != '\0'; aptr = bptr) { in gv_parse_config()
74 bptr = aptr; in gv_parse_config()
78 while (*bptr != '\n') in gv_parse_config()
79 bptr++; in gv_parse_config()
80 *bptr = '\0'; in gv_parse_config()
81 bptr++; in gv_parse_config()
/freebsd-12-stable/contrib/openbsm/libbsm/
Dbsm_io.c1863 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-12-stable/sys/dev/drm/
Dsis_ds.c162 #define ISFREE(bptr) ((bptr)->free) argument
/freebsd-12-stable/contrib/file/src/
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-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
DREADME.txt127 %bptr = inttoptr i64 %addr to i128 *
129 %b = load i128 *%bptr
/freebsd-12-stable/crypto/openssl/doc/man3/
DBIO_s_mem.pod148 BUF_MEM *bptr;
150 BIO_get_mem_ptr(mem, &bptr);
/freebsd-12-stable/crypto/openssl/crypto/ec/asm/
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-12-stable/sys/powerpc/ofw/
Dofw_syscons.c1069 u_int16_t *bptr = base; in ofwfb_fillw() local
1072 *bptr++ = pat; in ofwfb_fillw()
/freebsd-12-stable/crypto/openssh/
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()