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

1234

/freebsd-10.3-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.3-release/contrib/ntp/libntp/
H A Dsocktohost.c30 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.3-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.3-release/contrib/ntp/ntpd/
H A Drefclock_ripencc.c3213 /* 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.3-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.3-release/crypto/openssl/crypto/asn1/
H A Dbio_ndef.c91 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 Dasn_pack.c75 const unsigned char *pbuf; local
76 pbuf = buf;
77 if (!(sk = d2i_ASN1_SET(NULL, &pbuf, len, d2i, free_func,
/freebsd-10.3-release/sys/dev/pms/RefTisa/discovery/dm/
H A Ddmmisc.c73 dmhexdump(const char *ptitle, bit8 *pbuf, int len) argument
77 if (!pbuf)
79 DM_DBG1(("pbuf is NULL\n"));
86 DM_DBG1((" 0x%02x, 0x%02x, 0x%02x, 0x%02x,\n", pbuf[i], pbuf[i+1], pbuf[i+2], pbuf[i+3]));
91 DM_DBG1((" 0x%02x,", pbuf[i]));
/freebsd-10.3-release/sys/dev/pms/RefTisa/sat/src/
H A Dsmmisc.c91 smhexdump(const char *ptitle, bit8 *pbuf, size_t len) argument
95 if (!pbuf)
97 SM_DBG1(("pbuf is NULL\n"));
104 SM_DBG1((" 0x%02x, 0x%02x, 0x%02x, 0x%02x,\n", pbuf[i], pbuf[i+1], pbuf[i+2], pbuf[i+3]));
109 SM_DBG1((" 0x%02x,", pbuf[i]));
/freebsd-10.3-release/sys/kern/
H A Dkern_physio.c42 struct buf *pbuf; local
95 pbuf = NULL;
98 pbuf = NULL;
102 pbuf = getpbuf(NULL);
103 sa = pbuf->b_data;
105 pages = pbuf->b_pages;
130 * Make sure the pbuf can map the request.
131 * The pbuf has kvasize = MAXPHYS, so a request
136 if (pbuf && bp->bio_length + poff > pbuf
[all...]
/freebsd-10.3-release/crypto/openssl/crypto/pkcs12/
H A Dp12_crpt.c77 const unsigned char *pbuf; local
90 pbuf = param->value.sequence->data;
91 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
/freebsd-10.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3-release/usr.sbin/usbconfig/
H A Ddump.c451 char *pbuf; local
455 pbuf = malloc(256);
456 if (pbuf == NULL)
462 str_index, 0, pbuf, 256)) {
466 len = (uint8_t)pbuf[0];
468 printf("0x%02x%s", (uint8_t)pbuf[n],
476 str_index, pbuf, 256)) {
479 printf("STRING_0x%02x = <%s>\n", str_index, pbuf);
482 free(pbuf);
/freebsd-10.3-release/crypto/openssl/crypto/ec/
H A Dec_print.c132 unsigned char *buf, *pbuf; local
152 pbuf = buf;
154 int v = (int)*(pbuf++);
/freebsd-10.3-release/crypto/openssl/crypto/evp/
H A Dp5_crpt.c85 const unsigned char *pbuf; local
97 pbuf = param->value.sequence->data;
98 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
/freebsd-10.3-release/contrib/less/
H A Dlessecho.c52 char *pbuf = buf; local
58 *pbuf++ = *p;
59 *pbuf = '\0';
/freebsd-10.3-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.3-release/contrib/nvi/ex/
H A Dtag.h32 char *pbuf; /* Search path buffer. */ member in struct:_csc
/freebsd-10.3-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);

Completed in 329 milliseconds

1234