| /freebsd/contrib/pkgconf/cli/ |
| H A D | renderer-msvc.c | 110 char *bptr = buf; in msvc_renderer_render_buf() local 117 size_t buf_remaining = buflen - (bptr - buf); in msvc_renderer_render_buf() 129 *bptr++ = '/'; in msvc_renderer_render_buf() 130 *bptr++ = frag->type; in msvc_renderer_render_buf() 133 cnt = pkgconf_strlcpy(bptr, "/libpath:", buf_remaining); in msvc_renderer_render_buf() 134 bptr += cnt; in msvc_renderer_render_buf() 142 *bptr++ = '"'; in msvc_renderer_render_buf() 144 cnt = pkgconf_strlcpy(bptr, frag->data, buf_remaining); in msvc_renderer_render_buf() 145 bptr += cnt; in msvc_renderer_render_buf() 150 cnt = pkgconf_strlcpy(bptr, ".lib", buf_remaining); in msvc_renderer_render_buf() [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/contrib/pkgconf/libpkgconf/ |
| H A D | tuple.c | 160 char *bptr = buf; in dequote() local 172 *bptr++ = *i; in dequote() 175 *bptr++ = *i; in dequote() 316 char *bptr = buf; in pkgconf_tuple_parse() local 322 bptr += pkgconf_strlcpy(buf, client->sysroot_dir, sizeof buf); in pkgconf_tuple_parse() 325 for (ptr = value; *ptr != '\0' && bptr - buf < PKGCONF_BUFSIZE; ptr++) in pkgconf_tuple_parse() 328 *bptr++ = *ptr; in pkgconf_tuple_parse() 360 size_t remain = PKGCONF_BUFSIZE - (bptr - buf); in pkgconf_tuple_parse() 365 size_t nlen = pkgconf_strlcpy(bptr, kv, remain); in pkgconf_tuple_parse() 370 bptr = buf + (PKGCONF_BUFSIZE - 1); in pkgconf_tuple_parse() [all …]
|
| H A D | fragment.c | 571 fragment_render_item(const pkgconf_fragment_t *frag, char *bptr, size_t bufremain) in fragment_render_item() argument 574 char *base = bptr; in fragment_render_item() 588 *bptr++ = '-'; in fragment_render_item() 589 *bptr++ = frag->type; in fragment_render_item() 594 bptr += pkgconf_strlcpy(bptr, quoted, bufremain - (bptr - base)); in fragment_render_item() 602 *bptr++ = ' '; in fragment_render_item() 603 bptr += fragment_render_item(child_frag, bptr, bufremain - (bptr - base)); in fragment_render_item() 606 return bptr - base; in fragment_render_item() 615 char *bptr = buf; in fragment_render_buf() local 622 size_t buf_remaining = buflen - (bptr - buf); in fragment_render_buf() [all …]
|
| /freebsd/sys/kern/ |
| H A D | subr_module.c | 472 preload_modinfo_value(struct sbuf *sbp, uint32_t *bptr, int type, int len) in preload_modinfo_value() argument 487 sbuf_printf(sbp, "%s", (char *)bptr); in preload_modinfo_value() 491 sbuf_printf(sbp, "%lu", *(u_long *)bptr); in preload_modinfo_value() 518 sbuf_print_vmoffset(sbp, *(vm_offset_t *)bptr); in preload_modinfo_value() 521 sbuf_printf(sbp, "0x%08x", *bptr); in preload_modinfo_value() 525 sbuf_printf(sbp, "0x%lu", *(uint64_t *)bptr); in preload_modinfo_value() 547 uint32_t *bptr, type, len; in preload_dump_internal() local 555 bptr = (uint32_t *)preload_metadata; in preload_dump_internal() 557 while (bptr[0] != MODINFO_END || bptr[1] != MODINFO_END) { in preload_dump_internal() 558 sbuf_printf(sbp, " %p:\n", bptr); in preload_dump_internal() [all …]
|
| /freebsd/crypto/krb5/src/util/profile/ |
| H A D | prof_parse.c | 344 char *bptr; in parse_file() local 347 bptr = malloc (BUF_SIZE); in parse_file() 348 if (!bptr) in parse_file() 352 if (fgets(bptr, BUF_SIZE, f) == NULL) in parse_file() 355 retval = parse_line(bptr, state, ret_modspec); in parse_file() 357 free (bptr); in parse_file() 364 if (strlen(bptr) >= BUF_SIZE - 1) { in parse_file() 370 char *c = bptr + strlen (bptr); in parse_file() 382 for (p = bptr; *p != '\0'; p++) { in parse_file() 387 p = bptr; in parse_file() [all …]
|
| /freebsd/sys/powerpc/mpc85xx/ |
| H A D | platform_mpc85xx.c | 343 vm_paddr_t rel_pa, bptr; in mpc85xx_smp_start_cpu_epapr() local 368 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu_epapr() 372 rel->entry_h = (bptr >> 32); __asm __volatile("sync" ::: "memory"); in mpc85xx_smp_start_cpu_epapr() 374 rel->entry_l = bptr & 0xffffffff; __asm __volatile("sync" ::: "memory"); in mpc85xx_smp_start_cpu_epapr() 391 vm_paddr_t bptr; in mpc85xx_smp_start_cpu() local 441 bptr = pmap_kextract((uintptr_t)__boot_page); in mpc85xx_smp_start_cpu() 442 KASSERT((bptr & 0xfff) == 0, in mpc85xx_smp_start_cpu() 443 ("%s: boot page is not aligned (%#jx)", __func__, (uintmax_t)bptr)); in mpc85xx_smp_start_cpu() 463 ccsr_write4(OCP85XX_BSTRH, bptr >> 32); in mpc85xx_smp_start_cpu() 464 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 != NULL); in bcl_divmod_helper() [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 | 1091 my $bptr="%rdx"; # const void *table, 1199 movq $bptr,%xmm4 1213 movq %xmm4,$bptr 2243 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)= 2245 my $rptr=$bptr; 2252 lea 128($bp),$bptr # size optimization 2304 pand `16*($i+0)-128`($bptr),%xmm0 # while it's still in register 2305 pand `16*($i+1)-128`($bptr),%xmm1 2306 pand `16*($i+2)-128`($bptr),%xmm2 2308 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/test/ |
| H A D | bio_base64_test.c | 158 BUF_MEM *bptr; in genb64() local 172 BIO_get_mem_ptr(mem, &bptr); in genb64() 173 *out = bptr->data; in genb64() 174 outlen = bptr->length; in genb64() 175 bptr->data = NULL; in genb64() 178 BUF_MEM_free(bptr); in genb64()
|
| H A D | bio_pw_callback_test.c | 159 BUF_MEM *bptr = NULL; in re_encrypt_key() local 188 BIO_get_mem_ptr(bio, &bptr); in re_encrypt_key() 191 bptr->data = NULL; in re_encrypt_key() 194 BUF_MEM_free(bptr); in re_encrypt_key()
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/ |
| H A D | cmac.c | 45 unsigned char *bptr = &b[z * 4]; in xor_128() local 48 store_32_n(load_32_n(aptr) ^ load_32_n(bptr), outptr); in xor_128()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | BIO_s_mem.pod | 179 BUF_MEM *bptr; 181 BIO_get_mem_ptr(mem, &bptr); 188 BUF_MEM *bptr; 192 BIO_get_mem_ptr(bio, &bptr); 195 bptr->data = NULL; /* Tell BUF_MEM to orphan data */ 196 BUF_MEM_free(bptr);
|
| /freebsd/contrib/openbsm/libbsm/ |
| H A D | bsm_io.c | 1863 u_char *bptr; in fetch_execarg_tok() local 1879 bptr = buf + tok->len; in fetch_execarg_tok() 1881 tok->tt.execarg.text[i] = (char*)bptr; in fetch_execarg_tok() 1884 while (bptr && (*bptr != '\0')) { in fetch_execarg_tok() 1887 bptr = buf + tok->len; in fetch_execarg_tok() 1889 if (!bptr) in fetch_execarg_tok() 1930 u_char *bptr; in fetch_execenv_tok() local 1946 bptr = buf + tok->len; in fetch_execenv_tok() 1948 tok->tt.execenv.text[i] = (char*)bptr; in fetch_execenv_tok() 1951 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
|