/osnet-11/usr/src/lib/libpri/common/ |
H A D | pri.c | 124 * - freep(bufp, size) 137 uint64_t *bufp; /* buf holding PRI */ local 169 if ((bufp = (uint64_t *)allocp(size)) == NULL) { 174 if (read(pri_fd, bufp, size) < 0) { 175 freep(bufp, size); 187 freep(bufp, size); 191 freep(bufp, size); 196 *buf = bufp;
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | dsparse.c | 52 int next_line_tokens( char **bufp, ssize_t *blenp, char ***toksp ); 53 static ssize_t next_line( char **bufp, ssize_t *blenp, char **linep ); 60 next_line_tokens( char **bufp, ssize_t *blenp, char ***toksp ) argument 68 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 111 next_line( char **bufp, ssize_t *blenp, char **linep ) argument 116 linestart = *bufp; 117 p = *bufp; 143 *bufp = p;
|
H A D | srchpref.c | 54 int next_line_tokens( char **bufp, ssize_t *blenp, char ***toksp ); 57 static int read_next_searchobj( char **bufp, ssize_t *blenp, 250 read_next_searchobj( char **bufp, ssize_t *blenp, struct ldap_searchobj **sop, argument 264 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 281 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) < 1 ) { 299 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 310 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 321 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 332 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) { 343 if (( tokcnt = next_line_tokens( bufp, blen [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | mbtranslate.c | 66 char *bufp; local 90 bufp = byte ? byte : buf; 93 bufp += _curs_wctomb(bufp, *code & TRIM); 96 *bufp = '\0'; 110 wchar_t *bufp; local 130 bufp = code ? code : buf; 144 *bufp++ = wchar; 149 *bufp = 0;
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 44 static int next_line( char **bufp, long *blenp, char **linep ); 48 ldap_next_line_tokens( char **bufp, long *blenp, char ***toksp ) argument 55 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 98 next_line( char **bufp, long *blenp, char **linep ) argument 103 linestart = *bufp; 104 p = *bufp; 130 *bufp = p;
|
H A D | srchpref.c | 48 static int read_next_searchobj( char **bufp, long *blenp, 245 read_next_searchobj( char **bufp, long *blenp, struct ldap_searchobj **sop, argument 259 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 276 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) < 1 ) { 294 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 305 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 316 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 327 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 338 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 349 if (( tokcnt = ldap_next_line_tokens( bufp, blen [all...] |
/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/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 71 digest_buf_t *bufp; local 77 bufp = opp->context; 79 if (bufp != NULL) { 80 bufp->indata_len = 0; 85 if (buflen > bufp->buf_len) { 86 free(bufp->buf); 87 bufp->buf = NULL; 90 bufp = opp->context = calloc(1, sizeof (digest_buf_t)); 91 if (bufp == NULL) { 96 if (bufp 157 digest_buf_t *bufp; local [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...] |
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 | kernelSessionUtil.c | 297 digest_buf_t *bufp = session_p->digest.context; local 299 if (bufp->buf != NULL) { 305 bzero(bufp->buf, bufp->indata_len); 306 free(bufp->buf); 308 free(bufp); 318 digest_buf_t *bufp = session_p->sign.context; local 320 if (bufp->buf != NULL) { 326 bzero(bufp->buf, bufp 333 digest_buf_t *bufp = session_p->verify.context; local [all...] |
H A D | kernelVerify.c | 406 digest_buf_t *bufp = session_p->verify.context; local 413 if (bufp == NULL || bufp->buf == NULL) { 418 rv = C_Verify(hSession, bufp->buf, bufp->indata_len,
|
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_subr.c | 40 char buf[512], *bufp = buf; local 46 bufp = alloca(n + 1); 47 n = vsprintf(bufp, fmt, ap); 55 (void) write(fd, bufp, n);
|
/osnet-11/usr/src/lib/libcontract/common/ |
H A D | device.c | 152 ct_dev_status_get_minor(ct_stathdl_t stathdl, char **bufp) argument 157 if (bufp == NULL) 166 error = nvlist_lookup_string(info->nvl, CTDS_MINOR, bufp);
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
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;
|
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;
|
/osnet-11/usr/src/lib/libsmbrp/common/ |
H A D | smbrp_plugin.c | 326 char *bufp; local 330 bufp = strdup(svcdata); 331 if (bufp == NULL) 334 sdata = bufp; 338 free(bufp); 344 free(bufp);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | uniq.c | 88 register char *cp, *ep, *mp, *bufp, *outp; local 95 if(bufp = sfgetr(fdin,'\n',0)) 97 else if(bufp = sfgetr(fdin,'\n',SF_LASTR)) 100 bufp = memcpy(fmtbuf(n + 1), bufp, n); 101 bufp[n++] = '\n'; 107 cp = bufp; 125 if ((reclen = n - (cp - bufp)) <= 0) 128 cp = bufp + n - 1; 236 memcpy(outp+cwidth+sep,bufp, [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/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/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/libc/port/gen/ |
H A D | getspent_r.c | 184 char *bufp; local 213 shadow->sp_namp = bufp = buffer; 223 if ((bufp = strchr(bufp, ':')) == 0) { 229 *bufp++ = '\0'; 231 shadow->sp_pwdp = bufp; 233 if ((bufp = strchr(bufp, ':')) == 0) { 239 *bufp++ = '\0'; 240 p = bufp; [all...] |
/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/pam_modules/list/ |
H A D | list.c | 91 char *bufp; local 266 bufp = buf; 298 bufp++; 302 bufp++; 318 bufp++; 325 if ((bufp[0] == '@') && (bufp[1] != '\0')) { 326 bufp++; 329 if (innetgr(bufp, rhost, username, 336 userok = innetgr(bufp, NUL [all...] |