/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | is_ip_address.c | 37 char tmpbuf[128]; local 63 if (sizeof(tmpbuf) > strlen(host)) { 65 strlcpy(tmpbuf, &host[1], sizeof(tmpbuf)); 66 pch = strchr(tmpbuf, ']'); 70 strlcpy(tmpbuf, host, sizeof(tmpbuf)); 75 if (getaddrinfo(tmpbuf, NULL, &hints, &result) == 0) {
|
/freebsd-9.3-release/contrib/amd/amd/ |
H A D | get_args.c | 71 char tmpbuf[1024]; local 91 xsnprintf(tmpbuf, sizeof(tmpbuf), "%s version %s (build %d).\n", 93 strlcat(vers, tmpbuf, len); 94 xsnprintf(tmpbuf, sizeof(tmpbuf), "Report bugs to %s.\n", PACKAGE_BUGREPORT); 95 strlcat(vers, tmpbuf, len); 96 xsnprintf(tmpbuf, sizeof(tmpbuf), "Configured by %s@%s on date %s.\n", 98 strlcat(vers, tmpbuf, le [all...] |
/freebsd-9.3-release/lib/libc/posix1e/ |
H A D | acl_to_text.c | 59 char *buf, *tmpbuf; local 90 len = asprintf(&tmpbuf, "%suser::%s\n", buf, 95 buf = tmpbuf; 117 len = asprintf(&tmpbuf, "%suser:%s:%s\t\t# " 122 len = asprintf(&tmpbuf, "%suser:%s:%s\n", buf, 128 buf = tmpbuf; 145 len = asprintf(&tmpbuf, "%sgroup::%s\t\t# " 149 len = asprintf(&tmpbuf, "%sgroup::%s\n", buf, 155 buf = tmpbuf; 177 len = asprintf(&tmpbuf, " [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/des/ |
H A D | enc_read.c | 100 static unsigned char *tmpbuf = NULL; local 105 if (tmpbuf == NULL) { 106 tmpbuf = OPENSSL_malloc(BSIZE); 107 if (tmpbuf == NULL) 211 DES_pcbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); 213 DES_cbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); 219 memcpy(buf, tmpbuf, num);
|
/freebsd-9.3-release/libexec/bootpd/ |
H A D | getether.c | 197 char tmpbuf[sizeof(union DL_primitives) + 16]; 230 memset(tmpbuf, 0, sizeof(tmpbuf)); 231 dlp = (union DL_primitives *) tmpbuf; 234 cbuf.buf = tmpbuf; 241 cbuf.buf = tmpbuf; 242 cbuf.maxlen = sizeof(tmpbuf); 272 memset(tmpbuf, 0, sizeof(tmpbuf)); 273 dlp = (union DL_primitives *) tmpbuf; 194 char tmpbuf[sizeof(union DL_primitives) + 16]; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/rand/ |
H A D | rand_unix.c | 160 unsigned char tmpbuf[ENTROPY_NEEDED]; local 262 r = read(fd, (unsigned char *)tmpbuf + n, 297 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf + n, 306 RAND_add(tmpbuf, sizeof tmpbuf, (double)n); 307 OPENSSL_cleanse(tmpbuf, n);
|
/freebsd-9.3-release/lib/libc/inet/ |
H A D | nsap_addr.c | 85 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local 91 ascii = tmpbuf; 92 start = tmpbuf;
|
/freebsd-9.3-release/contrib/ntp/ntpq/ |
H A D | libntpq.c | 60 char* tmpbuf = srcbuf; local 62 while ( *tmpbuf != 0 ) 64 if ( *tmpbuf == '\"' ) 66 tmpbuf++; 70 if ( *tmpbuf == '\\' ) 72 tmpbuf++; 73 switch ( *tmpbuf ) 84 tmpbuf++; 89 *resultbuf++ = *tmpbuf++;
|
/freebsd-9.3-release/contrib/ncurses/progs/ |
H A D | dump_entry.c | 67 static DYNBUF tmpbuf; variable 141 free_DYN(&tmpbuf); 485 strncpy_DYN(&tmpbuf, src++, 1); 495 tmpbuf.text[tmpbuf.used - 1] = '\n'; 498 indent_DYN(&tmpbuf, level); 499 strncpy_DYN(&tmpbuf, "%", 1); 500 strncpy_DYN(&tmpbuf, src, 1); 504 strncpy_DYN(&tmpbuf, "\n", 1); 505 indent_DYN(&tmpbuf, leve [all...] |
/freebsd-9.3-release/crypto/openssl/engines/ |
H A D | e_cswift.c | 547 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; local 549 sprintf(tmpbuf, "%ld", sw_status); 550 ERR_add_error_data(2, "CryptoSwift error number is ", tmpbuf); 563 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; local 565 sprintf(tmpbuf, "%ld", sw_status); 566 ERR_add_error_data(2, "CryptoSwift error number is ", tmpbuf); 684 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; local 686 sprintf(tmpbuf, "%ld", sw_status); 687 ERR_add_error_data(2, "CryptoSwift error number is ", tmpbuf); 700 char tmpbuf[DECIMAL_SIZ local 856 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; local 873 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; local 958 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; local 979 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; local 1048 char tmpbuf[20]; local 1063 char tmpbuf[20]; local [all...] |
/freebsd-9.3-release/sys/dev/sound/pcm/ |
H A D | buffer.c | 134 if (b->tmpbuf) 135 free(b->tmpbuf, M_DEVBUF); 150 b->tmpbuf = NULL; 164 u_int8_t *tmpbuf; local 186 tmpbuf = malloc(allocsize, M_DEVBUF, M_WAITOK); 190 __func__, b, b->tmpbuf, tmpbuf, 192 if (b->tmpbuf != NULL) 193 free(b->tmpbuf, M_DEVBUF); 194 b->tmpbuf 214 u_int8_t *buf, *tmpbuf, *shadbuf; local [all...] |
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | refclock_neoclock4x.c | 728 char tmpbuf[80]; local 733 snprintf(tmpbuf, sizeof(tmpbuf)-1, 738 tt = add_var(&out->kv_list, sizeof(tmpbuf)-1, RO|DEF); 739 snprintf(tt, sizeof(tmpbuf)-1, "calc_utc=\"%s\"", tmpbuf); 903 char tmpbuf[256]; local 920 memset(tmpbuf, 0x00, sizeof(tmpbuf)); 934 strlcpy(tmpbuf, "unknow [all...] |
/freebsd-9.3-release/contrib/bind9/lib/bind9/ |
H A D | getaddresses.c | 90 char tmpbuf[128], *d; local 93 strcpy(tmpbuf, hostname); 94 d = strchr(tmpbuf, '%'); 98 if (inet_pton(AF_INET6, tmpbuf, &in6) == 1) {
|
/freebsd-9.3-release/gnu/usr.bin/patch/ |
H A D | util.c | 336 char tmpbuf[256]; local 337 Reg2 char *s = tmpbuf; 343 * Copy `filename' into `tmpbuf' with a NUL instead of a slash 367 if (stat(tmpbuf, &sbuf) && errno == ENOENT) { 371 strcpy(s, tmpbuf); 388 char tmpbuf[200]; local 433 /* Put any leading path into `tmpbuf'. */ 434 strncpy(tmpbuf, name, pathlen); 437 (Sprintf(tmpbuf + pathlen, f, a1, a2), stat(tmpbuf, [all...] |
/freebsd-9.3-release/lib/libedit/ |
H A D | search.c | 447 char tmpbuf[EL_BUFSIZ]; local 451 tmpbuf[0] = '.'; 452 tmpbuf[1] = '*'; 458 tmplen = c_gets(el, &tmpbuf[LEN], 464 ch = tmpbuf[tmplen]; 465 tmpbuf[tmplen] = '\0'; 478 (void) strncpy(tmpbuf, el->el_search.patbuf, 479 sizeof(tmpbuf) - 1); 482 (void) strncpy(&el->el_search.patbuf[2], tmpbuf, 492 tmpbuf[tmple [all...] |
/freebsd-9.3-release/crypto/openssl/apps/ |
H A D | asn1pars.c | 98 unsigned char *tmpbuf; local 292 tmpbuf = (unsigned char *)str; 303 tmpbuf += j; 306 ctmpbuf = tmpbuf; 323 tmpbuf = at->value.asn1_string->data; 326 str = (char *)tmpbuf;
|
/freebsd-9.3-release/contrib/wpa/src/eap_server/ |
H A D | eap_tls_common.h | 58 struct wpabuf tmpbuf; member in struct:eap_ssl_data
|
H A D | eap_server_ikev2.c | 354 struct wpabuf tmpbuf; local 426 wpabuf_set(&tmpbuf, pos, end - pos); 427 data->in_buf = &tmpbuf; 431 if (data->in_buf == &tmpbuf) 456 if (data->in_buf != &tmpbuf)
|
H A D | eap_server_tls_common.c | 332 wpabuf_set(&data->tmpbuf, *pos, end - *pos); 333 data->tls_in = &data->tmpbuf; 342 if (data->tls_in != &data->tmpbuf)
|
H A D | eap_server_tnc.c | 460 struct wpabuf tmpbuf; local 531 wpabuf_set(&tmpbuf, pos, end - pos); 532 data->in_buf = &tmpbuf; 539 if (data->in_buf != &tmpbuf)
|
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/ |
H A D | fsaccess.c | 63 char tmpbuf[256]; local 87 strcpy(tmpbuf, filename); 88 machinename = strtok(tmpbuf, "\\");
|
/freebsd-9.3-release/contrib/wpa/src/eap_peer/ |
H A D | eap_ikev2.c | 337 struct wpabuf tmpbuf; local 411 wpabuf_set(&tmpbuf, pos, end - pos); 412 data->in_buf = &tmpbuf; 416 if (data->in_buf == &tmpbuf) 422 if (data->in_buf != &tmpbuf)
|
H A D | eap_tnc.c | 218 struct wpabuf tmpbuf; local 290 wpabuf_set(&tmpbuf, pos, end - pos); 291 data->in_buf = &tmpbuf; 345 if (data->in_buf != &tmpbuf) 410 if (data->in_buf == &tmpbuf)
|
H A D | eap_wsc.c | 387 struct wpabuf tmpbuf; local 477 wpabuf_set(&tmpbuf, pos, end - pos); 478 data->in_buf = &tmpbuf; 498 if (data->in_buf != &tmpbuf)
|
/freebsd-9.3-release/sbin/restore/ |
H A D | tape.c | 322 # define tmpbuf tmpspcl.s_spcl macro 428 if (gethead(&tmpbuf) == FAIL) { 434 if (tmpbuf.c_volume != volno) { 436 (intmax_t)tmpbuf.c_volume); 440 if (_time64_to_time(tmpbuf.c_date) != dumpdate || 441 _time64_to_time(tmpbuf.c_ddate) != dumptime) { 442 time_t t = _time64_to_time(tmpbuf.c_date); 458 (intmax_t)prevtapea, (intmax_t)tmpbuf.c_tapea); 459 if (tmpbuf.c_type == TS_TAPE) { 467 for (i = tmpbuf [all...] |