Home
last modified time | relevance | path

Searched refs:reply_len (Results 1 – 25 of 33) sorted by relevance

12

/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/
Dnetworkconfig.ui.h101 size_t reply_len; in addNetwork() local
119 reply_len = sizeof(reply) - 1; in addNetwork()
122 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
208 reply_len = sizeof(reply); in addNetwork()
209 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
216 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
231 size_t reply_len; in setNetworkParam() local
234 reply_len = sizeof(reply); in setNetworkParam()
235 wpagui->ctrlRequest(cmd, reply, &reply_len); in setNetworkParam()
296 static int key_value_isset(const char *reply, size_t reply_len) in key_value_isset() argument
[all …]
Dscanresults.ui.h39 size_t reply_len; in updateResults() local
44 reply_len = sizeof(reply) - 1; in updateResults()
45 if (wpagui->ctrlRequest("SCAN_RESULTS", reply, &reply_len) < 0) in updateResults()
47 reply[reply_len] = '\0'; in updateResults()
75 size_t reply_len = sizeof(reply); in scanRequest() local
80 wpagui->ctrlRequest("SCAN", reply, &reply_len); in scanRequest()
Dwpagui.ui.h490 size_t reply_len = sizeof(reply); in disconnect() local
491 ctrlRequest("DISCONNECT", reply, &reply_len); in disconnect()
661 size_t reply_len = sizeof(reply); in connectB() local
662 ctrlRequest("REASSOCIATE", reply, &reply_len); in connectB()
670 size_t reply_len = sizeof(reply); in selectNetwork() local
679 ctrlRequest(cmd.ascii(), reply, &reply_len); in selectNetwork()
/external/wpa_supplicant/wpa_gui/
Dnetworkconfig.ui.h101 size_t reply_len; in addNetwork() local
119 reply_len = sizeof(reply) - 1; in addNetwork()
122 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
205 reply_len = sizeof(reply); in addNetwork()
206 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
213 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
228 size_t reply_len; in setNetworkParam() local
231 reply_len = sizeof(reply); in setNetworkParam()
232 wpagui->ctrlRequest(cmd, reply, &reply_len); in setNetworkParam()
293 static int key_value_isset(const char *reply, size_t reply_len) in key_value_isset() argument
[all …]
Dscanresults.ui.h39 size_t reply_len; in updateResults() local
44 reply_len = sizeof(reply) - 1; in updateResults()
45 if (wpagui->ctrlRequest("SCAN_RESULTS", reply, &reply_len) < 0) in updateResults()
47 reply[reply_len] = '\0'; in updateResults()
75 size_t reply_len = sizeof(reply); in scanRequest() local
80 wpagui->ctrlRequest("SCAN", reply, &reply_len); in scanRequest()
/external/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp131 size_t reply_len; in addNetwork() local
150 reply_len = sizeof(reply) - 1; in addNetwork()
153 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
241 reply_len = sizeof(reply); in addNetwork()
242 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
250 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
266 size_t reply_len; in setNetworkParam() local
269 reply_len = sizeof(reply); in setNetworkParam()
270 wpagui->ctrlRequest(cmd, reply, &reply_len); in setNetworkParam()
332 static int key_value_isset(const char *reply, size_t reply_len) in key_value_isset() argument
[all …]
Dscanresults.cpp64 size_t reply_len; in updateResults() local
69 reply_len = sizeof(reply) - 1; in updateResults()
70 if (wpagui->ctrlRequest("SCAN_RESULTS", reply, &reply_len) < 0) in updateResults()
72 reply[reply_len] = '\0'; in updateResults()
102 size_t reply_len = sizeof(reply); in scanRequest() local
107 wpagui->ctrlRequest("SCAN", reply, &reply_len); in scanRequest()
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp185 size_t reply_len; in addNetwork() local
220 reply_len = sizeof(reply) - 1; in addNetwork()
223 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
391 reply_len = sizeof(reply); in addNetwork()
392 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
400 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
416 size_t reply_len; in setNetworkParam() local
419 reply_len = sizeof(reply); in setNetworkParam()
420 wpagui->ctrlRequest(cmd, reply, &reply_len); in setNetworkParam()
482 static int key_value_isset(const char *reply, size_t reply_len) in key_value_isset() argument
[all …]
Dscanresults.cpp60 size_t reply_len; in updateResults() local
72 reply_len = sizeof(reply) - 1; in updateResults()
73 if (wpagui->ctrlRequest(cmd, reply, &reply_len) < 0) in updateResults()
75 reply[reply_len] = '\0'; in updateResults()
120 size_t reply_len = sizeof(reply); in scanRequest() local
125 wpagui->ctrlRequest("SCAN", reply, &reply_len); in scanRequest()
Dwpagui.cpp706 size_t reply_len = sizeof(reply); in disconnect() local
707 ctrlRequest("DISCONNECT", reply, &reply_len); in disconnect()
943 size_t reply_len = sizeof(reply); in connectB() local
944 ctrlRequest("REASSOCIATE", reply, &reply_len); in connectB()
952 size_t reply_len = sizeof(reply); in selectNetwork() local
966 ctrlRequest(cmd.toAscii().constData(), reply, &reply_len); in selectNetwork()
976 size_t reply_len = sizeof(reply); in enableNetwork() local
988 ctrlRequest(cmd.toAscii().constData(), reply, &reply_len); in enableNetwork()
997 size_t reply_len = sizeof(reply); in disableNetwork() local
1009 ctrlRequest(cmd.toAscii().constData(), reply, &reply_len); in disableNetwork()
[all …]
/external/wpa_supplicant/
Dctrl_iface_udp.c134 size_t *reply_len) in wpa_supplicant_ctrl_iface_get_cookie() argument
139 *reply_len = 1; in wpa_supplicant_ctrl_iface_get_cookie()
147 *reply_len = 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_get_cookie()
162 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local
186 reply = wpa_supplicant_ctrl_iface_get_cookie(priv, &reply_len); in wpa_supplicant_ctrl_iface_receive()
221 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
224 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
228 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
230 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
234 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface.c1162 int reply_len; in wpa_supplicant_ctrl_iface_process() local
1181 reply_len = 3; in wpa_supplicant_ctrl_iface_process()
1185 reply_len = 5; in wpa_supplicant_ctrl_iface_process()
1187 reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
1188 if (reply_len >= 0) { in wpa_supplicant_ctrl_iface_process()
1190 res = eapol_sm_get_mib(wpa_s->eapol, reply + reply_len, in wpa_supplicant_ctrl_iface_process()
1191 reply_size - reply_len); in wpa_supplicant_ctrl_iface_process()
1193 reply_len = -1; in wpa_supplicant_ctrl_iface_process()
1195 reply_len += res; in wpa_supplicant_ctrl_iface_process()
1198 reply_len = wpa_supplicant_ctrl_iface_status( in wpa_supplicant_ctrl_iface_process()
[all …]
Dwpa_ctrl.c261 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
308 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_request()
319 if ((size_t) res == *reply_len) in wpa_ctrl_request()
320 res = (*reply_len) - 1; in wpa_ctrl_request()
326 *reply_len = res; in wpa_ctrl_request()
367 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) in wpa_ctrl_recv() argument
371 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_recv()
374 *reply_len = res; in wpa_ctrl_recv()
472 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
476 DWORD readlen = *reply_len; in wpa_ctrl_request()
[all …]
Dctrl_iface_unix.c145 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local
158 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
161 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
165 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
167 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
171 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
173 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
176 &reply_len); in wpa_supplicant_ctrl_iface_receive()
180 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in wpa_supplicant_ctrl_iface_receive()
183 } else if (reply_len == 1) { in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface_named_pipe.c289 size_t reply_len = 0, send_len; in wpa_supplicant_ctrl_iface_rx() local
302 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
306 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
310 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
313 &reply_len); in wpa_supplicant_ctrl_iface_rx()
318 send_len = reply_len; in wpa_supplicant_ctrl_iface_rx()
319 } else if (reply_len == 2) { in wpa_supplicant_ctrl_iface_rx()
723 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local
732 &reply_len); in wpa_supplicant_global_iface_rx()
735 send_len = reply_len; in wpa_supplicant_global_iface_rx()
[all …]
Dwpa_ctrl.h109 char *reply, size_t *reply_len,
151 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface_udp.c134 size_t *reply_len) in wpa_supplicant_ctrl_iface_get_cookie() argument
139 *reply_len = 1; in wpa_supplicant_ctrl_iface_get_cookie()
147 *reply_len = 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_get_cookie()
162 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local
186 reply = wpa_supplicant_ctrl_iface_get_cookie(priv, &reply_len); in wpa_supplicant_ctrl_iface_receive()
221 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
224 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
228 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
230 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
234 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface.c1634 int reply_len; in wpa_supplicant_ctrl_iface_process() local
1656 reply_len = 3; in wpa_supplicant_ctrl_iface_process()
1660 reply_len = 5; in wpa_supplicant_ctrl_iface_process()
1662 reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); in wpa_supplicant_ctrl_iface_process()
1663 if (reply_len >= 0) { in wpa_supplicant_ctrl_iface_process()
1665 res = eapol_sm_get_mib(wpa_s->eapol, reply + reply_len, in wpa_supplicant_ctrl_iface_process()
1666 reply_size - reply_len); in wpa_supplicant_ctrl_iface_process()
1668 reply_len = -1; in wpa_supplicant_ctrl_iface_process()
1670 reply_len += res; in wpa_supplicant_ctrl_iface_process()
1673 reply_len = wpa_supplicant_ctrl_iface_status( in wpa_supplicant_ctrl_iface_process()
[all …]
Dctrl_iface_unix.c151 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local
164 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
167 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
171 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
173 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
177 reply_len = 1; in wpa_supplicant_ctrl_iface_receive()
179 reply_len = 2; in wpa_supplicant_ctrl_iface_receive()
182 &reply_len); in wpa_supplicant_ctrl_iface_receive()
186 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in wpa_supplicant_ctrl_iface_receive()
189 } else if (reply_len == 1) { in wpa_supplicant_ctrl_iface_receive()
[all …]
Dctrl_iface_named_pipe.c289 size_t reply_len = 0, send_len; in wpa_supplicant_ctrl_iface_rx() local
302 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
306 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
310 reply_len = 2; in wpa_supplicant_ctrl_iface_rx()
313 &reply_len); in wpa_supplicant_ctrl_iface_rx()
318 send_len = reply_len; in wpa_supplicant_ctrl_iface_rx()
319 } else if (reply_len == 2) { in wpa_supplicant_ctrl_iface_rx()
724 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local
733 &reply_len); in wpa_supplicant_global_iface_rx()
736 send_len = reply_len; in wpa_supplicant_global_iface_rx()
[all …]
/external/e2fsprogs/misc/
Duuidd.c118 int32_t reply_len = 0; in call_daemon() local
164 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in call_daemon()
171 if (reply_len < 0 || reply_len > buflen) { in call_daemon()
177 ret = read_all(s, (char *) buf, reply_len); in call_daemon()
180 if (reply_len >= (int) (16+sizeof(int))) in call_daemon()
204 int32_t reply_len = 0; in server_loop() local
324 reply_len = strlen((char *) reply_buf)+1; in server_loop()
328 reply_len = strlen((char *) reply_buf)+1; in server_loop()
338 reply_len = sizeof(uu); in server_loop()
348 reply_len = sizeof(uu); in server_loop()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dwpa_ctrl.c289 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
336 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_request()
347 if ((size_t) res == *reply_len) in wpa_ctrl_request()
348 res = (*reply_len) - 1; in wpa_ctrl_request()
354 *reply_len = res; in wpa_ctrl_request()
395 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) in wpa_ctrl_recv() argument
399 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_recv()
402 *reply_len = res; in wpa_ctrl_recv()
504 char *reply, size_t *reply_len, in wpa_ctrl_request() argument
508 DWORD readlen = *reply_len; in wpa_ctrl_request()
[all …]
Dwpa_ctrl.h136 char *reply, size_t *reply_len,
178 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_privsep.c51 void *reply, size_t *reply_len) in wpa_priv_cmd() argument
88 res = recv(drv->cmd_socket, reply, *reply_len, 0); in wpa_priv_cmd()
93 *reply_len = res; in wpa_priv_cmd()
129 size_t reply_len = 60000; in wpa_driver_privsep_get_scan_results2() local
133 buf = os_malloc(reply_len); in wpa_driver_privsep_get_scan_results2()
137 NULL, 0, buf, &reply_len); in wpa_driver_privsep_get_scan_results2()
144 (unsigned long) reply_len); in wpa_driver_privsep_get_scan_results2()
145 if (reply_len < sizeof(int)) { in wpa_driver_privsep_get_scan_results2()
147 (unsigned long) reply_len); in wpa_driver_privsep_get_scan_results2()
153 end = buf + reply_len; in wpa_driver_privsep_get_scan_results2()
/external/chromium/base/
Dunix_domain_socket_posix.cc118 const ssize_t reply_len = RecvMsg(fds[0], reply, max_reply_len, &fd_vector); in SendRecvMsg() local
120 if (reply_len == -1) in SendRecvMsg()
142 return reply_len; in SendRecvMsg()

12