Searched refs:buf (Results 501 - 525 of 1692) sorted by relevance

<<21222324252627282930>>

/osnet-11/usr/src/lib/libdladm/common/
H A Dpropfuncs.c65 generate_prop_line(const char *name, char *buf, argument
78 buf[0] = '\0';
101 (void) snprintf(buf, MAXLINELEN, "%s\n", tmpbuf);
108 * entry's contents (buf) and its linked-list representation (listp). lsp
111 * will be written to buf, which will in turn be written to disk by
118 process_prop_set(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument
127 buf[0] = '\0';
187 generate_prop_line(lsp->ls_name, buf, listp, statusp);
189 generate_prop_line(lsp->ls_name, buf, nlip, statusp);
211 process_prop_get(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument
257 process_prop_init(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, prop_db_info_t *listp, dladm_status_t *statusp) argument
301 parse_props(char *buf, prop_db_info_t **lipp) argument
393 process_prop_line(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, dladm_status_t *statusp) argument
473 char buf[MAXLINELEN]; local
[all...]
H A Dsecobj.c85 dladm_secobjclass2str(dladm_secobj_class_t class, char *buf) argument
94 (void) snprintf(buf, DLADM_STRSIZE, "%s", s);
95 return (buf);
323 process_secobj_set(dladm_handle_t handle, secobj_db_state_t *ssp, char *buf, argument
346 (void) snprintf(buf, MAXLINELEN, "%s\n", tmpbuf);
352 process_secobj_get(dladm_handle_t handle, secobj_db_state_t *ssp, char *buf, argument
367 process_secobj_unset(dladm_handle_t handle, secobj_db_state_t *ssp, char *buf, argument
373 buf[0] = '\0';
379 process_secobj_walk(dladm_handle_t handle, secobj_db_state_t *ssp, char *buf, argument
400 process_secobj_init(dladm_handle_t handle, secobj_db_state_t *ssp, char *buf, argument
410 parse_secobj_val(char *buf, secobj_info_t *sip) argument
420 process_secobj_line(dladm_handle_t handle, secobj_db_state_t *ssp, char *buf, dladm_status_t *statusp) argument
505 char buf[MAXLINELEN]; local
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c272 lex(char *buf, char *val, char **errmsg) argument
279 while ((ch = GETC(buf, cntr)) == ' ' || ch == '\t');
318 while ((ch = GETC(buf, cntr)) == ' ' ||
331 while (!badquote && (ch = GETC(buf, cntr)) != '"') {
345 ch = (char)GETC(buf, cntr);
355 ch = (char)GETC(buf, cntr);
383 *cp++ = (char)(ch = GETC(buf, cntr));
391 *cp++ = (char)(ch = GETC(buf, cntr));
396 if ((ch = GETC(buf, cntr)) == 'x') {
398 ch = GETC(buf, cnt
454 find_eol(char *buf) argument
471 usb_get_conf_rec(char *buf, usb_configrec_t **rec, char **errmsg) argument
730 char *buf = (char *)NULL; local
[all...]
/osnet-11/usr/src/lib/libpower/common/
H A Dlibpower_subr.c458 pm_parse_propname(char *buf, char **pgname) argument
463 if (buf == NULL) {
471 sep = strstr(buf, PM_SEP_STR);
474 propname = buf;
483 *pgname = buf;
499 pm_parse_boolean(const char *buf, boolean_t *result) argument
503 if (buf == NULL) {
512 if (strncasecmp(buf, PM_TRUE_STR, strlen(PM_TRUE_STR)) == 0) {
516 } else if (strncasecmp(buf, PM_FALSE_STR, strlen(PM_FALSE_STR)) == 0) {
530 pm_parse_integer(const char *buf, int64_ argument
[all...]
/osnet-11/usr/src/lib/libecp/common/
H A Decp_impl.c51 ecp_print_hdr(char *buf, int len) argument
60 ecp_hdrp = (ecp_hdr_t *)buf;
119 ecp_parse_rx_packet(char *buf, int len, ecp_instance_t *ecp_instp) argument
132 ecpp = (ecp_hdr_t *)buf;
186 ecp_print_hdr(buf, len);
194 char buf[ETHERMTU]; local
203 ret = recv(my_ecp_instp->ecp_sockfd, buf, sizeof (buf), 0);
210 ecp_parse_rx_packet(buf, ret, my_ecp_instp);
286 ecp_send_impl(void *instp, char *buf, in argument
350 ecp_send(void *instp, char *buf, int len) argument
[all...]
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c106 char *cp, buf[MAX_INDEX_LEN], *p; local
116 if (fgets(buf, sizeof (buf), cookie) == NULL) {
120 if ((cp = strpbrk(buf, "\r\n")) == NULL) {
125 cp = buf;
264 char *tmp_file_name, buf[MAX_INDEX_LEN]; local
331 if (fgets(buf, sizeof (buf), index_file) == NULL) {
350 if (buf[0] == '#') {
352 (void) fputs(buf, tmp_fil
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_xdr.c90 char buf[NIS_MAXNAMELEN]; local
109 memcpy(buf, name, name_len - i);
110 sprintf(buf + name_len - i, ".%d", dom_len - i);
111 tmp = buf;
115 tmp = buf;
118 if ((buf[0] == NULL) || buf[strlen(buf) - 1] == '.') {
121 strcpy(*namep, buf);
124 if ((*namep = strdup(buf))
294 char *buf; local
459 void *buf; local
546 unXdrNisObject(void *buf, int bufLen, entry_obj ***eaP, int *numEaP) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Ddst_internal.h121 int dst_s_verify_str( const char **buf, const char *str);
136 u_int16_t dst_s_get_int16( const u_int8_t *buf);
137 void dst_s_put_int16( u_int8_t *buf, const u_int16_t val);
139 u_int32_t dst_s_get_int32( const u_int8_t *buf);
140 void dst_s_put_int32( u_int8_t *buf, const u_int32_t val);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_sasl.c395 char buf[MSGSIZE], *conf = NULL, *token = NULL, *last = NULL; local
401 (void) snprintf(buf, MSGSIZE,
405 (void) fprintf(stderr, "%s\n", buf);
408 strdup(buf), NS_LDAP_MEMORY);
417 (void) snprintf(buf, MSGSIZE,
422 "start: %s\n", buf);
425 NS_LDAP_CONFIG, strdup(buf),
444 (void) snprintf(buf, MSGSIZE,
448 (void) fprintf(stderr, "start: %s\n", buf);
451 strdup(buf), NS_LDAP_MEMOR
488 char buf[MSGSIZE]; local
553 char *attr[2] = {"dn", NULL}, buf[MSGSIZE]; local
[all...]
H A Dns_crypt.c125 char buf[13]; local
133 (void) strcpy(buf, "Homer J");
134 buf[8] = buf[0];
135 buf[9] = buf[1];
136 (void) strncpy(buf, (char *)crypt(buf, &buf[8]), 13);
139 seed = seed*buf[
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_util.c103 char buf[SMBIOC_MAX_NAME], *cp; local
105 if (gethostname(buf, sizeof (buf)) != 0)
107 cp = strchr(buf, '.');
110 cp = strdup(buf);
343 static char buf[MAXPATHLEN]; local
349 (void) snprintf(buf, MAXPATHLEN, "KRB5CCNAME=%s", path);
354 (void) snprintf(buf, MAXPATHLEN, "KRB5CCNAME=%s", path);
364 (void) snprintf(buf, MAXPATHLEN,
370 (void) snprintf(buf, MAXPATHLE
413 char *npw, *p, pwbuf[256], buf[256]; local
470 smbfs_hexdump(const void *buf, int len) argument
646 char buf[2048]; local
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dti_opts.c126 if (abuf == NULL || abuf->buf == NULL) {
133 syslog(LOG_INFO, "find_ucred_opt %p %x", abuf->buf, abuf->len);
135 opth = (struct opthdr *)abuf->buf;
152 bufp = abuf->buf;
292 opt_start = (struct T_opthdr *)nbufp->buf;
371 ipv4sa = (struct sockaddr_in *)ltaddr->buf;
426 ipv6sa = (struct sockaddr_in6 *)ltaddr->buf;
455 char buf[__TRANSPORT_INDSZ]; local
463 (buf + sizeof (struct opthdr));
473 (buf
527 __tli_sys_strerror(char *buf, size_t buflen, int tli_err, int sys_err) argument
[all...]
/osnet-11/usr/src/lib/libcontract/common/
H A Dprocess_dump.c93 char buf[SIG2STR_MAX]; local
112 if (sig2str(sig, buf) == 0)
114 dgettext(TEXT_DOMAIN, " (SIG%s)"), buf);
141 if (sig2str(i, buf) == -1)
146 "\tsignal: %d (SIG%s)\n"), i, buf);
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dieee1275.c54 const char *property, void *buf,
62 grub_ieee1275_cell_t buf;
71 args.buf = (grub_ieee1275_cell_t) buf;
85 const char *property, grub_uint32_t *buf,
89 ret = grub_ieee1275_get_property (phandle, property, (void *) buf, size, actual);
97 buf[i] = grub_be_to_cpu32 (buf[i]);
186 grub_ieee1275_cell_t buf;
194 args.buf
52 grub_ieee1275_get_property(grub_ieee1275_phandle_t phandle, const char *property, void *buf, grub_size_t size, grub_ssize_t *actual) argument
61 grub_ieee1275_cell_t buf; member in struct:get_property_args
83 grub_ieee1275_get_integer_property(grub_ieee1275_phandle_t phandle, const char *property, grub_uint32_t *buf, grub_size_t size, grub_ssize_t *actual) argument
185 grub_ieee1275_cell_t buf; member in struct:instance_to_package_args
214 grub_ieee1275_cell_t buf; member in struct:instance_to_path_args
242 grub_ieee1275_cell_t buf; member in struct:write_args
268 grub_ieee1275_cell_t buf; member in struct:write_args
534 grub_ieee1275_set_property(grub_ieee1275_phandle_t phandle, const char *propname, const void *buf, grub_size_t size, grub_ssize_t *actual) argument
543 grub_ieee1275_cell_t buf; member in struct:set_property_args
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dmd5.c49 byte buf[64]; member in struct:__anon520
228 transform( hd, hd->buf );
239 hd->buf[hd->count++] = *inbuf++;
255 hd->buf[hd->count++] = *inbuf++;
292 hd->buf[hd->count++] = 0x80; /* pad */
294 hd->buf[hd->count++] = 0; /* pad */
298 hd->buf[hd->count++] = 0x80; /* pad character */
300 hd->buf[hd->count++] = 0;
302 memset(hd->buf, 0, 56 ); /* fill next block with zeroes */
305 hd->buf[5
[all...]
H A Dsha256.c52 byte buf[64]; member in struct:__anon542
206 transform (hd, hd->buf);
216 hd->buf[hd->count++] = *inbuf++;
232 hd->buf[hd->count++] = *inbuf++;
266 hd->buf[hd->count++] = 0x80; /* pad */
268 hd->buf[hd->count++] = 0; /* pad */
272 hd->buf[hd->count++] = 0x80; /* pad character */
274 hd->buf[hd->count++] = 0;
276 memset (hd->buf, 0, 56 ); /* fill next block with zeroes */
279 hd->buf[5
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dmd5.c49 byte buf[64]; member in struct:__anon566
228 transform( hd, hd->buf );
239 hd->buf[hd->count++] = *inbuf++;
255 hd->buf[hd->count++] = *inbuf++;
292 hd->buf[hd->count++] = 0x80; /* pad */
294 hd->buf[hd->count++] = 0; /* pad */
298 hd->buf[hd->count++] = 0x80; /* pad character */
300 hd->buf[hd->count++] = 0;
302 memset(hd->buf, 0, 56 ); /* fill next block with zeroes */
305 hd->buf[5
[all...]
H A Dsha256.c52 byte buf[64]; member in struct:__anon586
206 transform (hd, hd->buf);
216 hd->buf[hd->count++] = *inbuf++;
232 hd->buf[hd->count++] = *inbuf++;
266 hd->buf[hd->count++] = 0x80; /* pad */
268 hd->buf[hd->count++] = 0; /* pad */
272 hd->buf[hd->count++] = 0x80; /* pad character */
274 hd->buf[hd->count++] = 0;
276 memset (hd->buf, 0, 56 ); /* fill next block with zeroes */
279 hd->buf[5
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Ddyncmd.c88 char *buf = NULL; local
108 for (;; grub_free (buf))
114 buf = grub_file_getline (file);
116 if (! buf)
119 name = buf;
/osnet-11/usr/src/lib/libast/common/string/
H A Dfmtip6.c41 static char buf[1024]; local
42 static char* p = buf;
44 if ((&buf[sizeof(buf)] - p) < n)
45 p = buf;
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetauuser.c70 buflen = argp->buf.buflen;
72 (void) memset(argp->buf.buffer, 0, buflen);
99 if (argp->buf.result != NULL) {
106 buffer = argp->buf.buffer;
110 if (argp->buf.result != NULL)
H A Dgetbootparams.c67 buflen = argp->buf.buflen;
68 if (argp->buf.result != NULL) {
75 buffer = argp->buf.buffer;
78 (void) memset(argp->buf.buffer, 0, buflen);
113 if (argp->buf.result != NULL)
127 * results into argp->buf.buffer for the frontend process. The function
/osnet-11/usr/src/lib/libcpc/common/
H A Dlibcpc.c385 cpc_buf_t *buf; local
393 if ((buf = malloc(sizeof (*buf))) == NULL)
396 buf->cb_size = set->cs_nreqs * sizeof (uint64_t);
397 if ((buf->cb_data = malloc(buf->cb_size)) == NULL) {
398 free(buf);
402 bzero(buf->cb_data, buf->cb_size);
404 buf
416 cpc_buf_destroy(cpc_t *cpc, cpc_buf_t *buf) argument
675 cpc_set_sample(cpc_t *cpc, cpc_set_t *set, cpc_buf_t *buf) argument
757 cpc_buf_zero(cpc_t *cpc, cpc_buf_t *buf) argument
769 cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val) argument
778 cpc_buf_set(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t val) argument
787 cpc_buf_hrtime(cpc_t *cpc, cpc_buf_t *buf) argument
794 cpc_set_hrtime(cpc_t *cpc, cpc_buf_t *buf, uint64_t hrtime) argument
801 cpc_buf_tick(cpc_t *cpc, cpc_buf_t *buf) argument
808 cpc_set_tick(cpc_t *cpc, cpc_buf_t *buf, uint64_t ticks) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dkrb5_decode.c49 asn1buf buf; \
53 retval = asn1buf_wrap_data(&buf,code); \
91 retval = asn1_get_tag_2(&buf, &t1); \
106 #define next_tag_from_buf(buf) \
108 retval = asn1_get_tag_2(&(buf), &t2); \
120 asn1_get_eoc_tag (asn1buf *buf) argument
125 retval = asn1_get_tag_2(buf, &t);
145 retval = asn1_get_sequence(&buf,&length,&seqindef); \
147 retval = asn1buf_imbed(&subbuf,&buf,length,seqindef); \
152 retval = asn1buf_sync(&buf,
[all...]
/osnet-11/usr/src/lib/libresolv/
H A Dres_query.c78 char buf[MAXPACKET]; local
89 buf, sizeof (buf));
99 n = res_send(buf, n, answer, anslen);
275 char buf[BUFSIZ]; local
281 buf[sizeof (buf) - 1] = '\0';
282 while (fgets(buf, sizeof (buf), fp)) {
283 for (C1 = buf; *C
[all...]

Completed in 40 milliseconds

<<21222324252627282930>>