/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | response.c | 21 * @file response.c 22 * @brief Methods for managing response objects 28 #include "response.h" 42 * Add a header or footer line to the response. 44 * @param response response to add a header to 51 add_response_entry (struct MHD_Response *response, in add_response_entry() argument 58 if ( (NULL == response) || in add_response_entry() 84 hdr->next = response->first_header; in add_response_entry() 85 response in add_response_entry() 100 MHD_add_response_header(struct MHD_Response *response, const char *header, const char *content) MHD_add_response_header() argument 120 MHD_add_response_footer(struct MHD_Response *response, const char *footer, const char *content) MHD_add_response_footer() argument 140 MHD_del_response_header(struct MHD_Response *response, const char *header, const char *content) MHD_del_response_header() argument 183 MHD_get_response_headers(struct MHD_Response *response, MHD_KeyValueIterator iterator, void *iterator_cls) MHD_get_response_headers() argument 210 MHD_get_response_header(struct MHD_Response *response, const char *key) MHD_get_response_header() argument 247 struct MHD_Response *response; MHD_create_response_from_callback() local 280 MHD_set_response_options(struct MHD_Response *response, enum MHD_ResponseFlags flags, ...) MHD_set_response_options() argument 318 struct MHD_Response *response = cls; file_reader() local 340 struct MHD_Response *response = cls; free_callback() local 368 struct MHD_Response *response; MHD_create_response_from_fd_at_offset() local 419 struct MHD_Response *response; MHD_create_response_from_data() local 488 MHD_destroy_response(struct MHD_Response *response) MHD_destroy_response() argument 517 MHD_increment_response_rc(struct MHD_Response *response) MHD_increment_response_rc() argument [all...] |
H A D | connection.c | 32 #include "response.h" 247 return ( (NULL == connection->response) && in need_100_continue() 320 * Prepare the response buffer of this connection for 321 * sending. Assumes that the response mutex is 327 * @return #MHD_NO if readying the response failed (the 328 * lock on the response will have been released already 335 struct MHD_Response *response; in try_ready_normal_body() local 337 response = connection->response; in try_ready_normal_body() 338 if (NULL == response in try_ready_normal_body() 403 struct MHD_Response *response; try_ready_chunked_body() local 933 struct MHD_Response *response; global() local 1892 struct MHD_Response *response; global() local 2065 struct MHD_Response *response; global() local 2881 MHD_queue_response(struct MHD_Connection *connection, unsigned int status_code, struct MHD_Response *response) global() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | gas_server.c | 55 static void gas_server_free_response(struct gas_server_response *response); 60 struct gas_server_response *response = eloop_ctx; in gas_server_response_timeout() local 64 response, MAC2STR_SEC(response->dst), response->dialog_token, in gas_server_response_timeout() 65 response->freq, response->frag_id, in gas_server_response_timeout() 66 (unsigned long) response->offset, in gas_server_response_timeout() 67 (unsigned long) (response->resp ? in gas_server_response_timeout() 68 wpabuf_len(response in gas_server_response_timeout() 77 gas_server_free_response(struct gas_server_response *response) gas_server_free_response() argument 89 gas_server_send_resp(struct gas_server *gas, struct gas_server_handler *handler, struct gas_server_response *response, const u8 *da, int freq, u8 dialog_token, struct wpabuf *query_resp, u16 comeback_delay) gas_server_send_resp() argument 173 struct gas_server_response *response; gas_server_rx_initial_req() local 256 gas_server_handle_rx_comeback_req(struct gas_server_response *response) gas_server_handle_rx_comeback_req() argument 338 struct gas_server_response *response; gas_server_rx_comeback_req() local 405 gas_server_handle_tx_status(struct gas_server_response *response, int ack) gas_server_handle_tx_status() argument 441 struct gas_server_response *response; gas_server_tx_status() local 474 struct gas_server_response *tmp, *response = NULL; gas_server_set_resp() local 529 struct gas_server_response *response, *tmp_r; gas_server_deinit() local [all...] |
/third_party/libcoap/tests/ |
H A D | test_error_response.c | 34 coap_pdu_t *response; in t_error_response1() local 42 response = coap_new_error_response(pdu, COAP_RESPONSE_CODE(400), &opts); in t_error_response1() 44 CU_ASSERT_PTR_NOT_NULL(response); in t_error_response1() 46 CU_ASSERT(response->used_size == sizeof(teststr) - 4); in t_error_response1() 47 CU_ASSERT(response->type == COAP_MESSAGE_ACK); in t_error_response1() 48 CU_ASSERT(response->e_token_length == 0); in t_error_response1() 49 CU_ASSERT(response->code == 0x80); in t_error_response1() 50 CU_ASSERT(response->mid == 0x1234); in t_error_response1() 51 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response1() 52 CU_ASSERT(memcmp(response in t_error_response1() 63 coap_pdu_t *response; t_error_response2() local 93 coap_pdu_t *response; t_error_response3() local 132 coap_pdu_t *response; t_error_response4() local 173 coap_pdu_t *response; t_error_response5() local 214 coap_pdu_t *response; t_error_response6() local 255 coap_pdu_t *response; t_error_response7() local 291 coap_pdu_t *response; t_error_response8() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | gas_server.c | 52 static void gas_server_free_response(struct gas_server_response *response); 57 struct gas_server_response *response = eloop_ctx; in gas_server_response_timeout() local 61 response, MAC2STR(response->dst), response->dialog_token, in gas_server_response_timeout() 62 response->freq, response->frag_id, in gas_server_response_timeout() 63 (unsigned long) response->offset, in gas_server_response_timeout() 64 (unsigned long) wpabuf_len(response->resp)); in gas_server_response_timeout() 65 response in gas_server_response_timeout() 73 gas_server_free_response(struct gas_server_response *response) gas_server_free_response() argument 94 struct gas_server_response *response; gas_server_send_resp() local 238 gas_server_handle_rx_comeback_req(struct gas_server_response *response) gas_server_handle_rx_comeback_req() argument 292 struct gas_server_response *response; gas_server_rx_comeback_req() local 359 gas_server_handle_tx_status(struct gas_server_response *response, int ack) gas_server_handle_tx_status() argument 388 struct gas_server_response *response; gas_server_tx_status() local 440 struct gas_server_response *response, *tmp_r; gas_server_deinit() local [all...] |
/third_party/gptfdisk/ |
H A D | support.cc | 77 // (If def is outside of the low-high range, an explicit response 80 uint64_t response, num; in GetNumber() local 89 num = sscanf(line, "%" PRIu64, &response); in GetNumber() 90 if (num == 1) { // user provided a response in GetNumber() 91 if ((response < low) || (response > high)) in GetNumber() 94 response = def; in GetNumber() 96 } while ((response < low) || (response > high)); in GetNumber() 99 response in GetNumber() 106 char response; GetYN() local 140 uint64_t response = def, bytesPerUnit, mult = 1, divide = 1; IeeeToInt() local [all...] |
/third_party/protobuf/conformance/ |
H A D | conformance_nodejs.js | 44 var response = new conformance.ConformanceResponse(); 48 response.setSkipped("JSON not supported."); 49 return response; 59 response.setParseError(err.toString()); 60 return response; 67 response.setParseError(err.toString()); 68 return response; 76 response.setSkipped("JSON not supported."); 77 return response; 80 response [all...] |
H A D | conformance_php.php | 31 $response = new \Conformance\ConformanceResponse(); variable 34 $response->setProtobufPayload(""); 35 return $response; 40 $response->setParseError($e->getMessage()); 41 return $response; 44 $response->setSkipped("PHP doesn't support proto2"); 45 return $response; 57 $response->setParseError($e->getMessage()); 58 return $response; 61 $response 102 $response = doTest($request); global() variable [all...] |
H A D | conformance_ruby.rb | 41 response = Conformance::ConformanceResponse.new 51 response.parse_error = err.message.encode('utf-8') 52 return response 55 response.skipped = "Ruby doesn't support proto2" 56 return response 66 response.parse_error = err.message.encode('utf-8') 67 return response 72 response.skipped = "Ruby doesn't support proto2" 73 return response 85 response [all...] |
H A D | conformance_python.py | 57 response = conformance_pb2.ConformanceResponse() 110 response.protobuf_payload = failure_set.SerializeToString() 111 return response 128 response.parse_error = str(e) 129 return response 139 response.parse_error = str(e) 140 return response 146 response.parse_error = str(e) 147 return response 156 response [all...] |
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/ |
H A D | entry.js | 16 // that are named in a response's vary header 25 // allow list for response headers that will be written to the cache index 26 // note: we must not store the real response's age header, or when we load 27 // a cache policy based on the metadata it will think the cached response 45 const getMetadata = (request, response, options) => { 52 // options on which we must match the request and vary the response 59 if (response.status !== 200 && response.status !== 304) { 60 metadata.status = response.status 77 // if the response ha [all...] |
/third_party/node/deps/undici/src/lib/fetch/ |
H A D | index.js | 11 } = require('./response') 196 // 12. Let handleFetchDone given response response be to finalize and 197 // report timing with response, globalObject, and "fetch". 198 const handleFetchDone = (response) => 199 finalizeAndReportTiming(response, 'fetch') 203 // given response being these substeps: 205 const processResponse = (response) => { 211 // 2. If response’s aborted flag is set, then: 212 if (response [all...] |
/third_party/skia/tools/skiaserve/ |
H A D | Response.cpp | 43 // SendOK just sends an empty response with a 200 OK status code. 47 MHD_Response* response = MHD_create_response_from_buffer(strlen(data), in SendOK() local 50 int ret = MHD_queue_response(connection, 200, response); in SendOK() 51 MHD_destroy_response(response); in SendOK() 56 MHD_Response* response = MHD_create_response_from_buffer(strlen(msg), in SendError() local 59 int ret = MHD_queue_response(connection, 500, response); in SendError() 60 MHD_destroy_response(response); in SendError() 66 MHD_Response* response = MHD_create_response_from_buffer(data->size(), in SendData() local 69 MHD_add_response_header(response, "Content-Type", type); in SendData() 72 MHD_add_response_header(response, "Conten in SendData() 83 MHD_Response* response = MHD_create_response_from_buffer( SendTemplate() local [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | applicationlayer.c | 36 struct SPDY_Response *response, in spdy_callback_response_done() 46 SPDY_destroy_response(response); in spdy_callback_response_done() 199 * Callback to be called when the response queue object was handled and 204 * @param status shows if actually the response was sent or it was 207 * status indicates an error but parts of the response headers 223 "response queue must have either control frame or data frame"); in spdy_handler_response_queue_result() 227 response_queue->rrcb(response_queue->rrcb_cls, response_queue->response, request, status, streamopened); in spdy_handler_response_queue_result() 398 struct SPDY_Response *response = NULL; in SPDY_build_response() local 410 if(NULL == (response = malloc(sizeof(struct SPDY_Response)))) in SPDY_build_response() 412 memset(response, in SPDY_build_response() 35 spdy_callback_response_done(void *cls, struct SPDY_Response *response, struct SPDY_Request *request, enum SPDY_RESPONSE_RESULT status, bool streamopened) spdy_callback_response_done() argument 488 struct SPDY_Response *response; SPDY_build_response_with_callback() local 525 SPDY_queue_response(struct SPDY_Request * request, struct SPDY_Response *response, bool closestream, bool consider_priority, SPDY_ResponseResultCallback rrcb, void * rrcb_cls) SPDY_queue_response() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | tests.cpp | 105 StoreContentResponse response; in RunStoreContentTests() local 106 server.SendRequest(request, response); in RunStoreContentTests() 108 Except("StoreContentResponse::status", response.status, true, "After requesting to store data on a server we should received true"); in RunStoreContentTests() 115 StoreContentResponse response; in RunStoreContentTests() local 116 server.SendRequest(request, response); in RunStoreContentTests() 118 Except("StoreContentResponse::status", response.status, true, "After requesting to store data with a name that is already in use we should received false"); in RunStoreContentTests() 128 GetContentResponse response; in RunGetContentTests() local 129 server.SendRequest(request, response); in RunGetContentTests() 131 Except("StoreContentResponse::status", response.status, true, "After requesting to get data from server store we should received true"); in RunGetContentTests() 132 Except("StoreContentResponse::data", response in RunGetContentTests() 139 GetContentResponse response; RunGetContentTests() local 167 CompileShaderResponse response; RunCompileShaderTests() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_docxmlrpc.py | 93 response = self.client.getresponse() 95 self.assertEqual(response.status, 200) 96 self.assertEqual(response.getheader("Content-type"), "text/html; charset=UTF-8") 99 response.read() 103 response = self.client.getresponse() 105 self.assertEqual(response.status, 200) 106 self.assertEqual(response.getheader("Content-type"), "text/css; charset=UTF-8") 109 response.read() 113 response = self.client.getresponse() 115 self.assertEqual(response [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | Server.cpp | 80 dap::InitializeResponse response; in Impl() 81 response.supportsFunctionBreakpoints = true; in Impl() 82 response.supportsConfigurationDoneRequest = true; in Impl() 83 response.supportsEvaluateForHovers = true; in Impl() 85 return response; in Impl() 89 [&](const dap::ResponseOrError<dap::InitializeResponse> &response) { in Impl() 96 dap::SetExceptionBreakpointsResponse response; in Impl() 97 return response; in Impl() 104 dap::SetFunctionBreakpointsResponse response; in Impl() 114 response in Impl() [all...] |
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-runtime-agent-impl.cc | 84 void sendFailure(const protocol::DispatchResponse& response) override { 85 return m_callback->sendFailure(response); 104 Response response = injectedScript->wrapEvaluateResult( in wrapEvaluateResultAsync() local 107 if (response.IsSuccess()) { in wrapEvaluateResultAsync() 111 callback->sendFailure(response); in wrapEvaluateResultAsync() 133 Response response = scope.injectedScript()->resolveCallArgument( in innerCallFunctionOn() local 135 if (!response.IsSuccess()) { in innerCallFunctionOn() 136 callback->sendFailure(response); in innerCallFunctionOn() 160 Response response = scope.initialize(); in innerCallFunctionOn() local 161 if (!response in innerCallFunctionOn() 264 Response response = ensureContext(m_inspector, m_session->contextGroupId(), evaluate() local 348 Response response = scope.initialize(); awaitPromise() local 392 Response response = scope.initialize(); callFunctionOn() local 406 Response response = ensureContext(m_inspector, m_session->contextGroupId(), callFunctionOn() local 443 Response response = scope.initialize(); getProperties() local 479 Response response = scope.initialize(); releaseObject() local 532 Response response = ensureContext(m_inspector, m_session->contextGroupId(), compileScript() local 586 Response response = ensureContext(m_inspector, m_session->contextGroupId(), runScript() local 647 Response response = scope.initialize(); queryObjects() local 663 Response response = ensureContext(m_inspector, m_session->contextGroupId(), globalLexicalScopeNames() local 821 Response response = scope.initialize(); getExceptionDetails() local [all...] |
H A D | injected-script.cc | 183 Response response = scope.initialize(); in thenCallback() local 184 if (!response.IsSuccess()) return; in thenCallback() 196 callback->sendFailure(response); in thenCallback() 203 callback->sendFailure(response); in thenCallback() 213 response = scope.injectedScript()->wrapObject(result, m_objectGroup, in thenCallback() 215 if (!response.IsSuccess()) { in thenCallback() 216 callback->sendFailure(response); in thenCallback() 228 Response response = scope.initialize(); in catchCallback() local 229 if (!response.IsSuccess()) return; in catchCallback() 234 response in catchCallback() 321 Response response = scope.initialize(); sendPromiseCollected() local 390 Response response = wrapObjectMirror( getProperties() local 398 Response response = getProperties() local 408 Response response = getProperties() local 418 Response response = getProperties() local 428 Response response = getProperties() local 466 Response response = internalProperty.value->buildRemoteObject( getInternalAndPrivateProperties() local 494 Response response = privateProperty.value->buildRemoteObject( getInternalAndPrivateProperties() local 505 Response response = privateProperty.getter->buildRemoteObject( getInternalAndPrivateProperties() local 516 Response response = privateProperty.setter->buildRemoteObject( getInternalAndPrivateProperties() local 533 Response response = RemoteObjectId::parse(objectId, &remoteId); releaseObject() local 564 Response response = mirror.buildRemoteObject(context, wrapMode, result); wrapObjectMirror() local 600 Response response = wrapTable() local 731 Response response = resolveCallArgument() local 780 Response response = addExceptionToDetails() local 834 Response response = createExceptionDetails() local 863 Response response = wrapEvaluateResult() local 993 Response response = RemoteObjectId::parse(m_remoteObjectId, &remoteId); findInjectedScript() local 1014 Response response = RemoteCallFrameId::parse(m_remoteCallFrameId, &remoteId); findInjectedScript() local [all...] |
H A D | v8-webdriver-serializer.cc | 24 Response response = in _serializeRecursively() local 26 if (!response.IsSuccess()) return response; in _serializeRecursively() 120 Response response = _serializeRecursively(element_value, context, max_depth, in _serializeArrayValue() 122 if (!response.IsSuccess()) return response; in _serializeArrayValue() 140 Response response = in _serializeArray() local 142 if (!response.IsSuccess()) return response; in _serializeArray() 178 Response response in _serializeMap() local 183 Response response = _serializeRecursively( _serializeMap() local 211 Response response = _serializeSet() local 246 Response response = _serializeRecursively(key_value, context, max_depth, _serializeObjectValue() local 255 Response response = _serializeRecursively( _serializeObjectValue() local 281 Response response = _serializeObjectValue(value.As<v8::Object>(), context, _serializeObject() local 293 Response response = serializeV8Value() local 298 Response response = serializeV8Value() local 303 Response response = serializeV8Value() local 308 Response response = serializeV8Value() local 313 Response response = serializeV8Value() local 370 Response response = serializeV8Value() local [all...] |
/third_party/protobuf/js/experimental/runtime/kernel/conformance/ |
H A D | conformance_testee.js | 11 * Creates a `proto.conformance.ConformanceResponse` response according to the 14 * @return {!ConformanceResponse} response 17 const response = ConformanceResponse.createEmpty(); 20 response.setSkipped('Json is not supported as input format.'); 21 return response; 25 response.setSkipped('Text format is not supported as input format.'); 26 return response; 30 response.setRuntimeError('Request didn\'t have payload.'); 31 return response; 39 response [all...] |
/third_party/node/lib/internal/ |
H A D | wasm_web_api.js | 22 const response = await PromiseResolve(source); 23 if (!(response instanceof lazyUndici().Response)) { 25 'source', ['Response', 'Promise resolving to Response'], response); 28 const contentType = response.headers.get('Content-Type'); 34 if (!response.ok) { 36 `has status code ${response.status}`); 39 if (response.bodyUsed !== false) { 43 if (response.url) { 44 streamState.setURL(response.url); 47 // Pass all data from the response bod [all...] |
/third_party/node/test/parallel/ |
H A D | test-http-response-status-message.js | 31 response: 'HTTP/1.1 200 OK\r\n\r\n' }, 33 response: 'HTTP/1.1 500 Internal Server Error\r\n\r\n' }, 35 response: 'HTTP/1.1 302 Moved Temporarily\r\n\r\n' }, 37 response: 'HTTP/1.1 200 \r\n\r\n' }, 39 response: 'HTTP/1.1 200\r\n\r\n' }, 56 connection.write(testCase.response); 69 }, function(response) { 71 console.log(`client: actual status message: ${response.statusMessage}`); 72 assert.strictEqual(testCase.statusMessage, response.statusMessage); 74 response [all...] |
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | post_example.c | 125 * URL to serve in response to this POST (if this request 226 * Handler to call to generate response. 238 * Add header to response to set a session cookie. 241 * @param response response to modify 245 struct MHD_Response *response) in add_session_cookie() 254 MHD_add_response_header (response, in add_session_cookie() 281 struct MHD_Response *response; in serve_simple_form() local 284 response = MHD_create_response_from_buffer (strlen (form), in serve_simple_form() 287 if (NULL == response) in serve_simple_form() 244 add_session_cookie(struct Session *session, struct MHD_Response *response) add_session_cookie() argument 317 struct MHD_Response *response; fill_v1_form() local 360 struct MHD_Response *response; fill_v1_v2_form() local 403 struct MHD_Response *response; not_found_page() local 546 struct MHD_Response *response; create_response() local [all...] |
/third_party/selinux/libselinux/src/ |
H A D | query_user_context.c | 16 char response[10]; /* string to hold the user's response */ in context_menu() local 25 if (fgets(response, sizeof(response), stdin) == NULL) in context_menu() 28 choice = strtol(response, NULL, 10); in context_menu() 40 char response[10]; /* The user's response */ in query_user_context() local 51 if (fgets(response, sizeof(response), stdin) == NULL) in query_user_context() 55 if ((response[ in query_user_context() 108 char response[10]; /* Used to get yes or no answers from user */ manual_user_enter_context() local [all...] |