Searched defs:send_len (Results 1 - 25 of 37) sorted by relevance

12

/external/pdfium/core/fxge/win32/
H A Dcpsoutput.cpp30 int send_len = std::min(len, 1024); local
31 *(reinterpret_cast<uint16_t*>(buffer)) = send_len;
32 FXSYS_memcpy(buffer + 2, str + sent_len, send_len);
35 // ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, buffer, 0, nullptr);
36 ::GdiComment(m_hDC, send_len + 2, reinterpret_cast<const BYTE*>(buffer));
37 sent_len += send_len;
38 len -= send_len;
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_ikev2.c141 size_t send_len, plen, icv_len = 0; local
148 send_len = wpabuf_len(data->out_buf) - data->out_used;
149 if (1 + send_len > data->fragment_size) {
150 send_len = data->fragment_size - 1;
154 send_len -= 4;
158 plen = 1 + send_len;
186 send_len);
187 data->out_used += send_len;
204 (unsigned long) send_len);
236 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_tnc.c93 size_t send_len, plen; local
100 send_len = wpabuf_len(data->out_buf) - data->out_used;
101 if (1 + send_len > data->fragment_size) {
102 send_len = data->fragment_size - 1;
106 send_len -= 4;
110 plen = 1 + send_len;
123 send_len);
124 data->out_used += send_len;
132 (unsigned long) send_len);
138 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_wsc.c302 size_t send_len, plen; local
309 send_len = wpabuf_len(data->out_buf) - data->out_used;
310 if (2 + send_len > data->fragment_size) {
311 send_len = data->fragment_size - 2;
315 send_len -= 2;
318 plen = 2 + send_len;
332 send_len);
333 data->out_used += send_len;
341 (unsigned long) send_len);
354 "(%lu more to send)", (unsigned long) send_len,
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_ikev2.c138 size_t send_len, plen, icv_len = 0; local
143 send_len = wpabuf_len(data->out_buf) - data->out_used;
144 if (1 + send_len > data->fragment_size) {
145 send_len = data->fragment_size - 1;
149 send_len -= 4;
153 plen = 1 + send_len;
181 send_len);
182 data->out_used += send_len;
196 (unsigned long) send_len);
202 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_tls_common.c174 size_t send_len, plen; local
183 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos;
184 if (1 + send_len > data->tls_out_limit) {
185 send_len = data->tls_out_limit - 1;
189 send_len -= 4;
193 plen = 1 + send_len;
206 send_len);
207 data->tls_out_pos += send_len;
212 (unsigned long) send_len);
219 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_wsc.c190 size_t send_len, plen; local
193 send_len = wpabuf_len(data->out_buf) - data->out_used;
194 if (2 + send_len > data->fragment_size) {
195 send_len = data->fragment_size - 2;
199 send_len -= 2;
202 plen = 2 + send_len;
219 send_len);
220 data->out_used += send_len;
225 (unsigned long) send_len);
232 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_tnc.c222 size_t send_len, plen; local
227 send_len = wpabuf_len(data->out_buf) - data->out_used;
228 if (1 + send_len > data->fragment_size) {
229 send_len = data->fragment_size - 1;
233 send_len -= 4;
237 plen = 1 + send_len;
250 send_len);
251 data->out_used += send_len;
256 (unsigned long) send_len);
266 "(%lu more to send)", (unsigned long) send_len,
[all...]
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_client.c88 size_t send_len; local
90 send_len = wpabuf_len(c->req) - c->req_pos;
95 (unsigned long) send_len);
97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0);
106 if ((size_t) res < send_len) {
110 (unsigned long) send_len - res);
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_ikev2.c141 size_t send_len, plen, icv_len = 0; local
148 send_len = wpabuf_len(data->out_buf) - data->out_used;
149 if (1 + send_len > data->fragment_size) {
150 send_len = data->fragment_size - 1;
154 send_len -= 4;
158 plen = 1 + send_len;
186 send_len);
187 data->out_used += send_len;
204 (unsigned long) send_len);
236 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_tnc.c93 size_t send_len, plen; local
100 send_len = wpabuf_len(data->out_buf) - data->out_used;
101 if (1 + send_len > data->fragment_size) {
102 send_len = data->fragment_size - 1;
106 send_len -= 4;
110 plen = 1 + send_len;
123 send_len);
124 data->out_used += send_len;
132 (unsigned long) send_len);
138 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_wsc.c302 size_t send_len, plen; local
309 send_len = wpabuf_len(data->out_buf) - data->out_used;
310 if (2 + send_len > data->fragment_size) {
311 send_len = data->fragment_size - 2;
315 send_len -= 2;
318 plen = 2 + send_len;
332 send_len);
333 data->out_used += send_len;
341 (unsigned long) send_len);
354 "(%lu more to send)", (unsigned long) send_len,
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_ikev2.c138 size_t send_len, plen, icv_len = 0; local
143 send_len = wpabuf_len(data->out_buf) - data->out_used;
144 if (1 + send_len > data->fragment_size) {
145 send_len = data->fragment_size - 1;
149 send_len -= 4;
153 plen = 1 + send_len;
181 send_len);
182 data->out_used += send_len;
196 (unsigned long) send_len);
202 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_tls_common.c174 size_t send_len, plen; local
183 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos;
184 if (1 + send_len > data->tls_out_limit) {
185 send_len = data->tls_out_limit - 1;
189 send_len -= 4;
193 plen = 1 + send_len;
206 send_len);
207 data->tls_out_pos += send_len;
212 (unsigned long) send_len);
219 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_wsc.c190 size_t send_len, plen; local
193 send_len = wpabuf_len(data->out_buf) - data->out_used;
194 if (2 + send_len > data->fragment_size) {
195 send_len = data->fragment_size - 2;
199 send_len -= 2;
202 plen = 2 + send_len;
219 send_len);
220 data->out_used += send_len;
225 (unsigned long) send_len);
232 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_tnc.c222 size_t send_len, plen; local
227 send_len = wpabuf_len(data->out_buf) - data->out_used;
228 if (1 + send_len > data->fragment_size) {
229 send_len = data->fragment_size - 1;
233 send_len -= 4;
237 plen = 1 + send_len;
250 send_len);
251 data->out_used += send_len;
256 (unsigned long) send_len);
266 "(%lu more to send)", (unsigned long) send_len,
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dhttp_client.c88 size_t send_len; local
90 send_len = wpabuf_len(c->req) - c->req_pos;
95 (unsigned long) send_len);
97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0);
106 if ((size_t) res < send_len) {
110 (unsigned long) send_len - res);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_ikev2.c141 size_t send_len, plen, icv_len = 0; local
148 send_len = wpabuf_len(data->out_buf) - data->out_used;
149 if (1 + send_len > data->fragment_size) {
150 send_len = data->fragment_size - 1;
154 send_len -= 4;
158 plen = 1 + send_len;
186 send_len);
187 data->out_used += send_len;
204 (unsigned long) send_len);
236 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_tnc.c93 size_t send_len, plen; local
100 send_len = wpabuf_len(data->out_buf) - data->out_used;
101 if (1 + send_len > data->fragment_size) {
102 send_len = data->fragment_size - 1;
106 send_len -= 4;
110 plen = 1 + send_len;
123 send_len);
124 data->out_used += send_len;
132 (unsigned long) send_len);
138 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_wsc.c302 size_t send_len, plen; local
309 send_len = wpabuf_len(data->out_buf) - data->out_used;
310 if (2 + send_len > data->fragment_size) {
311 send_len = data->fragment_size - 2;
315 send_len -= 2;
318 plen = 2 + send_len;
332 send_len);
333 data->out_used += send_len;
341 (unsigned long) send_len);
354 "(%lu more to send)", (unsigned long) send_len,
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_ikev2.c138 size_t send_len, plen, icv_len = 0; local
143 send_len = wpabuf_len(data->out_buf) - data->out_used;
144 if (1 + send_len > data->fragment_size) {
145 send_len = data->fragment_size - 1;
149 send_len -= 4;
153 plen = 1 + send_len;
181 send_len);
182 data->out_used += send_len;
196 (unsigned long) send_len);
202 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_tls_common.c174 size_t send_len, plen; local
183 send_len = wpabuf_len(data->tls_out) - data->tls_out_pos;
184 if (1 + send_len > data->tls_out_limit) {
185 send_len = data->tls_out_limit - 1;
189 send_len -= 4;
193 plen = 1 + send_len;
206 send_len);
207 data->tls_out_pos += send_len;
212 (unsigned long) send_len);
219 "(%lu more to send)", (unsigned long) send_len,
[all...]
H A Deap_server_wsc.c190 size_t send_len, plen; local
193 send_len = wpabuf_len(data->out_buf) - data->out_used;
194 if (2 + send_len > data->fragment_size) {
195 send_len = data->fragment_size - 2;
199 send_len -= 2;
202 plen = 2 + send_len;
219 send_len);
220 data->out_used += send_len;
225 (unsigned long) send_len);
232 "(%lu more to send)", (unsigned long) send_len,
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dhttp_client.c88 size_t send_len; local
90 send_len = wpabuf_len(c->req) - c->req_pos;
95 (unsigned long) send_len);
97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0);
106 if ((size_t) res < send_len) {
110 (unsigned long) send_len - res);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface_named_pipe.c283 size_t reply_len = 0, send_len; local
312 send_len = reply_len;
315 send_len = 3;
318 send_len = 5;
322 dst->rsp_buf = os_malloc(send_len);
328 os_memcpy(dst->rsp_buf, send_buf, send_len);
331 if (!WriteFileEx(dst->pipe, dst->rsp_buf, send_len, &dst->overlap,
719 size_t reply_len = 0, send_len; local
731 send_len = reply_len;
734 send_len
[all...]

Completed in 320 milliseconds

12