/freebsd-12-stable/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-12-stable/sys/dev/ed/ |
H A D | if_ed_novell.c | 236 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 D | dump.c | 453 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 D | lessecho.c | 52 char *pbuf = buf; local 58 *pbuf++ = *p; 59 *pbuf = '\0';
|
/freebsd-12-stable/contrib/blacklist/bin/ |
H A D | blacklistctl.c | 140 char mbuf[64], pbuf[64]; local 153 star(pbuf, sizeof(pbuf), c.c_port));
|
/freebsd-12-stable/crypto/openssl/crypto/ec/ |
H A D | ec_print.c | 81 unsigned char *buf = NULL, *pbuf; local 94 pbuf = buf; 96 int v = (int)*(pbuf++);
|
H A D | ec_oct.c | 131 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 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-12-stable/contrib/nvi/ex/ |
H A D | tag.h | 32 char *pbuf; /* Search path buffer. */ member in struct:_csc
|
/freebsd-12-stable/usr.sbin/rip6query/ |
H A D | rip6query.c | 79 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 D | pfkey_dump.c | 413 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 D | setkey.c | 505 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 D | libusb20.h | 231 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 D | funcs.c | 483 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 D | vets.c | 818 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 D | resolv_test.c | 97 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 D | hdspe.c | 184 /* 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 D | head.c | 95 parse(char line[], struct headline *hl, char pbuf[]) argument 104 sp = pbuf;
|
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | ser-e7kpc.c | 189 static char pbuf[1000]; local 195 x = pbuf[pbuf_index++]; 209 pbuf[i] = tmp[i ^ 1]; 212 x = pbuf[pbuf_index++];
|
H A D | solib-svr4.c | 478 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 D | test_copy.c | 79 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 D | sockaddr_snprintf.c | 169 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 D | sockaddr.c | 117 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 D | spi.c | 85 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 D | geliboot.c | 316 u_char *pbuf; local 323 pbuf = buf; 346 error = geliboot_crypt(gdev->sc.sc_ealgo, 0, pbuf, secsize, 354 pbuf += secsize;
|