Searched refs:reply_len (Results 1 - 25 of 28) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
H A Dnetworkconfig.cpp188 size_t reply_len; local
226 reply_len = sizeof(reply) - 1;
229 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len);
405 reply_len = sizeof(reply);
406 wpagui->ctrlRequest(cmd, reply, &reply_len);
415 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len);
431 size_t reply_len; local
434 reply_len = sizeof(reply);
435 wpagui->ctrlRequest(cmd, reply, &reply_len);
496 static int key_value_isset(const char *reply, size_t reply_len) argument
510 size_t reply_len; local
793 size_t reply_len; local
830 size_t reply_len; local
[all...]
H A Dscanresults.cpp57 size_t reply_len; local
69 reply_len = sizeof(reply) - 1;
70 if (wpagui->ctrlRequest(cmd, reply, &reply_len) < 0)
72 reply[reply_len] = '\0';
117 size_t reply_len = sizeof(reply); local
122 wpagui->ctrlRequest("SCAN", reply, &reply_len);
H A Dpeers.cpp322 size_t reply_len; local
334 reply_len = sizeof(reply) - 1;
335 if (wpagui->ctrlRequest(cmd, reply, &reply_len) < 0) {
353 size_t reply_len; local
354 reply_len = sizeof(reply) - 1;
355 if (wpagui->ctrlRequest("P2P_FIND", reply, &reply_len) < 0 ||
368 size_t reply_len; local
369 reply_len = sizeof(reply) - 1;
370 wpagui->ctrlRequest("P2P_STOP_FIND", reply, &reply_len);
377 size_t reply_len; local
392 size_t reply_len; local
457 size_t reply_len; local
488 size_t reply_len; local
575 size_t reply_len; local
678 size_t reply_len; local
1062 size_t reply_len; local
1351 size_t reply_len; local
1385 size_t reply_len; local
1409 size_t reply_len; local
1432 size_t reply_len; local
1453 size_t reply_len; local
1481 size_t reply_len; local
1516 size_t reply_len; local
1536 size_t reply_len; local
1711 size_t reply_len; local
1750 size_t reply_len; local
1798 size_t reply_len; local
1823 size_t reply_len; local
1846 size_t reply_len; local
[all...]
H A Duserdatarequest.cpp82 size_t reply_len = sizeof(reply); local
92 wpagui->ctrlRequest(cmd.toLocal8Bit().constData(), reply, &reply_len);
H A Dwpagui.cpp772 size_t reply_len = sizeof(reply); local
773 ctrlRequest("DISCONNECT", reply, &reply_len);
869 size_t reply_len = sizeof(reply); local
873 ctrlRequest("SIGNAL_POLL", reply, &reply_len);
1055 size_t reply_len = sizeof(reply); local
1056 ctrlRequest("REASSOCIATE", reply, &reply_len);
1064 size_t reply_len = sizeof(reply); local
1071 ctrlRequest(cmd.toLocal8Bit().constData(), reply, &reply_len);
1081 size_t reply_len = sizeof(reply); local
1091 ctrlRequest(cmd.toLocal8Bit().constData(), reply, &reply_len);
1100 size_t reply_len = sizeof(reply); local
1190 size_t reply_len = sizeof(reply); local
1256 size_t reply_len = sizeof(reply) - 1; local
1661 size_t reply_len = sizeof(reply); local
1683 size_t reply_len = sizeof(reply) - 1; local
1721 size_t reply_len = sizeof(reply); local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface_udp.c199 size_t *reply_len)
204 *reply_len = 1;
212 *reply_len = 7 + 2 * COOKIE_LEN;
234 size_t reply_len = 0; local
271 reply = wpa_supplicant_ctrl_iface_get_cookie(priv, &reply_len);
307 reply_len = 1;
310 reply_len = 2;
315 reply_len = 1;
317 reply_len = 2;
321 reply_len
198 wpa_supplicant_ctrl_iface_get_cookie(struct ctrl_iface_priv *priv, size_t *reply_len) argument
579 wpa_supplicant_global_get_cookie(struct ctrl_iface_global_priv *priv, size_t *reply_len) argument
612 size_t reply_len; local
[all...]
H A Dctrl_iface_unix.c139 size_t reply_len = 0; local
154 reply_len = 1;
157 reply_len = 2;
162 reply_len = 1;
164 reply_len = 2;
168 reply_len = 1;
170 reply_len = 2;
173 &reply_len);
184 if (!reply && reply_len == 1) {
186 reply_len
1054 size_t reply_len; local
[all...]
H A Dctrl_iface.c7384 char *reply, int reply_size, int *reply_len)
7400 *reply_len = -1;
7407 *reply_len = os_snprintf(reply, reply_size, "FAIL-BUSY\n");
7415 *reply_len = os_snprintf(reply, reply_size, "FAIL-BUSY\n");
7429 *reply_len = -1;
7449 *reply_len = -1;
7470 *reply_len = -1;
7482 *reply_len = -1;
7537 *reply_len = os_snprintf(reply, reply_size, "%u\n",
7557 *reply_len
7383 wpas_ctrl_scan(struct wpa_supplicant *wpa_s, char *params, char *reply, int reply_size, int *reply_len) argument
8375 size_t reply_len; local
8413 int reply_len; local
9700 int reply_len; local
[all...]
H A Dctrl_iface_named_pipe.c283 size_t reply_len = 0, send_len; local
296 reply_len = 2;
300 reply_len = 2;
304 reply_len = 2;
307 &reply_len);
312 send_len = reply_len;
313 } else if (reply_len == 2) {
719 size_t reply_len = 0, send_len; local
728 &reply_len);
731 send_len = reply_len;
[all...]
H A Dap.c1372 size_t reply_len = 0, i; local
1379 if (dlen > len - reply_len)
1380 return reply_len;
1381 os_memcpy(&buf[reply_len], ap_delimiter, dlen);
1382 reply_len += dlen;
1385 reply_len += hostapd_ctrl_iface_pmksa_list(
1387 &buf[reply_len], len - reply_len);
1393 if (dlen > len - reply_len)
1394 return reply_len;
[all...]
/external/e2fsprogs/misc/
H A Duuidd.c148 int32_t reply_len = 0; local
195 ret = read_all(s, (char *) &reply_len, sizeof(reply_len));
202 if (reply_len < 0 || reply_len > buflen) {
208 ret = read_all(s, (char *) buf, reply_len);
211 if (reply_len >= (int) (16+sizeof(int)))
234 int32_t reply_len = 0; local
368 reply_len = strlen(reply_buf)+1;
372 reply_len
[all...]
/external/libchrome/base/posix/
H A Dunix_domain_socket_linux.h73 // reply_len: size of |reply|
79 unsigned reply_len,
87 unsigned reply_len,
H A Dunix_domain_socket_linux.cc227 const ssize_t reply_len = RecvMsgWithFlags( local
230 if (reply_len == -1)
243 return reply_len;
/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c2080 int reply_len, res; local
2083 reply_len = 3;
2087 reply_len = 5;
2090 reply_len = -1;
2092 reply_len = hostapd_ctrl_iface_status(hapd, reply,
2095 reply_len = hostapd_drv_status(hapd, reply, reply_size);
2097 reply_len = ieee802_11_get_mib(hapd, reply, reply_size);
2098 if (reply_len >= 0) {
2099 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len,
2100 reply_size - reply_len);
2339 int reply_len; local
3051 int reply_len; local
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_ctrl.c469 char *reply, size_t *reply_len,
540 res = recv(ctrl->s, reply, *reply_len, 0);
551 if ((size_t) res == *reply_len)
552 res = (*reply_len) - 1;
558 *reply_len = res;
599 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) argument
603 res = recv(ctrl->s, reply, *reply_len, 0);
606 *reply_len = res;
708 char *reply, size_t *reply_len,
712 DWORD readlen = *reply_len;
468 wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, char *reply, size_t *reply_len, void (*msg_cb)(char *msg, size_t len)) argument
707 wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, char *reply, size_t *reply_len, void (*msg_cb)(char *msg, size_t len)) argument
725 wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) argument
[all...]
H A Dwpa_ctrl.h370 * @reply_len: Reply buffer length
375 * response will be written to reply and reply_len is set to the actual length
391 char *reply, size_t *reply_len,
424 * @reply_len: Length of the reply buffer
428 * response will be written to reply and reply_len is set to the actual length
434 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
/external/wpa_supplicant_8/src/common/
H A Dwpa_ctrl.c469 char *reply, size_t *reply_len,
540 res = recv(ctrl->s, reply, *reply_len, 0);
551 if ((size_t) res == *reply_len)
552 res = (*reply_len) - 1;
558 *reply_len = res;
599 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) argument
603 res = recv(ctrl->s, reply, *reply_len, 0);
606 *reply_len = res;
708 char *reply, size_t *reply_len,
712 DWORD readlen = *reply_len;
468 wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, char *reply, size_t *reply_len, void (*msg_cb)(char *msg, size_t len)) argument
707 wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, char *reply, size_t *reply_len, void (*msg_cb)(char *msg, size_t len)) argument
725 wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) argument
[all...]
H A Dwpa_ctrl.h370 * @reply_len: Reply buffer length
375 * response will be written to reply and reply_len is set to the actual length
391 char *reply, size_t *reply_len,
424 * @reply_len: Length of the reply buffer
428 * response will be written to reply and reply_len is set to the actual length
434 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dwpa_ctrl.c469 char *reply, size_t *reply_len,
540 res = recv(ctrl->s, reply, *reply_len, 0);
551 if ((size_t) res == *reply_len)
552 res = (*reply_len) - 1;
558 *reply_len = res;
599 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) argument
603 res = recv(ctrl->s, reply, *reply_len, 0);
606 *reply_len = res;
708 char *reply, size_t *reply_len,
712 DWORD readlen = *reply_len;
468 wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, char *reply, size_t *reply_len, void (*msg_cb)(char *msg, size_t len)) argument
707 wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, char *reply, size_t *reply_len, void (*msg_cb)(char *msg, size_t len)) argument
725 wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) argument
[all...]
H A Dwpa_ctrl.h370 * @reply_len: Reply buffer length
375 * response will be written to reply and reply_len is set to the actual length
391 char *reply, size_t *reply_len,
424 * @reply_len: Length of the reply buffer
428 * response will be written to reply and reply_len is set to the actual length
434 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_privsep.c45 void *reply, size_t *reply_len)
83 res = recv(drv->cmd_socket, reply, *reply_len, 0);
89 *reply_len = res;
119 size_t reply_len = 60000; local
123 buf = os_malloc(reply_len);
127 NULL, 0, buf, &reply_len);
134 (unsigned long) reply_len);
135 if (reply_len < sizeof(int)) {
137 (unsigned long) reply_len);
143 end = buf + reply_len;
43 wpa_priv_cmd(struct wpa_driver_privsep_data *drv, int cmd, const void *data, size_t data_len, void *reply, size_t *reply_len) argument
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_privsep.c45 void *reply, size_t *reply_len)
83 res = recv(drv->cmd_socket, reply, *reply_len, 0);
89 *reply_len = res;
119 size_t reply_len = 60000; local
123 buf = os_malloc(reply_len);
127 NULL, 0, buf, &reply_len);
134 (unsigned long) reply_len);
135 if (reply_len < sizeof(int)) {
137 (unsigned long) reply_len);
143 end = buf + reply_len;
43 wpa_priv_cmd(struct wpa_driver_privsep_data *drv, int cmd, const void *data, size_t data_len, void *reply, size_t *reply_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_privsep.c45 void *reply, size_t *reply_len)
83 res = recv(drv->cmd_socket, reply, *reply_len, 0);
89 *reply_len = res;
119 size_t reply_len = 60000; local
123 buf = os_malloc(reply_len);
127 NULL, 0, buf, &reply_len);
134 (unsigned long) reply_len);
135 if (reply_len < sizeof(int)) {
137 (unsigned long) reply_len);
143 end = buf + reply_len;
43 wpa_priv_cmd(struct wpa_driver_privsep_data *drv, int cmd, const void *data, size_t data_len, void *reply, size_t *reply_len) argument
[all...]
/external/kernel-headers/original/scsi/
H A Dsg.h222 int pack_len; /* [o] reply_len (ie useless), ignored as input */
223 int reply_len; /* [i] max length of expected reply (inc. sg_header) */ member in struct:sg_header
/external/e2fsprogs/lib/uuid/
H A Dgen_uuid.c487 int32_t reply_len = 0, expected = 16; local
535 ret = read_all(s, (char *) &reply_len, sizeof(reply_len));
539 if (reply_len != expected)
542 ret = read_all(s, op_buf, reply_len);

Completed in 364 milliseconds

12