Searched refs:pbuf (Results 26 - 50 of 115) sorted by relevance

12345

/freebsd-12-stable/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-12-stable/sys/dev/ed/
H A Dif_ed_novell.c236 char pbuf0[ED_PAGE_SIZE], pbuf[ED_PAGE_SIZE], tbuf[ED_PAGE_SIZE]; local
251 pbuf[i] = 255 - x;
252 ed_pio_writemem(sc, pbuf, x * 256, ED_PAGE_SIZE);
254 if (bcmp(pbuf, tbuf, ED_PAGE_SIZE) == 0) {
271 pbuf[i] = 255 - x;
272 ed_pio_writemem(sc, pbuf, x * 256, ED_PAGE_SIZE);
274 if (bcmp(pbuf, tbuf, ED_PAGE_SIZE) == 0)
/freebsd-12-stable/usr.sbin/usbconfig/
H A Ddump.c453 char *pbuf; local
457 pbuf = malloc(256);
458 if (pbuf == NULL)
464 str_index, 0, pbuf, 256)) {
468 len = (uint8_t)pbuf[0];
470 printf("0x%02x%s", (uint8_t)pbuf[n],
478 str_index, pbuf, 256)) {
481 printf("STRING_0x%02x = <%s>\n", str_index, pbuf);
484 free(pbuf);
/freebsd-12-stable/contrib/less/
H A Dlessecho.c52 char *pbuf = buf; local
58 *pbuf++ = *p;
59 *pbuf = '\0';
/freebsd-12-stable/contrib/blacklist/bin/
H A Dblacklistctl.c140 char mbuf[64], pbuf[64]; local
153 star(pbuf, sizeof(pbuf), c.c_port));
/freebsd-12-stable/crypto/openssl/crypto/ec/
H A Dec_print.c81 unsigned char *buf = NULL, *pbuf; local
94 pbuf = buf;
96 int v = (int)*(pbuf++);
H A Dec_oct.c131 unsigned char **pbuf, BN_CTX *ctx)
148 *pbuf = buf;
129 EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char **pbuf, BN_CTX *ctx) argument
/freebsd-12-stable/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-12-stable/contrib/nvi/ex/
H A Dtag.h32 char *pbuf; /* Search path buffer. */ member in struct:_csc
/freebsd-12-stable/usr.sbin/rip6query/
H A Drip6query.c79 char pbuf[10]; local
111 snprintf(pbuf, sizeof(pbuf), "%d", RIP6_PORT);
115 error = getaddrinfo(argv[0], pbuf, &hints, &res);
/freebsd-12-stable/lib/libipsec/
H A Dpfkey_dump.c413 char pbuf[NI_MAXSERV]; local
444 pbuf, sizeof(pbuf), NI_NUMERICSERV) != 0)
447 sport = atoi(pbuf);
464 pbuf, sizeof(pbuf), NI_NUMERICSERV) != 0)
467 dport = atoi(pbuf);
525 if_indextoname(m_xpl->sadb_x_policy_ifindex, pbuf) != NULL)
526 printf("ifname=%s", pbuf);
/freebsd-12-stable/sbin/setkey/
H A Dsetkey.c505 char buf[NI_MAXHOST], pbuf[NI_MAXSERV]; local
556 pbuf, sizeof(pbuf), NI_NUMERICHOST|NI_NUMERICSERV);
557 if (strcmp(pbuf, "0") != 0)
558 printf("%s[%s]", buf, pbuf);
572 pbuf, sizeof(pbuf), NI_NUMERICHOST|NI_NUMERICSERV);
573 if (strcmp(pbuf, "0") != 0)
574 printf("%s[%s]", buf, pbuf);
/freebsd-12-stable/lib/libusb/
H A Dlibusb20.h231 void libusb20_tr_setup_bulk(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
232 void libusb20_tr_setup_control(struct libusb20_transfer *xfer, void *psetup, void *pbuf, uint32_t timeout);
233 void libusb20_tr_setup_intr(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
234 void libusb20_tr_setup_isoc(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint16_t fr_index);
235 uint8_t libusb20_tr_bulk_intr_sync(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t *pactlen, uint32_t timeout);
/freebsd-12-stable/contrib/file/src/
H A Dfuncs.c483 if (ms->o.pbuf) {
484 free(ms->o.pbuf);
485 ms->o.pbuf = NULL;
503 char *pbuf, *op, *np; local
522 if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
526 ms->o.pbuf = pbuf;
537 np = ms->o.pbuf;
563 return ms->o.pbuf;
[all...]
/freebsd-12-stable/lib/libsecureboot/
H A Dvets.c818 char pbuf[MAXPATHLEN]; local
824 n = strlcpy(pbuf, sigfile, sizeof(pbuf));
825 if (n > (sizeof(pbuf) - 5) || strcmp(&sigfile[n - 3], "sig") != 0)
827 cp = strcpy(&pbuf[n - 3], "certs");
840 pk = verify_signer(pbuf, &cn, 1);
842 printf("cannot verify: %s: %s\n", pbuf, ve_error_get());
845 for (; cp > pbuf; cp--) {
854 ucp = verify_ec(pk, pbuf, sigfile);
859 ucp = verify_rsa(pk, pbuf, sigfil
[all...]
/freebsd-12-stable/lib/libc/tests/resolv/
H A Dresolv_test.c97 char portstr[6], buf[1024], hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local
112 memset(pbuf, 0, sizeof(pbuf));
114 pbuf, sizeof(pbuf), 0);
116 "%p: reverse %s %s\n", self, hbuf, pbuf);
/freebsd-12-stable/sys/dev/sound/pci/
H A Dhdspe.c184 /* pbuf (play buffer). */
185 if (bus_dmamem_alloc(sc->dmat, (void **)&sc->pbuf,
187 device_printf(sc->dev, "Can't alloc pbuf.\n");
191 if (bus_dmamap_load(sc->dmat, sc->pmap, sc->pbuf, sc->bufsize,
193 device_printf(sc->dev, "Can't load pbuf.\n");
210 bzero(sc->pbuf, sc->bufsize);
222 paddr = vtophys(sc->pbuf);
355 bus_dmamem_free(sc->dmat, sc->pbuf, sc->pmap);
356 sc->rbuf = sc->pbuf = NULL;
/freebsd-12-stable/usr.bin/mail/
H A Dhead.c95 parse(char line[], struct headline *hl, char pbuf[]) argument
104 sp = pbuf;
/freebsd-12-stable/contrib/gdb/gdb/
H A Dser-e7kpc.c189 static char pbuf[1000]; local
195 x = pbuf[pbuf_index++];
209 pbuf[i] = tmp[i ^ 1];
212 x = pbuf[pbuf_index++];
H A Dsolib-svr4.c478 char *pbuf; local
481 pbuf = alloca (pbuf_size);
486 if (target_read_memory (dyn_ptr, pbuf, pbuf_size))
488 return extract_unsigned_integer (pbuf, pbuf_size);
513 char *pbuf; local
516 pbuf = alloca (pbuf_size);
521 if (target_read_memory (dyn_ptr, pbuf, pbuf_size))
523 return extract_unsigned_integer (pbuf, pbuf_size);
/freebsd-12-stable/contrib/libarchive/tar/test/
H A Dtest_copy.c79 char pbuf[PATH_MAX];
83 assert(getcwd(pbuf, PATH_MAX) != NULL);
84 pcwdlen = strlen(pbuf);
85 cygwin_conv_to_full_win32_path(pbuf, wbuf);
/freebsd-12-stable/contrib/blacklist/port/
H A Dsockaddr_snprintf.c169 char Abuf[1024], pbuf[32], *name = NULL, *port = NULL; local
201 (void)snprintf(port = pbuf, sizeof(pbuf), "%d", p);
288 port = pbuf,
289 (unsigned int)sizeof(pbuf), 0);
/freebsd-12-stable/contrib/ntp/lib/isc/
H A Dsockaddr.c117 char pbuf[sizeof("65000")]; local
130 snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sockaddr->type.sin.sin_port));
133 snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sockaddr->type.sin6.sin6_port));
156 plen = (unsigned int)strlen(pbuf);
157 INSIST(plen < sizeof(pbuf));
168 isc_buffer_putmem(target, (const unsigned char *)pbuf, plen);
/freebsd-12-stable/usr.sbin/spi/
H A Dspi.c85 static void verbose_dump_buffer(void *pbuf, int icount, int lsb);
727 const uint8_t *pbuf; local
729 pbuf = (uint8_t *)pr + popt->ncmd; /* only the data we want */
753 err = (int)fwrite(pbuf, 1, icount, stdout) != icount;
770 err = fprintf(stdout, "%02hhx", pbuf[idx]) < 0;
902 verbose_dump_buffer(void *pbuf, int icount, int lsb) argument
917 ch = ((uint8_t *) pbuf)[idx];
935 ch = ((uint8_t *) pbuf)[idx];
/freebsd-12-stable/stand/libsa/geli/
H A Dgeliboot.c316 u_char *pbuf; local
323 pbuf = buf;
346 error = geliboot_crypt(gdev->sc.sc_ealgo, 0, pbuf, secsize,
354 pbuf += secsize;

Completed in 512 milliseconds

12345