Home
last modified time | relevance | path

Searched refs:status_code (Results 1 – 25 of 184) sorted by relevance

12345678

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dgas.c48 gas_build_resp(u8 action, u8 dialog_token, u16 status_code, u8 frag_id, in gas_build_resp() argument
60 wpabuf_put_le16(buf, status_code); in gas_build_resp()
70 gas_build_initial_resp(u8 dialog_token, u16 status_code, u16 comeback_delay, in gas_build_initial_resp() argument
74 status_code, 0, 0, comeback_delay, size); in gas_build_initial_resp()
79 gas_build_comeback_resp(u8 dialog_token, u16 status_code, u8 frag_id, u8 more, in gas_build_comeback_resp() argument
83 status_code, frag_id, more, comeback_delay, in gas_build_comeback_resp()
128 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code, in gas_anqp_build_initial_resp() argument
133 buf = gas_build_initial_resp(dialog_token, status_code, comeback_delay, in gas_anqp_build_initial_resp()
147 u16 status_code, in gas_anqp_build_initial_resp_buf() argument
153 buf = gas_anqp_build_initial_resp(dialog_token, status_code, in gas_anqp_build_initial_resp_buf()
[all …]
Dgas.h15 struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code,
18 gas_build_comeback_resp(u8 dialog_token, u16 status_code, u8 frag_id, u8 more,
21 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
24 u16 status_code,
27 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code,
31 u16 status_code,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dgas.c48 gas_build_resp(u8 action, u8 dialog_token, u16 status_code, u8 frag_id, in gas_build_resp() argument
60 wpabuf_put_le16(buf, status_code); in gas_build_resp()
70 gas_build_initial_resp(u8 dialog_token, u16 status_code, u16 comeback_delay, in gas_build_initial_resp() argument
74 status_code, 0, 0, comeback_delay, size); in gas_build_initial_resp()
79 gas_build_comeback_resp(u8 dialog_token, u16 status_code, u8 frag_id, u8 more, in gas_build_comeback_resp() argument
83 status_code, frag_id, more, comeback_delay, in gas_build_comeback_resp()
128 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code, in gas_anqp_build_initial_resp() argument
133 buf = gas_build_initial_resp(dialog_token, status_code, comeback_delay, in gas_anqp_build_initial_resp()
147 u16 status_code, in gas_anqp_build_initial_resp_buf() argument
153 buf = gas_anqp_build_initial_resp(dialog_token, status_code, in gas_anqp_build_initial_resp_buf()
[all …]
Dgas.h15 struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code,
18 gas_build_comeback_resp(u8 dialog_token, u16 status_code, u8 frag_id, u8 more,
21 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
24 u16 status_code,
27 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code,
31 u16 status_code,
/third_party/nghttp2/src/
Dshrpx_memcached_result.h40 MemcachedResult(MemcachedStatusCode status_code) : status_code(status_code) {} in MemcachedResult()
41 MemcachedResult(MemcachedStatusCode status_code, std::vector<uint8_t> value) in MemcachedResult()
42 : value(std::move(value)), status_code(status_code) {} in MemcachedResult()
45 MemcachedStatusCode status_code; member
Dshrpx_https_upstream.cc710 unsigned int status_code; in on_read() local
713 status_code = 501; in on_read()
715 status_code = downstream->response().http_status; in on_read()
716 if (status_code == 0) { in on_read()
718 status_code = 502; in on_read()
721 status_code = 431; in on_read()
723 status_code = 400; in on_read()
727 status_code = 400; in on_read()
730 error_reply(status_code); in on_read()
1036 void HttpsUpstream::error_reply(unsigned int status_code) { in error_reply() argument
[all …]
Dh2load_http1_session.cc60 if (htp->status_code / 100 == 1) { in htp_statuscb()
64 client->on_status_code(session->stream_resp_counter_, htp->status_code); in htp_statuscb()
76 if (htp->status_code / 100 == 1) { in htp_msg_completecb()
132 return !http2::expect_response_body(htp->status_code); in htp_hdrs_completecb()
/third_party/cef/libcef/common/net_service/
Dnet_service_util.cc74 std::string MakeStatusLine(int status_code, in MakeStatusLine() argument
78 status.append(base::NumberToString(status_code)); in MakeStatusLine()
83 net::GetHttpReasonPhrase(static_cast<net::HttpStatusCode>(status_code)); in MakeStatusLine()
110 int status_code, in MakeResponseHeaders() argument
117 if (status_code <= 0) in MakeResponseHeaders()
118 status_code = 200; in MakeResponseHeaders()
121 MakeStatusLine(status_code, status_text, false))); in MakeResponseHeaders()
126 if ((status_code >= 200 && status_code < 300) && in MakeResponseHeaders()
127 status_code != net::HTTP_NO_CONTENT && in MakeResponseHeaders()
128 status_code != net::HTTP_RESET_CONTENT) { in MakeResponseHeaders()
[all …]
Dnet_service_util.h41 std::string MakeStatusLine(int status_code,
51 int status_code,
63 int status_code);
/third_party/nghttp2/third-party/llhttp/src/
Dhttp.c21 (parser->type == HTTP_REQUEST || parser->status_code == 101); in llhttp__before_headers_complete()
115 if (parser->status_code / 100 == 1 || /* 1xx e.g. Continue */ in llhttp_message_needs_eof()
116 parser->status_code == 204 || /* No Content */ in llhttp_message_needs_eof()
117 parser->status_code == 304 || /* Not Modified */ in llhttp_message_needs_eof()
/third_party/node/deps/llhttp/src/
Dhttp.c21 (parser->type == HTTP_REQUEST || parser->status_code == 101); in llhttp__before_headers_complete()
115 if (parser->status_code / 100 == 1 || /* 1xx e.g. Continue */ in llhttp_message_needs_eof()
116 parser->status_code == 204 || /* No Content */ in llhttp_message_needs_eof()
117 parser->status_code == 304 || /* Not Modified */ in llhttp_message_needs_eof()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_http.c88 stream->status_code / 100 != 1 && stream->status_code != 304 && in expect_response_body()
89 stream->status_code != 204; in expect_response_body()
253 stream->status_code = (int16_t)parse_uint(nv->value->base, nv->value->len); in http_response_on_header()
254 if (stream->status_code == -1 || stream->status_code == 101) { in http_response_on_header()
260 if (stream->status_code == 204) { in http_response_on_header()
274 if (stream->status_code / 100 == 1) { in http_response_on_header()
278 if (stream->status_code / 100 == 2 && in http_response_on_header()
486 if (stream->status_code / 100 == 1) { in nghttp2_http_on_response_headers()
491 stream->status_code = -1; in nghttp2_http_on_response_headers()
/third_party/nghttp2/lib/
Dnghttp2_http.c88 stream->status_code / 100 != 1 && stream->status_code != 304 && in expect_response_body()
89 stream->status_code != 204; in expect_response_body()
253 stream->status_code = (int16_t)parse_uint(nv->value->base, nv->value->len); in http_response_on_header()
254 if (stream->status_code == -1 || stream->status_code == 101) { in http_response_on_header()
260 if (stream->status_code == 204) { in http_response_on_header()
274 if (stream->status_code / 100 == 1) { in http_response_on_header()
278 if (stream->status_code / 100 == 2 && in http_response_on_header()
486 if (stream->status_code / 100 == 1) { in nghttp2_http_on_response_headers()
491 stream->status_code = -1; in nghttp2_http_on_response_headers()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dtest_http_src.c233 src->input.status_code = 0; in gst_test_http_src_reset_input()
301 if (src->input.status_code == 0) { in gst_test_http_src_start()
302 src->input.status_code = 404; in gst_test_http_src_start()
305 if (src->input.status_code == 0) { in gst_test_http_src_start()
306 src->input.status_code = 200; in gst_test_http_src_start()
424 if (src->input.status_code >= 200 && src->input.status_code < 300) { in gst_test_http_src_do_seek()
437 src->input.status_code); in gst_test_http_src_do_seek()
459 if (src->uri && src->input.status_code >= 200 && src->input.status_code < 300) { in gst_test_http_src_get_size()
493 if (src->input.status_code < 200 || src->input.status_code >= 300) { in gst_test_http_src_create()
496 "Generated requested error", src->input.status_code, src->uri, in gst_test_http_src_create()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_sd.c212 static struct wpabuf * p2p_build_sd_response(u8 dialog_token, u16 status_code, in p2p_build_sd_response() argument
220 buf = gas_anqp_build_initial_resp(dialog_token, status_code, in p2p_build_sd_response()
243 u16 status_code, in p2p_build_gas_comeback_resp() argument
251 buf = gas_anqp_build_comeback_resp(dialog_token, status_code, frag_id, in p2p_build_gas_comeback_resp()
489 u16 status_code; in p2p_rx_gas_initial_resp() local
513 status_code = WPA_GET_LE16(pos); in p2p_rx_gas_initial_resp()
518 dialog_token, status_code, comeback_delay); in p2p_rx_gas_initial_resp()
519 if (status_code) { in p2p_rx_gas_initial_resp()
521 status_code); in p2p_rx_gas_initial_resp()
701 u16 status_code; in p2p_rx_gas_comeback_resp() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_sd.c212 static struct wpabuf * p2p_build_sd_response(u8 dialog_token, u16 status_code, in p2p_build_sd_response() argument
220 buf = gas_anqp_build_initial_resp(dialog_token, status_code, in p2p_build_sd_response()
243 u16 status_code, in p2p_build_gas_comeback_resp() argument
251 buf = gas_anqp_build_comeback_resp(dialog_token, status_code, frag_id, in p2p_build_gas_comeback_resp()
489 u16 status_code; in p2p_rx_gas_initial_resp() local
513 status_code = WPA_GET_LE16(pos); in p2p_rx_gas_initial_resp()
518 dialog_token, status_code, comeback_delay); in p2p_rx_gas_initial_resp()
519 if (status_code) { in p2p_rx_gas_initial_resp()
521 status_code); in p2p_rx_gas_initial_resp()
701 u16 status_code; in p2p_rx_gas_comeback_resp() local
[all …]
/third_party/cef/libcef/browser/net_service/
Dresource_handler_wrapper.cc443 int* status_code, in GetResponseHeaders() argument
455 *status_code = net::ERR_FAILED; in GetResponseHeaders()
467 *status_code = error_code; in GetResponseHeaders()
473 *status_code = net::HTTP_TEMPORARY_REDIRECT; in GetResponseHeaders()
478 *status_code = response->GetStatus(); in GetResponseHeaders()
482 if (reason_phrase->empty() && *status_code > 0) { in GetResponseHeaders()
484 static_cast<net::HttpStatusCode>(*status_code)); in GetResponseHeaders()
/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_http.c92 http->status_code / 100 != 1 && http->status_code != 304 && in expect_response_body()
93 http->status_code != 204; in expect_response_body()
972 http->status_code = (int16_t)parse_uint(nv->value->base, nv->value->len); in http_response_on_header()
973 if (http->status_code < 100 || http->status_code == 101) { in http_response_on_header()
986 if (http->status_code == 204) { in http_response_on_header()
1000 if (http->status_code / 100 == 1) { in http_response_on_header()
1004 if (http->status_code / 100 == 2 && in http_response_on_header()
1411 if (http->status_code / 100 == 1) { in nghttp3_http_on_response_headers()
1416 http->status_code = -1; in nghttp3_http_on_response_headers()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst_session.c551 if (res->status_code == WLAN_STATUS_SUCCESS && in fst_session_handle_setup_response()
561 if (res->status_code != WLAN_STATUS_SUCCESS) { in fst_session_handle_setup_response()
571 evext.to_initial.reject_code = res->status_code; in fst_session_handle_setup_response()
576 res->status_code); in fst_session_handle_setup_response()
924 int fst_session_respond(struct fst_session *s, u8 status_code) in fst_session_respond() argument
970 res.status_code = status_code; in fst_session_respond()
975 if (status_code == WLAN_STATUS_SUCCESS) { in fst_session_respond()
1000 status_code); in fst_session_respond()
1007 status_code); in fst_session_respond()
1013 if (status_code != WLAN_STATUS_SUCCESS) { in fst_session_respond()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dgas_query_ap.c45 u16 status_code; member
53 const struct wpabuf *resp, u16 status_code);
149 query->status_code, gas_result_txt(result)); in gas_query_done()
157 query->adv_proto, query->resp, query->status_code); in gas_query_done()
522 query->status_code = WPA_GET_LE16(pos); in gas_query_ap_rx()
525 if (query->status_code == WLAN_STATUS_QUERY_RESP_OUTSTANDING && in gas_query_ap_rx()
528 } else if (query->status_code != WLAN_STATUS_SUCCESS) { in gas_query_ap_rx()
531 MAC2STR(sa), dialog_token, query->status_code); in gas_query_ap_rx()
679 const struct wpabuf *resp, u16 status_code), in gas_query_ap_req() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dgas_query_ap.c45 u16 status_code; member
53 const struct wpabuf *resp, u16 status_code);
149 query->status_code, gas_result_txt(result)); in gas_query_done()
157 query->adv_proto, query->resp, query->status_code); in gas_query_done()
522 query->status_code = WPA_GET_LE16(pos); in gas_query_ap_rx()
525 if (query->status_code == WLAN_STATUS_QUERY_RESP_OUTSTANDING && in gas_query_ap_rx()
528 } else if (query->status_code != WLAN_STATUS_SUCCESS) { in gas_query_ap_rx()
531 MAC2STR_SEC(sa), dialog_token, query->status_code); in gas_query_ap_rx()
679 const struct wpabuf *resp, u16 status_code), in gas_query_ap_req() argument
Dieee802_11.c392 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply()
535 int status_code) in auth_build_sae_commit() argument
556 else if (status_code == WLAN_STATUS_SUCCESS) in auth_build_sae_commit()
558 else if (status_code == WLAN_STATUS_SAE_HASH_TO_ELEMENT || in auth_build_sae_commit()
559 status_code == WLAN_STATUS_SAE_PK) in auth_build_sae_commit()
631 const u8 *bssid, int update, int status_code) in auth_sae_send_commit() argument
637 data = auth_build_sae_commit(hapd, sta, update, status_code); in auth_sae_send_commit()
981 const u8 *bssid, u16 auth_transaction, u16 status_code, in sae_sm_step() argument
999 (status_code == in sae_sm_step()
1001 status_code == WLAN_STATUS_SAE_PK); in sae_sm_step()
[all …]
/third_party/ffmpeg/libavformat/
Drtspenc.c87 if (reply->status_code != RTSP_STATUS_OK) in ff_rtsp_setup_output_streams()
88 return ff_rtsp_averror(reply->status_code, AVERROR_INVALIDDATA); in ff_rtsp_setup_output_streams()
119 if (reply->status_code != RTSP_STATUS_OK) in rtsp_write_record()
120 return ff_rtsp_averror(reply->status_code, -1); in rtsp_write_record()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
Dfst_session.c551 if (res->status_code == WLAN_STATUS_SUCCESS && in fst_session_handle_setup_response()
561 if (res->status_code != WLAN_STATUS_SUCCESS) { in fst_session_handle_setup_response()
571 evext.to_initial.reject_code = res->status_code; in fst_session_handle_setup_response()
576 res->status_code); in fst_session_handle_setup_response()
924 int fst_session_respond(struct fst_session *s, u8 status_code) in fst_session_respond() argument
970 res.status_code = status_code; in fst_session_respond()
975 if (status_code == WLAN_STATUS_SUCCESS) { in fst_session_respond()
1000 status_code); in fst_session_respond()
1007 status_code); in fst_session_respond()
1013 if (status_code != WLAN_STATUS_SUCCESS) { in fst_session_respond()
[all …]
/third_party/gstreamer/gstplugins_good/ext/soup/
Dgstsouphttpsrc.c1377 SoupStatus status_code; in gst_soup_http_src_authenticate_cb() local
1383 status_code = _soup_message_get_status (msg); in gst_soup_http_src_authenticate_cb()
1388 if (status_code == SOUP_STATUS_UNAUTHORIZED) { in gst_soup_http_src_authenticate_cb()
1392 } else if (status_code == SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED) { in gst_soup_http_src_authenticate_cb()
1471 SoupStatus status_code = _soup_message_get_status (msg); in gst_soup_http_src_got_headers() local
1479 GST_INFO_OBJECT (src, "got headers, status code %d", status_code); in gst_soup_http_src_got_headers()
1480 if ((src->last_status_code != status_code) && (status_code >= SOUP_STATUS_MULTIPLE_CHOICES) && in gst_soup_http_src_got_headers()
1481 (status_code <= SOUP_STATUS_NOT_EXTENDED)) { in gst_soup_http_src_got_headers()
1482 src->last_status_code = status_code; in gst_soup_http_src_got_headers()
1488 if (status_code == SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED && in gst_soup_http_src_got_headers()
[all …]

12345678