Searched refs:out_buf (Results 1 - 23 of 23) sorted by relevance

/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_program.c117 char *out_buf; member in struct:program_filter
401 char *out_buf; local
408 out_buf = (char *)malloc(out_buf_len);
409 if (state == NULL || out_buf == NULL ||
417 free(out_buf);
426 state->out_buf = out_buf;
432 free(state->out_buf);
443 free(state->out_buf);
483 p = state->out_buf;
[all...]
/freebsd-10.0-release/crypto/openssh/
H A Droaming_common.c41 static char *out_buf = NULL; variable
84 if (out_buf == NULL) {
86 out_buf = xmalloc(size);
125 memcpy(out_buf + out_last, buf, count);
132 memcpy(out_buf + out_last, buf, chunk);
133 memcpy(out_buf, buf + chunk, count - chunk);
214 atomicio(vwrite, fd, out_buf + out_buf_size - chunkend,
216 atomicio(vwrite, fd, out_buf, out_last);
218 atomicio(vwrite, fd, out_buf + (out_last - needed), needed);
H A Dumac.c198 UINT8 out_buf[AES_BLOCK_LEN]; local
207 aes_encryption(in_buf, out_buf, key);
208 memcpy(dst_buf,out_buf,AES_BLOCK_LEN);
214 aes_encryption(in_buf, out_buf, key);
215 memcpy(dst_buf,out_buf,nbytes);
/freebsd-10.0-release/contrib/wpa/src/eap_server/
H A Deap_server_tnc.c24 struct wpabuf *out_buf; member in struct:eap_tnc_data
98 wpabuf_free(data->out_buf);
227 send_len = wpabuf_len(data->out_buf) - data->out_used;
247 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
249 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
253 if (data->out_used == wpabuf_len(data->out_buf)) {
257 wpabuf_free(data->out_buf);
258 data->out_buf = NULL;
267 (unsigned long) wpabuf_len(data->out_buf) -
289 if (data->out_buf
[all...]
H A Deap_server_ikev2.c21 struct wpabuf *out_buf; member in struct:eap_ikev2_data
125 wpabuf_free(data->out_buf);
140 send_len = wpabuf_len(data->out_buf) - data->out_used;
175 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
177 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
190 if (data->out_used == wpabuf_len(data->out_buf)) {
194 wpabuf_free(data->out_buf);
195 data->out_buf = NULL;
200 (unsigned long) wpabuf_len(data->out_buf) -
215 if (data->out_buf
[all...]
H A Deap_server_wsc.c23 struct wpabuf *out_buf; member in struct:eap_wsc_data
159 wpabuf_free(data->out_buf);
193 send_len = wpabuf_len(data->out_buf) - data->out_used;
216 wpabuf_put_be16(req, wpabuf_len(data->out_buf));
218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
222 if (data->out_used == wpabuf_len(data->out_buf)) {
226 wpabuf_free(data->out_buf);
227 data->out_buf = NULL;
233 (unsigned long) wpabuf_len(data->out_buf) -
250 if (data->out_buf
[all...]
/freebsd-10.0-release/sys/arm/lpc/
H A Dlpc_spi.c144 uint8_t *in_buf, *out_buf; local
155 out_buf = cmd->tx_cmd;
157 lpc_spi_write_4(sc, LPC_SSP_DR, out_buf[i]);
163 out_buf = cmd->tx_data;
165 lpc_spi_write_4(sc, LPC_SSP_DR, out_buf[i]);
/freebsd-10.0-release/crypto/openssl/apps/
H A Dpasswd.c312 static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */ local
321 out_buf[0] = '$';
322 out_buf[1] = 0;
324 strncat(out_buf, magic, 4);
325 strncat(out_buf, "$", 1);
326 strncat(out_buf, salt, 8);
327 assert(strlen(out_buf) <= 6 + 8); /* "$apr1$..salt.." */
328 salt_out = out_buf + 2 + strlen(magic);
391 assert(output == out_buf + strlen(out_buf));
[all...]
/freebsd-10.0-release/contrib/wpa/src/eap_peer/
H A Deap_ikev2.c21 struct wpabuf *out_buf; member in struct:eap_ikev2_data
109 wpabuf_free(data->out_buf);
143 send_len = wpabuf_len(data->out_buf) - data->out_used;
184 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
186 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
202 if (data->out_used == wpabuf_len(data->out_buf)) {
206 wpabuf_free(data->out_buf);
207 data->out_buf = NULL;
238 (unsigned long) wpabuf_len(data->out_buf) -
420 if (data->out_buf
[all...]
H A Deap_tnc.c20 struct wpabuf *out_buf; member in struct:eap_tnc_data
59 wpabuf_free(data->out_buf);
95 send_len = wpabuf_len(data->out_buf) - data->out_used;
115 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
117 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
124 if (data->out_used == wpabuf_len(data->out_buf)) {
128 wpabuf_free(data->out_buf);
129 data->out_buf = NULL;
134 (unsigned long) wpabuf_len(data->out_buf) -
347 if (data->out_buf) {
[all...]
H A Deap_wsc.c23 struct wpabuf *out_buf; member in struct:eap_wsc_data
260 wpabuf_free(data->out_buf);
280 send_len = wpabuf_len(data->out_buf) - data->out_used;
300 wpabuf_put_be16(resp, wpabuf_len(data->out_buf));
302 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
309 if (data->out_used == wpabuf_len(data->out_buf)) {
313 wpabuf_free(data->out_buf);
314 data->out_buf = NULL;
326 (unsigned long) wpabuf_len(data->out_buf) -
522 if (data->out_buf
[all...]
/freebsd-10.0-release/crypto/heimdal/appl/push/
H A Dpush.c214 char out_buf[PUSH_BUFSIZ]; local
273 out_len = snprintf (out_buf, sizeof(out_buf),
276 if (out_len < 0 || out_len > sizeof(out_buf))
278 if (net_write (s, out_buf, out_len) != out_len)
281 fprintf (stderr, "%s", out_buf);
481 out_len = snprintf (out_buf, sizeof(out_buf),
484 out_len = snprintf (out_buf, sizeof(out_buf),
[all...]
/freebsd-10.0-release/contrib/xz/src/xzdec/
H A Dxzdec.c165 uint8_t out_buf[BUFSIZ]; local
168 strm->next_out = out_buf;
203 if (fwrite(out_buf, 1, write_size, stdout)
213 strm->next_out = out_buf;
/freebsd-10.0-release/contrib/binutils/gas/
H A Dapp.c199 static char out_buf[20]; variable
217 char out_buf[sizeof (out_buf)]; member in struct:app_save
240 memcpy (saved->out_buf, out_buf, sizeof (out_buf));
276 memcpy (out_buf, saved->out_buf, sizeof (out_buf));
1030 sprintf (out_buf, "
[all...]
/freebsd-10.0-release/share/examples/libusb20/
H A Dbulk.c60 uint8_t out_buf[BUFLEN]; variable
124 if ((rv = libusb20_tr_bulk_intr_sync(xfr_out, out_buf, out_len, &rlen, TIMEOUT))
208 out_buf[out_len] = (uint8_t)n;
H A Dcontrol.c62 uint8_t out_buf[BUFLEN]; variable
119 data = out_buf;
378 out_buf[out_len] = (uint8_t)n;
/freebsd-10.0-release/sys/dev/drm2/i915/
H A Dintel_modes.c44 u8 out_buf[] = { 0x0, 0x0}; local
51 .buf = out_buf,
/freebsd-10.0-release/usr.sbin/ctm/ctm_rmail/
H A Dctm_rmail.c42 int decode_line(char *line, char *out_buf);
270 char out_buf[200]; local
378 n = decode_line(line, out_buf);
393 add_ck(cksum, out_buf[i]);
395 fwrite(out_buf, sizeof(char), n, ofp);
610 decode_line(char *line, char *out_buf) argument
613 unsigned char *op = (unsigned char *)out_buf;
644 return op - (unsigned char *)out_buf;
/freebsd-10.0-release/contrib/xz/src/xz/
H A Dcoder.c37 static io_buf out_buf; variable
474 strm.next_out = out_buf.u8;
497 if (opt_mode != MODE_TEST && io_write(pair, &out_buf,
501 strm.next_out = out_buf.u8;
518 &out_buf, IO_BUFFER_SIZE
/freebsd-10.0-release/contrib/wpa/src/crypto/
H A Dtls_schannel.c322 struct wpabuf *out_buf = NULL; local
386 out_buf = wpabuf_alloc_copy(outbufs[0].pvBuffer,
390 if (out_buf == NULL)
410 if (out_buf == NULL)
411 out_buf = wpabuf_alloc(0);
440 "(out_buf=%p)", out_buf);
443 return out_buf;
454 return out_buf;
/freebsd-10.0-release/contrib/atf/atf-c/detail/
H A Dfs.c813 goto out_buf;
818 out_buf:
842 goto out_buf;
848 out_buf:
/freebsd-10.0-release/sys/dev/drm2/radeon/
H A Dradeon_i2c.c1279 u8 out_buf[2]; local
1286 .buf = out_buf,
1296 out_buf[0] = addr;
1297 out_buf[1] = 0;
1313 uint8_t out_buf[2]; local
1318 .buf = out_buf,
1321 out_buf[0] = addr;
1322 out_buf[1] = val;
/freebsd-10.0-release/sys/cam/scsi/
H A Dscsi_sg.c798 goto out_buf;
840 out_buf:

Completed in 179 milliseconds