Searched refs:tmpbuf (Results 1 - 25 of 60) sorted by relevance

123

/freebsd-9.3-release/contrib/ntp/libntp/
H A Dis_ip_address.c37 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 Dget_args.c71 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 Dacl_to_text.c59 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 Denc_read.c100 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 Dgetether.c197 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 Drand_unix.c160 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 Dnsap_addr.c85 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local
91 ascii = tmpbuf;
92 start = tmpbuf;
/freebsd-9.3-release/contrib/ntp/ntpq/
H A Dlibntpq.c60 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 Ddump_entry.c67 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 De_cswift.c547 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 Dbuffer.c134 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 Drefclock_neoclock4x.c728 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 Dgetaddresses.c90 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 Dutil.c336 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 Dsearch.c447 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 Dasn1pars.c98 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 Deap_tls_common.h58 struct wpabuf tmpbuf; member in struct:eap_ssl_data
H A Deap_server_ikev2.c354 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 Deap_server_tls_common.c332 wpabuf_set(&data->tmpbuf, *pos, end - *pos);
333 data->tls_in = &data->tmpbuf;
342 if (data->tls_in != &data->tmpbuf)
H A Deap_server_tnc.c460 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 Dfsaccess.c63 char tmpbuf[256]; local
87 strcpy(tmpbuf, filename);
88 machinename = strtok(tmpbuf, "\\");
/freebsd-9.3-release/contrib/wpa/src/eap_peer/
H A Deap_ikev2.c337 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 Deap_tnc.c218 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 Deap_wsc.c387 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 Dtape.c322 # 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...]

Completed in 182 milliseconds

123