/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmtrace.c | 111 char buf[1024], *bufp, *endbuf; local 135 bufp = buf; endbuf = buf+sizeof(buf); 136 bufp = trstrcpy(bufp, tritoa(oldaddr ? VLONG(oldaddr) : 0L, 0), ':'); 137 bufp = trstrcpy(bufp, tritoa(newaddr ? VLONG(newaddr) : 0L, 0), ':'); 138 bufp = trstrcpy(bufp, tritoa((Vmulong_t)size, 1), ':'); 139 bufp = trstrcpy(bufp, trito 206 char buf[1024], *bufp; local [all...] |
H A D | vmdebug.c | 112 char buf[1024], *bufp, *endbuf, *s; local 117 bufp = buf; 121 bufp = (*_Vmstrcpy)(bufp, "alloc error", ':'); 123 bufp = (*_Vmstrcpy)(bufp, "free error", ':'); 125 bufp = (*_Vmstrcpy)(bufp, "resize error", ':'); 127 bufp = (*_Vmstrcpy)(bufp, "corrupte 755 char buf[1024], *bufp; local [all...] |
H A D | vmprofile.c | 365 char buf[1024], *bufp, *endbuf; local 366 #define INITBUF() (bufp = buf, endbuf = buf+sizeof(buf)-128) 367 #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp) 368 #define FLSBUF() (bufp > buf ? write(fd,buf,bufp-buf) : 0) 407 bufp = (*_Vmstrcpy)(bufp,"ALLOCATIO [all...] |
/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 | kernelEmulate.h | 56 digest_buf_t *bufp = (opp)->context; \ 57 if (bufp != NULL) { \ 58 bzero(bufp->buf, bufp->indata_len); \ 59 bufp->indata_len = 0; \
|
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...] |
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | regex.c | 37 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 38 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 39 # define re_match(bufp, string, size, pos, regs) \ 40 __re_match (bufp, string, size, pos, regs) 41 # define re_search(bufp, string, size, startpos, range, regs) \ 42 __re_search (bufp, string, size, startpos, range, regs) 43 # define re_compile_pattern(pattern, length, bufp) \ 44 __re_compile_pattern (pattern, length, bufp) 46 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 47 __re_search_2 (bufp, st [all...] |
/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/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/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/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/fm/topo/libtopo/common/ |
H A D | mem.c | 288 char *bufp = buf; local 316 if (strlcpy(bufp, fmristr, PATH_MAX) >= PATH_MAX) { 323 unum = bufp + len1 + len2; 338 if ((bufp = strrchr(unum, '/')) == NULL) 341 "%s: bufp=0x%p=%s\n", __func__, (void *)bufp, bufp); 346 if (strncmp(bufp + 1, str1, len1) == 0) { 347 *bufp++ = '\0'; /* get rid of last '/' */ 349 bufp [all...] |
/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/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...] |
/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/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/nsswitch/mdns/common/ |
H A D | mdns_common.h | 99 void **bufp, size_t *sizep); 101 void **bufp, size_t *sizep);
|
/osnet-11/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom.c | 182 uint64_t *bufp; local 192 bufp = (uint64_t *)lhp->allocp(size); 194 if (read(fh, bufp, size) < 0) { 195 lhp->freep(bufp, size); 201 *buf = bufp; 211 uint64_t *bufp; local 214 if ((bufsiz = get_local_core_md(lhp, &bufp)) > 0) { 217 if (mdp = md_init_intern(bufp, lhp->allocp, lhp->freep)) { 235 lhp->freep(bufp, bufsiz); 254 uint64_t *bufp; local 312 uint64_t *bufp; local [all...] |
/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/gss_mechs/mech_krb5/krb5/krb/ |
H A D | chk_trans.c | 178 char *p, *bufp; local 209 bufp = buf; 212 *bufp++ = *p; 213 if (bufp == buf+sizeof(buf)) 219 if (bufp != buf) { 220 this_component.length = bufp - buf; 242 bufp = buf; 253 } else if (*p == ' ' && bufp == buf) { 260 *bufp++ = *p; 261 if (bufp [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | usersmtp.c | 2008 char *bufp; local 2035 bufp = &optbuf[strlen(optbuf)]; 2040 bufp = optbuf; 2053 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7) 2055 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2057 bufp += strlen(bufp); 2090 SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7) 2092 (void) sm_snprintf(bufp, SPACELEF 2276 char *bufp; local 3061 register char *bufp; local [all...] |
/osnet-11/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 216 uchar_t *bufp; local 228 bufp = (uchar_t *)malloc(buflen); 231 if (get_configuration(fd, 0, buflen, bufp)) { 232 *profile = GET16(&bufp[6]); 235 free(bufp); 248 uchar_t *bufp; local 260 bufp = (uchar_t *)malloc(buflen); 263 if (get_configuration(fd, 0, buflen, bufp)) { 264 current_profile = GET16(&bufp[6]); 266 profile = GET16(&bufp[ [all...] |
/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);
|