/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/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() 92 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001() 93 checkReplyPacket(reply, "ReferenceType::Methods command"); in testNewInstance001() 95 int declared = reply.getNextValueAsInt(); in testNewInstance001() [all …]
|
D | InvokeMethod002Test.java | 65 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod() local 66 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testInvokeMethod() 68 int classes = reply.getNextValueAsInt(); in testInvokeMethod() 71 byte refTypeTag = reply.getNextValueAsByte(); in testInvokeMethod() 72 long classID = reply.getNextValueAsReferenceTypeID(); in testInvokeMethod() 73 int status = reply.getNextValueAsInt(); in testInvokeMethod() 74 assertAllDataRead(reply); in testInvokeMethod() 90 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod() 91 checkReplyPacket(reply, "ReferenceType::Methods command"); in testInvokeMethod() 93 int declared = reply.getNextValueAsInt(); in testInvokeMethod() [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() 96 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001() 97 checkReplyPacket(reply, "ReferenceType::Methods command"); in testInvokeMethod001() 99 int declared = reply.getNextValueAsInt(); in testInvokeMethod001() [all …]
|
D | SuperClassTest.java | 46 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetSuperClassReply() local 47 checkReplyPacket(reply, "ClassType.Superclass command", errorExpected); in jdwpGetSuperClassReply() 48 return reply; in jdwpGetSuperClassReply() 51 private void asserSuperClassReplyIsValid(ReplyPacket reply, String expectedSignature) { in asserSuperClassReplyIsValid() argument 52 assertTrue(reply.getErrorCode() == JDWPConstants.Error.NONE); in asserSuperClassReplyIsValid() 53 long superClassID = reply.getNextValueAsClassID(); in asserSuperClassReplyIsValid() 87 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001() local 89 asserSuperClassReplyIsValid(reply, "Ljava/lang/Object;"); in testSuperClass001() 97 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001() local 99 asserSuperClassReplyIsValid(reply, "Ljava/lang/Object;"); in testSuperClass001() [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/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
D | JDWPStackFrameTestCase.java | 97 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetFrameCount() local 98 checkReplyPacket(reply, "ThreadReference::FrameCount command"); in jdwpGetFrameCount() 100 int frameCount = reply.getNextValueAsInt(); in jdwpGetFrameCount() 112 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetFrames() local 113 checkReplyPacket(reply, "ThreadReference::FramesCommand command"); in jdwpGetFrames() 115 int frames = reply.getNextValueAsInt(); in jdwpGetFrames() 118 long frameID = reply.getNextValueAsLong(); in jdwpGetFrames() 119 Location location = reply.getNextValueAsLocation(); in jdwpGetFrames() 132 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in jdwpGetVariableTable() local 133 checkReplyPacket(reply, "Method::VariableTable command"); in jdwpGetVariableTable() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPTestCase.java | 190 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); in getObjectReferenceType() local 191 checkReplyPacket(reply, "ObjectReference::ReferenceType command"); in getObjectReferenceType() 193 reply.getNextValueAsByte(); in getObjectReferenceType() 194 long objectRefTypeID = reply.getNextValueAsReferenceTypeID(); in getObjectReferenceType() 212 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(command); in getMethodID() local 213 checkReplyPacket(reply, "ReferenceType::Methods command"); in getMethodID() 214 int methods = reply.getNextValueAsInt(); in getMethodID() 216 long methodID = reply.getNextValueAsMethodID(); in getMethodID() 217 String name = reply.getNextValueAsString(); // method name in getMethodID() 218 reply.getNextValueAsString(); // method signature in getMethodID() [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/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
D | LengthTest.java | 61 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testLength001() local 62 checkReplyPacket(reply, "ReferenceType::Fields command"); in testLength001() 64 int declared = reply.getNextValueAsInt(); in testLength001() 66 long fieldID = reply.getNextValueAsFieldID(); in testLength001() 67 String fieldName = reply.getNextValueAsString(); in testLength001() 68 reply.getNextValueAsString(); in testLength001() 69 reply.getNextValueAsInt(); in testLength001() 96 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in checkArrayLength() local 97 checkReplyPacket(reply, "ReferenceType::GetValues command"); in checkArrayLength() 99 int values = reply.getNextValueAsInt(); in checkArrayLength() [all …]
|
D | SetValuesTest.java | 61 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues001() local 62 checkReplyPacket(reply, "ReferenceType::Fields command"); in testSetValues001() 64 int declared = reply.getNextValueAsInt(); in testSetValues001() 66 long fieldID = reply.getNextValueAsFieldID(); in testSetValues001() 67 String name = reply.getNextValueAsString(); in testSetValues001() 68 reply.getNextValueAsString(); in testSetValues001() 69 reply.getNextValueAsInt(); in testSetValues001() 107 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in checkArrayValues() local 108 checkReplyPacket(reply, "ReferenceType::GetValues command"); in checkArrayValues() 110 … assertEquals("GetValuesCommand returned invalid number of values,", 1, reply.getNextValueAsInt()); in checkArrayValues() [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/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 …]
|
D | InvokeMethod003Test.java | 68 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod_toString() local 69 checkReplyPacket(reply, "EventRequest::Set command"); in testInvokeMethod_toString() 71 int requestID = reply.getNextValueAsInt(); in testInvokeMethod_toString() 73 assertAllDataRead(reply); in testInvokeMethod_toString() 104 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod_toString() 105 checkReplyPacket(reply, "EventRequest::Clear command"); in testInvokeMethod_toString() 106 assertAllDataRead(reply); in testInvokeMethod_toString() 119 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod_toString() 120 checkReplyPacket(reply, "ReferenceType::GetValues command"); in testInvokeMethod_toString() 121 int valuesCount = reply.getNextValueAsInt(); // number of field values. in testInvokeMethod_toString() [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() 832 ReplyPacket reply = getFieldsInClass(classID); in getFieldID() local 833 return getFieldID(reply, fieldName); in getFieldID() 877 ReplyPacket reply; in getMethodID() local [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassObjectReference/ |
D | AbstractReflectedTypeTestCase.java | 52 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 …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayType/ |
D | NewInstanceTest.java | 76 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001() local 77 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testNewInstance001() 79 int classes = reply.getNextValueAsInt(); in testNewInstance001() 85 byte refInitTypeTag = reply.getNextValueAsByte(); in testNewInstance001() 86 long typeArrayID = reply.getNextValueAsReferenceTypeID(); in testNewInstance001() 87 int status = reply.getNextValueAsInt(); in testNewInstance001() 104 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001() 105 checkReplyPacket(reply, "ArrayType::NewInstance command"); in testNewInstance001() 107 TaggedObject newArray = reply.getNextValueAsTaggedObject(); in testNewInstance001() 108 assertAllDataRead(reply); in testNewInstance001() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-2.c | 44 int send_receive(int read_pipe, int write_pipe, char send, char *reply); 94 char reply; in parent_process() local 103 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 107 if (reply != 'b') { in parent_process() 112 rval = send_receive(read_pipe, write_pipe, 'c', &reply); in parent_process() 116 if (reply != 'd') { in parent_process() 144 char reply; in child_process() local 146 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process() 150 if (reply != 'a') { in child_process() 159 rval = send_receive(read_pipe, write_pipe, 'b', &reply); in child_process() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 41 int send_receive(int read_pipe, int write_pipe, char send, char *reply); 100 char reply; in parent_process() local 117 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 124 if (reply != 'b') { in parent_process() 138 rval = send_receive(read_pipe, write_pipe, 'c', &reply); in parent_process() 143 if (reply == 'd') { in parent_process() 146 } else if (reply == 'e') { in parent_process() 159 char reply; in child_process() local 163 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process() 168 if (reply != 'a') { in child_process() [all …]
|