Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 826) sorted by relevance

12345678910>>...34

/external/llvm-project/clang/test/CodeGen/
Dbuiltins-ppc-mma.c11 void test1(unsigned char *vqp, unsigned char *vpp, vector unsigned char vc, unsigned char *resp) { in test1() argument
16 *((__vector_quad *)resp) = res; in test1()
41 void test2(unsigned char *vqp, unsigned char *vpp, vector unsigned char vc, unsigned char *resp) { in test2() argument
42 __builtin_mma_disassemble_acc(resp, (__vector_quad*)vqp); in test2()
52 void test3(unsigned char *vqp, unsigned char *vpp, vector unsigned char vc, unsigned char *resp) { in test3() argument
57 *((__vector_pair *)resp) = res; in test3()
74 void test4(unsigned char *vqp, unsigned char *vpp, vector unsigned char vc, unsigned char *resp) { in test4() argument
75 __builtin_mma_disassemble_pair(resp, (__vector_pair*)vpp); in test4()
87 void test5(unsigned char *vqp, unsigned char *vpp, vector unsigned char vc, unsigned char *resp) { in test5() argument
91 *((__vector_quad *)resp) = vq; in test5()
[all …]
/external/python/cpython2/Lib/
Dnntplib.py156 resp = self.shortcmd('authinfo user '+user)
157 if resp[:3] == '381':
159 raise NNTPReplyError(resp)
161 resp = self.shortcmd(
163 if resp[:3] != '281':
164 raise NNTPPermanentError(resp)
223 resp = self.getline()
224 if self.debugging: print '*resp*', repr(resp)
225 c = resp[:1]
227 raise NNTPTemporaryError(resp)
[all …]
Dftplib.py217 resp = self.getmultiline()
218 if self.debugging: print '*resp*', self.sanitize(resp)
219 self.lastresp = resp[:3]
220 c = resp[:1]
222 return resp
224 raise error_temp, resp
226 raise error_perm, resp
227 raise error_proto, resp
231 resp = self.getresp()
232 if resp[:1] != '2':
[all …]
/external/python/cpython3/Lib/
Dftplib.py242 resp = self.getmultiline()
244 print('*resp*', self.sanitize(resp))
245 self.lastresp = resp[:3]
246 c = resp[:1]
248 return resp
250 raise error_temp(resp)
252 raise error_perm(resp)
253 raise error_proto(resp)
257 resp = self.getresp()
258 if resp[:1] != '2':
[all …]
Dnntplib.py418 resp, caps = self.capabilities()
478 resp = self._getline()
479 if self.debugging: print('*resp*', repr(resp))
480 resp = resp.decode(self.encoding, self.errors)
481 c = resp[:1]
483 raise NNTPTemporaryError(resp)
485 raise NNTPPermanentError(resp)
487 raise NNTPProtocolError(resp)
488 return resp
505 resp = self._getresp()
[all …]
/external/python/cpython3/Lib/test/
Dtest_httplib.py284 resp = client.HTTPResponse(sock)
285 resp.begin()
287 self.assertEqual(resp.getheader('First'), 'val')
288 self.assertEqual(resp.getheader('Second'), 'val')
304 resp = client.HTTPResponse(sock)
305 resp.begin()
306 self.assertEqual(resp.getheader('Content-Length'), '0')
307 self.assertEqual(resp.msg['Content-Length'], '0')
308 self.assertEqual(resp.getheader("!#$%&'*+-.^_`|~"), 'value')
309 self.assertEqual(resp.msg["!#$%&'*+-.^_`|~"], 'value')
[all …]
/external/OpenCSD/decoder/source/ptm/
Dtrc_pkt_decode_ptm.cpp60 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; in processPacket() local
71 resp = outputTraceElement(m_output_elem); in processPacket()
90 resp = decodePacket(); in processPacket()
103 return resp; in processPacket()
108 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; in onEOT() local
113 resp = outputTraceElement(m_output_elem); in onEOT()
114 return resp; in onEOT()
119 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; in onReset() local
122 return resp; in onReset()
127 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; in onFlush() local
[all …]
/external/python/cryptography/tests/x509/
Dtest_ocsp.py373 resp = builder.sign(private_key, hashes.SHA256())
374 assert resp.responder_name == root_cert.subject
375 assert resp.responder_key_hash is None
376 assert (current_time - resp.produced_at).total_seconds() < 10
377 assert (resp.signature_algorithm_oid ==
379 assert resp.certificate_status == ocsp.OCSPCertStatus.GOOD
380 assert resp.revocation_time is None
381 assert resp.revocation_reason is None
382 assert resp.this_update == this_update
383 assert resp.next_update == next_update
[all …]
/external/arm-trusted-firmware/drivers/brcm/emmc/
Demmc_csl_sdcmd.c39 struct sd_resp resp; in sd_cmd1() local
49 res = send_cmd(handle, SD_CMD_SEND_OPCOND, ocr, options, &resp); in sd_cmd1()
52 *ocr_output = resp.data.r3.ocr; in sd_cmd1()
60 struct sd_resp resp; in sd_cmd2() local
65 return send_cmd(handle, SD_CMD_ALL_SEND_CID, 0, options, &resp); in sd_cmd2()
73 struct sd_resp resp; in sd_cmd3() local
84 res = send_cmd(handle, SD_CMD_MMC_SET_RCA, argument, options, &resp); in sd_cmd3()
96 struct sd_resp resp; in sd_cmd7() local
114 &resp); in sd_cmd7()
130 struct sd_resp resp; in mmc_cmd8() local
[all …]
/external/python/cpython2/Lib/test/
Dtest_httplib.py238 resp = httplib.HTTPResponse(sock)
239 resp.begin()
241 self.assertEqual(resp.getheader('First'), 'val')
242 self.assertEqual(resp.getheader('Second'), 'val')
247 resp = (
256 resp = httplib.HTTPResponse(FakeSocket(resp))
257 resp.begin()
258 self.assertIsNotNone(resp.getheader('Public-Key-Pins'))
259 self.assertEqual(resp.getheader('Transfer-Encoding'), 'chunked')
260 self.assertEqual(resp.read(), b'body')
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c183 static void wpas_sd_add_empty(struct wpabuf *resp, u8 srv_proto, in wpas_sd_add_empty() argument
188 if (wpabuf_tailroom(resp) < 5) in wpas_sd_add_empty()
192 len_pos = wpabuf_put(resp, 2); in wpas_sd_add_empty()
193 wpabuf_put_u8(resp, srv_proto); in wpas_sd_add_empty()
194 wpabuf_put_u8(resp, srv_trans_id); in wpas_sd_add_empty()
196 wpabuf_put_u8(resp, status); in wpas_sd_add_empty()
198 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_add_empty()
202 static void wpas_sd_add_proto_not_avail(struct wpabuf *resp, u8 srv_proto, in wpas_sd_add_proto_not_avail() argument
205 wpas_sd_add_empty(resp, srv_proto, srv_trans_id, in wpas_sd_add_proto_not_avail()
210 static void wpas_sd_add_bad_request(struct wpabuf *resp, u8 srv_proto, in wpas_sd_add_bad_request() argument
[all …]
/external/OpenCSD/decoder/source/etmv3/
Dtrc_pkt_decode_etmv3.cpp59 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; in processPacket() local
72 resp = sendUnsyncPacket(); in processPacket()
89 resp = processISync((m_curr_packet_in->getType() == ETM3_PKT_I_SYNC_CYCLE),true); in processPacket()
97 resp = decodePacket(bPktDone); in processPacket()
104 resp = decodePacket(bPktDone); in processPacket()
108 resp = m_outputElemList.sendElements(); in processPacket()
109 if(OCSD_DATA_RESP_IS_CONT(resp)) in processPacket()
118 resp = OCSD_RESP_FATAL_SYS_ERR; in processPacket()
123 return resp; in processPacket()
128 ocsd_datapath_resp_t resp = OCSD_RESP_CONT; in onEOT() local
[all …]
/external/wpa_supplicant_8/src/common/
Dgas_server.c30 void (*status_cb)(void *ctx, struct wpabuf *resp, int ok);
39 struct wpabuf *resp; member
50 void (*tx)(void *ctx, int freq, const u8 *da, struct wpabuf *resp,
67 (unsigned long) (response->resp ? in gas_server_response_timeout()
68 wpabuf_len(response->resp) : 0)); in gas_server_response_timeout()
70 response->resp, 0); in gas_server_response_timeout()
71 response->resp = NULL; in gas_server_response_timeout()
83 wpabuf_free(response->resp); in gas_server_free_response()
97 struct wpabuf *resp; in gas_server_send_resp() local
122 resp = gas_build_initial_resp(dialog_token, WLAN_STATUS_SUCCESS, in gas_server_send_resp()
[all …]
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test_lib.cc70 grpc_gcp_handshaker_resp* resp, const char* application_protocol) { in grpc_gcp_handshaker_resp_set_application_protocol() argument
71 if (resp == nullptr || application_protocol == nullptr) { in grpc_gcp_handshaker_resp_set_application_protocol()
77 resp->has_result = true; in grpc_gcp_handshaker_resp_set_application_protocol()
80 resp->result.application_protocol.arg = slice; in grpc_gcp_handshaker_resp_set_application_protocol()
81 resp->result.application_protocol.funcs.encode = encode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_set_application_protocol()
86 grpc_gcp_handshaker_resp* resp, const char* record_protocol) { in grpc_gcp_handshaker_resp_set_record_protocol() argument
87 if (resp == nullptr || record_protocol == nullptr) { in grpc_gcp_handshaker_resp_set_record_protocol()
93 resp->has_result = true; in grpc_gcp_handshaker_resp_set_record_protocol()
95 resp->result.record_protocol.arg = slice; in grpc_gcp_handshaker_resp_set_record_protocol()
96 resp->result.record_protocol.funcs.encode = encode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_set_record_protocol()
[all …]
Dalts_handshaker_service_api_test_lib.h45 bool grpc_gcp_handshaker_resp_encode(grpc_gcp_handshaker_resp* resp,
50 grpc_gcp_handshaker_resp* resp, const char* application_protocol);
54 grpc_gcp_handshaker_resp* resp, const char* record_protocol);
57 bool grpc_gcp_handshaker_resp_set_key_data(grpc_gcp_handshaker_resp* resp,
62 grpc_gcp_handshaker_resp* resp, const char* hostname);
69 grpc_gcp_handshaker_resp* resp, const char* service_account);
73 grpc_gcp_handshaker_resp* resp, const char* hostname);
80 grpc_gcp_handshaker_resp* resp, const char* service_account);
83 bool grpc_gcp_handshaker_resp_set_channel_open(grpc_gcp_handshaker_resp* resp,
87 bool grpc_gcp_handshaker_resp_set_code(grpc_gcp_handshaker_resp* resp,
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DOCSPResp.java26 private OCSPResponse resp; field in OCSPResp
29 OCSPResponse resp) in OCSPResp() argument
31 this.resp = resp; in OCSPResp()
35 byte[] resp) in OCSPResp() argument
38 this(new ByteArrayInputStream(resp)); in OCSPResp()
42 InputStream resp) in OCSPResp() argument
45 this(new ASN1InputStream(resp)); in OCSPResp()
54 this.resp = OCSPResponse.getInstance(aIn.readObject()); in OCSPResp()
69 if (resp == null) in OCSPResp()
77 return this.resp.getResponseStatus().getIntValue(); in getStatus()
[all …]
DBasicOCSPResp.java37 private BasicOCSPResponse resp; field in BasicOCSPResp
42 BasicOCSPResponse resp) in BasicOCSPResp() argument
44 this.resp = resp; in BasicOCSPResp()
45 this.data = resp.getTbsResponseData(); in BasicOCSPResp()
46 this.extensions = Extensions.getInstance(resp.getTbsResponseData().getResponseExtensions()); in BasicOCSPResp()
57 return resp.getTbsResponseData().getEncoded(ASN1Encoding.DER); in getTBSResponseData()
72 return resp.getSignatureAlgorithm(); in getSignatureAlgorithmID()
136 return resp.getSignatureAlgorithm().getAlgorithm(); in getSignatureAlgOID()
141 return resp.getSignature().getOctets(); in getSignature()
149 if (resp.getCerts() != null) in getCerts()
[all …]
/external/arm-trusted-firmware/plat/ti/k3/common/drivers/ti_sci/
Dti_sci.c213 struct ti_sci_msg_hdr resp; in ti_sci_device_set_state() local
220 &resp, sizeof(resp), in ti_sci_device_set_state()
255 struct ti_sci_msg_resp_get_device_state resp; in ti_sci_device_get_state() local
265 &resp, sizeof(resp), in ti_sci_device_get_state()
281 *clcnt = resp.context_loss_count; in ti_sci_device_get_state()
283 *resets = resp.resets; in ti_sci_device_get_state()
285 *p_state = resp.programmed_state; in ti_sci_device_get_state()
287 *c_state = resp.current_state; in ti_sci_device_get_state()
582 struct ti_sci_msg_hdr resp; in ti_sci_device_set_resets() local
589 &resp, sizeof(resp), in ti_sci_device_set_resets()
[all …]
/external/perfetto/ui/src/common/
Dhttp_rpc_engine.ts34 resp: Deferred<Uint8Array>; property
79 const resp = defer<Uint8Array>(); constant
81 QueuedRequest = {methodName, reqData: data, resp, id: this.nextReqId++};
87 return resp;
109 .then(resp => this.endFetch(resp, req.id))
113 private endFetch(resp: Response, expectedReqId: number) {
117 if (resp.status !== 200) {
118 req.resp.reject(`HTTP ${resp.status} - ${resp.statusText}`);
121 resp.arrayBuffer().then(arrBuf => {
127 req.resp.resolve(new Uint8Array(arrBuf));
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DMockAltsHandshakerResp.java75 HandshakerResp.Builder resp = HandshakerResp.newBuilder(); in getErrorResponse() local
76 resp.setStatus( in getErrorResponse()
81 return resp.build(); in getErrorResponse()
86 HandshakerResp.Builder resp = HandshakerResp.newBuilder(); in getOkResponse() local
87 resp.setOutFrames(getOutFrame()); in getOkResponse()
88 resp.setBytesConsumed(bytesConsumed); in getOkResponse()
89 resp.setStatus(HandshakerStatus.newBuilder().setCode(Status.Code.OK.value()).build()); in getOkResponse()
90 return resp.build(); in getOkResponse()
95 HandshakerResp.Builder resp = HandshakerResp.newBuilder(); in getEmptyOutFrameResponse() local
96 resp.setBytesConsumed(bytesConsumed); in getEmptyOutFrameResponse()
[all …]
/external/perfetto/src/tracing/ipc/service/
Dconsumer_ipc_service.cc67 DeferredEnableTracingResponse resp) { in EnableTracing() argument
70 remote_consumer->enable_tracing_response = std::move(resp); in EnableTracing()
78 remote_consumer->enable_tracing_response = std::move(resp); in EnableTracing()
83 DeferredStartTracingResponse resp) { in StartTracing() argument
86 resp.Resolve(ipc::AsyncResult<protos::gen::StartTracingResponse>::Create()); in StartTracing()
92 DeferredChangeTraceConfigResponse resp) { in ChangeTraceConfig() argument
95 resp.Resolve( in ChangeTraceConfig()
102 DeferredDisableTracingResponse resp) { in DisableTracing() argument
104 resp.Resolve(ipc::AsyncResult<protos::gen::DisableTracingResponse>::Create()); in DisableTracing()
109 DeferredReadBuffersResponse resp) { in ReadBuffers() argument
[all …]
/external/openssh/
Dssh-sk-helper.c61 struct sshbuf *resp; in reply_error() local
72 if ((resp = sshbuf_new()) == NULL) in reply_error()
74 if (sshbuf_put_u32(resp, SSH_SK_HELPER_ERROR) != 0 || in reply_error()
75 sshbuf_put_u32(resp, (u_int)-r) != 0) in reply_error()
77 return resp; in reply_error()
95 struct sshbuf *resp, *kbuf; in process_sign() local
126 resp = reply_error(r, "Signing failed: %s", ssh_err(r)); in process_sign()
130 if ((resp = sshbuf_new()) == NULL) in process_sign()
133 if ((r = sshbuf_put_u32(resp, SSH_SK_HELPER_SIGN)) != 0 || in process_sign()
134 (r = sshbuf_put_string(resp, sig, siglen)) != 0) in process_sign()
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DBaseHttpStackTest.java49 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); in legacyRequestWithoutBody() local
50 assertEquals(12345, resp.getStatusLine().getStatusCode()); in legacyRequestWithoutBody()
51 assertEquals(0, resp.getAllHeaders().length); in legacyRequestWithoutBody()
52 assertNull(resp.getEntity()); in legacyRequestWithoutBody()
69 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); in legacyResponseWithBody() local
70 assertEquals(12345, resp.getStatusLine().getStatusCode()); in legacyResponseWithBody()
71 assertEquals(0, resp.getAllHeaders().length); in legacyResponseWithBody()
72 assertEquals(555L, resp.getEntity().getContentLength()); in legacyResponseWithBody()
73 assertSame(mContent, resp.getEntity().getContent()); in legacyResponseWithBody()
93 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); in legacyResponseHeaders() local
[all …]
/external/perfetto/ui/src/frontend/
Dquery_table.ts115 const resp = globals.queryResults.get(queryId) as QueryResponse; constant
116 const res = resp !== this.previousResponse;
122 const resp = globals.queryResults.get(queryId) as QueryResponse; constant
123 if (resp === undefined) {
126 this.previousResponse = resp;
128 for (const col of resp.columns) {
134 for (let i = 0; i < resp.rows.length; i++) {
135 rows.push(m(QueryTableRow, {row: resp.rows[i], columns: resp.columns}));
142 `Query result - ${Math.round(resp.durationMs)} ms`,
143 m('span.code', resp.query),
[all …]
/external/tensorflow/tensorflow/core/data/service/
Ddata_service.cc71 WorkerHeartbeatResponse resp; in WorkerHeartbeat() local
73 grpc::Status status = stub_->WorkerHeartbeat(&client_ctx, req, &resp); in WorkerHeartbeat()
77 for (const auto& task : resp.new_tasks()) { in WorkerHeartbeat()
80 for (int64 task_to_delete : resp.tasks_to_delete()) { in WorkerHeartbeat()
95 WorkerUpdateResponse resp; in WorkerUpdate() local
97 grpc::Status status = stub_->WorkerUpdate(&client_ctx, req, &resp); in WorkerUpdate()
109 GetDatasetDefResponse resp; in GetDatasetDef() local
111 grpc::Status status = stub_->GetDatasetDef(&client_ctx, req, &resp); in GetDatasetDef()
115 dataset_def = resp.dataset_def(); in GetDatasetDef()
126 GetSplitResponse resp; in GetSplit() local
[all …]

12345678910>>...34