/freebsd-11-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-11-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-11-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-11-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-11-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-11-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-11-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-11-stable/lib/libc/inet/ |
H A D | nsap_addr.c | 84 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local 90 ascii = tmpbuf; 91 start = tmpbuf;
|
/freebsd-11-stable/contrib/ncurses/progs/ |
H A D | dump_entry.c | 68 static DYNBUF tmpbuf; variable 153 free_DYN(&tmpbuf); 507 strncpy_DYN(&tmpbuf, src++, (size_t) 1); 517 tmpbuf.text[tmpbuf.used - 1] = '\n'; 520 indent_DYN(&tmpbuf, level); 521 strncpy_DYN(&tmpbuf, "%", (size_t) 1); 522 strncpy_DYN(&tmpbuf, src, (size_t) 1); 526 strncpy_DYN(&tmpbuf, "\n", (size_t) 1); 527 indent_DYN(&tmpbuf, leve [all...] |
/freebsd-11-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-11-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...] |
H A D | feeder_mixer.c | 198 cnt = FEEDER_FEED(c->feeder->source, c, b->tmpbuf, 201 sndbuf_acquire(b, b->tmpbuf, cnt); 242 cnt = FEEDER_FEED(ch->feeder, ch, bs->tmpbuf, 245 sndbuf_acquire(bs, bs->tmpbuf, cnt);
|
/freebsd-11-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);
|
/freebsd-11-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-11-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-11-stable/lib/libedit/ |
H A D | search.c | 465 Char tmpbuf[EL_BUFSIZ]; local 469 tmpbuf[0] = '.'; 470 tmpbuf[1] = '*'; 476 tmplen = c_gets(el, &tmpbuf[LEN], 482 ch = tmpbuf[tmplen]; 483 tmpbuf[tmplen] = '\0'; 496 (void) Strncpy(tmpbuf, el->el_search.patbuf, 497 sizeof(tmpbuf) / sizeof(*tmpbuf) - 1); 500 (void) Strncpy(&el->el_search.patbuf[2], tmpbuf, [all...] |
/freebsd-11-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-11-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_tnc.c | 454 struct wpabuf tmpbuf; local 526 wpabuf_set(&tmpbuf, pos, end - pos); 527 data->in_buf = &tmpbuf; 534 if (data->in_buf != &tmpbuf)
|
/freebsd-11-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-11-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_tnc.c | 216 struct wpabuf tmpbuf; local 289 wpabuf_set(&tmpbuf, pos, end - pos); 290 data->in_buf = &tmpbuf; 344 if (data->in_buf != &tmpbuf) 404 if (data->in_buf == &tmpbuf)
|
H A D | eap_ikev2.c | 337 struct wpabuf tmpbuf; local 408 wpabuf_set(&tmpbuf, pos, end - pos); 409 data->in_buf = &tmpbuf; 413 if (data->in_buf == &tmpbuf) 419 if (data->in_buf != &tmpbuf)
|
/freebsd-11-stable/sbin/restore/ |
H A D | tape.c | 325 # define tmpbuf tmpspcl.s_spcl macro 432 if (gethead(&tmpbuf) == FAIL) { 438 if (tmpbuf.c_volume != volno) { 440 (intmax_t)tmpbuf.c_volume); 444 if (_time64_to_time(tmpbuf.c_date) != dumpdate || 445 _time64_to_time(tmpbuf.c_ddate) != dumptime) { 446 time_t t = _time64_to_time(tmpbuf.c_date); 462 (intmax_t)prevtapea, (intmax_t)tmpbuf.c_tapea); 463 if (tmpbuf.c_type == TS_TAPE) { 471 for (i = tmpbuf [all...] |
/freebsd-11-stable/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_smime.c | 550 BIO *tmpbuf, *bread; local 552 if (!(tmpbuf = BIO_new(BIO_f_buffer()))) { 557 if (!(bread = BIO_push(tmpbuf, tmpmem))) { 559 BIO_free_all(tmpbuf);
|
/freebsd-11-stable/usr.bin/rpcgen/ |
H A D | rpc_svcout.c | 190 char tmpbuf[32]; local 197 sprintf(tmpbuf, "%s\t\t", sp); 198 print_err_message(tmpbuf); 212 print_err_message(tmpbuf); 233 print_err_message(tmpbuf); 968 char tmpbuf[32]; local 991 (void) sprintf(tmpbuf, "%s\t\t", sp); 992 print_err_message(tmpbuf); 1018 print_err_message(tmpbuf);
|