/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdntrace/ |
H A D | q931.c | 44 decode_q931(char *pbuf, int n, int off, unsigned char *buf, int raw) argument 58 *pbuf = '\0'; 64 sprintf((pbuf+strlen(pbuf)),"Dump:%.3d ", i+off); 67 sprintf((pbuf+strlen(pbuf)),"%02x ", buf[i + j]); 69 sprintf((pbuf+strlen(pbuf))," "); 70 sprintf((pbuf+strlen(pbuf))," "); [all...] |
H A D | 1tr6.c | 40 static int p_1tr6address(char *pbuf, unsigned char buf[]); 41 static int p_1tr6cause(char *pbuf, unsigned char buf[]); 47 decode_1tr6(char *pbuf, int n, int off, unsigned char *buf, int raw) argument 61 *pbuf = '\0'; 67 sprintf((pbuf+strlen(pbuf)),"Dump:%.3d ", i+off); 70 sprintf((pbuf+strlen(pbuf)),"%02x ", buf[i + j]); 72 sprintf((pbuf+strlen(pbuf))," "); 642 p_1tr6cause(char *pbuf, unsigned char buf[]) argument 700 p_1tr6address(char *pbuf, unsigned char buf[]) argument [all...] |
H A D | q932_fac.c | 61 static int do_component(int length, char *pbuf); 65 static void next_state(char *pbuf, int class, int form, int code, int val); 67 static void object_id(int comp_length, unsigned char *pbuf); 77 q932_facility(char *pbuf, unsigned char *buf) argument 81 sprintf((pbuf+strlen(pbuf)), "[facility (Q.932): "); 89 sprintf((pbuf+strlen(pbuf)), "Protocol="); 94 sprintf((pbuf+strlen(pbuf)), "Remot 137 do_component(int length, char *pbuf) argument 604 F_1_1(char *pbuf, int val) argument 620 F_1_2(char *pbuf, int val) argument 635 F_1_3(char *pbuf, int val) argument 650 F_1_4(char *pbuf, int val) argument 666 F_RJ2(char *pbuf, int val) argument 682 F_RJ30(char *pbuf, int val) argument 716 F_RJ31(char *pbuf, int val) argument 765 F_RJ32(char *pbuf, int val) argument 799 F_RJ33(char *pbuf, int val) argument 839 F_2(char *pbuf, int val) argument 855 F_RR2(char *pbuf, int val) argument 871 F_3(char *pbuf, int val) argument 887 F_RR3(char *pbuf, int val) argument 903 F_RRR(char *pbuf, int val) argument 915 F_4(char *pbuf, int val) argument 931 F_4_1(char *pbuf, int val) argument 947 F_4_2(char *pbuf, int val) argument 963 F_5(char *pbuf, int val) argument 979 F_6(char *pbuf, int val) argument 995 F_7(char *pbuf, int val) argument 1011 F_8(char *pbuf, int val) argument 1027 F_9(char *pbuf, int val) argument 1095 next_state(char *pbuf, int class, int form, int code, int val) argument 1126 object_id(int comp_length, unsigned char *pbuf) argument [all...] |
H A D | q931_util.c | 44 p_q931cause(char *pbuf, unsigned char *buf) argument 73 sprintf((pbuf+strlen(pbuf)), "%s ", print_cause_q850(buf[i] & 0x7f)); 75 sprintf((pbuf+strlen(pbuf)), "\n (location="); 80 sprintf((pbuf+strlen(pbuf)), "user"); 83 sprintf((pbuf+strlen(pbuf)), "private network serving local user"); 86 sprintf((pbuf 169 p_q931bc(char *pbuf, unsigned char *buf) argument 450 p_q931address(char *pbuf, unsigned char *buf) argument 578 p_q931high_compat(char *pbuf, unsigned char *buf) argument 702 p_q931user_user(char *pbuf, unsigned char *buf) argument 779 p_q931notification(char *pbuf, unsigned char *buf) argument 902 p_q931redir(char *pbuf, unsigned char *buf) argument [all...] |
H A D | unknownl3.c | 44 decode_unknownl3(char *pbuf, int n, int off, unsigned char *buf, int raw) argument 53 *pbuf = '\0'; 59 sprintf((pbuf+strlen(pbuf)),"Dump:%.3d ", i+off); 62 sprintf((pbuf+strlen(pbuf)),"%02x ", buf[i + j]); 64 sprintf((pbuf+strlen(pbuf))," "); 65 sprintf((pbuf+strlen(pbuf))," "); [all...] |
H A D | trace.h | 78 int decode_lapd(char *pbuf, int n, unsigned char *buf, int is_te, int raw, int printit); 79 void decode_q931(char *pbuf, int n, int off, unsigned char *buf, int raw); 80 void decode_unknownl3(char *pbuf, int n, int off, unsigned char *buf, int raw); 81 void decode_1tr6(char *pbuf, int n, int off, unsigned char *buf, int raw); 83 int q931_facility(char *pbuf, unsigned char *buf); 84 int p_q931cause(char *pbuf, unsigned char *buf); 85 int p_q931address(char *pbuf, unsigned char *buf); 86 int p_q931bc(char *pbuf, unsigned char *buf); 87 int p_q931high_compat(char *pbuf, unsigned char *buf); 88 int q932_facility(char *pbuf, unsigne [all...] |
H A D | q921.c | 47 decode_lapd(char *pbuf, int n, unsigned char *buf, int dir, int raw, int printit) argument 56 *pbuf = '\0'; 247 sprintf((pbuf+strlen(pbuf)),"Dump:%.3d ", i); 250 sprintf((pbuf+strlen(pbuf)),"%02x ", buf[i + j]); 252 sprintf((pbuf+strlen(pbuf))," "); 253 sprintf((pbuf+strlen(pbuf))," "); [all...] |
H A D | trace.c | 555 char *pbuf; local 570 pbuf = &l1buf[0]; 575 sprintf((pbuf+strlen(pbuf)),"I430: INFO0 (No Signal)\n"); 579 sprintf((pbuf+strlen(pbuf)),"I430: INFO1 (Activation Request, Priority = 8, from TE)\n"); 583 sprintf((pbuf+strlen(pbuf)),"I430: INFO1 (Activation Request, Priority = 10, from TE)\n"); 587 sprintf((pbuf+strlen(pbuf)),"I43 [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_ripencc.c | 3219 /* pbuf is the pointer to the current location of the text output */ 3221 *pbuf; variable 3284 pbuf += sprintf(pbuf, "\nChannel A Configuration"); 3289 pbuf += sprintf(pbuf, "\n Transmit speed: %s at %s", 3293 pbuf += sprintf(pbuf, "\n Receive speed: %s at %s", 3301 pbuf += sprintf(pbuf, "\ [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/ |
H A D | bio_ndef.c | 96 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 97 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg); 98 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg); 99 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg); 155 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, void *parg) argument 193 *pbuf = NULL; 198 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, in argument 208 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument [all...] |
/netbsd-6-1-5-RELEASE/sbin/mount_portal/ |
H A D | pt_file.c | 134 char pbuf[MAXPATHLEN]; local 140 pbuf[0] = '/'; 141 strlcpy(pbuf + 1, key + (v[1] ? strlen(v[1]) : 0), sizeof(pbuf) - 1); 143 pbuf, pcr->pcr_uid, pcr->pcr_gid); 155 fd = open(pbuf, O_RDWR | O_CREAT, 0666); 161 "Trying read-only open...", pbuf); 163 fd = open(pbuf, O_RDONLY, 0); 172 DEBUG_SYSLOG(LOG_DEBUG, "Error: could not open '%s': %m", pbuf);
|
/netbsd-6-1-5-RELEASE/sys/dev/ |
H A D | md_root.c | 99 char pbuf[PBUFLEN]; local 106 format_bytes(pbuf, sizeof(pbuf), md->md_size); 107 aprint_verbose("md%d: internal %s image area\n", unit, pbuf);
|
/netbsd-6-1-5-RELEASE/sys/arch/acorn26/acorn26/ |
H A D | machdep.c | 145 char pbuf[9]; local 151 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 152 printf("total memory = %s\n", pbuf); 169 format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free)); 170 printf("avail memory = %s\n", pbuf);
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | getpass.c | 73 static char pbuf[PBUF]; local 111 if ( i < (sizeof(pbuf)-1) ) 112 pbuf[i++] = c; 127 pbuf[i] = '\0'; 128 return (pbuf);
|
/netbsd-6-1-5-RELEASE/distrib/utils/more/ |
H A D | 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...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/pkcs12/ |
H A D | p12_crpt.c | 75 const unsigned char *pbuf; local 85 pbuf = param->value.sequence->data; 86 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
|
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/ |
H A D | isakmp_newg.c | 89 vchar_t *pbuf = NULL; 92 if ((pbuf = isakmp_parse(msg)) == NULL) 95 for (pa = (struct isakmp_parse_t *)pbuf->v; 106 vfree(pbuf); 117 vfree(pbuf); 131 vfree(pbuf); 135 vfree(pbuf);
|
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/atheros/ |
H A D | machdep.c | 309 char pbuf[9]; local 323 format_bytes(pbuf, sizeof(pbuf), ctob(physmem)); 324 printf("total memory = %s\n", pbuf); 342 format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free)); 343 printf("avail memory = %s\n", pbuf);
|
/netbsd-6-1-5-RELEASE/games/hack/ |
H A D | 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))
|
/netbsd-6-1-5-RELEASE/lib/libskey/ |
H A D | 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[ [all...] |
/netbsd-6-1-5-RELEASE/sbin/iscsictl/ |
H A D | iscsic_main.c | 420 int *pbuf; local 422 pbuf = (int *)(void *)buf; 423 rsp = (iscsid_response_t *)(void *)&pbuf[1]; 424 *pbuf = 0; 444 if (NULL == (pbuf = (int *) malloc(len + sizeof(int)))) 448 rsp = (iscsid_response_t *)(void *)&pbuf[1]; 449 *pbuf = 1; 474 int *pbuf; local 476 pbuf = ((int *)(void *)rsp) - 1; 477 if (*pbuf) [all...] |
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/libipsec/ |
H A D | 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 */ 476 if (pbuf) { 477 free(pbuf); 480 pbuf = malloc(sizeof(struct sadb_x_policy)); 481 if (pbuf == NULL) { 487 memset(pbuf, 0, tlen); 488 p = (struct sadb_x_policy *)pbuf; 525 n = realloc(pbuf, tle [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ofw/ |
H A D | ofw_subr.c | 177 char *pbuf; local 181 pbuf = malloc(OFW_PATH_BUF_SIZE, M_TEMP, M_WAITOK); 182 l = OF_package_to_path(phandle, pbuf, OFW_PATH_BUF_SIZE); 186 (l == OFW_PATH_BUF_SIZE && pbuf[OFW_PATH_BUF_SIZE - 1] != '\0')) { 196 pbuf[l] = '\0'; 197 lastslash = strrchr(pbuf, '/'); 198 strlcpy(buf, (lastslash == NULL) ? pbuf : (lastslash + 1), 203 free(pbuf, M_TEMP);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | 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)
|
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/ |
H A D | resend.c | 41 static u_char pbuf[65536]; /* 1 big packet */ variable 98 ip = (struct ip *)pbuf; 114 while ((i = (*r->r_readip)((char *)pbuf, sizeof(pbuf), NULL, NULL)) > 0) 136 eh = (ether_header_t *)pbuf;
|