Home
last modified time | relevance | path

Searched refs:response (Results 176 - 200 of 512) sorted by relevance

12345678910>>...21

/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_process_headers.c91 struct MHD_Response *response; in ahc_echo() local
125 response = MHD_create_response_from_buffer (strlen (url), in ahc_echo()
128 MHD_add_response_header (response, "MyHeader", "MyValue"); in ahc_echo()
129 hdr = MHD_get_response_header (response, "MyHeader"); in ahc_echo()
132 MHD_add_response_header (response, "MyHeader", "MyValueToo"); in ahc_echo()
133 if (MHD_YES != MHD_del_response_header (response, "MyHeader", "MyValue")) in ahc_echo()
135 hdr = MHD_get_response_header (response, "MyHeader"); in ahc_echo()
138 if (1 != MHD_get_response_headers (response, NULL, NULL)) in ahc_echo()
140 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo()
141 MHD_destroy_response (response); in ahc_echo()
[all...]
H A Dtest_urlparse.c99 struct MHD_Response *response; in ahc_echo() local
114 response = MHD_create_response_from_buffer (strlen (url), in ahc_echo()
117 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo()
118 MHD_destroy_response (response); in ahc_echo()
/third_party/node/src/
H A Dinspector_socket_server.cc102 const std::string& response, in SendHttpResponse()
114 response.size()); in SendHttpResponse()
116 socket->Write(response.data(), response.size()); in SendHttpResponse()
120 std::map<std::string, std::string> response; in SendVersionResponse() local
121 response["Browser"] = "node.js/" NODE_VERSION; in SendVersionResponse()
122 response["Protocol-Version"] = "1.1"; in SendVersionResponse()
123 SendHttpResponse(socket, MapToString(response), 200); in SendVersionResponse()
358 std::vector<std::map<std::string, std::string>> response; in SendListResponse() local
360 response in SendListResponse()
101 SendHttpResponse(InspectorSocket* socket, const std::string& response, int code) SendHttpResponse() argument
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dv8-inspector-session-impl.cc282 Response response = unwrapObject(toString16(objectId), object, context, in unwrapObject() local
284 if (response.IsError()) { in unwrapObject()
286 const std::string& msg = response.Message(); in unwrapObject()
301 Response response = RemoteObjectId::parse(objectId, &remoteId); in unwrapObject() local
302 if (!response.IsSuccess()) return response; in unwrapObject()
304 response = findInjectedScript(remoteId.get(), injectedScript); in unwrapObject()
305 if (!response.IsSuccess()) return response; in unwrapObject()
306 response in unwrapObject()
[all...]
/third_party/backends/backend/
H A Dkvs1025_usb.c199 /* Send command via USB, and get response data */
299 /* Get response */ in kv_usb_escape()
309 DBG (DBG_error, "usb_bulk_read: Error reading response." in kv_usb_escape()
318 DBG (DBG_error, "usb_bulk_read: Invalid response block.\n"); in kv_usb_escape()
319 hexdump (DBG_error, "response", cmd_buff, 16); in kv_usb_escape()
331 PKV_CMD_HEADER header, PKV_CMD_RESPONSE response) in kv_usb_send_command()
335 memset (response, 0, sizeof (KV_CMD_RESPONSE)); in kv_usb_send_command()
336 response->status = KV_FAILED; in kv_usb_send_command()
355 hdr.data = &response->sense; in kv_usb_send_command()
360 hexdump (DBG_error, "sense data", (unsigned char *) &response in kv_usb_send_command()
330 kv_usb_send_command(PKV_DEV dev, PKV_CMD_HEADER header, PKV_CMD_RESPONSE response) kv_usb_send_command() argument
[all...]
/third_party/cups-filters/backend/
H A Dimplicitclass.c97 ipp_t *request, *response; in main() local
171 if ((response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/")) == in main()
174 for (attr = ippFirstAttribute(response); attr != NULL; in main()
175 attr = ippNextAttribute(response)) { in main()
177 attr = ippNextAttribute(response); in main()
188 attr = ippNextAttribute(response); in main()
378 ippDelete(response); in main()
/third_party/selinux/libsepol/src/
H A Dusers.c289 const sepol_user_key_t * key, int *response) in sepol_user_exists()
297 *response = (hashtab_search(policydb->p_users.table, cname) != NULL); in sepol_user_exists()
303 const sepol_policydb_t * p, unsigned int *response) in sepol_user_count()
307 *response = policydb->p_users.nprim; in sepol_user_count()
314 const sepol_user_key_t * key, sepol_user_t ** response) in sepol_user_query()
326 *response = NULL; in sepol_user_query()
330 if (user_to_record(handle, policydb, usrdatum->s.value - 1, response) < in sepol_user_query()
287 sepol_user_exists(sepol_handle_t * handle __attribute__ ((unused)), const sepol_policydb_t * p, const sepol_user_key_t * key, int *response) sepol_user_exists() argument
302 sepol_user_count(sepol_handle_t * handle __attribute__ ((unused)), const sepol_policydb_t * p, unsigned int *response) sepol_user_count() argument
312 sepol_user_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_user_key_t * key, sepol_user_t ** response) sepol_user_query() argument
/third_party/curl/lib/
H A Dhttp_digest.c79 char *response; in Curl_output_digest() local
162 path, digest, &response, &len); in Curl_output_digest()
169 response); in Curl_output_digest()
170 free(response); in Curl_output_digest()
/third_party/libcoap/examples/contiki/
H A Dserver.c73 coap_pdu_t *response) { in hnd_get_time()
96 coap_pdu_set_code(response, COAP_RESPONSE_CODE_NOT_FOUND); in hnd_get_time()
102 coap_add_data_blocked_response(request, response, in hnd_get_time()
108 coap_pdu_set_code(response, COAP_RESPONSE_CODE_NOT_FOUND); in hnd_get_time()
71 hnd_get_time(coap_resource_t *resource, coap_session_t *session, const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) hnd_get_time() argument
/third_party/pulseaudio/src/pulsecore/
H A Dmessage-handler.c105 int pa_message_handler_send_message(pa_core *c, const char *object_path, const char *message, const char *message_parameters, char **response) { in pa_message_handler_send_message() argument
114 pa_assert(response); in pa_message_handler_send_message()
116 *response = NULL; in pa_message_handler_send_message()
157 return an error string in response */ in pa_message_handler_send_message()
158 ret = handler->callback(handler->object_path, message, parameters, response, handler->userdata); in pa_message_handler_send_message()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dbenchmark_https.c48 static struct MHD_Response *response; variable
114 return MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo()
180 response = MHD_create_response_from_buffer (strlen (PAGE), in main()
202 MHD_destroy_response (response); in main()
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/
H A Dtest_https_session_info.c49 struct MHD_Response *response; in query_session_ahc() local
81 response = MHD_create_response_from_buffer (strlen (EMPTY_PAGE), in query_session_ahc()
84 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in query_session_ahc()
85 MHD_destroy_response (response); in query_session_ahc()
/third_party/protobuf/conformance/
H A Dbinary_json_conformance_suite.cc354 const ConformanceResponse& response, in ParseJsonResponse()
359 response.json_payload(), &binary_protobuf); in ParseJsonResponse()
375 const ConformanceResponse& response, in ParseResponse()
383 switch (response.result_case()) { in ParseResponse()
386 ReportFailure(test_name, level, request, response, in ParseResponse()
394 if (!test_message->ParseFromString(response.protobuf_payload())) { in ParseResponse()
395 ReportFailure(test_name, level, request, response, in ParseResponse()
405 ReportFailure(test_name, level, request, response, in ParseResponse()
413 if (!ParseJsonResponse(response, test_message)) { in ParseResponse()
414 ReportFailure(test_name, level, request, response, in ParseResponse()
353 ParseJsonResponse( const ConformanceResponse& response, Message* test_message) ParseJsonResponse() argument
374 ParseResponse( const ConformanceResponse& response, const ConformanceRequestSetting& setting, Message* test_message) ParseResponse() argument
442 ConformanceResponse response; ExpectParseFailureForProtoWithProtoVersion() local
572 ConformanceResponse response; RunValidJsonTestWithValidator() local
617 ConformanceResponse response; ExpectParseFailureForJson() local
644 ConformanceResponse response; ExpectSerializeFailureForJson() local
[all...]
/third_party/cups-filters/cupsfilters/
H A Dppdgenerator.h64 ipp_t *response, const char *make_model,
67 ipp_t *response, const char *make_model,
78 cups_array_t* generate_sizes(ipp_t *response,
/third_party/node/test/parallel/
H A Dtest-http-client-timeout-option-listeners.js37 http.request(options, common.mustCall((response) => {
42 response.resume();
43 response.once('end', common.mustCall(() => {
H A Dtest-http-missing-header-separator-cr.js12 let response = '';
15 response += chunk;
22 response,
H A Dtest-http-missing-header-separator-lf.js12 let response = '';
15 response += chunk;
22 response,
H A Dtest-inspect-publish-uid.js37 require('http').get('http://' + host + '/json/list', (response) => {
38 assert.strictEqual(response.statusCode, code);
39 response.destroy();
/third_party/python/Lib/urllib/
H A Derror.py7 HTTPError is an exception class that is also a valid HTTP response
11 response.
14 import urllib.response namespace
35 class HTTPError(URLError, urllib.response.addinfourl):
37 __super_init = urllib.response.addinfourl.__init__
/third_party/nghttp2/src/
H A Dshrpx_mruby_module_response.cc53 const auto &resp = downstream->response(); in response_get_http_version_major()
62 const auto &resp = downstream->response(); in response_get_http_version_minor()
71 const auto &resp = downstream->response(); in response_get_status()
80 auto &resp = downstream->response(); in response_set_status()
100 const auto &resp = downstream->response(); in response_get_headers()
110 auto &resp = downstream->response(); in response_mod_header()
194 auto &resp = downstream->response(); in response_clear_headers()
207 auto &resp = downstream->response(); in response_return()
213 mrb_raise(mrb, E_RUNTIME_ERROR, "response has already been committed"); in response_return()
268 mrb_raise(mrb, E_RUNTIME_ERROR, "could not send response"); in response_return()
[all...]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Ddigestauth.c55 * Maximum length of the response in digest authentication.
132 * Calculate request-digest/response-digest as per RFC2617 spec
142 * @param response request-digest or response-digest
153 char *response) in digest_calc_response()
177 /* calculate response */ in digest_calc_response()
193 cvthex (resphash, sizeof (resphash), response); in digest_calc_response()
575 char response[MAX_AUTH_RESPONSE_LENGTH]; in MHD_digest_auth_check() local
728 (0 == lookup_sub_value (response, sizeof (response), heade in MHD_digest_auth_check()
145 digest_calc_response(const char *ha1, const char *nonce, const char *noncecount, const char *cnonce, const char *qop, const char *method, const char *uri, const char *hentity, char *response) digest_calc_response() argument
800 MHD_queue_auth_fail_response(struct MHD_Connection *connection, const char *realm, const char *opaque, struct MHD_Response *response, int signal_stale) MHD_queue_auth_fail_response() argument
[all...]
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
H A Dproxy.c163 struct SPDY_Response *response; member
507 struct SPDY_Response *response, in response_done_callback()
523 SPDY_destroy_response(response); in response_done_callback()
553 if(NULL != proxy->response) return 0; in curl_header_cb()
558 if(NULL == (proxy->response = SPDY_build_response_with_callback(proxy->status, in curl_header_cb()
566 DIE("no response"); in curl_header_cb()
576 proxy->response, in curl_header_cb()
587 SPDY_destroy_response(proxy->response); in curl_header_cb()
588 proxy->response = NULL; in curl_header_cb()
1176 if(proxy->spdy_done || proxy->spdy_error || (NULL == proxy->response in run()
506 response_done_callback(void *cls, struct SPDY_Response *response, struct SPDY_Request *request, enum SPDY_RESPONSE_RESULT status, bool streamopened) response_done_callback() argument
[all...]
/third_party/libcoap/examples/riot/examples_libcoap_server/
H A Dserver-coap.c36 coap_pdu_t *response) { in hnd_get_time()
49 coap_pdu_set_code(response, my_clock_base ? COAP_RESPONSE_CODE_CONTENT : in hnd_get_time()
52 coap_add_option(response, COAP_OPTION_CONTENT_FORMAT, in hnd_get_time()
58 coap_add_option(response, COAP_OPTION_MAXAGE, in hnd_get_time()
71 coap_add_data(response, len, buf); in hnd_get_time()
34 hnd_get_time(coap_resource_t *resource, coap_session_t *session, const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) hnd_get_time() argument
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
H A DCommandLineMain.java127 String response = ""; in printFileReport()
130 while (!response.equals("0")) { in printFileReport()
135 response = scanner.nextLine(); in printFileReport()
136 if (response.equals("1")) { in printFileReport()
138 } else if (response.equals("2")) { in printFileReport()
/third_party/typescript/tests/baselines/reference/
H A DimportMeta(module=commonjs,target=es5).js6 const response = await fetch(new URL("../hamsters.jpg", import.meta.url).toString());
7 const blob = await response.blob();
82 var response, blob, size, image;
87 response = _a.sent();
88 return [4 /*yield*/, response.blob()];

Completed in 13 milliseconds

12345678910>>...21