/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 187 size_t reply_len; in addNetwork() local 225 reply_len = sizeof(reply) - 1; in addNetwork() 228 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork() 404 reply_len = sizeof(reply); in addNetwork() 405 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork() 414 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork() 430 size_t reply_len; in setNetworkParam() local 433 reply_len = sizeof(reply); in setNetworkParam() 434 wpagui->ctrlRequest(cmd, reply, &reply_len); in setNetworkParam() 495 static int key_value_isset(const char *reply, size_t reply_len) in key_value_isset() argument [all …]
|
D | peers.cpp | 322 size_t reply_len; in enter_pin() local 334 reply_len = sizeof(reply) - 1; in enter_pin() 335 if (wpagui->ctrlRequest(cmd, reply, &reply_len) < 0) { in enter_pin() 353 size_t reply_len; in ctx_p2p_start() local 354 reply_len = sizeof(reply) - 1; in ctx_p2p_start() 355 if (wpagui->ctrlRequest("P2P_FIND", reply, &reply_len) < 0 || in ctx_p2p_start() 368 size_t reply_len; in ctx_p2p_stop() local 369 reply_len = sizeof(reply) - 1; in ctx_p2p_stop() 370 wpagui->ctrlRequest("P2P_STOP_FIND", reply, &reply_len); in ctx_p2p_stop() 377 size_t reply_len; in ctx_p2p_listen() local [all …]
|
D | scanresults.cpp | 56 size_t reply_len; in updateResults() local 68 reply_len = sizeof(reply) - 1; in updateResults() 69 if (wpagui->ctrlRequest(cmd, reply, &reply_len) < 0) in updateResults() 71 reply[reply_len] = '\0'; in updateResults() 116 size_t reply_len = sizeof(reply); in scanRequest() local 121 wpagui->ctrlRequest("SCAN", reply, &reply_len); in scanRequest()
|
D | wpagui.cpp | 729 size_t reply_len = sizeof(reply); in disconnect() local 730 ctrlRequest("DISCONNECT", reply, &reply_len); in disconnect() 965 size_t reply_len = sizeof(reply); in connectB() local 966 ctrlRequest("REASSOCIATE", reply, &reply_len); in connectB() 974 size_t reply_len = sizeof(reply); in selectNetwork() local 981 ctrlRequest(cmd.toAscii().constData(), reply, &reply_len); in selectNetwork() 991 size_t reply_len = sizeof(reply); in enableNetwork() local 1001 ctrlRequest(cmd.toAscii().constData(), reply, &reply_len); in enableNetwork() 1010 size_t reply_len = sizeof(reply); in disableNetwork() local 1020 ctrlRequest(cmd.toAscii().constData(), reply, &reply_len); in disableNetwork() [all …]
|
D | userdatarequest.cpp | 82 size_t reply_len = sizeof(reply); in sendReply() local 92 wpagui->ctrlRequest(cmd.toAscii().constData(), reply, &reply_len); in sendReply()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 962 int reply_len; in hostapd_ctrl_iface_receive() local 984 reply_len = 3; in hostapd_ctrl_iface_receive() 988 reply_len = 5; in hostapd_ctrl_iface_receive() 991 reply_len = -1; in hostapd_ctrl_iface_receive() 993 reply_len = ieee802_11_get_mib(hapd, reply, reply_size); in hostapd_ctrl_iface_receive() 994 if (reply_len >= 0) { in hostapd_ctrl_iface_receive() 995 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive() 996 reply_size - reply_len); in hostapd_ctrl_iface_receive() 998 reply_len = -1; in hostapd_ctrl_iface_receive() 1000 reply_len += res; in hostapd_ctrl_iface_receive() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_udp.c | 128 size_t *reply_len) in wpa_supplicant_ctrl_iface_get_cookie() argument 133 *reply_len = 1; in wpa_supplicant_ctrl_iface_get_cookie() 141 *reply_len = 7 + 2 * COOKIE_LEN; in wpa_supplicant_ctrl_iface_get_cookie() 156 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local 184 reply = wpa_supplicant_ctrl_iface_get_cookie(priv, &reply_len); in wpa_supplicant_ctrl_iface_receive() 219 reply_len = 1; in wpa_supplicant_ctrl_iface_receive() 222 reply_len = 2; in wpa_supplicant_ctrl_iface_receive() 226 reply_len = 1; in wpa_supplicant_ctrl_iface_receive() 228 reply_len = 2; in wpa_supplicant_ctrl_iface_receive() 232 reply_len = 1; in wpa_supplicant_ctrl_iface_receive() [all …]
|
D | ctrl_iface.c | 5245 int reply_len; in wpa_supplicant_ctrl_iface_process() local 5270 reply_len = 3; in wpa_supplicant_ctrl_iface_process() 5274 reply_len = 5; in wpa_supplicant_ctrl_iface_process() 5276 reply_len = os_strlen(wpa_s->ifname); in wpa_supplicant_ctrl_iface_process() 5277 os_memcpy(reply, wpa_s->ifname, reply_len); in wpa_supplicant_ctrl_iface_process() 5280 reply_len = -1; in wpa_supplicant_ctrl_iface_process() 5284 reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); in wpa_supplicant_ctrl_iface_process() 5285 if (reply_len >= 0) { in wpa_supplicant_ctrl_iface_process() 5287 res = eapol_sm_get_mib(wpa_s->eapol, reply + reply_len, in wpa_supplicant_ctrl_iface_process() 5288 reply_size - reply_len); in wpa_supplicant_ctrl_iface_process() [all …]
|
D | ctrl_iface_unix.c | 147 size_t reply_len = 0; in wpa_supplicant_ctrl_iface_receive() local 162 reply_len = 1; in wpa_supplicant_ctrl_iface_receive() 165 reply_len = 2; in wpa_supplicant_ctrl_iface_receive() 170 reply_len = 1; in wpa_supplicant_ctrl_iface_receive() 172 reply_len = 2; in wpa_supplicant_ctrl_iface_receive() 176 reply_len = 1; in wpa_supplicant_ctrl_iface_receive() 178 reply_len = 2; in wpa_supplicant_ctrl_iface_receive() 181 &reply_len); in wpa_supplicant_ctrl_iface_receive() 185 sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in wpa_supplicant_ctrl_iface_receive() 188 } else if (reply_len == 1) { in wpa_supplicant_ctrl_iface_receive() [all …]
|
D | ctrl_iface_named_pipe.c | 283 size_t reply_len = 0, send_len; in wpa_supplicant_ctrl_iface_rx() local 296 reply_len = 2; in wpa_supplicant_ctrl_iface_rx() 300 reply_len = 2; in wpa_supplicant_ctrl_iface_rx() 304 reply_len = 2; in wpa_supplicant_ctrl_iface_rx() 307 &reply_len); in wpa_supplicant_ctrl_iface_rx() 312 send_len = reply_len; in wpa_supplicant_ctrl_iface_rx() 313 } else if (reply_len == 2) { in wpa_supplicant_ctrl_iface_rx() 718 size_t reply_len = 0, send_len; in wpa_supplicant_global_iface_rx() local 727 &reply_len); in wpa_supplicant_global_iface_rx() 730 send_len = reply_len; in wpa_supplicant_global_iface_rx() [all …]
|
/external/e2fsprogs/misc/ |
D | uuidd.c | 148 int32_t reply_len = 0; in call_daemon() local 195 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in call_daemon() 202 if (reply_len < 0 || reply_len > buflen) { in call_daemon() 208 ret = read_all(s, (char *) buf, reply_len); in call_daemon() 211 if (reply_len >= (int) (16+sizeof(int))) in call_daemon() 234 int32_t reply_len = 0; in server_loop() local 368 reply_len = strlen(reply_buf)+1; in server_loop() 372 reply_len = strlen(reply_buf)+1; in server_loop() 382 reply_len = sizeof(uu); in server_loop() 392 reply_len = sizeof(uu); in server_loop() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 390 char *reply, size_t *reply_len, in wpa_ctrl_request() argument 459 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_request() 470 if ((size_t) res == *reply_len) in wpa_ctrl_request() 471 res = (*reply_len) - 1; in wpa_ctrl_request() 477 *reply_len = res; in wpa_ctrl_request() 518 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len) in wpa_ctrl_recv() argument 522 res = recv(ctrl->s, reply, *reply_len, 0); in wpa_ctrl_recv() 525 *reply_len = res; in wpa_ctrl_recv() 627 char *reply, size_t *reply_len, in wpa_ctrl_request() argument 631 DWORD readlen = *reply_len; in wpa_ctrl_request() [all …]
|
D | wpa_ctrl.h | 243 char *reply, size_t *reply_len, 285 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
|
/external/chromium_org/base/posix/ |
D | unix_domain_socket_linux.h | 55 unsigned reply_len, 63 unsigned reply_len,
|
D | unix_domain_socket_linux.cc | 152 const ssize_t reply_len = RecvMsgWithFlags(fds[0], reply, max_reply_len, in SendRecvMsgWithFlags() local 155 if (reply_len == -1) in SendRecvMsgWithFlags() 172 return reply_len; in SendRecvMsgWithFlags()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_privsep.c | 45 void *reply, size_t *reply_len) in wpa_priv_cmd() argument 82 res = recv(drv->cmd_socket, reply, *reply_len, 0); in wpa_priv_cmd() 87 *reply_len = res; in wpa_priv_cmd() 117 size_t reply_len = 60000; in wpa_driver_privsep_get_scan_results2() local 121 buf = os_malloc(reply_len); in wpa_driver_privsep_get_scan_results2() 125 NULL, 0, buf, &reply_len); in wpa_driver_privsep_get_scan_results2() 132 (unsigned long) reply_len); in wpa_driver_privsep_get_scan_results2() 133 if (reply_len < sizeof(int)) { in wpa_driver_privsep_get_scan_results2() 135 (unsigned long) reply_len); in wpa_driver_privsep_get_scan_results2() 141 end = buf + reply_len; in wpa_driver_privsep_get_scan_results2()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 482 int32_t reply_len = 0, expected = 16; in get_uuid_via_daemon() local 530 ret = read_all(s, (char *) &reply_len, sizeof(reply_len)); in get_uuid_via_daemon() 534 if (reply_len != expected) in get_uuid_via_daemon() 537 ret = read_all(s, op_buf, reply_len); in get_uuid_via_daemon()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
D | socket_test.cc | 593 const int reply_len = strlen(server_reply); in TEST_F() local 638 ASSERT_EQ(reply_len, ki_send(new_socket, server_reply, reply_len, 0)); in TEST_F() 641 ASSERT_EQ(reply_len, ki_recv(client_sock, inbuf, sizeof(inbuf), 0)); in TEST_F() 642 inbuf[reply_len] = 0; in TEST_F()
|