/freebsd-10.1-release/sbin/dhclient/ |
H A D | inet.c | 105 static char pbuf[32]; local 112 strlcpy(pbuf, "<null address>", sizeof(pbuf)); 116 strlcpy(pbuf, s, sizeof(pbuf)); 118 strlcpy(pbuf, "<invalid address>", sizeof(pbuf)); 120 return (pbuf);
|
/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | socktohost.c | 30 char * pbuf; local 44 LIB_GETBUF(pbuf); 46 if (getnameinfo(&sock->sa, SOCKLEN(sock), pbuf, LIB_BUFLENGTH, 52 TRACE(1, ("%s reversed to %s\n", stoa(sock), pbuf)); 65 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 75 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 81 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 107 return pbuf; /* forward check passed */ 111 TRACE(1, ("%s forward check lookup fail: %s\n", pbuf, 114 snprintf(pliar, LIB_BUFLENGTH, "%s (%s)", stoa(sock), pbuf); [all...] |
/freebsd-10.1-release/usr.sbin/eeprom/ |
H A D | ofw_options.c | 151 void *pbuf; local 156 pbuf = NULL; 159 &pbuf, &pblen, 1); 160 if (len <= 0 || strncmp("none", (char *)pbuf, len) == 0) { 163 } else if (strncmp("command", (char *)pbuf, len) == 0 || 164 strncmp("full", (char *)pbuf, len) == 0) { 172 if (pbuf != NULL) 173 free(pbuf); 204 void *pbuf; local 211 pbuf 245 void *pbuf; local 278 void *pbuf; local [all...] |
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | refclock_ripencc.c | 3213 /* pbuf is the pointer to the current location of the text output */ 3215 *pbuf; variable 3278 pbuf += sprintf(pbuf, "\nChannel A Configuration"); 3283 pbuf += sprintf(pbuf, "\n Transmit speed: %s at %s", 3287 pbuf += sprintf(pbuf, "\n Receive speed: %s at %s", 3295 pbuf += sprintf(pbuf, "\ [all...] |
/freebsd-10.1-release/sys/i386/ibcs2/ |
H A D | ibcs2_util.c | 55 char **pbuf, int cflag) 58 return (kern_alternate_path(td, ibcs2_emul_path, path, pathseg, pbuf, 54 ibcs2_emul_find(struct thread *td, char *path, enum uio_seg pathseg, char **pbuf, int cflag) argument
|
/freebsd-10.1-release/crypto/openssl/crypto/asn1/ |
H A D | bio_ndef.c | 91 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 92 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 94 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 95 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, 152 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument 169 *pbuf = p; 175 *plen = *ndef_aux->boundary - *pbuf; 180 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, argument 194 *pbuf = NULL; 199 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, in argument 210 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument [all...] |
H A D | asn_pack.c | 75 const unsigned char *pbuf; local 76 pbuf = buf; 77 if (!(sk = d2i_ASN1_SET(NULL, &pbuf, len, d2i, free_func,
|
/freebsd-10.1-release/crypto/openssl/crypto/pkcs12/ |
H A D | p12_crpt.c | 77 const unsigned char *pbuf; local 87 pbuf = param->value.sequence->data; 88 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
|
/freebsd-10.1-release/lib/libipsec/ |
H A D | policy_parse.y | 72 static caddr_t pbuf = NULL; /* sadb_x_policy buffer */ 73 static int tlen = 0; /* total length of pbuf */ 74 static int offset = 0; /* offset of pbuf */ 300 pbuf = malloc(tlen); 301 if (pbuf == NULL) { 305 memset(pbuf, 0, tlen); 306 p = (struct sadb_x_policy *)pbuf; 331 pbuf = realloc(pbuf, tlen); 332 if (pbuf [all...] |
/freebsd-10.1-release/tools/regression/netinet6/inet6_rth/ |
H A D | inet6_rth-segments.c | 88 char *pbuf; local 92 pbuf = inet6_rth_init((void *)buf, 10, IPV6_RTHDR_TYPE_0, 100); 93 checkptr(NULL, pbuf, "buffer too small\0"); 95 pbuf = inet6_rth_init((void *)buf, 10240, IPV6_RTHDR_TYPE_0, 0); 96 checkptr((caddr_t)&buf, pbuf, "0 segments\0"); 98 pbuf = inet6_rth_init((void *)buf, 10240, IPV6_RTHDR_TYPE_0, 127); 99 checkptr((caddr_t)&buf, pbuf, "127 segments\0"); 101 pbuf = inet6_rth_init((void *)buf, 10240, IPV6_RTHDR_TYPE_0, -1); 102 checkptr(NULL, pbuf, "negative number of segments\0"); 104 pbuf [all...] |
/freebsd-10.1-release/contrib/sendmail/src/ |
H A D | sasl.c | 249 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local 267 hbuf, sizeof(hbuf), pbuf, sizeof(pbuf), niflags) != 0) 281 sm_snprintf(pbuf, sizeof(pbuf), "%d", ntohs(addr->sin.sin_port)); 284 if (outlen < strlen(hbuf) + strlen(pbuf) + 2) 289 sm_snprintf(out, outlen, "%s;%s", hbuf, pbuf);
|
/freebsd-10.1-release/contrib/opie/ |
H A D | opiesu.c | 248 char pbuf[256]; local 395 if (!opiereadpass(pbuf, sizeof(pbuf), 0)) 404 if (!opiereadpass(pbuf, sizeof(pbuf), 1)) 413 if (!opiereadpass(pbuf, sizeof(pbuf), 0)) 418 if (!pbuf[0] && !console) { 421 if (!opiereadpass(pbuf, sizeof(pbuf), [all...] |
/freebsd-10.1-release/usr.sbin/usbconfig/ |
H A D | dump.c | 376 char *pbuf; local 380 pbuf = malloc(256); 381 if (pbuf == NULL) 387 str_index, 0, pbuf, 256)) { 391 len = (uint8_t)pbuf[0]; 393 printf("0x%02x%s", (uint8_t)pbuf[n], 401 str_index, pbuf, 256)) { 404 printf("STRING_0x%02x = <%s>\n", str_index, pbuf); 407 free(pbuf);
|
/freebsd-10.1-release/usr.sbin/ofwdump/ |
H A D | ofwdump.c | 146 static void *pbuf = NULL; local 157 len = ofw_getprop_alloc(fd, n, prop, &pbuf, &pblen, 1); 161 write(STDOUT_FILENO, pbuf, len); 163 printf("%.*s\n", len, (char *)pbuf); 174 ((unsigned char *)pbuf)[i + j]); 181 if (((char *)pbuf)[len - 1] == '\0' && 182 strlen(pbuf) == (unsigned)len - 1) { 191 vlen = strvis(visbuf, pbuf, VIS_TAB | VIS_NL);
|
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | iruserok.c | 226 char pbuf[MaxPathLen]; local 242 snprintf (pbuf, sizeof(pbuf), "%s/.rhosts", pwd->pw_dir); 252 hostf = fopen(pbuf, "r"); 262 if (lstat(pbuf, &sbuf) < 0)
|
/freebsd-10.1-release/sys/dev/ed/ |
H A D | if_ed_novell.c | 234 char pbuf0[ED_PAGE_SIZE], pbuf[ED_PAGE_SIZE], tbuf[ED_PAGE_SIZE]; local 249 pbuf[i] = 255 - x; 250 ed_pio_writemem(sc, pbuf, x * 256, ED_PAGE_SIZE); 252 if (bcmp(pbuf, tbuf, ED_PAGE_SIZE) == 0) { 269 pbuf[i] = 255 - x; 270 ed_pio_writemem(sc, pbuf, x * 256, ED_PAGE_SIZE); 272 if (bcmp(pbuf, tbuf, ED_PAGE_SIZE) == 0)
|
/freebsd-10.1-release/contrib/less/ |
H A D | lessecho.c | 52 char *pbuf = buf; local 58 *pbuf++ = *p; 59 *pbuf = '\0';
|
/freebsd-10.1-release/contrib/file/src/ |
H A D | funcs.c | 302 if (ms->o.pbuf) { 303 free(ms->o.pbuf); 304 ms->o.pbuf = NULL; 322 char *pbuf, *op, *np; local 341 if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { 345 ms->o.pbuf = pbuf; 356 np = ms->o.pbuf; 382 return ms->o.pbuf; [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/evp/ |
H A D | p5_crpt.c | 85 const unsigned char *pbuf; local 97 pbuf = param->value.sequence->data; 98 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
|
H A D | p5_crpt2.c | 194 const unsigned char *pbuf; local 207 pbuf = param->value.sequence->data; 209 if (!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) { 252 const unsigned char *pbuf; local 274 pbuf = param->value.sequence->data; 277 if (!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen))) {
|
/freebsd-10.1-release/crypto/openssl/crypto/ec/ |
H A D | ec_print.c | 132 unsigned char *buf, *pbuf; local 152 pbuf = buf; 154 int v = (int)*(pbuf++);
|
/freebsd-10.1-release/sys/netsmb/ |
H A D | smb_smb.c | 301 char *pp, *up, *pbuf, *encpass; local 320 pbuf = malloc(SMB_MAXPASSWORDLEN + 1, M_SMBTEMP, M_WAITOK); 329 iconv_convstr(vcp->vc_toupper, pbuf, 332 strncpy(pbuf, smb_vc_getpass(vcp), SMB_MAXPASSWORDLEN); 333 pbuf[SMB_MAXPASSWORDLEN] = '\0'; 336 iconv_convstr(vcp->vc_toserver, pbuf, pbuf/*, 341 smb_encrypt(pbuf, vcp->vc_ch, encpass); 344 strncpy(pbuf, smb_vc_getpass(vcp), 346 pbuf[SMB_MAXPASSWORDLE 504 char *pp, *pbuf, *encpass; local [all...] |
/freebsd-10.1-release/contrib/nvi/ex/ |
H A D | tag.h | 32 char *pbuf; /* Search path buffer. */ member in struct:_csc
|
/freebsd-10.1-release/usr.sbin/rip6query/ |
H A D | rip6query.c | 80 char pbuf[10]; local 112 snprintf(pbuf, sizeof(pbuf), "%d", RIP6_PORT); 116 error = getaddrinfo(argv[0], pbuf, &hints, &res);
|
/freebsd-10.1-release/tools/regression/lib/libc/resolv/ |
H A D | resolv.c | 104 char portstr[6], buf[1024], hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local 121 memset(pbuf, 0, sizeof(pbuf)); 123 pbuf, sizeof(pbuf), 0); 126 "%p: reverse %s %s\n", self, hbuf, pbuf);
|