/external/wpa_supplicant_8/src/wps/ |
http_server.c | 132 void http_request_send(struct http_request *req, struct wpabuf *resp) 137 (unsigned long) wpabuf_len(resp), 141 res = send(req->fd, wpabuf_head(resp), wpabuf_len(resp), 0); 145 } else if ((size_t) res < wpabuf_len(resp)) { 147 res, (unsigned long) wpabuf_len(resp)); 151 wpabuf_free(resp); 156 struct wpabuf *resp) 158 http_request_send(req, resp);
|
/external/u-boot/drivers/misc/ |
atsha204a-i2c.c | 175 struct atsha204a_resp *resp) 179 u8 *p = (u8 *) resp; 185 if (resp->length > 4) { 186 if (resp->length > sizeof(*resp)) 189 res = atsha204a_recv(dev, p + 4, resp->length - 4); 194 resp_crc = (u16) p[resp->length - 2] 195 | (((u16) p[resp->length - 1]) << 8); 196 computed_crc = atsha204a_crc16(p, resp->length - 2); 209 struct atsha204a_resp resp; local 315 struct atsha204a_resp resp; local 359 struct atsha204a_resp resp; local [all...] |
/external/f2fs-tools/tools/sg_write_buffer/ |
sg_cmds_basic2.c | 165 sg_ll_readcap_16(int sg_fd, bool pmi, uint64_t llba, void * resp, 192 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, mx_resp_len); 221 sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp, 245 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, mx_resp_len); 275 void * resp, int mx_resp_len, bool noisy, int verbose) 302 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, mx_resp_len); 327 hex2stderr((const uint8_t *)resp, (ret > 256 ? 256 : ret), 331 hex2stderr((const uint8_t *)resp, ret, 0); 345 memset((unsigned char *)resp + (mx_resp_len - resid), 0, resid); 354 int sub_pg_code, void * resp, int mx_resp_len [all...] |
sg_cmds_mmc.c | 136 sg_ll_get_config(int sg_fd, int rt, int starting, void * resp, 173 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, mx_resp_len); 203 bp = (unsigned char *)resp; 211 hex2stderr((const uint8_t *)resp, (len > 256 ? 256 : len), 215 hex2stderr((const uint8_t *)resp, len, 0); 230 int max_num_desc, int ttype, void * resp, 268 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, mx_resp_len); 298 bp = (unsigned char *)resp; 306 hex2stderr((const uint8_t *)resp, (len > 256 ? 256 : len), 310 hex2stderr((const uint8_t *)resp, len, 0) [all...] |
/external/curl/lib/ |
mk-ca-bundle.pl | 295 my $resp; 350 $resp = $ua->mirror($url, $txt); 351 if($resp && $resp->code eq '304') { 359 if(!$resp || $resp->code !~ /^(?:200|304)$/) { 361 . ($resp? $resp->code . ' - ' . $resp->message : "LWP failed"); 367 my $filedate = $resp ? $resp->last_modified : (stat($txt))[9] [all...] |
/external/perfetto/src/tracing/ipc/service/ |
producer_ipc_service.cc | 200 DeferredCommitDataResponse resp) { 205 if (resp.IsBound()) 206 resp.Reject(); 216 if (resp.IsBound()) { 217 // Capturing |resp| by reference here speculates on the fact that 222 callback = [&resp] { 223 resp.Resolve(ipc::AsyncResult<protos::CommitDataResponse>::Create()); 275 DeferredActivateTriggersResponse resp) { 280 if (resp.IsBound()) 281 resp.Reject() [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_peap.c | 464 * @resp: Buffer to return a pointer to the allocated response message. This 473 const struct wpabuf *req, struct wpabuf **resp, 517 *resp = eap_tlv_build_nak(eap_get_id(req), 519 return *resp == NULL ? -1 : 0; 587 *resp = eap_tlv_build_result(sm, data, crypto_tlv != NULL, 599 struct wpabuf **resp) 616 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 620 if (eap_tlv_process(sm, data, &iret, req, resp, 649 *resp = eap_msg_alloc( 654 if (*resp == NULL) 751 struct wpabuf *resp = NULL; local 976 struct wpabuf *resp; local [all...] |
eap_psk.c | 89 struct wpabuf *resp; local 135 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, 138 if (resp == NULL) 140 hdr2 = wpabuf_put(resp, sizeof(*hdr2)); 144 wpabuf_put_data(resp, data->id_p, data->id_p_len); 149 wpabuf_free(resp); 161 wpabuf_free(resp); 173 return resp; 183 struct wpabuf *resp; local 315 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, plen 375 struct wpabuf *resp = NULL; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_mschapv2.c | 242 struct eap_mschapv2_hdr *resp; local 253 resp = (struct eap_mschapv2_hdr *) pos; 255 resp->op_code != MSCHAPV2_OP_RESPONSE) { 257 "ignore op %d", resp->op_code); 262 resp->op_code != MSCHAPV2_OP_SUCCESS && 263 resp->op_code != MSCHAPV2_OP_FAILURE) { 265 "Failure - ignore op %d", resp->op_code); 270 resp->op_code != MSCHAPV2_OP_FAILURE) { 272 "- ignore op %d", resp->op_code); 284 struct eap_mschapv2_hdr *resp; local 455 struct eap_mschapv2_hdr *resp; local 482 struct eap_mschapv2_hdr *resp; local [all...] |
/external/autotest/client/deps/lansim/src/py/ |
simulator_unittest.py | 185 resp = [line for line in out.splitlines() if 'Unicast reply' in line] 186 self.assertEqual(len(resp), 1) 187 self.assertTrue(resp[0].startswith( 193 resp = [line for line in out.splitlines() if 'Unicast reply' in line] 194 self.assertEqual(len(resp), 2) 195 resp.sort() 196 self.assertTrue(resp[0].startswith( 198 self.assertTrue(resp[1].startswith(
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
alts_handshaker_service_api.h | 49 * grpc_gcp_handshaker_resp* resp = grpc_gcp_handshaker_resp_create(); 50 * if (!grpc_gcp_handshaker_resp_decode(server_slice, resp)) { 55 * if (resp->out_frames.arg != nullptr) { 56 * grpc_slice* slice = resp->out_frames.arg; 60 * if (resp->has_status && resp->status->has_code) { 61 * uint32_t code = resp->status->code; 313 * - resp: an ALTS handshake response used to hold de-serialized result. 318 grpc_gcp_handshaker_resp* resp); 321 void grpc_gcp_handshaker_resp_destroy(grpc_gcp_handshaker_resp* resp); [all...] |
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/ |
OkHttpClientInteropServlet.java | 84 public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { 88 doGetHelper(req, resp); 92 resp.getWriter().append("=======================================\n") 97 private void doGetHelper(HttpServletRequest req, HttpServletResponse resp) throws IOException { 98 resp.setContentType("text/plain"); 99 PrintWriter writer = resp.getWriter(); 163 resp.setStatus(200); 170 resp.setStatus(500);
|
/external/libffi/testsuite/libffi.call/ |
cls_many_mixed_args.c | 14 static void cls_ret_double_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 34 *(double *)resp = r;
|
cls_pointer.c | 23 cls_pointer_gn(ffi_cif* cif __UNUSED__, void* resp, 29 *(void**)resp = cls_pointer_fn(a1, a2);
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
cls_pointer.c | 23 cls_pointer_gn(ffi_cif* cif __UNUSED__, void* resp, 29 *(void**)resp = cls_pointer_fn(a1, a2);
|
/external/python/google-api-python-client/googleapiclient/ |
model.py | 72 def response(self, resp, content): 76 resp: httplib2.Response, the HTTP response headers and status 178 def _log_response(self, resp, content): 182 for h, v in six.iteritems(resp): 188 def response(self, resp, content): 192 resp: httplib2.Response, the HTTP response headers and status 201 self._log_response(resp, content) 204 if resp.status < 300: 205 if resp.status == 204: 212 raise HttpError(resp, content [all...] |
/external/selinux/dbus/ |
selinux_client.py | 41 resp = dbus_proxy.customized() variable 42 print(convert_customization(resp))
|
/external/syzkaller/dashboard/app/ |
reporting_external.go | 34 resp := &dashapi.PollBugsResponse{ 37 return resp, nil 50 resp := &dashapi.PollClosedResponse{ 53 return resp, nil
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
collective_param_resolver_distributed.h | 53 // Updates group_table_ with contents of resp. 54 Status UpdateGroupCache(const CompleteGroupResponse& resp) 70 // Updates instance_table_ with contents of resp. 72 const CompleteInstanceResponse& resp,
|
device_resolver_distributed.cc | 99 GetStatusResponse* resp = new GetStatusResponse; local 103 req, resp, [this, device, task, req, resp, worker, done](Status s) { 106 for (const DeviceAttributes& da : resp->device_attributes()) { 112 delete resp;
|
/external/tensorflow/tensorflow/python/data/util/ |
convert_test.py | 33 resp = convert.optional_param_to_tensor("foo", 3) 34 self.assertEqual(3, self.evaluate(resp)) 37 resp = convert.optional_param_to_tensor("foo", None) 38 self.assertEqual(0, self.evaluate(resp)) 41 resp = convert.optional_param_to_tensor("bar", None, "default", 43 self.assertEqual(compat.as_bytes("default"), self.evaluate(resp)) 46 resp = convert.optional_param_to_tensor("bar", "value", "default", 48 self.assertEqual(compat.as_bytes("value"), self.evaluate(resp))
|
/external/owasp/sanitizer/tools/ |
googlecode_upload.py | 100 resp = server.getresponse() 103 if resp.status == 201: 104 location = resp.getheader('Location', None) 107 return resp.status, resp.reason, location
|
/external/python/oauth2client/oauth2client/ |
transport.py | 167 resp, content = orig_request_method(uri, method, body, 175 if resp.status not in REFRESH_STATUS_CODES: 178 resp.status, refresh_attempt + 1, 185 resp, content = orig_request_method(uri, method, body, 189 return resp, content
|
/external/wpa_supplicant_8/hs20/server/ |
hs20_spp_server.c | 68 xml_node_t *soap, *spp, *resp; local 119 resp = hs20_spp_server_process(ctx, spp, user, realm, dmacc); 121 if (resp == NULL && user == NULL) { 125 if (resp == NULL) { 130 soap = soap_build_envelope(ctx->xml, resp);
|
/external/wpa_supplicant_8/src/ap/ |
fils_hlp.c | 163 struct wpabuf *resp; local 253 resp = wpabuf_alloc(2 * ETH_ALEN + 6 + 2 + 255 if (!resp) 257 wpabuf_put_data(resp, sta->addr, ETH_ALEN); 258 wpabuf_put_data(resp, hapd->own_addr, ETH_ALEN); 259 wpabuf_put_data(resp, "\xaa\xaa\x03\x00\x00\x00", 6); 260 wpabuf_put_be16(resp, ETH_P_IP); 261 iph = wpabuf_put(resp, sizeof(*iph)); 270 udph = wpabuf_put(resp, sizeof(*udph)); 278 wpabuf_put_data(resp, pos, end_opt - pos) [all...] |