| /src/sbin/mount_portal/ |
| pt_file.c | 134 char pbuf[MAXPATHLEN]; local 139 pbuf[0] = '/'; 140 strlcpy(pbuf + 1, key + (v[1] ? strlen(v[1]) : 0), sizeof(pbuf) - 1); 142 pbuf, pcr->pcr_uid, pcr->pcr_gid); 154 fd = open(pbuf, O_RDWR | O_CREAT, 0666); 160 "Trying read-only open...", pbuf); 162 fd = open(pbuf, O_RDONLY, 0); 171 DEBUG_SYSLOG(LOG_DEBUG, "Error: could not open '%s': %m", pbuf);
|
| /src/external/bsd/ntp/dist/libntp/ |
| xsbprintf.c | 41 char *pbuf = (ppbuf) ? *ppbuf : NULL; local 43 if (pbuf && (pend - pbuf > 0)) { 44 size_t blen = (size_t)(pend - pbuf); 45 rc = vsnprintf(pbuf, blen, pfmt, va); 49 pbuf += rc; 51 *pbuf = '\0'; /* fear of bad vsnprintf */ 52 *ppbuf = pbuf;
|
| socktohost.c | 31 char * pbuf; local 45 LIB_GETBUF(pbuf); 47 if (getnameinfo(&sock->sa, SOCKLEN(sock), pbuf, LIB_BUFLENGTH, 53 TRACE(1, ("%s reversed to %s\n", stoa(sock), pbuf)); 66 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 76 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 82 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 108 return pbuf; /* forward check passed */ 112 TRACE(1, ("%s forward check lookup fail: %s\n", pbuf, 115 snprintf(pliar, LIB_BUFLENGTH, "%s (%s)", stoa(sock), pbuf); [all...] |
| /src/sys/dev/ |
| md_root.c | 100 char pbuf[PBUFLEN]; local 107 format_bytes(pbuf, sizeof(pbuf), md->md_size); 108 aprint_verbose("md%d: internal %s image area\n", unit, pbuf);
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| getpass.c | 66 #define PBUF 512 77 static char pbuf[PBUF]; local 110 if ( i < (sizeof(pbuf)-1) ) 111 pbuf[i++] = c; 126 pbuf[i] = '\0'; 127 return (pbuf);
|
| /src/sys/arch/evbppc/virtex/ |
| machdep.c | 158 char pbuf[9]; local 167 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 168 printf("total memory = %s\n", pbuf); 183 format_bytes(pbuf, sizeof(pbuf), ptoa(uvm_availmem(false))); 184 printf("avail memory = %s\n", pbuf);
|
| /src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| ec_print.c | 23 unsigned char *buf = NULL, *pbuf; local 36 pbuf = buf; 38 int v = (int)*(pbuf++);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| ec_print.c | 81 unsigned char *buf = NULL, *pbuf; local 94 pbuf = buf; 96 int v = (int)*(pbuf++);
|
| /src/sys/arch/sgimips/ioc/ |
| if_le_oioc.c | 159 char pbuf[9]; local 230 format_bytes(pbuf, sizeof(pbuf), OIOC_LANCE_NPAGES * PAGE_SIZE); 231 aprint_normal(": main memory used = %s\n", pbuf);
|
| /src/usr.sbin/makefs/ |
| msdos.c | 222 char pbuf[MAXPATHLEN]; local 229 if ((size_t)snprintf(pbuf, sizeof(pbuf), "%s/%s/%s", 230 cur->root, cur->path, cur->name) >= sizeof(pbuf)) { 231 warnx("path %s too long", pbuf); 251 if ((de = msdosfs_mkdire(pbuf, dir, cur)) == NULL) { 252 warn("msdosfs_mkdire %s", pbuf); 255 if (msdos_populate_dir(pbuf, de, cur->child, cur, 257 warn("msdos_populate_dir %s", pbuf); 266 if (msdosfs_mkfile(pbuf, dir, cur) == NULL) [all...] |
| /src/external/bsd/blocklist/bin/ |
| blocklistctl.c | 142 char mbuf[64], pbuf[64]; local 155 star(pbuf, sizeof(pbuf), c.c_port));
|
| /src/games/backgammon/backgammon/ |
| main.c | 87 static char pbuf[10]; variable 197 pbuf[i] = readc(); 198 if (pbuf[i] == '\n') 206 pbuf[i] = '\0'; 208 if (pbuf[i] != password[i])
|
| /src/sys/arch/ews4800mips/ews4800mips/ |
| machdep.c | 214 char pbuf[9]; local 218 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 219 printf("total memory = %s\n", pbuf); 233 format_bytes(pbuf, sizeof(pbuf), ptoa(uvm_availmem(false))); 234 printf("avail memory = %s\n", pbuf);
|
| /src/sys/arch/i386/stand/misc/ |
| rawrite.c | 127 char *buffer, *pbuf; local 162 pbuf = buffer; 165 status = biosdisk(WRITE, drive, head, track, ns, 3, pbuf); 170 pbuf += (3*SECTORSIZE);
|
| /src/sys/compat/netbsd32/ |
| netbsd32_execve.c | 121 char *pbuf = NULL, **pathp = NULL, *pathp32 = NULL; local 149 pbuf = PNBUF_GET(); 161 error = copyinstr(pathp32, pbuf, MAXPATHLEN, &slen); 165 memcpy(*pathp, pbuf, slen); 169 PNBUF_PUT(pbuf); 176 if (pbuf) 177 PNBUF_PUT(pbuf);
|
| /src/sys/dev/altmem/ |
| altmem.c | 107 char pbuf[9]; local 114 format_bytes(pbuf, sizeof(pbuf), sc->sc_size); 117 aprint_normal(": %s\n", pbuf);
|
| /src/usr.sbin/rip6query/ |
| rip6query.c | 82 char pbuf[NI_MAXSERV]; local 114 snprintf(pbuf, sizeof(pbuf), "%d", RIP6_PORT); 118 error = getaddrinfo(argv[0], pbuf, &hints, &res);
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| security.c | 71 vchar_t *pbuf = NULL; local 90 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, len); 91 if (pbuf == NULL) 94 pa = (struct isakmp_parse_t *)pbuf->v; 99 vfree(pbuf); 106 vfree(pbuf);
|
| /src/crypto/external/apache2/openssl/dist/crypto/ |
| der_writer.c | 84 unsigned char *pbuf = tmp + (sizeof(tmp) - 1); local 87 *pbuf-- = (value & 0xFF);
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| iruserok.c | 228 char pbuf[MaxPathLen]; local 244 snprintf (pbuf, sizeof(pbuf), "%s/.rhosts", pwd->pw_dir); 254 hostf = fopen(pbuf, "r"); 264 if (lstat(pbuf, &sbuf) < 0)
|
| /src/crypto/external/bsd/openssl/dist/crypto/ |
| der_writer.c | 84 unsigned char *pbuf = tmp + (sizeof(tmp) - 1); local 87 *pbuf-- = (value & 0xFF);
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/ |
| decode_epki2pki.c | 90 char pbuf[1024]; local 95 if (!pw_cb(pbuf, sizeof(pbuf), &plen, NULL, pw_cbarg)) { 104 if (!PKCS12_pbe_crypt_ex(alg, pbuf, plen,
|
| /src/external/bsd/less/dist/ |
| lessecho.c | 53 char *pbuf = buf; local 59 *pbuf++ = *p; 60 *pbuf = '\0';
|
| /src/sys/arch/mvme68k/mvme68k/ |
| machdep.c | 381 char pbuf[9]; local 384 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 385 (*pr)("total memory = %s", pbuf); 392 format_bytes(pbuf, sizeof(pbuf), 394 (*pr)(" (%s on-board", pbuf); 395 format_bytes(pbuf, sizeof(pbuf), vmememsize); 396 (*pr)(", %s VMEbus)", pbuf); [all...] |
| /src/sys/arch/powerpc/ibm4xx/ |
| ibm4xx_machdep.c | 397 char pbuf[9]; local 427 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 428 printf("total memory = %s\n", pbuf); 443 format_bytes(pbuf, sizeof(pbuf), ptoa(uvm_availmem(false))); 444 printf("avail memory = %s\n", pbuf);
|