Searched refs:tmp_buf (Results 1 - 18 of 18) sorted by relevance

/freebsd-10.1-release/contrib/amd/wire-test/
H A Dwire-test.c59 char *testhost, *proto, *tmp_buf; local
74 tmp_buf = print_wires();
75 if (tmp_buf) {
76 fprintf(stderr, "%s", tmp_buf);
77 XFREE(tmp_buf);
/freebsd-10.1-release/contrib/amd/amd/
H A Damq_subr.c213 static char tmp_buf[MAXPATHLEN]; local
216 tmp_buf[0] = prev_buf[0] = '\0'; /* default is empty string: no match */
233 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf));
234 xstrlcat(tmp_buf, &dir[len], sizeof(tmp_buf));
237 /* once tmp_buf and prev_buf are equal, break out of "do" loop */
238 if (STREQ(tmp_buf, prev_buf))
241 xstrlcpy(prev_buf, tmp_buf, sizeof(prev_buf));
246 tmp_buf, MAX_PAWD_TRIE
[all...]
/freebsd-10.1-release/contrib/amd/amq/
H A Dpawd.c244 char tmp_buf[MAXPATHLEN], *wd; local
247 wd = getawd(tmp_buf, sizeof(tmp_buf));
249 fprintf(stderr, "pawd: %s\n", tmp_buf);
/freebsd-10.1-release/crypto/openssl/crypto/x509/
H A Dx509_obj.c77 char tmp_buf[80]; local
106 i2t_ASN1_OBJECT(tmp_buf, sizeof(tmp_buf), ne->object);
107 s = tmp_buf;
/freebsd-10.1-release/crypto/openssl/crypto/evp/
H A Ddigest.c286 unsigned char *tmp_buf; local
300 tmp_buf = out->md_data;
303 tmp_buf = NULL;
308 if (tmp_buf)
309 out->md_data = tmp_buf;
/freebsd-10.1-release/crypto/openssl/ssl/
H A Dd1_clnt.c995 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
1023 tmp_buf[0] = s->client_version >> 8;
1024 tmp_buf[1] = s->client_version & 0xff;
1025 if (RAND_bytes(&(tmp_buf[2]), sizeof tmp_buf - 2) <= 0)
1028 s->session->master_key_length = sizeof tmp_buf;
1034 n = RSA_public_encrypt(sizeof tmp_buf,
1035 tmp_buf, p, rsa, RSA_PKCS1_PADDING);
1040 tmp_buf[0] = 0x70;
1058 tmp_buf,
1073 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
[all...]
H A Ds3_clnt.c2346 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
2374 tmp_buf[0] = s->client_version >> 8;
2375 tmp_buf[1] = s->client_version & 0xff;
2376 if (RAND_bytes(&(tmp_buf[2]), sizeof tmp_buf - 2) <= 0)
2379 s->session->master_key_length = sizeof tmp_buf;
2385 n = RSA_public_encrypt(sizeof tmp_buf,
2386 tmp_buf, p, rsa, RSA_PKCS1_PADDING);
2391 tmp_buf[0] = 0x70;
2409 tmp_buf,
2424 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
[all...]
/freebsd-10.1-release/sys/arm/ti/twl/
H A Dtwl.c228 uint8_t tmp_buf[TWL_MAX_IIC_DATA_SIZE + 1]; local
235 tmp_buf[0] = reg;
236 memcpy(&tmp_buf[1], buf, cnt);
252 msg.buf = tmp_buf;
/freebsd-10.1-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_shar.c434 char tmp_buf[3]; local
435 tmp_buf[0] = inbuf[0];
437 tmp_buf[1] = '\0';
439 tmp_buf[1] = inbuf[1];
440 tmp_buf[2] = '\0';
441 uuencode_group(tmp_buf, buf);
/freebsd-10.1-release/lib/libc/db/hash/
H A Dhash_bigkey.c436 memmove(hashp->tmp_buf, (save_p->page) + off, len);
437 val->data = (u_char *)hashp->tmp_buf;
460 if (hashp->tmp_buf)
461 free(hashp->tmp_buf);
462 if ((hashp->tmp_buf = (char *)malloc(totlen)) == NULL)
490 memmove(&hashp->tmp_buf[len], (bufp->page) + bp[1], mylen);
H A Dhash.h98 char *tmp_buf; /* Temporary Buffer for BIG data */ member in struct:htab
H A Dhash.c422 if (hashp->tmp_buf)
423 free(hashp->tmp_buf);
/freebsd-10.1-release/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c1849 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
1854 tmp_buf = evbuffer_new();
1855 evbuffer_add_printf(tmp_buf, "Contents of chunk 100\n");
1856 evbuffer_add_buffer(buf, tmp_buf);
1857 evbuffer_add_printf(tmp_buf, "Contents of chunk 1\n");
1858 evbuffer_add_buffer(buf, tmp_buf);
1878 if (tmp_buf)
1879 evbuffer_free(tmp_buf);
1885 struct evbuffer *buf = NULL, *tmp_buf = NULL; local
1896 tmp_buf
2003 struct evbuffer *buf = NULL, *tmp_buf=NULL; local
[all...]
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Host/common/
H A DFileSpec.cpp172 std::string tmp_buf("~");
173 tmp_buf.append(user_entry->pw_name);
174 tmp_buf.push_back('/');
175 name_list.insert(tmp_buf);
/freebsd-10.1-release/contrib/binutils/gas/
H A Dread.c1010 char *tmp_buf = 0;
1035 tmp_buf = xmalloc (tmp_len + 1);
1036 memcpy (tmp_buf, s, tmp_len);
1051 tmp_buf = xrealloc (tmp_buf, tmp_len + num);
1052 memcpy (tmp_buf + tmp_len, buffer, num);
1059 s = tmp_buf;
1093 if (tmp_buf)
1094 free (tmp_buf);
1007 char *tmp_buf = 0; local
/freebsd-10.1-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dcq.c423 struct mlx4_ib_cq_buf tmp_buf; local
429 tmp_buf = cq->buf;
440 mlx4_ib_free_cq_buf(dev, &tmp_buf, tmp_cqe);
/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/
H A Dosm_qos_parser_y.y2630 char tmp_buf[30];
2637 sprintf(tmp_buf, "%s%u", __SIMPLE_QOS_LEVEL_NAME, i);
2638 osm_qos_policy_simple_qos_levels[i].name = strdup(tmp_buf);
/freebsd-10.1-release/contrib/gcc/config/rs6000/
H A Drs6000.c18047 char tmp_buf[512];
18067 strcpy (tmp_buf, "\n");
18068 strcat (tmp_buf, label);
18075 strcat (tmp_buf, ":\n\tmflr r0\n\tbcl 20,31,");
18076 strcat (tmp_buf, label);
18077 strcat (tmp_buf, "_pic\n");
18078 strcat (tmp_buf, label);
18079 strcat (tmp_buf, "_pic:\n\tmflr r11\n");
18081 strcat (tmp_buf, "\taddis r11,r11,ha16(");
18082 strcat (tmp_buf, name_bu
18001 char tmp_buf[512]; local
[all...]

Completed in 206 milliseconds