| /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/external/bsd/ntp/dist/ntpd/ |
| refclock_ripencc.c | 3215 /* pbuf is the pointer to the current location of the text output */ 3217 *pbuf; variable 3280 pbuf += sprintf(pbuf, "\nChannel A Configuration"); 3285 pbuf += sprintf(pbuf, "\n Transmit speed: %s at %s", 3289 pbuf += sprintf(pbuf, "\n Receive speed: %s at %s", 3297 pbuf += sprintf(pbuf, "\n Character format (bits/char, parity, stop bits): %d-%s-%d" [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| bio_ndef.c | 45 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 46 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 48 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 49 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, 129 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) 147 *pbuf = p; 153 *plen = *ndef_aux->boundary - *pbuf; 158 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 174 *pbuf = NULL; 179 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| bio_ndef.c | 45 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 46 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 48 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 49 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, 129 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) 149 *pbuf = p; 155 *plen = *ndef_aux->boundary - *pbuf; 160 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 176 *pbuf = NULL; 181 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen [all...] |
| /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/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/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| bio_ndef.c | 45 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 46 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 48 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 49 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, 129 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) 149 *pbuf = p; 155 *plen = *ndef_aux->boundary - *pbuf; 160 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, 176 *pbuf = NULL; 181 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen [all...] |
| /src/distrib/utils/more/ |
| command.c | 157 char pbuf[40]; local 184 (void)snprintf(pbuf, sizeof(pbuf), " file %d/%d", 186 putstr(pbuf); 189 (void)snprintf(pbuf, sizeof(pbuf), " line %d", 191 putstr(pbuf); 194 (void)snprintf(pbuf, sizeof(pbuf), " byte %lld", 196 putstr(pbuf); [all...] |
| /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/sbin/iscsictl/ |
| iscsic_main.c | 399 int *pbuf; local 401 pbuf = (int *)(void *)buf; 402 rsp = (iscsid_response_t *)(void *)&pbuf[1]; 403 *pbuf = 0; 421 if (NULL == (pbuf = (int *) malloc(len + sizeof(int)))) 425 rsp = (iscsid_response_t *)(void *)&pbuf[1]; 426 *pbuf = 1; 451 int *pbuf; local 453 pbuf = ((int *)(void *)rsp) - 1; 454 if (*pbuf) [all...] |
| /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/games/hack/ |
| hack.topl.c | 215 char pbuf[BUFSZ]; local 216 char *bp = pbuf, *tl; 222 (void) strlcpy(pbuf, line, sizeof(pbuf)); 224 (void) vsnprintf(pbuf, sizeof(pbuf), line, ap); 225 if (flags.toplin == 1 && !strcmp(pbuf, toplines))
|
| /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/dist/ipsec-tools/src/racoon/ |
| isakmp_newg.c | 88 vchar_t *pbuf = NULL; 91 if ((pbuf = isakmp_parse(msg)) == NULL) 94 for (pa = (struct isakmp_parse_t *)pbuf->v; 105 vfree(pbuf); 116 vfree(pbuf); 130 vfree(pbuf); 134 vfree(pbuf);
|
| /src/sys/arch/mvme68k/mvme68k/ |
| machdep.c | 385 char pbuf[9]; local 402 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 403 printf("total memory = %s", pbuf); 410 format_bytes(pbuf, sizeof(pbuf), 412 printf(" (%s on-board", pbuf); 413 format_bytes(pbuf, sizeof(pbuf), vmememsize); 414 printf(", %s VMEbus)", pbuf); [all...] |
| /src/lib/libskey/ |
| skeylogin.c | 446 char pbuf[SKEY_MAX_PW_LEN+1], skeyprompt[SKEY_MAX_CHALLENGE+1]; local 467 if (gethostname(pbuf, sizeof(pbuf)) == -1) 468 *(p = pbuf) = '.'; 470 for (p = pbuf; *p && isalnum((u_char) *p); p++) 473 if (*p && pbuf - p < 4) 474 (void)strncpy(p, "asjd", 4 - (pbuf - p)); 475 pbuf[4] = '\0'; 528 pbuf[i] = (ptr % 10) + '0'; 531 pbuf[i] = '\0' [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/rpz/testlib/ |
| test-data.h | 119 wdns_str_to_name(const char *str, uint8_t **pbuf, bool downcase); 122 reverse_labels(const char *str, char *pbuf); 141 get_address_info(const char *astr, int *pfamily, char *pbuf,
|
| test-data.c | 56 wdns_str_to_name(const char *str, uint8_t **pbuf, bool downcase); 81 get_address_info(const char *astr, int *pfamily, char *pbuf, 89 if (astr == NULL || pfamily == NULL || pbuf == NULL) { 182 sprintf(pbuf, "%u.%u.%u.%u", values[3], values[2], values[1], 198 *pbuf = 0; 206 strcat(pbuf, ":"); 211 sprintf(&pbuf[strlen(pbuf)], 214 sprintf(&pbuf[strlen(pbuf)], "%x" [all...] |
| /src/crypto/dist/ipsec-tools/src/libipsec/ |
| policy_parse.y | 100 static u_int8_t *pbuf = NULL; /* sadb_x_policy buffer */ 101 static int tlen = 0; /* total length of pbuf */ 102 static int offset = 0; /* offset of pbuf */ 473 if (pbuf) { 474 free(pbuf); 477 pbuf = malloc(sizeof(struct sadb_x_policy)); 478 if (pbuf == NULL) { 484 memset(pbuf, 0, tlen); 485 p = (struct sadb_x_policy *)pbuf; 521 n = realloc(pbuf, tlen) [all...] |
| /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/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/powerpc/ibm4xx/ |
| ibm4xx_machdep.c | 352 char pbuf[9]; local 382 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 383 printf("total memory = %s\n", pbuf); 398 format_bytes(pbuf, sizeof(pbuf), ptoa(uvm_availmem(false))); 399 printf("avail memory = %s\n", pbuf);
|
| /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);
|