HomeSort by relevance Sort by last modified time
    Searched refs:out_buf (Results 1 - 25 of 45) sorted by null

1 2

  /system/extras/libublock/
ublock.c 37 char *out_buf; member in struct:ublock_ctx
130 char *out_buf; local
142 out_buf = (char *)(out_h + 1);
144 out_h->status = (ub_ctx->ops->read)(out_buf, in_h->length, in_h->offset);
189 void *out_buf; local
207 out_buf = out_h + 1;
231 result = (handle_fn)(ub_ctx, in_buf, in_buf_len, out_buf, &out_buf_len);
239 void *out_buf, size_t out_size)
247 assert(out_buf);
253 result = ublock_handle_request(ub_ctx, in_buf, in_len, out_buf, &out_len)
343 char *in_buf, *out_buf; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_tls_common.c 62 os_free(data->out_buf);
117 if (data->out_buf == NULL) {
118 wpa_printf(MSG_ERROR, "SSL: out_buf NULL in %s", __func__);
123 send_len = wpabuf_len(data->out_buf) - data->out_used;
144 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
146 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
150 if (data->out_used == wpabuf_len(data->out_buf)) {
154 wpabuf_free(data->out_buf);
155 data->out_buf = NULL;
161 (unsigned long) wpabuf_len(data->out_buf)
    [all...]
eap_tnc.c 29 struct wpabuf *out_buf; member in struct:eap_tnc_data
68 wpabuf_free(data->out_buf);
196 send_len = wpabuf_len(data->out_buf) - data->out_used;
216 wpabuf_put_be32(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;
232 (unsigned long) wpabuf_len(data->out_buf) -
250 if (data->out_buf == NULL)
    [all...]
eap_ikev2.c 27 struct wpabuf *out_buf; member in struct:eap_ikev2_data
130 wpabuf_free(data->out_buf);
145 send_len = wpabuf_len(data->out_buf) - data->out_used;
180 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
182 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
195 if (data->out_used == wpabuf_len(data->out_buf)) {
199 wpabuf_free(data->out_buf);
200 data->out_buf = NULL;
205 (unsigned long) wpabuf_len(data->out_buf) -
220 if (data->out_buf == NULL)
    [all...]
eap_wsc.c 28 struct wpabuf *out_buf; member in struct:eap_wsc_data
145 wpabuf_free(data->out_buf);
179 send_len = wpabuf_len(data->out_buf) - data->out_used;
202 wpabuf_put_be16(req, wpabuf_len(data->out_buf));
204 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
208 if (data->out_used == wpabuf_len(data->out_buf)) {
212 wpabuf_free(data->out_buf);
213 data->out_buf = NULL;
219 (unsigned long) wpabuf_len(data->out_buf) -
236 if (data->out_buf == NULL)
    [all...]
eap_tls_common.h 29 struct wpabuf *out_buf; member in struct:eap_ssl_data
  /external/chromium/third_party/libjingle/source/talk/base/
schanneladapter.cc 500 CSecBufferBundle<4> out_buf; local
501 out_buf[0].BufferType = SECBUFFER_STREAM_HEADER;
502 out_buf[0].cbBuffer = impl_->sizes.cbHeader;
503 out_buf[1].BufferType = SECBUFFER_DATA;
504 out_buf[1].cbBuffer = static_cast<unsigned long>(encrypt_len);
505 out_buf[2].BufferType = SECBUFFER_STREAM_TRAILER;
506 out_buf[2].cbBuffer = impl_->sizes.cbTrailer;
508 size_t packet_len = out_buf[0].cbBuffer
509 + out_buf[1].cbBuffer
510 + out_buf[2].cbBuffer
    [all...]
  /external/chromium/net/http/
http_auth_handler_ntlm.cc 50 // out_buf. This change will need to propagate to GetNextToken,
53 void* out_buf;
89 int rv = GetNextToken(in_buf, in_buf_len, &out_buf, &out_buf_len);
94 std::string encode_input(static_cast<char*>(out_buf), out_buf_len);
97 // OK, we are done with |out_buf|
98 free(out_buf);
http_auth_handler_ntlm_portable.cc 337 static int GenerateType1Msg(void** out_buf, uint32* out_len) {
342 *out_buf = malloc(*out_len);
343 if (!*out_buf)
349 void* cursor = *out_buf;
457 void** out_buf,
542 // Now that we have generated all of the strings, we can allocate out_buf.
546 *out_buf = malloc(*out_len);
547 if (!*out_buf)
589 void* cursor = *out_buf;
601 memcpy(static_cast<uint8*>(*out_buf) + offset, lm_resp, LM_RESP_LEN)
    [all...]
http_auth_sspi_win.cc 267 void* out_buf; local
274 &out_buf,
280 std::string encode_input(static_cast<char*>(out_buf), out_buf_len);
283 // OK, we are done with |out_buf|
284 free(out_buf);
  /external/openssh/
roaming_common.c 41 static char *out_buf = NULL; variable
82 if (out_buf == NULL) {
84 out_buf = xmalloc(size);
123 memcpy(out_buf + out_last, buf, count);
130 memcpy(out_buf + out_last, buf, chunk);
131 memcpy(out_buf, buf + chunk, count - chunk);
212 atomicio(vwrite, fd, out_buf + out_buf_size - chunkend,
214 atomicio(vwrite, fd, out_buf, out_last);
216 atomicio(vwrite, fd, out_buf + (out_last - needed), needed);
  /external/wpa_supplicant_8/src/eap_server/
eap_server_tnc.c 25 struct wpabuf *out_buf; member in struct:eap_tnc_data
99 wpabuf_free(data->out_buf);
228 send_len = wpabuf_len(data->out_buf) - data->out_used;
248 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
250 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
254 if (data->out_used == wpabuf_len(data->out_buf)) {
258 wpabuf_free(data->out_buf);
259 data->out_buf = NULL;
268 (unsigned long) wpabuf_len(data->out_buf) -
290 if (data->out_buf == NULL)
    [all...]
eap_server_ikev2.c 21 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 == NULL)
    [all...]
eap_server_wsc.c 23 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 == NULL)
    [all...]
  /external/openssl/apps/
passwd.c 312 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...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_ikev2.c 27 struct wpabuf *out_buf; member in struct:eap_ikev2_data
115 wpabuf_free(data->out_buf);
149 send_len = wpabuf_len(data->out_buf) - data->out_used;
190 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
192 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
208 if (data->out_used == wpabuf_len(data->out_buf)) {
212 wpabuf_free(data->out_buf);
213 data->out_buf = NULL;
244 (unsigned long) wpabuf_len(data->out_buf) -
426 if (data->out_buf == NULL)
    [all...]
eap_wsc.c 29 struct wpabuf *out_buf; member in struct:eap_wsc_data
158 wpabuf_free(data->out_buf);
178 send_len = wpabuf_len(data->out_buf) - data->out_used;
198 wpabuf_put_be16(resp, wpabuf_len(data->out_buf));
200 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
207 if (data->out_used == wpabuf_len(data->out_buf)) {
211 wpabuf_free(data->out_buf);
212 data->out_buf = NULL;
224 (unsigned long) wpabuf_len(data->out_buf) -
419 if (data->out_buf == NULL)
    [all...]
eap_tnc.c 27 struct wpabuf *out_buf; member in struct:eap_tnc_data
66 wpabuf_free(data->out_buf);
101 send_len = wpabuf_len(data->out_buf) - data->out_used;
121 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
123 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
130 if (data->out_used == wpabuf_len(data->out_buf)) {
134 wpabuf_free(data->out_buf);
135 data->out_buf = NULL;
140 (unsigned long) wpabuf_len(data->out_buf) -
353 if (data->out_buf) {
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_ikev2.c 21 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 == NULL)
    [all...]
eap_wsc.c 23 struct wpabuf *out_buf; member in struct:eap_wsc_data
245 wpabuf_free(data->out_buf);
265 send_len = wpabuf_len(data->out_buf) - data->out_used;
285 wpabuf_put_be16(resp, wpabuf_len(data->out_buf));
287 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
294 if (data->out_used == wpabuf_len(data->out_buf)) {
298 wpabuf_free(data->out_buf);
299 data->out_buf = NULL;
311 (unsigned long) wpabuf_len(data->out_buf) -
507 if (data->out_buf == NULL)
    [all...]
eap_tnc.c 20 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...]
  /device/samsung/crespo/include/
s5p_fimc.h 136 struct fimc_buffer out_buf; member in struct:_s5p_fimc_t
  /external/qemu/block/
qcow.c 215 algorithm for < 4 GB images. NOTE: out_buf == in_buf is
218 uint8_t *out_buf, const uint8_t *in_buf,
231 AES_cbc_encrypt(in_buf, out_buf, 512, key,
235 out_buf += 512;
395 static int decompress_buffer(uint8_t *out_buf, int out_buf_size,
405 strm->next_out = out_buf;
412 out_len = strm->next_out - out_buf;
861 uint8_t *out_buf; local
867 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128);
868 if (!out_buf)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
tls_schannel.c 330 u8 *out_buf = NULL; local
396 out_buf = os_malloc(*out_len);
397 if (out_buf)
398 os_memcpy(out_buf, outbufs[0].pvBuffer,
402 if (out_buf == NULL)
422 if (out_buf == NULL)
423 out_buf = os_malloc(1);
455 "(out_buf=%p)", out_buf);
458 return out_buf;
    [all...]
  /external/wpa_supplicant_8/src/crypto/
tls_schannel.c 322 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;

Completed in 648 milliseconds

1 2