/illumos-gate/usr/src/boot/libsa/ |
H A D | printf.c | 110 struct print_buf *pbuf = arg; in snprint_func() local 112 if (pbuf->size < 2) { in snprint_func() 119 *(pbuf->buf)++ = ch; in snprint_func() 120 pbuf->size--; in snprint_func()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 2204 char *pbuf; in zio_read_gang() local 2220 pbuf = buf; in zio_read_gang() 2241 void *pbuf; in zio_read() local 2254 pbuf = malloc(size); in zio_read() 2256 pbuf = buf; in zio_read() 2258 if (pbuf == NULL) in zio_read() 2267 free(pbuf); in zio_read() 2306 pbuf = buf; in zio_read() 2308 if (pbuf == NULL) { in zio_read() 2324 if (buf != pbuf) in zio_read() [all …]
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | hdr_misc.c | 217 char pbuf[AUDIO_MAX_ENCODE_INFO]; in audio_enc_to_str() local 235 chan = pbuf; in audio_enc_to_str() 254 prec = pbuf; in audio_enc_to_str() 255 (void) sprintf(pbuf, "%u-bit", hdrp->bytes_per_unit * 8); in audio_enc_to_str() 263 prec = pbuf; in audio_enc_to_str() 264 (void) sprintf(pbuf, "%f-bit", in audio_enc_to_str()
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | lex.c | 103 gettok(char **pbuf, size_t *psz) /* get next input token */ in gettok() argument 106 char *buf = *pbuf; in gettok() 161 *pbuf = buf; in gettok()
|
H A D | lib.c | 173 getrec(char **pbuf, size_t *pbufsize, int isrecord) in getrec() argument 176 char *buf = *pbuf; in getrec() 232 *pbuf = buf; in getrec() 243 *pbuf = buf; in getrec() 261 readrec(char **pbuf, size_t *pbufsize, FILE *inf) in readrec() argument 264 char *rr, *rt, *buf = *pbuf; in readrec() 335 *pbuf = buf; in readrec()
|
H A D | run.c | 116 adjbuf(char **pbuf, size_t *psiz, size_t minlen, size_t quantum, char **pbptr, in adjbuf() argument 122 int boff = pbptr ? *pbptr - *pbuf : 0; in adjbuf() 126 tbuf = (char *)realloc(*pbuf, minlen); in adjbuf() 128 *psiz, minlen, (void *)*pbuf, (void *)tbuf)); in adjbuf() 134 *pbuf = tbuf; in adjbuf() 912 format(char **pbuf, int *pbufsize, const char *s, Node *a) in format() argument 919 char *buf = *pbuf; in format() 1090 *pbuf = buf; in format()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | callers.c | 184 static char pbuf[2*(MAXPH+2)]; local 187 for (tp=pbuf; *arg; arg++) { 212 return(pbuf);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | getpass.c | 60 static char pbuf[50+1]; in mygetpass() local 79 p = pbuf; in mygetpass() 81 if (p < &pbuf[sizeof (pbuf)-1]) in mygetpass() 93 return (pbuf); in mygetpass()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | demand.c | 337 char pbuf[32]; local 369 (void) slprintf(pbuf, sizeof (pbuf), "0x#X", proto); 370 cp = (const char *)pbuf;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 1704 static char pbuf[PATH_MAX]; in strsub() local 1708 for (p = pbuf, q = new, plim = pbuf + sizeof (pbuf) - 1; in strsub() 1723 return (pbuf); in strsub()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_rules.c | 514 char pbuf[PROTOCOL_LEN]; /* protocol */ in ilbd_audit_rule_event() local 606 (void) snprintf(pbuf, PROTOCOL_LEN, "UDP"); in ilbd_audit_rule_event() 608 (void) snprintf(pbuf, PROTOCOL_LEN, "TCP"); in ilbd_audit_rule_event() 609 event->adt_ilb_create_rule.protocol = pbuf; in ilbd_audit_rule_event()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | ndp.c | 801 char pbuf[INET6_ADDRSTRLEN]; in incoming_prefix_addrconf() local 816 pbuf, sizeof (pbuf)); in incoming_prefix_addrconf() 819 pbuf, plen, abuf, pi->pi_name, in incoming_prefix_addrconf() 893 char pbuf[INET6_ADDRSTRLEN]; in incoming_prefix_addrconf_process() local 925 pbuf, sizeof (pbuf)); in incoming_prefix_addrconf_process() 929 pbuf, plen, abuf, pi->pi_name, in incoming_prefix_addrconf_process() 946 pbuf, sizeof (pbuf)); in incoming_prefix_addrconf_process() 950 pbuf, plen, abuf, pi->pi_name, in incoming_prefix_addrconf_process() 998 pbuf, sizeof (pbuf)); in incoming_prefix_addrconf_process() 1039 pbuf, sizeof (pbuf)); in incoming_prefix_addrconf_process() [all …]
|
H A D | tables.c | 895 char pbuf[INET6_ADDRSTRLEN]; in tmptoken_timer() local 897 (void) inet_ntop(AF_INET6, &pr->pr_prefix, pbuf, in tmptoken_timer() 898 sizeof (pbuf)); in tmptoken_timer() 902 "(%s, %s, %s)\n", pi->pi_name, pbuf, tbuf); in tmptoken_timer() 932 char pbuf[INET6_ADDRSTRLEN]; in tmptoken_timer() local 934 (void) inet_ntop(AF_INET6, &pr->pr_prefix, pbuf, in tmptoken_timer() 935 sizeof (pbuf)); in tmptoken_timer() 939 "(%s, %s, %s)\n", pi->pi_name, pbuf, tbuf); in tmptoken_timer()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_nat.c | 120 ilb_persist_info_t *pbuf; member 181 rclib = ilb_show_persist(h, buf.pbuf, &num, &end); in ilbadm_show_info() 190 print_persist_info(&buf.pbuf[i]); in ilbadm_show_info()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 5540 char rbuf[MAXLEN], pbuf[MAXLEN], /* remove buffer, and policy buffer */ in ipsec_conf_sub() local 5622 fgets(pbuf, MAXLEN, policy_fp) != NULL; in ipsec_conf_sub() 5625 pbuf_len = strlen(pbuf); in ipsec_conf_sub() 5628 if (pbuf[0] == '\n') in ipsec_conf_sub() 5632 if (strncasecmp(pbuf, INDEX_TAG, index_len) == 0) { in ipsec_conf_sub() 5633 buf = pbuf + index_len; in ipsec_conf_sub() 5655 if (strncasecmp(rbuf, pbuf, pbuf_len) == 0) { in ipsec_conf_sub()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 1176 char pbuf[16]; in interpret_protoid() local 1193 (void) snprintf(pbuf, MAXLINE, "%s: ", in interpret_protoid() 1195 show_header(pbuf, p->pid_long, dlen); in interpret_protoid()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/ |
H A D | wificonfig.c | 1151 free(pbuf); in open_dev() 1368 free(pbuf); in set_prefer() 1371 free(pbuf); in set_prefer() 1693 char *pbuf; in essid_of_profile() local 1698 free(pbuf); in essid_of_profile() 2045 free(pbuf); in do_startconf() 2315 free(pbuf); in do_loadpf() 2697 char *pbuf; in do_lsprefer() local 3064 char *pbuf; in do_wepkey() local 3081 free(pbuf); in do_wepkey() [all …]
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | at.c | 584 char pbuf[PROJECT_BUFSZ]; in copy() local 644 pprj = getprojbyid(project, &prj, pbuf, sizeof (pbuf)); in copy()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.func.c | 1498 char *pbuf; in plim() local 1513 pbuf = ulltostr((limit / lp->limdiv), &buf[BUFSZ - 1]); in plim() 1514 printf("%s %t", pbuf, lp->limscale); in plim()
|
H A D | sh.tchar.c | 342 static tchar *pbuf = (tchar *)NULL; in getenvs_() local 345 if (pbuf) { in getenvs_() 346 xfree(pbuf); in getenvs_() 347 pbuf = NOSTR; in getenvs_() 353 return (pbuf = strtots(NOSTR, val)); in getenvs_()
|
/illumos-gate/usr/src/cmd/cxgbetool/ |
H A D | cudbg_view.c | 160 cudbg_view_decompress_buff(char *pbuf, in cudbg_view_decompress_buff() argument 167 c_buff->data = pbuf + entity_hdr->start_offset; in cudbg_view_decompress_buff() 523 view_cim_q(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cim_q() argument 663 rc = view_cim_la_t5(pbuf, entity_hdr, cudbg_poutbuf); in view_cim_la() 665 rc = view_cim_la_t6(pbuf, entity_hdr, cudbg_poutbuf); in view_cim_la() 2356 translate_fw_devlog(void *pbuf, u32 io_size, in translate_fw_devlog() argument 2365 e = (struct fw_devlog_e *)pbuf; in translate_fw_devlog() 3509 rc = t5_view_wtp(pbuf, entity_hdr, cudbg_poutbuf); in view_wtp() 3511 rc = t6_view_wtp(pbuf, entity_hdr, cudbg_poutbuf); in view_wtp() 4893 rc = view_full_t5(pbuf, entity_hdr, cudbg_poutbuf); in view_full() [all …]
|
H A D | cudbg_view.h | 177 void cudbg_view_release_buff(char *pbuf, struct cudbg_buffer *dc_buff);
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 9245 part_fields_buf_t pbuf; in print_part() local 9314 (void) snprintf(pbuf.part_link, sizeof (pbuf.part_link), in print_part() 9317 (void) snprintf(pbuf.part_over, sizeof (pbuf.part_over), in print_part() 9320 (void) snprintf(pbuf.part_pkey, sizeof (pbuf.part_pkey), in print_part() 9323 (void) get_linkstate(pbuf.part_link, B_TRUE, pbuf.part_state); in print_part() 9325 (void) snprintf(pbuf.part_flags, sizeof (pbuf.part_flags), in print_part() 10000 *(int16_t *)pbuf); in print_overlay_value() 10003 *(int32_t *)pbuf); in print_overlay_value() 10006 *(int64_t *)pbuf); in print_overlay_value() 10015 *(uint8_t *)pbuf); in print_overlay_value() [all …]
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 318 char pbuf[MAXPATHLEN]; in open_cur_file() local 322 (void) get_pname(&pbuf[0]); in open_cur_file() 323 dkpath = pbuf; in open_cur_file() 328 (void) get_sname(&pbuf[0]); in open_cur_file() 329 dkpath = pbuf; in open_cur_file() 361 char pbuf[MAXPATHLEN]; in c_fdisk() local 385 (void) get_pname(&pbuf[0]); in c_fdisk() 386 if (stat(pbuf, (struct stat *)&statbuf) == -1 || in c_fdisk() 842 char pbuf[MAXPATHLEN]; local 849 (void) get_pname(&pbuf[0]); [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 2159 plen = strlen(pbuf); in main() 2167 (void) strncat(tmpbuf, pbuf, strlen(pbuf)); in main() 2267 plen = strlen(pbuf); in main() 2275 (void) strncat(tmpbuf, pbuf, strlen(pbuf)); in main() 2963 bufhdr *pbuf; in getbuf() local 2994 if (pbuf == NULL) { in getbuf() 3003 prev->next = pbuf; in getbuf() 3004 prev = pbuf; in getbuf() 3005 pbuf = (bufhdr *)((char *)pbuf + buf_size); in getbuf() 3021 pbuf->next = NULL; in getbuf() [all …]
|