/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | vprojid.c | 42 struct project pbuf; local
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | getpass.c | 62 static char pbuf[50+1]; local 81 p = pbuf; 83 if (p < &pbuf[sizeof (pbuf)-1]) 95 return (pbuf);
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_dma.c | 48 drm_buf_entry_t *pbuf; local 55 pbuf = &(dev->dma->bufs[0]); 56 for (i = 0; i <= DRM_MAX_ORDER; i++, pbuf++) 57 bzero(pbuf, sizeof (drm_buf_entry_t));
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | getpass.c | 58 static char pbuf[ MAXPASSWD + 1 ]; local 79 p = pbuf; 82 if(p < &pbuf[ MAXPASSWD ]) 96 return(pbuf);
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | getpass.c | 77 char *pbuf = tsdalloc(_T_GETPASS, MAXPASSWD + 1, NULL); local 80 if (pbuf == NULL || 98 p = pbuf; 101 if (p < &pbuf[ size ]) 113 pbuf[0] = '\0'; 116 return (pbuf);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_nat.c | 120 ilb_persist_info_t *pbuf; member in union:__anon254 181 rclib = ilb_show_persist(h, buf.pbuf, &num, &end); 190 print_persist_info(&buf.pbuf[i]);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | sasl.c | 243 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local 261 hbuf, sizeof(hbuf), pbuf, sizeof(pbuf), niflags) != 0) 275 sm_snprintf(pbuf, sizeof(pbuf), "%d", ntohs(addr->sin.sin_port)); 278 if (outlen < strlen(hbuf) + strlen(pbuf) + 2) 283 sm_snprintf(out, outlen, "%s;%s", hbuf, pbuf);
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldaptool-sasl.c | 169 char pbuf[257]; local 172 if (fgets(pbuf,256,stdin) == NULL) { 177 tmp = strchr(pbuf,'\n'); 179 tmp = strchr(pbuf,'\r'); 181 newvalue = strdup(pbuf);
|
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt_msg.c | 251 pppt_buf_t *pbuf; local 367 pbuf = ptask->pt_immed_data; 368 pbuf->pbuf_immed_msg = msg; 369 pbuf->pbuf_stmf_buf->db_data_size = scmd->icsc_immed_data_len; 370 pbuf->pbuf_stmf_buf->db_buf_size = scmd->icsc_immed_data_len; 371 pbuf->pbuf_stmf_buf->db_relative_offset = 0; 372 pbuf->pbuf_stmf_buf->db_sglist[0].seg_length = 374 pbuf->pbuf_stmf_buf->db_sglist[0].seg_addr = 377 stmf_post_task(task, pbuf->pbuf_stmf_buf);
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 75 struct strpeek pbuf; local 76 pbuf.flags = 0; 77 pbuf.ctlbuf.maxlen = -1; 78 pbuf.ctlbuf.len = 0; 79 pbuf.ctlbuf.buf = NIL(char*); 80 pbuf.databuf.maxlen = n; 81 pbuf.databuf.buf = buf; 82 pbuf.databuf.len = 0; 84 if((r = ioctl(fd,I_PEEK,&pbuf)) < 0) 91 if(r > 0 && (r = pbuf [all...] |
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | hdr_misc.c | 219 char pbuf[AUDIO_MAX_ENCODE_INFO]; local 237 chan = pbuf; 256 prec = pbuf; 257 (void) sprintf(pbuf, "%u-bit", hdrp->bytes_per_unit * 8); 265 prec = pbuf; 266 (void) sprintf(pbuf, "%f-bit",
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | demand.c | 343 char pbuf[32]; local 375 (void) slprintf(pbuf, sizeof (pbuf), "0x#X", proto); 376 cp = (const char *)pbuf;
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmchild.c | 491 static char pbuf[BUFSIZ]; /* static buf for TTYPROMPT */ variable 551 (void) sprintf(pbuf, "TTYPROMPT=%s", pmtab->p_prompt); 552 if (putenv(pbuf)) {
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mktree/ |
H A D | mktree.c | 153 char *pbuf; local 160 pbuf = (char *)valloc(size); 163 (void) snprintf(pbuf+offset, size-offset, "%s", context); 171 if (write(fd, pbuf, 1024) < 1024) { 172 (void) fprintf(stderr, "write(fd, pbuf, 1024) failed." 182 if (write(afd, pbuf, 1024) < 1024) { 183 (void) fprintf(stderr, "write(afd, pbuf, 1024) failed." 190 free(pbuf);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | kuserok.c | 269 char pbuf[MAXPATHLEN]; local 285 (void) strncpy(pbuf, pwd->pw_dir, sizeof(pbuf) - 1); 286 pbuf[sizeof(pbuf) - 1] = '\0'; 287 (void) strncat(pbuf, "/.k5login", sizeof(pbuf) - 1 - strlen(pbuf)); 289 if (access(pbuf, F_OK)) { /* not accessible */ 327 if ((fp = fopen(pbuf, "r [all...] |
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | callers.c | 126 static char *pbuf; /* dynamically allocated below */ local 129 if (pbuf == NULL) { 130 pbuf = malloc(2*(MAXPH+2)); 131 if (pbuf == NULL) 134 for (tp = pbuf; *arg; arg++) { 159 return (pbuf);
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getexecattr.c | 214 char pbuf[NSS_BUFLEN_PROFATTR]; local 225 NSS_XbyY_INIT(&parg, &prof, pbuf, NSS_BUFLEN_PROFATTR,
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | rcmd.c | 211 char pbuf[MAXPATHLEN]; local 242 (void)strcpy(pbuf, pwd->pw_dir); 243 (void)strcat(pbuf, "/.rhosts"); 251 if ((hostf = fopen(pbuf, "r")) == NULL) {
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ufn.c | 260 char *pbuf; local 307 if ( (pbuf = (char *)NSLDAPI_MALLOC( strlen( ld->ld_ufnprefix ) + 1 )) 319 *pbuf = '\0'; 321 strcat( pbuf, prefixcomp[j] ); 323 strcat( pbuf, "," ); 325 err = ldap_ufn_search_ctx( ld, ufncomp, ncomp, pbuf, attrs, 338 NSLDAPI_FREE( pbuf );
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd1.c | 218 char pbuf[LINESIZE]; local
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_dump.c | 196 uchar_t *buf, *pbuf; local 293 * realize that this implies pbuf won't be accessed until after 297 pbuf = NULL; 376 (memcmp(buf, pbuf, width) == 0)) { 402 pbuf = buf;
|
/illumos-gate/usr/src/ucbcmd/install.d/ |
H A D | install.c | 196 static char pbuf[MAXPATHLEN]; local 216 (void) sprintf(path = pbuf, "%s/%s", to, (C = strrchr(from, '/')) ? ++C : from);
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_send.c | 121 ASSERT(ssbdp->pbuf != NULL); 122 buf_item = ssbdp->pbuf; 129 ssbdp->pbuf = NULL; 345 char *pbuf; local 348 pbuf = DMA_VPTR(txbuf->buf); 354 bcopy(bp->b_rptr, pbuf, mblen); 355 pbuf += mblen; 433 ASSERT(ssbdp->pbuf == NULL); 434 ssbdp->pbuf = txbuf_item; 503 char *pbuf; local [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | rcmd.c | 355 char pbuf[MAXPATHLEN]; local 360 (void)strcpy(pbuf, pwd->pw_dir); 361 (void)strcat(pbuf, "/.rhosts"); 363 if ((hostf = fopen(pbuf, "r")) == NULL) {
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mangle_name.c | 304 char *pbuf; local 318 pbuf = buf; 322 *pbuf++ = c; 324 *pbuf = '\0'; 325 (void) strlcat(pbuf, mangle_buf, SMB_NAME83_BASELEN); 326 pbuf = strchr(pbuf, '\0'); 334 *pbuf++ = '.'; 338 *pbuf++ = c; 342 *pbuf [all...] |