Searched defs:bufsize (Results 1 - 25 of 305) sorted by path

1234567891011>>

/illumos-gate/usr/src/cmd/audio/include/
H A DAudioBuffer.h47 size_t bufsize; // buffer size, in bytes member in class:AudioBuffer
/illumos-gate/usr/src/cmd/awk/
H A Dlex.c178 static size_t bufsize = 5; local
180 if (buf == NULL && (buf = (char *)malloc(bufsize)) == NULL)
191 c = gettok(&buf, &bufsize);
345 c = gettok(&buf, &bufsize);
H A Dlib.c178 size_t bufsize = *pbufsize, savebufsize = bufsize; local
216 c = readrec(&buf, &bufsize, infile);
233 *pbufsize = bufsize;
265 size_t bufsize = *pbufsize; local
284 if (rr-buf+1 > bufsize) {
285 (void) adjbuf(&buf, &bufsize,
324 (void) adjbuf(&buf, &bufsize,
329 (void) adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec5");
336 *pbufsize = bufsize;
[all...]
H A Drun.c449 size_t bufsize = recsize; local
452 if ((buf = (char *)malloc(bufsize)) == NULL)
467 n = readrec(&buf, &bufsize, fp);
486 n = getrec(&buf, &bufsize, 0);
920 size_t bufsize = *pbufsize; local
930 expand_buf(&buf, &bufsize, cnt);
935 expand_buf(&buf, &bufsize, cnt);
1011 expand_buf(&buf, &bufsize, cnt + len);
1028 (void) adjbuf(&buf, &bufsize, 1 + n + cnt,
1030 len = bufsize
[all...]
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c33 static int sanitize_reloc_root(char *root, size_t bufsize);
44 size_t bufsize);
175 sanitize_reloc_root(char *root, size_t bufsize) argument
193 (void) getcwd(root, bufsize);
685 read_filelist(char *reloc_root, char **argv, char *buf, size_t bufsize) argument
722 (void) snprintf(buf, bufsize,
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c9418 size_t bufsize)
9440 assert(bufsize > 0);
9509 (void) strlcpy(buf, old_args, bufsize);
9522 (void) strlcpy(buf, kernelp->arg, bufsize);
9771 get_kernel(menu_t *mp, menu_cmd_t optnum, char *buf, size_t bufsize) argument
9775 return (get_set_kernel(mp, optnum, NULL, buf, bufsize));
9779 set_kernel(menu_t *mp, menu_cmd_t optnum, char *path, char *buf, size_t bufsize) argument
9785 return (get_set_kernel(mp, optnum, path, buf, bufsize));
9413 get_set_kernel( menu_t *mp, menu_cmd_t optnum, char *path, char *buf, size_t bufsize) argument
H A Dbootadm_loader.c98 print_menu_cb(ofmt_arg_t *ofarg, char *buf, uint_t bufsize) argument
104 (void) snprintf(buf, bufsize, "%d", entry->me_idx);
107 (void) snprintf(buf, bufsize, "%s", entry->me_title);
110 (void) snprintf(buf, bufsize, "%s", entry->me_bootfs);
113 (void) snprintf(buf, bufsize, "%s", entry->me_type);
117 (void) snprintf(buf, bufsize, " *");
119 (void) snprintf(buf, bufsize, " -");
/illumos-gate/usr/src/cmd/boot/common/
H A Dbblk_einfo.c212 * 'bufsize' specifies the real size of the structure, since str_off and
216 print_einfo(uint8_t flags, bblk_einfo_t *einfo, unsigned long bufsize) argument
223 if (einfo->str_off + einfo->str_size > bufsize) {
232 if (einfo->hash_off + einfo->hash_size > bufsize) {
/illumos-gate/usr/src/cmd/cdrw/
H A Dmmc.c246 get_configuration(int fd, uint16_t feature, int bufsize, uchar_t *buf) argument
268 scmd->uscsi_cdb[7] = (bufsize >> 8) & 0xff;
269 scmd->uscsi_cdb[8] = bufsize & 0xff;
273 scmd->uscsi_buflen = bufsize;
281 uint32_t bufsize)
294 scmd->uscsi_buflen = bufsize;
302 uint32_t bufsize)
320 scmd->uscsi_buflen = bufsize;
399 uchar_t *buf, uint32_t bufsize)
417 scmd->uscsi_buflen = bufsize;
280 read10(int fd, uint32_t start_blk, uint16_t nblk, uchar_t *buf, uint32_t bufsize) argument
301 write10(int fd, uint32_t start_blk, uint16_t nblk, uchar_t *buf, uint32_t bufsize) argument
398 read_cd(int fd, uint32_t start_blk, uint16_t nblk, uchar_t sector_type, uchar_t *buf, uint32_t bufsize) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c151 UINT32 subcap, void *buf, size_t bufsize)
164 if (datalen > bufsize) {
167 "(expected %u)\n"), cap, datalen, bufsize);
150 get_tpm_capability(TSS_HCONTEXT hContext, TSS_HOBJECT hTPM, UINT32 cap, UINT32 subcap, void *buf, size_t bufsize) argument
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dlogging.c57 log_format(int severity, const char *fmt, va_list ap, char *buf, int bufsize) argument
64 bufsize = sizeof (vbuf);
67 offset = snprintf(buf, bufsize, "%d: ", pthread_self());
68 (void) vsnprintf(buf + offset, bufsize - offset, fmt, ap);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c97 static size_t bufsize; variable
99 static void fdio_setbuf(char *buffer, size_t bufsize);
115 bufsize = maxsize;
121 bufcnt = timedread(fd, buf, bufsize, timeout);
H A Dsecure.c233 static uint_t bufsize; /* size of outbuf */ local
261 if (bufsize < out_buf.length) {
266 bufsize = out_buf.length;
268 bufsize = 0;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c238 http_clf_date(char *buf, int bufsize, time_t t) argument
275 (void) snprintf(buf, bufsize,
464 read_n_bytes(int fd, char *buf, ssize_t bufsize) argument
466 ssize_t num_to_read = bufsize;
499 write_n_bytes(int fd, char *buf, ssize_t bufsize) argument
501 ssize_t num_to_write = bufsize;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drlogin.c752 int bufsize = 8192; local
754 (void) setsockopt(rem, SOL_SOCKET, SO_RCVBUF, (char *)&bufsize,
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c616 int bufsize; local
642 bufsize = numifs * sizeof (struct lifreq);
644 buf = (char *)malloc(bufsize);
669 lifc.lifc_len = bufsize;
H A Dtrace.c167 fmt_lla(char *llabuf, int bufsize, uchar_t *lla, int llalen) argument
174 (void) snprintf(cp, bufsize, "%02x", lla[i] & 0xFF);
176 (void) snprintf(cp, bufsize, "%02x:", lla[i] & 0xFF);
177 bufsize -= strlen(cp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c56 int bufsize; local
75 bufsize = numifs * sizeof (struct lifreq);
77 if (buf == NULL || bufsize > maxbufsize) {
80 maxbufsize = bufsize;
90 lifc.lifc_len = bufsize;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c129 unsigned bufsize; local
231 bufsize = numifs * sizeof (struct ifreq);
232 reqbuf = (struct ifreq *)malloc(bufsize);
238 ifc.ifc_len = bufsize;
H A Din.rarpd.c301 unsigned bufsize; local
320 bufsize = numifs * sizeof (struct ifreq);
321 reqbuf = (struct ifreq *)malloc(bufsize);
326 ifconf.ifc_len = bufsize;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1758 unsigned bufsize; local
1781 bufsize = num_ni * sizeof (struct lifreq);
1782 if ((*buf = malloc(bufsize)) == NULL)
1787 lifcp->lifc_len = bufsize;
2906 /* The first pass will give the bufsize we need */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_hc.c93 print_hc(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
100 (void) strlcpy(buf, info->hci_name, bufsize);
103 (void) snprintf(buf, bufsize, "%d", info->hci_timeout);
106 (void) snprintf(buf, bufsize, "%d", info->hci_count);
109 (void) snprintf(buf, bufsize, "%d", info->hci_interval);
112 (void) snprintf(buf, bufsize, "%c",
116 (void) snprintf(buf, bufsize, "%s", info->hci_test);
187 print_hc_result(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
195 (void) strlcpy(buf, srv->hcs_rule_name, bufsize);
198 (void) strlcpy(buf, srv->hcs_hc_name, bufsize);
[all...]
H A Dilbadm_rules.c302 of_str(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
309 (void) strlcpy(buf, rd->r_name, bufsize);
312 (void) strlcpy(buf, rd->r_sgname, bufsize);
316 (void) strlcpy(buf, rd->r_hcname, bufsize);
324 of_proto(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
330 (void) strlcpy(buf, "TCP", bufsize);
332 (void) strlcpy(buf, "UDP", bufsize);
339 of_rl_ip(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
360 ip2str(ip, buf, bufsize, V6_ADDRONLY);
365 buf += sl; bufsize
374 of_rl_mask(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
390 hcport_print(ilb_rule_data_t *rd, char *buf, uint_t bufsize) argument
400 of_rport(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
418 of_rstatus(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
432 of_algo(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
443 of_topo(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
454 of_time(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
475 uint_t bufsize; member in struct:rl_showlist_arg
495 of_rl_srvlist(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
516 of_port2str(in_port_t minport, in_port_t maxport, char *buf, uint_t bufsize) argument
534 ip2hostname(ilb_ip_addr_t *ip, char *buf, uint_t bufsize) argument
728 of_srv2str(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
[all...]
H A Dilbadm_sg.c100 of_sgname(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
104 (void) strlcpy(buf, l->sgname, bufsize);
109 of_srvID(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
113 (void) strlcpy(buf, l->sd->sd_srvID, bufsize);
118 of_port(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
128 (void) snprintf(buf, bufsize, "%d", port);
134 (void) snprintf(buf, bufsize, "%d", port);
140 of_ip(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
144 ip2str(&l->sd->sd_addr, buf, bufsize, V6_ADDRONLY);
743 export_srv_spec(ilb_server_data_t *srv, char *buf, const int bufsize) argument
[all...]
H A Dilbadm_stats.c215 of_timestamp(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
223 (void) strftime(buf, bufsize, "%F:%H.%M.%S", now_tm);
294 of_server_stats(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
333 (void) snprintf(buf, bufsize, "%llu", count);
344 of_itemize_stats(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
362 (void) snprintf(buf, bufsize, "%s",
366 (void) snprintf(buf, bufsize, "%s", srv->isd_servername);
389 (void) snprintf(buf, bufsize, "%llu", count);
395 of_rule_stats(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) argument
457 (void) snprintf(buf, bufsize, "
[all...]

Completed in 577 milliseconds

1234567891011>>