HomeSort by relevance Sort by last modified time
    Searched refs:resp (Results 1 - 25 of 328) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bluetooth/bluez/tools/
hciattach_qualcomm.c 71 command_complete_t resp; local
81 n = read_hci_event(fd, (unsigned char *)&resp, sizeof(resp));
85 FAILIF(resp.hci_hdr.evt != EVT_CMD_COMPLETE,
87 "but 0x%02x!\n", resp.hci_hdr.evt);
89 FAILIF(resp.hci_hdr.plen < 4, /* plen >= 4 for EVT_CMD_COMPLETE */
91 resp.hci_hdr.plen);
94 FAILIF(resp.cmd_complete.opcode != 0,
96 resp.cmd_complete.opcode);
98 return resp.status == 0 ? 0 : -1
171 unsigned char resp[100]; \/* Response *\/ local
    [all...]
hciattach_tialt.c 67 command_complete_t resp; local
69 FAILIF(read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0,
73 FAILIF(resp.uart_prefix != HCI_EVENT_PKT,
75 resp.uart_prefix);
77 FAILIF(resp.hci_hdr.evt != EVT_CMD_COMPLETE, /* event must be event-complete */
79 "but 0x%02x!\n", resp.hci_hdr.evt);
81 FAILIF(resp.hci_hdr.plen < 4, /* plen >= 4 for EVT_CMD_COMPLETE */
83 resp.hci_hdr.plen);
86 FAILIF(resp.cmd_complete.opcode != (uint16_t)opcode
196 unsigned char resp[100]; \/* Response *\/ local
    [all...]
  /external/qemu/hw/
goldfish_mmc.c 76 uint32_t resp[4]; member in struct:goldfish_mmc_state
94 QFIELD_INT32(resp[0]),
95 QFIELD_INT32(resp[1]),
96 QFIELD_INT32(resp[2]),
97 QFIELD_INT32(resp[3]),
223 s->resp[0] = 0;
224 s->resp[1] = 0;
225 s->resp[2] = 0;
226 s->resp[3] = 0;
244 s->resp[3] = 0x400E0032
    [all...]
  /external/qemu/android/protocol/
core-commands-impl.c 124 * resp - Response header.
130 _coreCmdImpl_respond(CoreCmdImpl* corecmd, UICmdRespHeader* resp, void* resp_data)
135 status = syncsocket_write(corecmd->sync_writer, resp,
139 if (status > 0 && resp_data != NULL && resp->resp_data_size != 0) {
141 resp->resp_data_size,
142 _coreCmdImpl_get_timeout(resp->resp_data_size));
149 resp->resp_data_size, errno_str);
197 UICmdRespHeader resp; local
198 resp.resp_data_size = 0;
199 resp.result = qemu_net_disable
206 UICmdRespHeader resp; local
250 UICmdRespHeader resp; local
294 UICmdRespHeader resp; local
313 UICmdRespHeader resp; local
    [all...]
core-commands-proxy.c 88 * resp - Upon success contains command response header.
95 _coreCmdProxy_get_response(UICmdRespHeader* resp, void** resp_data)
100 status = syncsocket_read(_coreCmdProxy.sync_reader, resp,
104 if (status > 0 && resp->resp_data_size) {
105 *resp_data = malloc(resp->resp_data_size);
110 resp->resp_data_size,
111 core_connection_get_timeout(resp->resp_data_size));
150 UICmdRespHeader resp; local
158 status = _coreCmdProxy_get_response(&resp, &tmp);
162 return resp.result
169 UICmdRespHeader resp; local
214 UICmdRespHeader resp; local
261 UICmdRespHeader resp; local
298 UICmdRespHeader resp; local
    [all...]
  /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/mockril/
MockRilTest.java 161 Msg resp = Msg.recv(mMockRilChannel); local
162 //resp.printHeader("testGetRadioState");
164 assertTrue(String.format("expected cmd == 1 was %d", resp.getCmd()),
165 resp.getCmd() == 1);
166 assertTrue(String.format("expected token == 9876 was %d", resp.getToken()),
167 resp.getToken() == 9876);
168 assertTrue(String.format("expected status == 0 was %d", resp.getStatus()),
169 resp.getStatus() == 0);
171 RilCtrlCmds.CtrlRspRadioState rsp = resp.getDataAs(RilCtrlCmds.CtrlRspRadioState.class);
195 Msg resp = Msg.recv(mMockRilChannel) local
218 Msg resp = Msg.recv(mMockRilChannel); local
251 Msg resp = Msg.recv(mMockRilChannel); local
    [all...]
  /external/libffi/testsuite/libffi.call/
cls_double.c 10 static void cls_ret_double_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
13 *(double *)resp = *(double *)args[0];
16 *(double *)resp);
cls_float.c 10 static void cls_ret_float_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
13 *(float *)resp = *(float *)args[0];
16 *(float *)resp);
cls_schar.c 12 static void cls_ret_schar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
15 *(ffi_arg*)resp = *(signed char *)args[0];
17 (int)*(ffi_arg *)(resp));
cls_sint.c 10 static void cls_ret_sint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
13 *(ffi_arg*)resp = *(signed int *)args[0];
15 (int)*(ffi_arg *)(resp));
cls_sshort.c 10 static void cls_ret_sshort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
13 *(ffi_arg*)resp = *(signed short *)args[0];
15 (int)*(ffi_arg *)(resp));
cls_uchar.c 10 static void cls_ret_uchar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
13 *(ffi_arg*)resp = *(unsigned char *)args[0];
15 (int)*(ffi_arg *)(resp));
cls_uint.c 10 static void cls_ret_uint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
13 *(ffi_arg *)resp = *(unsigned int *)args[0];
16 (int)*(ffi_arg *)(resp));
cls_ulonglong.c 10 static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp,
13 *(unsigned long long *)resp= *(unsigned long long *)args[0];
16 *(unsigned long long *)(resp));
cls_ushort.c 10 static void cls_ret_ushort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
13 *(ffi_arg*)resp = *(unsigned short *)args[0];
16 (int)*(ffi_arg *)(resp));
  /external/speex/libspeex/
cb_search_bfin.h 37 void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
74 : "m" (subvect_size), "m" (shape_cb), "m" (r), "m" (resp), "m" (E)
82 resp += subvect_size;
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_gtc.c 55 struct wpabuf *resp; local
78 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC,
80 return resp;
110 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, plen,
112 if (resp == NULL)
115 wpabuf_put_data(resp, "RESPONSE=", 9);
116 wpabuf_put_data(resp, identity, identity_len);
117 wpabuf_put_u8(resp, '\0');
119 wpabuf_put_data(resp, password, password_len);
121 wpabuf_head_u8(resp) + sizeof(struct eap_hdr)
    [all...]
eap_md5.c 39 struct wpabuf *resp; local
82 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN,
84 if (resp == NULL)
91 wpabuf_put_u8(resp, CHAP_MD5_LEN);
93 id = eap_get_id(resp);
94 rpos = wpabuf_put(resp, CHAP_MD5_LEN);
98 return resp;
eap_otp.c 38 struct wpabuf *resp; local
72 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len,
74 if (resp == NULL)
76 wpabuf_put_data(resp, password, password_len);
85 return resp;
eap_sake.c 154 struct wpabuf *resp; local
174 resp = eap_sake_build_msg(data, eap_get_id(reqData),
177 if (resp == NULL)
181 eap_sake_add_attr(resp, EAP_SAKE_AT_PEERID,
186 return resp;
198 struct wpabuf *resp; local
255 resp = eap_sake_build_msg(data, eap_get_id(reqData), rlen,
257 if (resp == NULL)
261 eap_sake_add_attr(resp, EAP_SAKE_AT_RAND_P,
266 eap_sake_add_attr(resp, EAP_SAKE_AT_PEERID
299 struct wpabuf *resp; local
372 struct wpabuf *resp; local
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_gtc.c 49 struct wpabuf *resp; local
72 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC,
74 return resp;
104 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, plen,
106 if (resp == NULL)
109 wpabuf_put_data(resp, "RESPONSE=", 9);
110 wpabuf_put_data(resp, identity, identity_len);
111 wpabuf_put_u8(resp, '\0');
113 wpabuf_put_data(resp, password, password_len);
115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr)
    [all...]
eap_md5.c 33 struct wpabuf *resp; local
76 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN,
78 if (resp == NULL)
85 wpabuf_put_u8(resp, CHAP_MD5_LEN);
87 id = eap_get_id(resp);
88 rpos = wpabuf_put(resp, CHAP_MD5_LEN);
92 return resp;
eap_otp.c 32 struct wpabuf *resp; local
66 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len,
68 if (resp == NULL)
70 wpabuf_put_data(resp, password, password_len);
79 return resp;
  /external/openssh/openbsd-compat/
getrrsetbyname.c 387 struct dns_response *resp; local
391 resp = calloc(1, sizeof(*resp));
392 if (resp == NULL)
399 memcpy(&resp->header, cp, HFIXEDSZ);
403 resp->header.qdcount = ntohs(resp->header.qdcount);
404 resp->header.ancount = ntohs(resp->header.ancount);
405 resp->header.nscount = ntohs(resp->header.nscount)
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
AdbHelper.java 91 AdbResponse resp = readAdbResponse(adbChan, false); local
92 if (resp.okay == false) {
93 throw new AdbCommandRejectedException(resp.message);
138 AdbResponse resp = readAdbResponse(adbChan, false /* readDiagString */); local
139 if (resp.okay == false) {
140 throw new AdbCommandRejectedException(resp.message);
213 AdbResponse resp = new AdbResponse(); local
219 resp.okay = true;
222 resp.okay = false;
248 resp.message = replyToString(msg)
289 AdbResponse resp = readAdbResponse(adbChan, false \/* readDiagString *\/); local
378 AdbResponse resp = readAdbResponse(adbChan, false \/* readDiagString *\/); local
474 AdbResponse resp = readAdbResponse(adbChan, false \/* readDiagString *\/); local
542 AdbResponse resp = readAdbResponse(adbChan, false \/* readDiagString *\/); local
586 AdbResponse resp = readAdbResponse(adbChan, false \/* readDiagString *\/); local
750 AdbResponse resp = readAdbResponse(adbChan, false \/* readDiagString *\/); local
    [all...]

Completed in 183 milliseconds

1 2 3 4 5 6 7 8 91011>>