Home
last modified time | relevance | path

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

1234

/external/wpa_supplicant_8/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 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
21 u16 status_code,
24 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code,
28 u16 status_code,
/external/libbrillo/brillo/http/
Dhttp_transport_fake.cc121 int status_code, in AddSimpleReplyHandler() argument
124 auto handler = [](int status_code, in AddSimpleReplyHandler()
129 response->ReplyText(status_code, reply_text, mime_type); in AddSimpleReplyHandler()
132 url, method, base::Bind(handler, status_code, reply_text, mime_type)); in AddSimpleReplyHandler()
236 void ServerResponse::Reply(int status_code, in Reply() argument
241 status_code_ = status_code; in Reply()
248 void ServerResponse::ReplyText(int status_code, in ReplyText() argument
251 Reply(status_code, text.data(), text.size(), mime_type); in ReplyText()
254 void ServerResponse::ReplyJson(int status_code, const base::Value* json) { in ReplyJson() argument
262 ReplyText(status_code, text, mime_type); in ReplyJson()
[all …]
Dhttp_transport_fake.h56 int status_code,
201 void Reply(int status_code,
206 void ReplyText(int status_code,
210 void ReplyJson(int status_code, const base::Value* json);
213 void ReplyJson(int status_code, const FormFieldList& fields);
219 void Reply(int status_code, in Reply() argument
224 Reply(status_code, data.data(), data.size() * sizeof(T), mime_type); in Reply()
230 void Reply(int status_code, const T& data, const std::string& mime_type) { in Reply() argument
233 Reply(status_code, &data, sizeof(T), mime_type); in Reply()
Dhttp_utils_unittest.cc29 response->Reply(status_code::Ok, in EchoDataHandler()
38 status_code::Ok, request.GetMethod(), brillo::mime::text::kPlain); in EchoMethodHandler()
155 EXPECT_EQ(status_code::NotFound, response->GetStatusCode()); in TEST()
164 EXPECT_EQ(status_code::NotFound, response->GetStatusCode()); in TEST()
190 response->ReplyJson(status_code::Ok, &json); in TEST()
227 response->ReplyText(status_code::Ok, in TEST()
255 response->ReplyText(status_code::Ok, "blah", brillo::mime::text::kPlain); in TEST()
281 response->ReplyText(status_code::Ok, "", brillo::mime::text::kPlain); in TEST()
311 response->ReplyText(status_code::Ok, in TEST()
380 status_code::Ok, in TEST()
[all …]
Dhttp_connection_curl.cc177 int status_code = 0; in GetResponseStatusCode() local
179 curl_handle_, CURLINFO_RESPONSE_CODE, &status_code); in GetResponseStatusCode()
180 return status_code; in GetResponseStatusCode()
Dhttp_connection_curl_unittest.cc289 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
309 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
310 EXPECT_EQ(status_code::Ok, connection_->GetResponseStatusCode()); in TEST_F()
/external/pdfium/testing/tools/
Dtext_diff.py25 status_code = 0
28 status_code = 1
29 return status_code
/external/autotest/client/common_lib/
Dbase_job.py463 def __init__(self, status_code, subdir, operation, message, fields, argument
480 if not log.is_valid_status(status_code):
481 raise ValueError('status code %r is not valid' % status_code)
482 self.status_code = status_code
518 return self.status_code == 'START'
526 return self.status_code.startswith('END ')
538 line_items = [self.status_code, subdir, operation]
568 status_code, subdir, operation = entry_parts[:3]
579 return cls(status_code, subdir, operation, message, fields, timestamp)
999 def record(self, status_code, subdir, operation, status='', argument
[all …]
/external/wpa_supplicant_8/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()
699 u16 status_code; in p2p_rx_gas_comeback_resp() local
[all …]
/external/cmockery/cmockery_0_1_2/src/example/
Dassert_macro.c24 const char* get_status_code_string(const unsigned int status_code) { in get_status_code_string() argument
25 return status_code_strings[status_code]; in get_status_code_string()
Dassert_macro_test.c21 extern const char* get_status_code_string(const unsigned int status_code);
/external/autotest/server/site_tests/brillo_WebservdSanity/
Dbrillo_WebservdSanity.py37 if r.status_code != 200:
39 'status=%d' % r.status_code)
/external/wpa_supplicant_8/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 …]
/external/wpa_supplicant_8/wpa_supplicant/
Dgas_query.c46 u16 status_code; member
54 const struct wpabuf *resp, u16 status_code);
158 query->status_code, gas_result_txt(result)); in gas_query_done()
168 query->adv_proto, query->resp, query->status_code); in gas_query_done()
564 query->status_code = WPA_GET_LE16(pos); in gas_query_rx()
567 if (query->status_code == WLAN_STATUS_QUERY_RESP_OUTSTANDING && in gas_query_rx()
570 } else if (query->status_code != WLAN_STATUS_SUCCESS) { in gas_query_rx()
573 MAC2STR(sa), dialog_token, query->status_code); in gas_query_rx()
803 const struct wpabuf *resp, u16 status_code), in gas_query_req() argument
Dwmm_ac.c668 const u8 resp_dialog_token, const u8 status_code, in wmm_ac_handle_addts_resp() argument
703 status_code, tsid, up, dir); in wmm_ac_handle_addts_resp()
705 if (status_code != WMM_ADDTS_STATUS_ADMISSION_ACCEPTED) { in wmm_ac_handle_addts_resp()
745 u8 status_code; in wmm_ac_rx_action() local
788 status_code = data[1]; in wmm_ac_rx_action()
811 wmm_ac_handle_addts_resp(wpa_s, sa, dialog_token, status_code, in wmm_ac_rx_action()
/external/python/cpython2/Lib/wsgiref/
Dvalidate.py371 status_code = status.split(None, 1)[0]
372 assert_(len(status_code) == 3,
373 "Status codes must be three characters: %r" % status_code)
374 status_int = int(status_code)
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c287 reply->u.auth.status_code = host_to_le16(resp); in send_auth_reply()
772 u16 auth_transaction, u16 status_code) in handle_auth_sae() argument
779 status_code != WLAN_STATUS_SUCCESS) { in handle_auth_sae()
805 status_code); in handle_auth_sae()
808 status_code == WLAN_STATUS_ANTI_CLOGGING_TOKEN_REQ && in handle_auth_sae()
858 status_code == in handle_auth_sae()
867 if (status_code != WLAN_STATUS_SUCCESS) in handle_auth_sae()
909 status_code); in handle_auth_sae()
910 if (status_code != WLAN_STATUS_SUCCESS) in handle_auth_sae()
926 auth_transaction, status_code); in handle_auth_sae()
[all …]
Dwmm.c124 u8 action_code, u8 dialogue_token, u8 status_code) in wmm_send_action() argument
134 "action response - reason %d", status_code); in wmm_send_action()
144 m->u.action.u.wmm_action.status_code = status_code; in wmm_send_action()
Dwnm_ap.c332 u8 dialog_token, status_code, bss_termination_delay; in ieee802_11_rx_bss_trans_mgmt_resp() local
344 status_code = *pos++; in ieee802_11_rx_bss_trans_mgmt_resp()
350 status_code, bss_termination_delay); in ieee802_11_rx_bss_trans_mgmt_resp()
352 if (status_code == WNM_BSS_TM_ACCEPT) { in ieee802_11_rx_bss_trans_mgmt_resp()
362 MAC2STR(addr), status_code, bss_termination_delay, in ieee802_11_rx_bss_trans_mgmt_resp()
368 MAC2STR(addr), status_code, bss_termination_delay); in ieee802_11_rx_bss_trans_mgmt_resp()
/external/libcups/cups/
Dgetdevices.c258 ippErrorString(response->request.status.status_code), in cupsGetDevices()
261 _cupsSetError(response->request.status.status_code, in cupsGetDevices()
263 ippErrorString(response->request.status.status_code), 0); in cupsGetDevices()
/external/libpng/contrib/tools/
Dpngfix.c709 int status_code; /* Accumulated status code */ member
732 rc = global->status_code; in global_end()
751 global->status_code = 0; in global_init()
844 int status_code; /* Set to a bit mask of the following: */ member
1002 rc = file->status_code; in file_end()
1021 file->global->status_code |= rc; in file_end()
1041 file->status_code = 0; in file_init()
1065 file->status_code |= FILE_ERROR; in file_init()
1078 file->status_code |= WRITE_ERROR; in file_init()
1166 printf(" ERR %.2x %s ", file->status_code, strcode(code)); in stop()
[all …]
/external/c-ares/
Dares_gethostbyname.c70 static void next_lookup(struct host_query *hquery, int status_code);
132 static void next_lookup(struct host_query *hquery, int status_code) in next_lookup() argument
136 int status = status_code; in next_lookup()
171 status = status_code; /* Use original status code */ in next_lookup()
/external/libmicrohttpd/doc/examples/
Dlargepost.c58 int status_code) in send_page() argument
69 ret = MHD_queue_response (connection, status_code, response); in send_page()
/external/toybox/toys/pending/
Ddhcpd.c231 uint16_t status_code; member
1775 void *ia_addr, *status_code; in dhcpd_main() local
1795 status_code = xzalloc(status_code_len); in dhcpd_main()
1797 (struct optval_status_code*)status_code; in dhcpd_main()
1798 (*status_code_p).status_code = htons(DHCP6_STATUS_SUCCESS); in dhcpd_main()
1806 status_code = xzalloc(status_code_len); in dhcpd_main()
1808 (struct optval_status_code*)status_code; in dhcpd_main()
1809 (*status_code_p).status_code = htons(DHCP6_STATUS_NOADDRSAVAIL); in dhcpd_main()
1835 set_optval6(ia_na_optptr, DHCP6_OPT_STATUS_CODE, status_code, in dhcpd_main()
1838 free(status_code); in dhcpd_main()
[all …]

1234