/osnet-11/usr/src/lib/fm/topo/modules/sun4v/hostbridge/common/ |
H A D | hb_mdesc.c | 171 uint64_t *bufp; local 183 bufsiz = ldom_get_core_md(lhp, &bufp); 185 bufsiz = ldom_get_local_md(lhp, &bufp); 193 if ((mdp = md_init_intern(bufp, hb_alloc, hb_free)) == NULL || 195 hb_free(bufp, (size_t)bufsiz); 202 hb_free(bufp, (size_t)bufsiz);
|
/osnet-11/usr/src/lib/libsrpt/common/ |
H A D | libsrpt.c | 457 char *bufp = in; local 464 if (strncasecmp(bufp, "eui.", 4) == 0) { 466 bufp += 4; 467 } else if (strncasecmp(bufp, "hca:", 4) == 0) { 469 bufp += 4; 477 guid = strtoull(bufp, &end, 16);
|
/osnet-11/usr/src/lib/passwdutil/ |
H A D | switch_utils.c | 526 char *bufp; local 546 shadow->sp_namp = bufp = buffer; 556 if ((bufp = strchr(bufp, ':')) == 0) { 562 *bufp++ = '\0'; 564 shadow->sp_pwdp = bufp; 566 if ((bufp = strchr(bufp, ':')) == 0) { 572 *bufp++ = '\0'; 573 p = bufp; [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelDigest.c | 619 digest_buf_t *bufp = session_p->digest.context; local 622 if (bufp == NULL || bufp->buf == NULL) { 627 NULL, bufp->buf, bufp->indata_len, 632 digest_buf_t *bufp = session_p->digest.context; local 639 if (bufp == NULL || bufp->buf == NULL) { 644 rv = C_Digest(hSession, bufp->buf, bufp [all...] |
H A D | kernelSession.c | 229 digest_buf_t *bufp; local 272 bufp = session_p->digest.context; 277 op_data_len += bufp->indata_len; 304 bcopy(bufp->buf, dst, bufp->indata_len); 363 digest_buf_t *bufp; local 404 bufp = session_p->digest.context; 405 bufp->indata_len = indata_len; 408 bcopy(src, bufp->buf, bufp [all...] |
H A D | kernelSign.c | 421 digest_buf_t *bufp = session_p->sign.context; local 424 if (bufp == NULL || bufp->buf == NULL) { 429 bufp->buf, bufp->indata_len, 434 digest_buf_t *bufp = session_p->sign.context; local 441 if (bufp == NULL || bufp->buf == NULL) { 446 rv = C_Sign(hSession, bufp->buf, bufp [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getmntent.c | 144 char *copyp, *bufp; local 156 if ((copyp = bufp = getmntbuf(MNT_LINE_MAX)) == NULL) { 169 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mountp) + 1; 174 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_fstype) + 1; 179 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mntopts) + 1; 183 (void) snprintf(mgetp->mnt_time, bufp + MNT_LINE_MAX - copyp, 189 embuf.mbuf_buf = bufp;
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_auth.c | 293 unsigned char *bufp = data_blob; local 295 smb_auth_memcpy(&bufp, blob->ndb_signature, 297 smb_auth_memcpy(&bufp, blob->ndb_reserved, 299 smb_auth_memcpy(&bufp, (unsigned char *)&blob->ndb_timestamp, 301 smb_auth_memcpy(&bufp, blob->ndb_clnt_challenge, 303 smb_auth_memcpy(&bufp, blob->ndb_unknown, sizeof (blob->ndb_unknown)); 304 smb_auth_memcpy(&bufp, (unsigned char *)&blob->ndb_names[0].nne_type, 306 smb_auth_memcpy(&bufp, (unsigned char *)&blob->ndb_names[0].nne_len, 308 smb_auth_memcpy(&bufp, (unsigned char *)blob->ndb_names[0].nne_name, 310 smb_auth_memcpy(&bufp, (unsigne [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | disptmpl.c | 52 static int read_next_tmpl( char **bufp, ssize_t *blenp, 54 int next_line_tokens( char **bufp, ssize_t *blenp, char ***toksp ); 480 read_next_tmpl( char **bufp, ssize_t *blenp, struct ldap_disptmpl **tmplp, argument 495 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 511 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 522 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 533 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) < 1 ) { 550 while (( tokcnt = next_line_tokens( bufp, blenp, &toks )) > 0 ) { 573 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 588 if (( tokcnt = next_line_tokens( bufp, blen [all...] |
H A D | charset.c | 87 ldap_translate_from_t61( LDAP *ld, char **bufp, unsigned int *lenp, argument 105 return( (*decode_proc)( bufp, lenp, free_input )); 107 return( (*ld->ld_lber_decode_translate_proc)( bufp, lenp, free_input )); 113 ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned int *lenp, argument 131 return( (*encode_proc)( bufp, lenp, free_input )); 133 return( (*ld->ld_lber_encode_translate_proc)( bufp, lenp, free_input )); 141 * On entry: bufp points to a "string" to be converted (not necessarily 144 * On exit: bufp should point to a malloc'd result. If free_input is 145 * non-zero then the original bufp will be freed. *buflenp should be 1088 ldap_t61_to_8859( char **bufp, unsigne argument 1626 ldap_8859_to_t61( char **bufp, unsigned int *buflenp, int free_input ) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_pr.c | 205 char *bufp, *ndbuf, *dbuf = NULL; local 216 bufp = pvt->line; 220 if ((p = fgets(bufp + offset, bufsiz - offset, pvt->fp)) == NULL) { 230 strcpy(ndbuf, bufp); 235 bufp = dbuf;
|
H A D | lcl_nw.c | 224 char *bufp, *ndbuf, *dbuf = NULL; local 236 bufp = pvt->line; 240 p = fgets(bufp + offset, bufsiz - offset, pvt->fp); 248 strcpy(ndbuf, bufp); 253 bufp = dbuf;
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_auth.c | 134 char *bufp; local 149 (unsigned char **)&bufp) != -1) 150 sn = topo_cleanup_auth_str(thp, bufp); 156 (unsigned char **)&bufp) != -1) 157 name = topo_cleanup_auth_str(thp, bufp);
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | disptmpl.c | 49 static int read_next_tmpl( char **bufp, long *blenp, 466 read_next_tmpl( char **bufp, long *blenp, struct ldap_disptmpl **tmplp, argument 479 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 495 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 506 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 517 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) < 1 ) { 534 while (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) > 0 ) { 557 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 572 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 583 if (( tokcnt = ldap_next_line_tokens( bufp, blen [all...] |
H A D | charset.c | 83 ldap_translate_from_t61( LDAP *ld, char **bufp, unsigned long *lenp, argument 92 return( (*ld->ld_lber_decode_translate_proc)( bufp, &length, free_input )); 97 ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp, argument 106 return( (*ld->ld_lber_encode_translate_proc)( bufp, &length, free_input )); 113 * On entry: bufp points to a "string" to be converted (not necessarily 116 * On exit: bufp should point to a malloc'd result. If free_input is 117 * non-zero then the original bufp will be freed. *buflenp should be 1060 ldap_t61_to_8859( char **bufp, unsigned long *buflenp, int free_input ) argument 1072 s = (Byte *) *bufp; 1078 while ( (char *)s - *(char **)bufp < le 1598 ldap_8859_to_t61( char **bufp, unsigned long *buflenp, int free_input ) argument [all...] |
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_topo.c | 166 unsigned char *bufp; local 177 if (di_prom_prop_lookup_bytes(promh, rooth, promprop, &bufp) != -1) 178 result = asr_setprop_str(ah, asrprop, (char *)bufp);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/motherboard/common/ |
H A D | motherboard.c | 125 uint64_t *bufp; local 149 bufsize = ldom_get_core_md(lhp, &bufp); 151 bufsize = ldom_get_local_md(lhp, &bufp); 161 if ((mdp = md_init_intern(bufp, mb_topo_alloc, mb_topo_free)) == NULL || 164 mb_topo_free(bufp, (size_t)bufsize); 173 mb_topo_free(bufp, (size_t)bufsize); 185 mb_topo_free(bufp, (size_t)bufsize); 235 mb_topo_free(bufp, (size_t)bufsize);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/xaui/common/ |
H A D | xaui.c | 289 uint64_t *bufp; local 312 bufsize = ldom_get_core_md(hdlp, &bufp); 314 bufsize = ldom_get_local_md(hdlp, &bufp); 322 if ((mdp = md_init_intern(bufp, xaui_topo_alloc, xaui_topo_free)) == 325 xaui_topo_free(bufp, (size_t)bufsize); 333 xaui_topo_free(bufp, (size_t)bufsize); 345 xaui_topo_free(bufp, (size_t)bufsize); 382 xaui_topo_free(bufp, (size_t)bufsize);
|
/osnet-11/usr/src/lib/nsswitch/mdns/common/ |
H A D | gethostent.c | 150 _nss_get_mdns_hosts_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument 152 return (_nss_mdns_gethost_withttl(*bufp, *sizep, 0));
|
H A D | gethostent6.c | 173 _nss_get_mdns_ipnodes_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument 175 return (_nss_mdns_gethost_withttl(*bufp, *sizep, 1));
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | ti_opts.c | 122 char *bufp, *maxbufp; local 152 bufp = abuf->buf; 153 maxbufp = bufp + abuf->len; 155 while (bufp + sizeof (struct T_opthdr) < maxbufp) { 157 struct T_opthdr *opt = (struct T_opthdr *)bufp; 163 if (opt->len > maxbufp - bufp || (opt->len & 3)) 174 bufp += opt->len;
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/common/ |
H A D | cpu_mdesc.c | 348 uint64_t *bufp; local 360 bufsiz = ldom_get_core_md(lhp, &bufp); 362 bufsiz = ldom_get_local_md(lhp, &bufp); 370 if ((mdp = md_init_intern(bufp, cpu_alloc, cpu_free)) == NULL || 372 cpu_free(bufp, (size_t)bufsiz); 389 cpu_free(bufp, (size_t)bufsiz);
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 1262 * bufp->result bufp->buffer 1268 * | |<--------bufp->buflen-------------->| 1276 nss_XbyY_buf_t *bufp; local 1278 if ((bufp = malloc(sizeof (nss_XbyY_buf_t))) == NULL) 1281 if ((bufp->result = malloc(ALIGN(sizeof (struct hostent)) + bufsz)) == 1283 free(bufp); 1286 bufp->buffer = (char *)(bufp->result) + sizeof (struct hostent); 1287 bufp 1296 __IPv6_cleanup(nss_XbyY_buf_t *bufp) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/ |
H A D | cpuboard.c | 95 uint64_t *bufp; local 121 bufsize = ldom_get_core_md(lhp, &bufp); 123 bufsize = ldom_get_local_md(lhp, &bufp); 133 if ((mdp = md_init_intern(bufp, cpuboard_topo_alloc, 137 cpuboard_topo_free(bufp, (size_t)bufsize); 146 cpuboard_topo_free(bufp, (size_t)bufsize); 157 cpuboard_topo_free(bufp, (size_t)bufsize); 207 cpuboard_topo_free(bufp, (size_t)bufsize);
|
/osnet-11/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.h | 106 int hp_pack(hp_node_t root, char **bufp, size_t *lenp);
|