/freebsd-10-stable/contrib/amd/amd/ |
H A D | get_args.c | 67 char tmpbuf[1024]; local 87 xsnprintf(tmpbuf, sizeof(tmpbuf), "%s version %s (build %d).\n", 89 xstrlcat(vers, tmpbuf, len); 90 xsnprintf(tmpbuf, sizeof(tmpbuf), "Report bugs to %s.\n", PACKAGE_BUGREPORT); 91 xstrlcat(vers, tmpbuf, len); 99 xsnprintf(tmpbuf, sizeof(tmpbuf), "Configured by %s@%s on date %s.\n", 101 xstrlcat(vers, tmpbuf, le [all...] |
/freebsd-10-stable/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-10-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_zfs.c | 102 char tmpbuf[128]; local 107 snprintf(tmpbuf, sizeof(tmpbuf)-1, "blanket=/dev/zfs:%s:%s", 109 setenv("RUMPHIJACK", tmpbuf, 1); 116 snprintf(tmpbuf, sizeof(tmpbuf)-1, "zpool create %s %s", 118 if ((error = system(tmpbuf)) != 0) {
|
/freebsd-10-stable/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-10-stable/crypto/openssl/crypto/des/ |
H A D | enc_read.c | 102 static unsigned char *tmpbuf = NULL; 107 if (tmpbuf == NULL) { 108 tmpbuf = OPENSSL_malloc(BSIZE); 109 if (tmpbuf == NULL) 217 DES_pcbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); 219 DES_cbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); 225 memcpy(buf, tmpbuf, num);
|
/freebsd-10-stable/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-10-stable/contrib/netbsd-tests/lib/libcurses/slave/ |
H A D | slave.c | 60 char *cmdbuf, *tmpbuf, **args, **tmpargs; local 78 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL) 81 cmdbuf = tmpbuf; 127 ret = asprintf(&tmpbuf, 134 args[argslen] = tmpbuf;
|
/freebsd-10-stable/lib/libc/inet/ |
H A D | nsap_addr.c | 85 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local 91 ascii = tmpbuf; 92 start = tmpbuf;
|
/freebsd-10-stable/usr.bin/patch/ |
H A D | util.c | 332 char *tmpbuf; local 334 if ((tmpbuf = strdup(filename)) == NULL) 338 char *s = strrchr(tmpbuf, '/'); 340 free(tmpbuf); 345 if (mkpath(tmpbuf) != 0) 346 pfatal("creation of %s failed", tmpbuf); 347 free(tmpbuf); 409 char *filebase, *filedir, tmpbuf[PATH_MAX]; local 416 (snprintf(tmpbuf, sizeof tmpbuf, [all...] |
/freebsd-10-stable/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-10-stable/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-10-stable/sys/dev/sound/pcm/ |
H A D | buffer.c | 135 if (b->tmpbuf) 136 free(b->tmpbuf, M_DEVBUF); 151 b->tmpbuf = NULL; 165 u_int8_t *tmpbuf; local 187 tmpbuf = malloc(allocsize, M_DEVBUF, M_WAITOK); 191 __func__, b, b->tmpbuf, tmpbuf, 193 if (b->tmpbuf != NULL) 194 free(b->tmpbuf, M_DEVBUF); 195 b->tmpbuf 215 u_int8_t *buf, *tmpbuf, *shadbuf; local [all...] |
/freebsd-10-stable/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-10-stable/crypto/openssl/crypto/rand/ |
H A D | rand_unix.c | 249 unsigned char tmpbuf[ENTROPY_NEEDED]; local 358 r = read(fd, (unsigned char *)tmpbuf + n, 397 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf + n, 406 RAND_add(tmpbuf, sizeof tmpbuf, (double)n); 407 OPENSSL_cleanse(tmpbuf, n);
|
/freebsd-10-stable/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-10-stable/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-10-stable/contrib/wpa/src/eap_server/ |
H A D | eap_tls_common.h | 52 struct wpabuf tmpbuf; member in struct:eap_ssl_data
|
H A D | eap_server_ikev2.c | 349 struct wpabuf tmpbuf; local 421 wpabuf_set(&tmpbuf, pos, end - pos); 422 data->in_buf = &tmpbuf; 426 if (data->in_buf == &tmpbuf) 451 if (data->in_buf != &tmpbuf)
|
H A D | eap_server_tls_common.c | 342 wpabuf_set(&data->tmpbuf, *pos, end - *pos); 343 data->tls_in = &data->tmpbuf; 352 if (data->tls_in != &data->tmpbuf)
|
H A D | eap_server_tnc.c | 454 struct wpabuf tmpbuf; local 525 wpabuf_set(&tmpbuf, pos, end - pos); 526 data->in_buf = &tmpbuf; 533 if (data->in_buf != &tmpbuf)
|
H A D | eap_server_wsc.c | 357 struct wpabuf tmpbuf; local 432 wpabuf_set(&tmpbuf, pos, end - pos); 433 data->in_buf = &tmpbuf; 459 if (data->in_buf != &tmpbuf)
|
/freebsd-10-stable/contrib/ntp/lib/isc/win32/ |
H A D | fsaccess.c | 63 char tmpbuf[256]; local 87 strcpy(tmpbuf, filename); 88 machinename = strtok(tmpbuf, "\\");
|
/freebsd-10-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_ikev2.c | 331 struct wpabuf tmpbuf; local 405 wpabuf_set(&tmpbuf, pos, end - pos); 406 data->in_buf = &tmpbuf; 410 if (data->in_buf == &tmpbuf) 416 if (data->in_buf != &tmpbuf)
|
H A D | eap_tnc.c | 211 struct wpabuf tmpbuf; local 283 wpabuf_set(&tmpbuf, pos, end - pos); 284 data->in_buf = &tmpbuf; 338 if (data->in_buf != &tmpbuf) 403 if (data->in_buf == &tmpbuf)
|
/freebsd-10-stable/sbin/restore/ |
H A D | tape.c | 324 # define tmpbuf tmpspcl.s_spcl macro 430 if (gethead(&tmpbuf) == FAIL) { 436 if (tmpbuf.c_volume != volno) { 438 (intmax_t)tmpbuf.c_volume); 442 if (_time64_to_time(tmpbuf.c_date) != dumpdate || 443 _time64_to_time(tmpbuf.c_ddate) != dumptime) { 444 time_t t = _time64_to_time(tmpbuf.c_date); 460 (intmax_t)prevtapea, (intmax_t)tmpbuf.c_tapea); 461 if (tmpbuf.c_type == TS_TAPE) { 469 for (i = tmpbuf [all...] |