Searched refs:pbuf (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-10.0-release/sbin/dhclient/
H A Dinet.c105 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.0-release/usr.sbin/eeprom/
H A Dofw_options.c151 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.0-release/contrib/ntp/ntpd/
H A Drefclock_ripencc.c2977 /* pbuf is the pointer to the current location of the text output */
2979 *pbuf; variable
3036 pbuf += sprintf(pbuf, "\nChannel A Configuration");
3041 pbuf += sprintf(pbuf, "\n Transmit speed: %s at %s",
3045 pbuf += sprintf(pbuf, "\n Receive speed: %s at %s",
3053 pbuf += sprintf(pbuf, "\
[all...]
/freebsd-10.0-release/sys/i386/ibcs2/
H A Dibcs2_util.c55 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.0-release/crypto/openssl/crypto/asn1/
H A Dbio_ndef.c96 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
97 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
98 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
99 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
155 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, void *parg) argument
193 *pbuf = NULL;
198 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, in argument
208 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
[all...]
H A Dasn_pack.c73 const unsigned char *pbuf; local
74 pbuf = buf;
75 if (!(sk = d2i_ASN1_SET(NULL, &pbuf, len, d2i, free_func,
/freebsd-10.0-release/crypto/openssl/crypto/pkcs12/
H A Dp12_crpt.c75 const unsigned char *pbuf; local
85 pbuf = param->value.sequence->data;
86 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
/freebsd-10.0-release/lib/libipsec/
H A Dpolicy_parse.y72 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.0-release/tools/regression/netinet6/inet6_rth/
H A Dinet6_rth-segments.c88 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.0-release/contrib/sendmail/src/
H A Dsasl.c249 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.0-release/contrib/opie/
H A Dopiesu.c248 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.0-release/usr.sbin/usbconfig/
H A Ddump.c376 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.0-release/usr.sbin/ofwdump/
H A Dofwdump.c146 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.0-release/crypto/heimdal/lib/roken/
H A Diruserok.c226 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.0-release/sys/dev/ed/
H A Dif_ed_novell.c234 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.0-release/contrib/file/
H A Dfuncs.c312 if (ms->o.pbuf) {
313 free(ms->o.pbuf);
314 ms->o.pbuf = NULL;
332 char *pbuf, *op, *np; local
351 if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
355 ms->o.pbuf = pbuf;
366 np = ms->o.pbuf;
392 return ms->o.pbuf;
[all...]
/freebsd-10.0-release/contrib/less/
H A Dlessecho.c52 char *pbuf = buf; local
58 *pbuf++ = *p;
59 *pbuf = '\0';
/freebsd-10.0-release/crypto/openssl/crypto/ec/
H A Dec_print.c142 unsigned char *buf, *pbuf; local
165 pbuf = buf;
168 int v = (int) *(pbuf++);
/freebsd-10.0-release/crypto/openssl/crypto/evp/
H A Dp5_crpt.c83 const unsigned char *pbuf; local
95 pbuf = param->value.sequence->data;
96 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
H A Dp5_crpt2.c198 const unsigned char *pbuf; local
211 pbuf = param->value.sequence->data;
213 if(!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) {
257 const unsigned char *pbuf; local
281 pbuf = param->value.sequence->data;
284 if(!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen)) ) {
/freebsd-10.0-release/sys/netsmb/
H A Dsmb_smb.c301 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.0-release/contrib/nvi/ex/
H A Dtag.h32 char *pbuf; /* Search path buffer. */ member in struct:_csc
/freebsd-10.0-release/usr.sbin/rip6query/
H A Drip6query.c80 char pbuf[10]; local
112 snprintf(pbuf, sizeof(pbuf), "%d", RIP6_PORT);
116 error = getaddrinfo(argv[0], pbuf, &hints, &res);
/freebsd-10.0-release/tools/regression/lib/libc/resolv/
H A Dresolv.c104 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);
/freebsd-10.0-release/sbin/setkey/
H A Dsetkey.c495 char buf[NI_MAXHOST], pbuf[NI_MAXSERV]; local
546 pbuf, sizeof(pbuf), NI_NUMERICHOST|NI_NUMERICSERV);
547 if (strcmp(pbuf, "0") != 0)
548 printf("%s[%s]", buf, pbuf);
562 pbuf, sizeof(pbuf), NI_NUMERICHOST|NI_NUMERICSERV);
563 if (strcmp(pbuf, "0") != 0)
564 printf("%s[%s]", buf, pbuf);

Completed in 212 milliseconds

1234