Home
last modified time | relevance | path

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

12345678910>>...63

/external/wpa_supplicant_8/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 …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceTest.java69 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001() local
70 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testNewInstance001()
72 int classes = reply.getNextValueAsInt(); in testNewInstance001()
74 byte refTypeTag = reply.getNextValueAsByte(); in testNewInstance001()
75 long typeID = reply.getNextValueAsReferenceTypeID(); in testNewInstance001()
76 int status = reply.getNextValueAsInt(); in testNewInstance001()
81 assertAllDataRead(reply); in testNewInstance001()
91 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001()
92 checkReplyPacket(reply, "ReferenceType::Methods command"); in testNewInstance001()
94 int declared = reply.getNextValueAsInt(); in testNewInstance001()
[all …]
DInvokeMethod002Test.java64 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod() local
65 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testInvokeMethod()
67 int classes = reply.getNextValueAsInt(); in testInvokeMethod()
70 byte refTypeTag = reply.getNextValueAsByte(); in testInvokeMethod()
71 long classID = reply.getNextValueAsReferenceTypeID(); in testInvokeMethod()
72 int status = reply.getNextValueAsInt(); in testInvokeMethod()
73 assertAllDataRead(reply); in testInvokeMethod()
89 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod()
90 checkReplyPacket(reply, "ReferenceType::Methods command"); in testInvokeMethod()
92 int declared = reply.getNextValueAsInt(); in testInvokeMethod()
[all …]
DInvokeMethodTest.java71 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001() local
72 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testInvokeMethod001()
74 int classes = reply.getNextValueAsInt(); in testInvokeMethod001()
77 byte refTypeTag = reply.getNextValueAsByte(); in testInvokeMethod001()
78 long typeID = reply.getNextValueAsReferenceTypeID(); in testInvokeMethod001()
79 int status = reply.getNextValueAsInt(); in testInvokeMethod001()
80 assertAllDataRead(reply); in testInvokeMethod001()
95 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001()
96 checkReplyPacket(reply, "ReferenceType::Methods command"); in testInvokeMethod001()
98 int declared = reply.getNextValueAsInt(); in testInvokeMethod001()
[all …]
DSuperClassTest.java48 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetSuperClassReply() local
49 checkReplyPacket(reply, "ClassType.Superclass command", errorExpected); in jdwpGetSuperClassReply()
50 return reply; in jdwpGetSuperClassReply()
53 private void asserSuperClassReplyIsValid(ReplyPacket reply, String expectedSignature) { in asserSuperClassReplyIsValid() argument
54 assertTrue(reply.getErrorCode() == JDWPConstants.Error.NONE); in asserSuperClassReplyIsValid()
55 long superClassID = reply.getNextValueAsClassID(); in asserSuperClassReplyIsValid()
89 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001() local
91 asserSuperClassReplyIsValid(reply, "Ljava/lang/Object;"); in testSuperClass001()
99 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001() local
101 asserSuperClassReplyIsValid(reply, "Ljava/lang/Object;"); in testSuperClass001()
[all …]
/external/avahi/avahi-daemon/
Ddbus-util.c46 DBusMessage *reply; in avahi_dbus_respond_error() local
54 reply = dbus_message_new_error(m, avahi_error_number_to_dbus(error), text); in avahi_dbus_respond_error()
56 if (!reply) { in avahi_dbus_respond_error()
61 dbus_connection_send(c, reply, NULL); in avahi_dbus_respond_error()
62 dbus_message_unref(reply); in avahi_dbus_respond_error()
70 DBusMessage *reply; in avahi_dbus_respond_string() local
72 reply = dbus_message_new_method_return(m); in avahi_dbus_respond_string()
74 if (!reply) { in avahi_dbus_respond_string()
79 dbus_message_append_args(reply, DBUS_TYPE_STRING, &text, DBUS_TYPE_INVALID); in avahi_dbus_respond_string()
80 dbus_connection_send(c, reply, NULL); in avahi_dbus_respond_string()
[all …]
/external/dbus/bus/
Ddriver.c377 DBusMessage *reply; in bus_driver_handle_list_services() local
389 reply = dbus_message_new_method_return (message); in bus_driver_handle_list_services()
390 if (reply == NULL) in bus_driver_handle_list_services()
398 dbus_message_unref (reply); in bus_driver_handle_list_services()
403 dbus_message_iter_init_append (reply, &iter); in bus_driver_handle_list_services()
410 dbus_message_unref (reply); in bus_driver_handle_list_services()
422 dbus_message_unref (reply); in bus_driver_handle_list_services()
435 dbus_message_unref (reply); in bus_driver_handle_list_services()
446 dbus_message_unref (reply); in bus_driver_handle_list_services()
451 if (!bus_transaction_send_from_driver (transaction, connection, reply)) in bus_driver_handle_list_services()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_old_handlers.c38 DBusMessage *reply; in wpas_dbus_new_invalid_opts_error() local
40 reply = dbus_message_new_error( in wpas_dbus_new_invalid_opts_error()
44 dbus_message_append_args(reply, DBUS_TYPE_STRING, &arg, in wpas_dbus_new_invalid_opts_error()
47 return reply; in wpas_dbus_new_invalid_opts_error()
61 DBusMessage *reply; in wpas_dbus_new_success_reply() local
64 reply = dbus_message_new_method_return(message); in wpas_dbus_new_success_reply()
65 dbus_message_append_args(reply, DBUS_TYPE_UINT32, &success, in wpas_dbus_new_success_reply()
67 return reply; in wpas_dbus_new_success_reply()
90 DBusMessage *reply = NULL; in wpas_dbus_global_add_interface() local
154 reply = dbus_message_new_error( in wpas_dbus_global_add_interface()
[all …]
Ddbus_old.c142 DBusMessage *reply = NULL; in wpas_dispatch_network_method() local
151 reply = wpas_dbus_iface_set_network(message, wpa_s, ssid); in wpas_dispatch_network_method()
153 reply = wpas_dbus_iface_enable_network(message, wpa_s, ssid); in wpas_dispatch_network_method()
155 reply = wpas_dbus_iface_disable_network(message, wpa_s, ssid); in wpas_dispatch_network_method()
157 return reply; in wpas_dispatch_network_method()
213 DBusMessage *reply = NULL; in wpas_iface_message_handler() local
226 reply = wpas_dbus_new_invalid_iface_error(message); in wpas_iface_message_handler()
235 reply = wpas_dbus_new_invalid_iface_error(message); in wpas_iface_message_handler()
244 reply = wpas_dispatch_network_method(message, wpa_s, in wpas_iface_message_handler()
247 reply = wpas_dbus_new_invalid_network_error(message); in wpas_iface_message_handler()
[all …]
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 …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DJDWPStackFrameTestCase.java96 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetFrameCount() local
97 checkReplyPacket(reply, "ThreadReference::FrameCount command"); in jdwpGetFrameCount()
99 int frameCount = reply.getNextValueAsInt(); in jdwpGetFrameCount()
111 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetFrames() local
112 checkReplyPacket(reply, "ThreadReference::FramesCommand command"); in jdwpGetFrames()
114 int frames = reply.getNextValueAsInt(); in jdwpGetFrames()
117 long frameID = reply.getNextValueAsLong(); in jdwpGetFrames()
118 Location location = reply.getNextValueAsLocation(); in jdwpGetFrames()
131 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetVariableTable() local
132 checkReplyPacket(reply, "Method::VariableTable command"); in jdwpGetVariableTable()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPTestCase.java188 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); in getObjectReferenceType() local
189 checkReplyPacket(reply, "ObjectReference::ReferenceType command"); in getObjectReferenceType()
191 reply.getNextValueAsByte(); in getObjectReferenceType()
192 long objectRefTypeID = reply.getNextValueAsReferenceTypeID(); in getObjectReferenceType()
210 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); in getMethodID() local
211 checkReplyPacket(reply, "ReferenceType::Methods command"); in getMethodID()
212 int methods = reply.getNextValueAsInt(); in getMethodID()
214 long methodID = reply.getNextValueAsMethodID(); in getMethodID()
215 String name = reply.getNextValueAsString(); // method name in getMethodID()
216 reply.getNextValueAsString(); // method signature in getMethodID()
[all …]
/external/dbus/test/
Dtest-service.c33 DBusMessage *reply; in check_hello_from_self_reply() local
54 reply = dbus_pending_call_steal_reply (pcall); in check_hello_from_self_reply()
56 type = dbus_message_get_type (reply); in check_hello_from_self_reply()
95 dbus_set_error_from_message (&error, reply); in check_hello_from_self_reply()
119 dbus_message_unref (reply); in check_hello_from_self_reply()
130 DBusMessage *reply, *self_message; in handle_run_hello_from_self() local
143 reply = dbus_message_new_error (message, in handle_run_hello_from_self()
147 if (reply == NULL) in handle_run_hello_from_self()
150 if (!dbus_connection_send (connection, reply, NULL)) in handle_run_hello_from_self()
153 dbus_message_unref (reply); in handle_run_hello_from_self()
[all …]
/external/dbus/dbus/
Ddbus-bus.c651 DBusMessage *message, *reply; in dbus_bus_register() local
661 reply = NULL; in dbus_bus_register()
692 reply = dbus_connection_send_with_reply_and_block (connection, message, -1, error); in dbus_bus_register()
694 if (reply == NULL) in dbus_bus_register()
696 else if (dbus_set_error_from_message (error, reply)) in dbus_bus_register()
698 else if (!dbus_message_get_args (reply, error, in dbus_bus_register()
718 if (reply) in dbus_bus_register()
719 dbus_message_unref (reply); in dbus_bus_register()
857 DBusMessage *message, *reply; in dbus_bus_get_unix_user() local
885 reply = dbus_connection_send_with_reply_and_block (connection, message, -1, in dbus_bus_get_unix_user()
[all …]
/external/curl/tests/data/
Dtest2511 <reply>
15 Location: data/reply/25
24 Location: data/reply/25
30 Location: data/reply/25
36 Location: data/reply/25
42 Location: data/reply/25
48 Location: data/reply/25
54 Location: data/reply/25
59 </reply>
85 GET /want/data/reply/25 HTTP/1.1
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DResumeTest.java132 ReplyPacket reply = null; in testResume001() local
151 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
152 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) { in testResume001()
171 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
172 int errorCode = reply.getErrorCode(); in testResume001()
191 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
192 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) { in testResume001()
197 int threadStatus = reply.getNextValueAsInt(); in testResume001()
198 int suspendStatus = reply.getNextValueAsInt(); in testResume001()
220 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
[all …]
DSuspendCountTest.java142 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001() local
143 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.SuspendCount command") ) { in testSuspendCount001()
146 int suspendCount = reply.getNextValueAsInt(); in testSuspendCount001()
164 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001()
165 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Suspend command") ) { in testSuspendCount001()
179 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001()
180 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.SuspendCount command") ) { in testSuspendCount001()
183 int suspendCount = reply.getNextValueAsInt(); in testSuspendCount001()
197 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001()
198 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) { in testSuspendCount001()
[all …]
/external/avahi/avahi-client/
Dentrygroup.c53 DBusMessage *message = NULL, *reply = NULL; in retrieve_state() local
69 if (!(reply = dbus_connection_send_with_reply_and_block(client->bus, message, -1, &error)) || in retrieve_state()
75 if (!dbus_message_get_args(reply, &error, DBUS_TYPE_INT32, &state, DBUS_TYPE_INVALID) || in retrieve_state()
82 dbus_message_unref(reply); in retrieve_state()
95 if (reply) in retrieve_state()
96 dbus_message_unref(reply); in retrieve_state()
103 DBusMessage *message = NULL, *reply = NULL; in avahi_entry_group_new() local
138 if (!(reply = dbus_connection_send_with_reply_and_block (client->bus, message, -1, &error)) || in avahi_entry_group_new()
144 if (!dbus_message_get_args(reply, &error, DBUS_TYPE_OBJECT_PATH, &path, DBUS_TYPE_INVALID) || in avahi_entry_group_new()
166 dbus_message_unref(reply); in avahi_entry_group_new()
[all …]
Dclient.c306 DBusMessage *message = NULL, *reply = NULL; in get_server_state() local
318 reply = dbus_connection_send_with_reply_and_block (client->bus, message, -1, &error); in get_server_state()
320 if (!reply || dbus_error_is_set (&error)) in get_server_state()
323 if (!dbus_message_get_args(reply, &error, DBUS_TYPE_INT32, &state, DBUS_TYPE_INVALID) || in get_server_state()
330 dbus_message_unref(reply); in get_server_state()
345 if (reply) in get_server_state()
346 dbus_message_unref(reply); in get_server_state()
352 DBusMessage *message = NULL, *reply = NULL; in check_version() local
364 reply = dbus_connection_send_with_reply_and_block (client->bus, message, -1, &error); in check_version()
366 if (!reply || dbus_error_is_set (&error)) { in check_version()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DLengthTest.java63 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testLength001() local
64 checkReplyPacket(reply, "ReferenceType::Fields command"); in testLength001()
66 int declared = reply.getNextValueAsInt(); in testLength001()
68 long fieldID = reply.getNextValueAsFieldID(); in testLength001()
69 String fieldName = reply.getNextValueAsString(); in testLength001()
70 reply.getNextValueAsString(); in testLength001()
71 reply.getNextValueAsInt(); in testLength001()
98 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in checkArrayLength() local
99 checkReplyPacket(reply, "ReferenceType::GetValues command"); in checkArrayLength()
101 int values = reply.getNextValueAsInt(); in checkArrayLength()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodTest.java70 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in setEventRequest() local
71 checkReplyPacket(reply, "EventRequest::Set command"); in setEventRequest()
73 int requestID = reply.getNextValueAsInt(); in setEventRequest()
75 assertTrue(reply.isAllDataRead()); in setEventRequest()
113 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in clearEvent() local
114 checkReplyPacket(reply, "EventRequest::Clear command"); in clearEvent()
115 assertAllDataRead(reply); in clearEvent()
135 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in makeNewInstance() local
136 checkReplyPacket(reply, "ClassType::NewInstance command"); in makeNewInstance()
138 TaggedObject newObject = reply.getNextValueAsTaggedObject(); in makeNewInstance()
[all …]
/external/mesa3d/src/glx/
Dindirect_vertex_program.c181 GLuint index, GLenum pname, xReply * reply) in get_vertex_attrib() argument
191 (void) _XReply(dpy, reply, 0, False); in get_vertex_attrib()
201 xGLXSingleReply reply; in __indirect_glGetVertexAttribivARB() local
204 get_vertex_attrib(gc, 1303, index, pname, (xReply *) & reply); in __indirect_glGetVertexAttribivARB()
206 if (reply.size != 0) { in __indirect_glGetVertexAttribivARB()
214 if (reply.size == 1) { in __indirect_glGetVertexAttribivARB()
215 *params = (GLint) reply.pad3; in __indirect_glGetVertexAttribivARB()
218 _XRead(dpy, (void *) params, 4 * reply.size); in __indirect_glGetVertexAttribivARB()
235 xGLXSingleReply reply; in __indirect_glGetVertexAttribfvARB() local
238 get_vertex_attrib(gc, 1302, index, pname, (xReply *) & reply); in __indirect_glGetVertexAttribfvARB()
[all …]
/external/tlsdate/src/
Ddbus.c275 DBusMessage *reply; in send_time_reply() local
279 reply = dbus_message_new_method_return (message); in send_time_reply()
280 if (!reply) in send_time_reply()
286 if (!dbus_message_set_reply_serial (reply, serial)) in send_time_reply()
289 dbus_message_unref (reply); in send_time_reply()
293 dbus_message_iter_init_append (reply, &args); in send_time_reply()
297 dbus_message_unref (reply); in send_time_reply()
301 if (!dbus_connection_send (connection, reply, &serial)) in send_time_reply()
304 dbus_message_unref (reply); in send_time_reply()
308 dbus_message_unref (reply); in send_time_reply()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassObjectReference/
DAbstractReflectedTypeTestCase.java52 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in runReflectedTypeTest() local
53 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in runReflectedTypeTest()
55 int classes = reply.getNextValueAsInt(); in runReflectedTypeTest()
63 refInitTypeTag = reply.getNextValueAsByte(); in runReflectedTypeTest()
64 typeInitID = reply.getNextValueAsReferenceTypeID(); in runReflectedTypeTest()
65 status = reply.getNextValueAsInt(); in runReflectedTypeTest()
80 checkReplyPacket(reply, "ReferenceType::ClassLoader command"); in runReflectedTypeTest()
107 reply = debuggeeWrapper.vmMirror.performCommand(packet); in runReflectedTypeTest()
108 checkReplyPacket(reply, "ReferenceType::ClassObject command"); in runReflectedTypeTest()
110 long classObject = reply.getNextValueAsClassObjectID(); in runReflectedTypeTest()
[all …]

12345678910>>...63