Home
last modified time | relevance | path

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

12345678910>>...99

/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/libxkbcommon/src/x11/
Dkeymap.c74 #define FAIL_IF_BAD_REPLY(reply, request_name) do { \ argument
75 if (!reply) { \
350 xcb_xkb_get_map_reply_t *reply, xcb_xkb_get_map_map_t *map) in get_types() argument
352 int types_length = xcb_xkb_get_map_map_types_rtrn_length(reply, map); in get_types()
354 xcb_xkb_get_map_map_types_rtrn_iterator(reply, map); in get_types()
356 FAIL_UNLESS(reply->firstType == 0); in get_types()
358 keymap->num_types = reply->nTypes; in get_types()
425 xcb_xkb_get_map_reply_t *reply, xcb_xkb_get_map_map_t *map) in get_sym_maps() argument
427 int sym_maps_length = xcb_xkb_get_map_map_syms_rtrn_length(reply, map); in get_sym_maps()
429 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 …]
/external/libese/apps/boot/
Dboot.c199 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/
DNewInstanceTest.java71 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001() local
72 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testNewInstance001()
74 int classes = reply.getNextValueAsInt(); in testNewInstance001()
76 byte refTypeTag = reply.getNextValueAsByte(); in testNewInstance001()
77 long typeID = reply.getNextValueAsReferenceTypeID(); in testNewInstance001()
78 int status = reply.getNextValueAsInt(); in testNewInstance001()
83 assertAllDataRead(reply); in testNewInstance001()
101 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001()
102 checkReplyPacket(reply, "EventRequest::Set command"); in testNewInstance001()
104 int requestID = reply.getNextValueAsInt(); in testNewInstance001()
[all …]
DInvokeMethodTest.java73 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001() local
74 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testInvokeMethod001()
76 int classes = reply.getNextValueAsInt(); in testInvokeMethod001()
79 byte refTypeTag = reply.getNextValueAsByte(); in testInvokeMethod001()
80 long typeID = reply.getNextValueAsReferenceTypeID(); in testInvokeMethod001()
81 int status = reply.getNextValueAsInt(); in testInvokeMethod001()
82 assertAllDataRead(reply); in testInvokeMethod001()
104 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001()
105 checkReplyPacket(reply, "EventRequest::Set command"); in testInvokeMethod001()
107 int requestID = reply.getNextValueAsInt(); in testInvokeMethod001()
[all …]
DInvokeMethod002Test.java67 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod() local
68 checkReplyPacket(reply, "VirtualMachine::ClassesBySignature command"); in testInvokeMethod()
70 int classes = reply.getNextValueAsInt(); in testInvokeMethod()
73 byte refTypeTag = reply.getNextValueAsByte(); in testInvokeMethod()
74 long classID = reply.getNextValueAsReferenceTypeID(); in testInvokeMethod()
75 int status = reply.getNextValueAsInt(); in testInvokeMethod()
76 assertAllDataRead(reply); in testInvokeMethod()
99 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod()
100 checkReplyPacket(reply, "EventRequest::Set command"); in testInvokeMethod()
102 int requestID = reply.getNextValueAsInt(); in testInvokeMethod()
[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/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 …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPTestCase.java195 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/
DJDWPStackFrameTestCase.java75 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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DResumeTest.java131 ReplyPacket reply = null; in testResume001() local
150 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
151 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) { in testResume001()
170 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
171 int errorCode = reply.getErrorCode(); in testResume001()
190 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
191 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) { in testResume001()
196 int threadStatus = reply.getNextValueAsInt(); in testResume001()
197 int suspendStatus = reply.getNextValueAsInt(); in testResume001()
219 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testResume001()
[all …]
DSuspendCountTest.java141 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001() local
142 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.SuspendCount command") ) { in testSuspendCount001()
145 int suspendCount = reply.getNextValueAsInt(); in testSuspendCount001()
163 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001()
164 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Suspend command") ) { in testSuspendCount001()
178 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001()
179 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.SuspendCount command") ) { in testSuspendCount001()
182 int suspendCount = reply.getNextValueAsInt(); in testSuspendCount001()
196 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testSuspendCount001()
197 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) { in testSuspendCount001()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBinderTest.java20 Parcel reply = Parcel.obtain(); in transactCallsOnTransact() local
22 assertTrue(testBinder.transact(2, data, reply, 3)); in transactCallsOnTransact()
25 assertThat(testBinder.reply).isSameInstanceAs(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/perfetto/src/ipc/test/
Dipc_integrationtest.cc54 DeferredGreeterReplyMsg reply) override { in SayHello() argument
55 OnSayHello(request, &reply); in SayHello()
62 DeferredGreeterReplyMsg reply) override { in WaveGoodbye() argument
63 OnWaveGoodbye(request, &reply); in WaveGoodbye()
115 [on_reply](AsyncResult<GreeterReplyMsg> reply) { in TEST_F() argument
116 ASSERT_TRUE(reply.success()); in TEST_F()
117 ASSERT_FALSE(reply.has_more()); in TEST_F()
118 ASSERT_EQ("Hello Mr Bojangles", reply->message()); in TEST_F()
125 auto reply = AsyncResult<GreeterReplyMsg>::Create(); in TEST_F() local
126 reply->set_message("Hello " + host_req.name()); in TEST_F()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodTest.java72 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in setEventRequest() local
73 checkReplyPacket(reply, "EventRequest::Set command"); in setEventRequest()
75 int requestID = reply.getNextValueAsInt(); in setEventRequest()
77 assertTrue(reply.isAllDataRead()); in setEventRequest()
115 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in clearEvent() local
116 checkReplyPacket(reply, "EventRequest::Clear command"); in clearEvent()
117 assertAllDataRead(reply); in clearEvent()
137 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in makeNewInstance() local
138 checkReplyPacket(reply, "ClassType::NewInstance command"); in makeNewInstance()
140 TaggedObject newObject = reply.getNextValueAsTaggedObject(); in makeNewInstance()
[all …]
/external/libese/tools/ese_replay/
Dmain.c102 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/
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_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 …]
Dglx_query.c46 xcb_glx_query_server_string_reply_t *reply = in __glXQueryServerString() local
53 if (!reply) in __glXQueryServerString()
58 uint32_t len = xcb_glx_query_server_string_string_length(reply); in __glXQueryServerString()
60 memcpy(buf, xcb_glx_query_server_string_string(reply), len); in __glXQueryServerString()
61 free(reply); in __glXQueryServerString()
73 xcb_glx_get_string_reply_t *reply = xcb_glx_get_string_reply(c, in __glXGetString() local
80 if (!reply) in __glXGetString()
85 uint32_t len = xcb_glx_get_string_string_length(reply); in __glXGetString()
87 memcpy(buf, xcb_glx_get_string_string(reply), len); in __glXGetString()
88 free(reply); in __glXGetString()
/external/cronet/third_party/libevent/
Devrpc.h124 void *reply; member
157 struct rplystruct* reply; \
161 struct evrpc* rpc, void *request, void *reply); \
181 struct reqstruct *request, struct rplystruct *reply, \
202 ctx->reply = (void *)reply; \
210 (*(cb))(&status, request, reply, cbarg); \
240 #define EVRPC_REGISTER_OBJECT(rpc, name, request, reply) \ argument
250 (rpc)->reply_new = (void *(*)(void))reply##_new; \
251 (rpc)->reply_free = (void (*)(void *))reply##_free; \
252 (rpc)->reply_complete = (int (*)(void *))reply##_complete; \
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DVmMirror.java94 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 …]
/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 …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayType/
DNewInstanceTest.java76 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/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/
DBundleListRetriever.java70 protected boolean onTransact(int code, Parcel data, @Nullable Parcel reply, int flags) in onTransact() argument
73 return super.onTransact(code, data, reply, flags); in onTransact()
76 if (reply == null) { in onTransact()
82 while (index < count && reply.dataSize() < SUGGESTED_MAX_IPC_SIZE) { in onTransact()
83 reply.writeInt(REPLY_CONTINUE); in onTransact()
84 reply.writeBundle(list.get(index)); in onTransact()
87 reply.writeInt(index < count ? REPLY_BREAK : REPLY_END_OF_LIST); in onTransact()
105 Parcel reply = Parcel.obtain();
109 binder.transact(FIRST_CALL_TRANSACTION, data, reply, /* flags= */ 0);
113 while ((replyCode = reply.readInt()) == REPLY_CONTINUE) {
[all …]

12345678910>>...99