/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 187 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 …]
|
D | peers.cpp | 321 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/libxkbcommon/xkbcommon/src/x11/ |
D | keymap.c | 72 #define FAIL_IF_BAD_REPLY(reply, request_name) do { \ argument 73 if (!reply) { \ 321 xcb_xkb_get_map_reply_t *reply, xcb_xkb_get_map_map_t *map) in get_types() argument 323 int types_length = xcb_xkb_get_map_map_types_rtrn_length(reply, map); in get_types() 325 xcb_xkb_get_map_map_types_rtrn_iterator(reply, map); in get_types() 327 FAIL_UNLESS(reply->firstType == 0); in get_types() 329 keymap->num_types = reply->nTypes; in get_types() 396 xcb_xkb_get_map_reply_t *reply, xcb_xkb_get_map_map_t *map) in get_sym_maps() argument 398 int sym_maps_length = xcb_xkb_get_map_map_syms_rtrn_length(reply, map); in get_sym_maps() 400 xcb_xkb_get_map_map_syms_rtrn_iterator(reply, map); in get_sym_maps() [all …]
|
D | util.c | 45 const xcb_query_extension_reply_t *reply = in xkb_x11_setup_xkb_extension() local 47 if (!reply) { in xkb_x11_setup_xkb_extension() 52 if (!reply->present) { in xkb_x11_setup_xkb_extension() 57 base_event = reply->first_event; in xkb_x11_setup_xkb_extension() 58 base_error = reply->first_error; in xkb_x11_setup_xkb_extension() 65 xcb_xkb_use_extension_reply_t *reply = in xkb_x11_setup_xkb_extension() local 68 if (!reply) { in xkb_x11_setup_xkb_extension() 76 if (!reply->supported) { in xkb_x11_setup_xkb_extension() 80 free(reply); in xkb_x11_setup_xkb_extension() 84 server_major = reply->serverMajor; in xkb_x11_setup_xkb_extension() [all …]
|
/external/libese/apps/boot/ |
D | boot.c | 199 uint8_t reply[2]; // App reply or APDU error. in ese_boot_lock_xget() local 200 rx[0].base = &reply[0]; in ese_boot_lock_xget() 201 rx[0].len = sizeof(reply); in ese_boot_lock_xget() 217 EseAppResult ret = check_apdu_status(&reply[0]); in ese_boot_lock_xget() 251 uint8_t reply[6]; in ese_boot_lock_get() local 252 rx[0].base = &reply[0]; in ese_boot_lock_get() 253 rx[0].len = sizeof(reply); in ese_boot_lock_get() 260 EseAppResult ret = check_apdu_status(&reply[rx_len - 2]); in ese_boot_lock_get() 270 if (reply[0] != 0x0 && reply[1] != 0x0) { in ese_boot_lock_get() 271 ALOGE("ese_boot_lock_get: Applet error: %x %x", reply[0], reply[1]); in ese_boot_lock_get() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
D | NewInstanceTest.java | 70 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001() local 71 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testNewInstance001() 73 int classes = reply.getNextValueAsInt(); in testNewInstance001() 75 byte refTypeTag = reply.getNextValueAsByte(); in testNewInstance001() 76 long typeID = reply.getNextValueAsReferenceTypeID(); in testNewInstance001() 77 int status = reply.getNextValueAsInt(); in testNewInstance001() 82 assertAllDataRead(reply); in testNewInstance001() 100 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001() 101 checkReplyPacket(reply, "EventRequest::Set command"); in testNewInstance001() 103 int requestID = reply.getNextValueAsInt(); in testNewInstance001() [all …]
|
D | InvokeMethodTest.java | 72 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001() local 73 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testInvokeMethod001() 75 int classes = reply.getNextValueAsInt(); in testInvokeMethod001() 78 byte refTypeTag = reply.getNextValueAsByte(); in testInvokeMethod001() 79 long typeID = reply.getNextValueAsReferenceTypeID(); in testInvokeMethod001() 80 int status = reply.getNextValueAsInt(); in testInvokeMethod001() 81 assertAllDataRead(reply); in testInvokeMethod001() 103 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001() 104 checkReplyPacket(reply, "EventRequest::Set command"); in testInvokeMethod001() 106 int requestID = reply.getNextValueAsInt(); in testInvokeMethod001() [all …]
|
D | InvokeMethod002Test.java | 66 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod() local 67 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testInvokeMethod() 69 int classes = reply.getNextValueAsInt(); in testInvokeMethod() 72 byte refTypeTag = reply.getNextValueAsByte(); in testInvokeMethod() 73 long classID = reply.getNextValueAsReferenceTypeID(); in testInvokeMethod() 74 int status = reply.getNextValueAsInt(); in testInvokeMethod() 75 assertAllDataRead(reply); in testInvokeMethod() 98 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod() 99 checkReplyPacket(reply, "EventRequest::Set command"); in testInvokeMethod() 101 int requestID = reply.getNextValueAsInt(); in testInvokeMethod() [all …]
|
D | SuperClassTest.java | 47 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetSuperClassReply() local 48 checkReplyPacket(reply, "ClassType.Superclass command", errorExpected); in jdwpGetSuperClassReply() 49 return reply; in jdwpGetSuperClassReply() 52 private void asserSuperClassReplyIsValid(ReplyPacket reply, String expectedSignature) { in asserSuperClassReplyIsValid() argument 53 assertTrue(reply.getErrorCode() == JDWPConstants.Error.NONE); in asserSuperClassReplyIsValid() 54 long superClassID = reply.getNextValueAsClassID(); in asserSuperClassReplyIsValid() 88 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001() local 90 asserSuperClassReplyIsValid(reply, "Ljava/lang/Object;"); in testSuperClass001() 98 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001() local 100 asserSuperClassReplyIsValid(reply, "Ljava/lang/Object;"); in testSuperClass001() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_old_handlers.c | 38 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 …]
|
D | dbus_old.c | 142 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 …]
|
/external/adhd/cras/src/server/ |
D | cras_bt_profile.c | 51 DBusMessage *reply; in cras_bt_profile_handle_release() local 63 reply = dbus_message_new_method_return(message); in cras_bt_profile_handle_release() 64 if (!reply) in cras_bt_profile_handle_release() 66 if (!dbus_connection_send(conn, reply, NULL)) { in cras_bt_profile_handle_release() 67 dbus_message_unref(reply); in cras_bt_profile_handle_release() 71 dbus_message_unref(reply); in cras_bt_profile_handle_release() 82 DBusMessage *reply; in cras_bt_profile_handle_new_connection() local 121 reply = dbus_message_new_error(message, in cras_bt_profile_handle_new_connection() 124 if (!dbus_connection_send(conn, reply, NULL)) in cras_bt_profile_handle_new_connection() 127 dbus_message_unref(reply); in cras_bt_profile_handle_new_connection() [all …]
|
D | cras_bt_endpoint.c | 64 DBusMessage *reply; in cras_bt_endpoint_set_configuration() local 113 reply = dbus_message_new_method_return(message); in cras_bt_endpoint_set_configuration() 114 if (!reply) in cras_bt_endpoint_set_configuration() 116 if (!dbus_connection_send(conn, reply, NULL)) in cras_bt_endpoint_set_configuration() 119 dbus_message_unref(reply); in cras_bt_endpoint_set_configuration() 134 DBusMessage *reply; in cras_bt_endpoint_select_configuration() local 159 reply = dbus_message_new_error( in cras_bt_endpoint_select_configuration() 164 if (!dbus_connection_send(conn, reply, NULL)) in cras_bt_endpoint_select_configuration() 167 dbus_message_unref(reply); in cras_bt_endpoint_select_configuration() 171 reply = dbus_message_new_method_return(message); in cras_bt_endpoint_select_configuration() [all …]
|
D | cras_bt_transport.c | 342 DBusMessage *reply; in on_transport_volume_set() local 344 reply = dbus_pending_call_steal_reply(pending_call); in on_transport_volume_set() 347 if (dbus_message_get_type(reply) == DBUS_MESSAGE_TYPE_ERROR) in on_transport_volume_set() 349 dbus_message_get_error_name(reply)); in on_transport_volume_set() 350 dbus_message_unref(reply); in on_transport_volume_set() 405 DBusMessage *method_call, *reply; in cras_bt_transport_acquire() local 421 reply = dbus_connection_send_with_reply_and_block( in cras_bt_transport_acquire() 426 if (!reply) { in cras_bt_transport_acquire() 436 if (dbus_message_get_type(reply) == DBUS_MESSAGE_TYPE_ERROR) { in cras_bt_transport_acquire() 438 dbus_message_get_error_name(reply)); in cras_bt_transport_acquire() [all …]
|
/external/curl/tests/data/ |
D | test25 | 11 <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/share/ |
D | JDWPTestCase.java | 195 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); in getObjectReferenceType() local 196 checkReplyPacket(reply, "ObjectReference::ReferenceType command"); in getObjectReferenceType() 198 reply.getNextValueAsByte(); in getObjectReferenceType() 199 long objectRefTypeID = reply.getNextValueAsReferenceTypeID(); in getObjectReferenceType() 274 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); in getClassSignature() local 275 checkReplyPacket(reply, "ReferenceType::Signature command"); in getClassSignature() 276 String signature = reply.getNextValueAsString(); in getClassSignature() 293 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in getClassIDBySignature() local 294 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in getClassIDBySignature() 295 int classes = reply.getNextValueAsInt(); in getClassIDBySignature() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
D | JDWPStackFrameTestCase.java | 75 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetFrameCount() local 76 checkReplyPacket(reply, "ThreadReference::FrameCount command"); in jdwpGetFrameCount() 78 int frameCount = reply.getNextValueAsInt(); in jdwpGetFrameCount() 90 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetFrames() local 91 checkReplyPacket(reply, "ThreadReference::FramesCommand command"); in jdwpGetFrames() 93 int frames = reply.getNextValueAsInt(); in jdwpGetFrames() 96 long frameID = reply.getNextValueAsLong(); in jdwpGetFrames() 97 Location location = reply.getNextValueAsLocation(); in jdwpGetFrames() 119 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetAllThreads() local 120 checkReplyPacket(reply, "VirtualMachine::AllThreads command"); in jdwpGetAllThreads() [all …]
|
/external/perfetto/src/ipc/test/ |
D | ipc_integrationtest.cc | 52 DeferredGreeterReplyMsg reply) override { in SayHello() argument 53 OnSayHello(request, &reply); in SayHello() 59 DeferredGreeterReplyMsg reply) override { in WaveGoodbye() argument 60 OnWaveGoodbye(request, &reply); in WaveGoodbye() 93 [on_reply](AsyncResult<GreeterReplyMsg> reply) { in TEST_F() argument 94 ASSERT_TRUE(reply.success()); in TEST_F() 95 ASSERT_FALSE(reply.has_more()); in TEST_F() 96 ASSERT_EQ("Hello Mr Bojangles", reply->message()); in TEST_F() 103 auto reply = AsyncResult<GreeterReplyMsg>::Create(); in TEST_F() local 104 reply->set_message("Hello " + host_req.name()); in TEST_F() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | ResumeTest.java | 133 ReplyPacket reply = null; in testResume001() local 152 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001() 153 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) { in testResume001() 172 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001() 173 int errorCode = reply.getErrorCode(); in testResume001() 192 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001() 193 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) { in testResume001() 198 int threadStatus = reply.getNextValueAsInt(); in testResume001() 199 int suspendStatus = reply.getNextValueAsInt(); in testResume001() 221 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001() [all …]
|
D | SuspendCountTest.java | 143 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001() local 144 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.SuspendCount command") ) { in testSuspendCount001() 147 int suspendCount = reply.getNextValueAsInt(); in testSuspendCount001() 165 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001() 166 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Suspend command") ) { in testSuspendCount001() 180 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001() 181 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.SuspendCount command") ) { in testSuspendCount001() 184 int suspendCount = reply.getNextValueAsInt(); in testSuspendCount001() 198 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001() 199 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) { in testSuspendCount001() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBinderTest.java | 20 Parcel reply = Parcel.obtain(); in transactCallsOnTransact() local 22 assertTrue(testBinder.transact(2, data, reply, 3)); in transactCallsOnTransact() 25 assertThat(testBinder.reply).isSameAs(reply); in transactCallsOnTransact() 27 reply.readException(); in transactCallsOnTransact() 28 assertThat(reply.readString()).isEqualTo("Hello Robolectric"); in transactCallsOnTransact() 34 Parcel reply; field in ShadowBinderTest.TestBinder 38 …protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteExceptio… in onTransact() argument 41 this.reply = reply; in onTransact() 44 reply.writeNoException(); in onTransact() 45 reply.writeString(string); in onTransact() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
D | InvokeMethodTest.java | 71 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in setEventRequest() local 72 checkReplyPacket(reply, "EventRequest::Set command"); in setEventRequest() 74 int requestID = reply.getNextValueAsInt(); in setEventRequest() 76 assertTrue(reply.isAllDataRead()); in setEventRequest() 114 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in clearEvent() local 115 checkReplyPacket(reply, "EventRequest::Clear command"); in clearEvent() 116 assertAllDataRead(reply); in clearEvent() 136 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in makeNewInstance() local 137 checkReplyPacket(reply, "ClassType::NewInstance command"); in makeNewInstance() 139 TaggedObject newObject = reply.getNextValueAsTaggedObject(); in makeNewInstance() [all …]
|
/external/libese/tools/ese_replay/ |
D | main.c | 102 struct Buffer reply; in main() local 103 buffer_init(&reply, 2048); in main() 106 reply.len = (uint32_t)ese_transceive( in main() 107 &ese, payload.tx.buffer, payload.tx.len, reply.buffer, reply.size); in main() 108 if ((int)reply.len < 0 || ese_error(&ese)) { in main() 110 ALOGE("transceived returned failure: %d\n", (int)reply.len); in main() 117 buffer_dump(&reply, "", "Response", 240, stdout); in main() 118 if (reply.len < payload.expected.len) { in main() 119 printf("Received less data than expected: %u < %u\n", reply.len, in main() 126 (reply.buffer + reply.len) - payload.expected.len, in main() [all …]
|
/external/mesa3d/src/glx/ |
D | indirect_vertex_program.c | 181 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_glGetVertexAttribiv() local 204 get_vertex_attrib(gc, 1303, index, pname, (xReply *) & reply); in __indirect_glGetVertexAttribiv() 206 if (reply.size != 0) { in __indirect_glGetVertexAttribiv() 214 if (reply.size == 1) { in __indirect_glGetVertexAttribiv() 215 *params = (GLint) reply.pad3; in __indirect_glGetVertexAttribiv() 218 _XRead(dpy, (void *) params, 4 * reply.size); in __indirect_glGetVertexAttribiv() 235 xGLXSingleReply reply; in __indirect_glGetVertexAttribfv() local 238 get_vertex_attrib(gc, 1302, index, pname, (xReply *) & reply); in __indirect_glGetVertexAttribfv() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | VmMirror.java | 94 public ReplyPacket checkReply(ReplyPacket reply) { in checkReply() argument 95 if (reply.getErrorCode() != JDWPConstants.Error.NONE) in checkReply() 96 throw new ReplyErrorCodeException(reply.getErrorCode()); in checkReply() 97 return reply; in checkReply() 203 ReplyPacket reply = setBreakpoint(breakpointLocation, suspendPolicy); in setBreakpointAtMethodBegin() local 204 checkReply(reply); in setBreakpointAtMethodBegin() 206 return reply.getNextValueAsInt(); in setBreakpointAtMethodBegin() 1239 ReplyPacket reply = performCommand(commandPacket); in getMethods() local 1240 if (reply.getErrorCode() == JDWPConstants.Error.NOT_IMPLEMENTED) { in getMethods() 1243 reply = performCommand(commandPacket); in getMethods() [all …]
|