Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 25 of 1795) sorted by relevance

12345678910>>...72

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp187 char reply[10], cmd[256]; in addNetwork() local
225 memset(reply, 0, sizeof(reply)); in addNetwork()
226 reply_len = sizeof(reply) - 1; in addNetwork()
229 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
230 if (reply[0] == 'F') { in addNetwork()
237 id = atoi(reply); in addNetwork()
405 reply_len = sizeof(reply); in addNetwork()
406 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
407 if (strncmp(reply, "OK", 2) != 0) { in addNetwork()
415 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
[all …]
Dpeers.cpp321 char reply[100]; 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()
352 char reply[20]; 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()
356 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start()
367 char reply[20]; 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()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp187 char reply[10], cmd[256]; in addNetwork() local
225 memset(reply, 0, sizeof(reply)); in addNetwork()
226 reply_len = sizeof(reply) - 1; in addNetwork()
229 wpagui->ctrlRequest("ADD_NETWORK", reply, &reply_len); in addNetwork()
230 if (reply[0] == 'F') { in addNetwork()
237 id = atoi(reply); in addNetwork()
405 reply_len = sizeof(reply); in addNetwork()
406 wpagui->ctrlRequest(cmd, reply, &reply_len); in addNetwork()
407 if (strncmp(reply, "OK", 2) != 0) { in addNetwork()
415 wpagui->ctrlRequest("SAVE_CONFIG", reply, &reply_len); in addNetwork()
[all …]
Dpeers.cpp321 char reply[100]; 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()
352 char reply[20]; 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()
356 memcmp(reply, "FAIL", 4) == 0) { in ctx_p2p_start()
367 char reply[20]; 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()
[all …]
/third_party/libxkbcommon/src/x11/
Dkeymap.c74 #define FAIL_IF_BAD_REPLY(reply, request_name) do { \ argument
75 if (!reply) { \
323 xcb_xkb_get_map_reply_t *reply, xcb_xkb_get_map_map_t *map) in get_types() argument
325 int types_length = xcb_xkb_get_map_map_types_rtrn_length(reply, map); in get_types()
327 xcb_xkb_get_map_map_types_rtrn_iterator(reply, map); in get_types()
329 FAIL_UNLESS(reply->firstType == 0); in get_types()
331 keymap->num_types = reply->nTypes; in get_types()
398 xcb_xkb_get_map_reply_t *reply, xcb_xkb_get_map_map_t *map) in get_sym_maps() argument
400 int sym_maps_length = xcb_xkb_get_map_map_syms_rtrn_length(reply, map); in get_sym_maps()
402 xcb_xkb_get_map_map_syms_rtrn_iterator(reply, map); in get_sym_maps()
[all …]
Dutil.c47 const xcb_query_extension_reply_t *reply = in xkb_x11_setup_xkb_extension() local
49 if (!reply) { in xkb_x11_setup_xkb_extension()
54 if (!reply->present) { in xkb_x11_setup_xkb_extension()
59 base_event = reply->first_event; in xkb_x11_setup_xkb_extension()
60 base_error = reply->first_error; in xkb_x11_setup_xkb_extension()
67 xcb_xkb_use_extension_reply_t *reply = in xkb_x11_setup_xkb_extension() local
70 if (!reply) { in xkb_x11_setup_xkb_extension()
78 if (!reply->supported) { in xkb_x11_setup_xkb_extension()
82 free(reply); in xkb_x11_setup_xkb_extension()
86 server_major = reply->serverMajor; in xkb_x11_setup_xkb_extension()
[all …]
Dstate.c34 xcb_xkb_get_state_reply_t *reply = in update_initial_state() local
37 if (!reply) in update_initial_state()
41 reply->baseMods, in update_initial_state()
42 reply->latchedMods, in update_initial_state()
43 reply->lockedMods, in update_initial_state()
44 reply->baseGroup, in update_initial_state()
45 reply->latchedGroup, in update_initial_state()
46 reply->lockedGroup); in update_initial_state()
48 free(reply); in update_initial_state()
/third_party/uboot/u-boot-2020.01/net/
Dnfs.c440 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in rpc_lookup_reply()
442 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in rpc_lookup_reply()
445 if (rpc_pkt.u.reply.rstatus || in rpc_lookup_reply()
446 rpc_pkt.u.reply.verifier || in rpc_lookup_reply()
447 rpc_pkt.u.reply.astatus) in rpc_lookup_reply()
452 nfs_server_mount_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
455 nfs_server_port = ntohl(rpc_pkt.u.reply.data[0]); in rpc_lookup_reply()
470 if (ntohl(rpc_pkt.u.reply.id) > rpc_id) in nfs_mount_reply()
472 else if (ntohl(rpc_pkt.u.reply.id) < rpc_id) in nfs_mount_reply()
475 if (rpc_pkt.u.reply.rstatus || in nfs_mount_reply()
[all …]
/third_party/curl/tests/data/
Dtest2511 <reply>
15 Location: data/reply/%TESTNUMBER
24 Location: data/reply/%TESTNUMBER
30 Location: data/reply/%TESTNUMBER
36 Location: data/reply/%TESTNUMBER
42 Location: data/reply/%TESTNUMBER
48 Location: data/reply/%TESTNUMBER
54 Location: data/reply/%TESTNUMBER
59 </reply>
82 GET /want/data/reply/%TESTNUMBER HTTP/1.1
[all …]
/third_party/pulseaudio/src/daemon/
Dserver-lookup.c89 DBusMessage *reply = NULL; in handle_introspect() local
94 if (!(reply = dbus_message_new_method_return(msg))) { in handle_introspect()
98 if (!dbus_message_append_args(reply, DBUS_TYPE_STRING, &i, DBUS_TYPE_INVALID)) { in handle_introspect()
102 if (!dbus_connection_send(conn, reply, NULL)) { in handle_introspect()
108 if (reply) in handle_introspect()
109 dbus_message_unref(reply); in handle_introspect()
142 DBusMessage *reply = NULL; in handle_get_address() local
153 if (!(reply = dbus_message_new_method_return(msg))) { in handle_get_address()
157 dbus_message_iter_init_append(reply, &msg_iter); in handle_get_address()
170 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get_address()
[all …]
/third_party/pulseaudio/src/modules/
Dreserve.c120 DBusMessage *reply = NULL; in object_handler() local
155 if (!(reply = dbus_message_new_method_return(m))) in object_handler()
159 reply, in object_handler()
164 if (!dbus_connection_send(c, reply, NULL)) in object_handler()
167 dbus_message_unref(reply); in object_handler()
190 if (!(reply = dbus_message_new_method_return(m))) in object_handler()
194 reply, in object_handler()
200 if (!(reply = dbus_message_new_method_return(m))) in object_handler()
204 reply, in object_handler()
210 if (!(reply = dbus_message_new_method_return(m))) in object_handler()
[all …]
/third_party/node/deps/npm/node_modules/libnpmpublish/test/
Dunpublish.js33 srv.get('/foo?write=true').reply(200, doc)
34 srv.delete(`/foo/-rev/${REV}`).reply(201)
58 srv.get('/@foo%2fbar?write=true').reply(200, doc)
59 srv.delete(`/@foo%2fbar/-rev/${REV}`).reply(201)
83 srv.get('/foo?write=true').reply(200, doc)
84 srv.delete(`/foo/-rev/${REV}`).reply(201)
133 srv.get('/foo?write=true').reply(200, doc)
134 srv.put(`/foo/-rev/${REV}`, postEdit).reply(200)
135 srv.get('/foo?write=true').reply(200, postEdit)
136 srv.delete(`/foo/-/foo-1.0.1.tgz/-rev/${REV}`).reply(200)
[all …]
/third_party/pulseaudio/src/pulsecore/
Dx11prop.c49 xcb_intern_atom_reply_t *reply; in pa_x11_set_prop() local
56 reply = xcb_intern_atom_reply(xcb, in pa_x11_set_prop()
60 if (reply) { in pa_x11_set_prop()
61 xcb_change_property(xcb, XCB_PROP_MODE_REPLACE, xs->root, reply->atom, in pa_x11_set_prop()
65 free(reply); in pa_x11_set_prop()
72 xcb_intern_atom_reply_t *reply; in pa_x11_del_prop() local
78 reply = xcb_intern_atom_reply(xcb, in pa_x11_del_prop()
82 if (reply) { in pa_x11_del_prop()
83 xcb_delete_property(xcb, xs->root, reply->atom); in pa_x11_del_prop()
84 free(reply); in pa_x11_del_prop()
[all …]
/third_party/node/deps/npm/node_modules/libnpmaccess/test/
Dindex.js18 ).reply(200)
27 ).reply(200)
36 }).reply(200, {ok: true})
45 }).reply(200, {ok: true})
55 }).reply(201)
67 }).reply(201)
107 }).reply(201)
118 }).reply(200)
127 }).reply(200, {accessChanged: true})
146 ).reply(200, serverPackages)
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/
D2-2.c44 int send_receive(int read_pipe, int write_pipe, char send, char *reply);
95 char reply; in parent_process() local
104 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process()
108 if (reply != 'b') { in parent_process()
113 rval = send_receive(read_pipe, write_pipe, 'c', &reply); in parent_process()
117 if (reply != 'd') { in parent_process()
145 char reply; in child_process() local
147 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process()
151 if (reply != 'a') { in child_process()
160 rval = send_receive(read_pipe, write_pipe, 'b', &reply); in child_process()
[all …]
D2-1.c49 int send_receive(int read_pipe, int write_pipe, char send, char *reply);
100 char reply; in parent_process() local
109 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process()
113 if (reply != 'b') { in parent_process()
143 char reply; in child_process() local
145 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process()
149 if (reply != 'a') { in child_process()
163 int send_receive(int read_pipe, int write_pipe, char send, char *reply) in send_receive() argument
174 if (reply) { in send_receive()
175 bytes = read(read_pipe, reply, 1); in send_receive()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/
D2-1.c41 int send_receive(int read_pipe, int write_pipe, char send, char *reply);
101 char reply; in parent_process() local
118 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process()
125 if (reply != 'b') { in parent_process()
139 rval = send_receive(read_pipe, write_pipe, 'c', &reply); in parent_process()
144 if (reply == 'd') { in parent_process()
147 } else if (reply == 'e') { in parent_process()
160 char reply; in child_process() local
164 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process()
169 if (reply != 'a') { in child_process()
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DBasicMessageChannel.java127 void onMessage(@Nullable T message, @NonNull Reply<T> reply); in onMessage() argument
141 void reply(@Nullable T reply); in reply() method
152 public void reply(@Nullable ByteBuffer reply) { in reply() argument
154 callback.reply(codec.decodeMessage(reply)); in reply()
173 public void reply(T reply) { in onMessage() method
174 callback.reply(codec.encodeMessage(reply)); in onMessage()
179 callback.reply(null); in onMessage()
DMethodChannel.java193 public void reply(ByteBuffer reply) { in reply() argument
195 if (reply == null) { in reply()
199 callback.success(codec.decodeEnvelope(reply)); in reply()
219 public void onMessage(ByteBuffer message, final BinaryReply reply) { in onMessage() argument
225 reply.reply(codec.encodeSuccessEnvelope(result)); in onMessage()
230reply.reply(codec.encodeErrorEnvelope(errorCode, errorMessage, errorDetails)); in onMessage()
235 reply.reply(null); in onMessage()
240 reply.reply(codec.encodeErrorEnvelope("error", e.getMessage(), null)); in onMessage()
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-server/
Dmain.c82 dmh_introspect(DBusConnection *c, DBusMessage *m, DBusMessage **reply, void *d) in dmh_introspect() argument
84 dbus_message_append_args(*reply, DBUS_TYPE_STRING, in dmh_introspect()
91 dmh_get(DBusConnection *c, DBusMessage *m, DBusMessage **reply, void *d) in dmh_get() argument
101 dbus_message_unref(*reply); in dmh_get()
102 *reply = dbus_message_new_error(m, err.name, err.message); in dmh_get()
111 dbus_message_append_args(*reply, DBUS_TYPE_STRING, &version, in dmh_get()
118 dmh_getall(DBusConnection *c, DBusMessage *m, DBusMessage **reply, void *d) in dmh_getall() argument
123 dbus_message_iter_init_append(*reply, &iter); in dmh_getall()
140 dmh_ping(DBusConnection *c, DBusMessage *m, DBusMessage **reply, void *d) in dmh_ping() argument
144 dbus_message_append_args(*reply, DBUS_TYPE_STRING, &pong, in dmh_ping()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c36 DBusMessage **reply) in wpas_dbus_handler_wps_role() argument
46 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_role()
57 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_role()
67 DBusMessage **reply) in wpas_dbus_handler_wps_type() argument
76 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_type()
88 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_type()
98 DBusMessage **reply) in wpas_dbus_handler_wps_bssid() argument
109 *reply = wpas_dbus_error_invalid_args( in wpas_dbus_handler_wps_bssid()
118 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_bssid()
129 DBusMessage **reply) in wpas_dbus_handler_wps_pin() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c36 DBusMessage **reply) in wpas_dbus_handler_wps_role() argument
46 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_role()
57 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_role()
67 DBusMessage **reply) in wpas_dbus_handler_wps_type() argument
76 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_type()
88 *reply = wpas_dbus_error_invalid_args(message, val); in wpas_dbus_handler_wps_type()
98 DBusMessage **reply) in wpas_dbus_handler_wps_bssid() argument
109 *reply = wpas_dbus_error_invalid_args( in wpas_dbus_handler_wps_bssid()
118 *reply = wpas_dbus_error_invalid_args(message, in wpas_dbus_handler_wps_bssid()
129 DBusMessage **reply) in wpas_dbus_handler_wps_pin() argument
[all …]
Ddbus_new_helpers.c84 DBusMessage *reply; in get_all_properties() local
88 reply = dbus_message_new_method_return(message); in get_all_properties()
89 if (reply == NULL) in get_all_properties()
92 dbus_message_iter_init_append(reply, &iter); in get_all_properties()
94 dbus_message_unref(reply); in get_all_properties()
102 dbus_message_unref(reply); in get_all_properties()
103 reply = wpas_dbus_reply_new_from_error( in get_all_properties()
107 return reply; in get_all_properties()
111 dbus_message_unref(reply); in get_all_properties()
115 return reply; in get_all_properties()
[all …]
/third_party/node/deps/npm/node_modules/libnpmteam/test/
Dindex.js18 ).reply(201, { name: 'cli' })
42 }).reply(201, { name: 'cli' })
53 ).reply(204, {})
62 ).reply(201, {})
71 ).reply(204, {})
80 ).reply(200, ['foo:bar', 'foo:cli'])
89 ).reply(500)
99 ).reply(200, ['foo:bar', 'foo:cli'])
108 ).reply(500)
118 ).reply(200, ['iarna', 'zkat'])
[all …]
/third_party/node/deps/npm/test/tap/
Daudit.js103 srv.post('/-/npm/v1/security/audits/quick', 'ok').reply(200, quickAuditResult)
104 srv.get('/baddep').twice().reply(200, {
141 srv.post('/-/npm/v1/security/audits', 'ok').reply(200, {
180 srv.post('/-/npm/v1/security/audits/quick', 'ok').reply(200, quickAuditResult)
181 srv.get('/baddep').twice().reply(200, {
236 srv.post('/-/npm/v1/security/audits/quick', 'ok').reply(200, 'yeah')
237 srv.get('/baddep').twice().reply(200, {
272 srv.post('/-/npm/v1/security/audits', 'ok').reply(200, {
311 srv.post('/-/npm/v1/security/audits/quick', 'ok').reply(200, 'yeah')
312 srv.get('/baddep').twice().reply(200, {
[all …]

12345678910>>...72