Home
last modified time | relevance | path

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

12345678

/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 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,
/external/python/apitools/apitools/base/py/
Dexceptions_test.py21 def _MakeResponse(status_code): argument
23 info={'status': status_code}, content='{"field": "abc"}',
35 self.assertEquals(err.status_code, 400)
41 self.assertEquals(err.status_code, 401)
47 self.assertEquals(err.status_code, 403)
59 self.assertEquals(err.status_code, 404)
65 self.assertEquals(err.status_code, 409)
70 self.assertEquals(err.status_code, 499)
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dstatus_metadata.h35 grpc_mdelem grpc_get_reffed_status_elem_slowpath(int status_code);
36 inline grpc_mdelem grpc_get_reffed_status_elem(int status_code) { in grpc_get_reffed_status_elem() argument
37 switch (status_code) { in grpc_get_reffed_status_elem()
45 return grpc_get_reffed_status_elem_slowpath(status_code); in grpc_get_reffed_status_elem()
/external/libbrillo/brillo/http/
Dhttp_transport_fake.h59 int status_code,
213 void Reply(int status_code,
218 void ReplyText(int status_code,
222 void ReplyJson(int status_code, const base::Value* json);
225 void ReplyJson(int status_code, const FormFieldList& fields);
231 void Reply(int status_code, in Reply() argument
236 Reply(status_code, data.data(), data.size() * sizeof(T), mime_type); in Reply()
242 void Reply(int status_code, const T& data, const std::string& mime_type) { in Reply() argument
245 Reply(status_code, &data, sizeof(T), mime_type); in Reply()
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_utils_test.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 …]
/external/pigweed/pw_rpc/nanopb/
Dcodegen_test.cc31 return static_cast<Status::Code>(request.status_code); in TestRpc()
42 writer.Finish(static_cast<Status::Code>(request.status_code)); in TestStreamRpc()
60 context.call({.integer = 123, .status_code = OkStatus().code()})); in TEST()
66 .status_code = Status::InvalidArgument().code()})); in TEST()
73 context.call({.integer = 0, .status_code = Status::Aborted().code()}); in TEST()
80 context.call({.integer = 4, .status_code = OkStatus().code()}); in TEST()
98 context.call({.integer = 5, .status_code = Status::NotFound().code()}); in TEST()
145 context.channel(), {.integer = 123, .status_code = 0}, handler); in TEST()
169 context.channel(), {.integer = 123, .status_code = 0}, handler); in TEST()
Dnanopb_client_call_test.cc70 context.channel(), {.integer = 123, .status_code = 0}, handler); in TEST()
87 context.channel(), {.integer = 123, .status_code = 0}, handler); in TEST()
102 context.channel(), {.integer = 123, .status_code = 0}, handler); in TEST()
117 context.channel(), {.integer = 123, .status_code = 0}, handler); in TEST()
130 context.channel(), {.integer = 123, .status_code = 0}, handler); in TEST()
150 context.channel(), {.integer = 71, .status_code = 0}, handler); in TEST()
168 context.channel(), {.integer = 71, .status_code = 0}, handler); in TEST()
195 context.channel(), {.integer = 71, .status_code = 0}, handler); in TEST()
222 context.channel(), {.integer = 71, .status_code = 0}, handler); in TEST()
/external/perfetto/infra/ci/frontend/
Dfrontend.py33 if result.status_code == 200:
35 return result.status_code, result.content
65 self.response.status_int = result.status_code
66 if (result.status_code == 200):
69 self.response.write('HTTP error %s' % result.status_code)
/external/icing/icing/testing/
Dcommon-matchers.h319 MATCHER_P(StatusIs, status_code, "") {
321 if (adapter.status().CanonicalCode() == status_code) {
326 StatusCodeToString(status_code).c_str(),
332 MATCHER_P2(StatusIs, status_code, error_matcher, "") {
334 if (adapter.status().CanonicalCode() != status_code) {
337 StatusCodeToString(status_code).c_str(),
356 MATCHER_P(ProtoStatusIs, status_code, "") {
357 if (arg.code() == status_code) {
362 ProtoStatusCodeToString(status_code).c_str(),
367 MATCHER_P2(ProtoStatusIs, status_code, error_matcher, "") {
[all …]
/external/python/oauth2client/tests/contrib/django_util/
Dtest_decorators.py58 self.assertEqual(response.status_code, http_client.OK)
80 self.assertEqual(response.status_code, http_client.OK)
104 self.assertEqual(response.status_code, http_client.OK)
138 self.assertEqual(response.status_code,
139 http.HttpResponseRedirect.status_code)
156 self.assertEqual(response.status_code, http_client.OK)
177 response.status_code, django.http.HttpResponseRedirect.status_code)
195 response.status_code, django.http.HttpResponseRedirect.status_code)
/external/python/oauth2client/tests/contrib/
Dtest_flask_util.py255 self.assertEqual(response.status_code, httplib.FOUND)
273 self.assertEqual(response.status_code, httplib.BAD_REQUEST)
288 self.assertEqual(response.status_code, httplib.BAD_REQUEST)
293 self.assertEqual(response.status_code, httplib.BAD_REQUEST)
302 self.assertEqual(response.status_code, httplib.BAD_REQUEST)
312 self.assertEqual(response.status_code, httplib.BAD_REQUEST)
326 self.assertEqual(response.status_code, httplib.BAD_REQUEST)
387 self.assertEqual(response.status_code, httplib.FOUND)
399 self.assertEqual(response.status_code, httplib.OK)
413 self.assertEqual(response.status_code, httplib.OK)
[all …]
/external/pdfium/testing/tools/
Dtext_diff.py26 status_code = 0
29 status_code = 1
30 return status_code
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DRequestResultCount.php19 private $status_code = 0; variable in Grpc\\Testing\\RequestResultCount
36 return $this->status_code;
47 $this->status_code = $var;
/external/grpc-grpc/src/ruby/spec/
Derror_sanity_spec.rb36 status_code = StatusCodes.const_get(status_name)
37 expect(error_object.code).to eq(status_code)
45 from_factory = GRPC::BadStatus.new_status_exception(status_code)
/external/nos/host/generic/libnos/
DNuggetClientDebuggable.cpp55 uint32_t status_code = nos_call_application(&device_, appId, arg, in CallApp() local
62 (response_cb_)(status_code, *response); in CallApp()
66 return status_code; in CallApp()
/external/nos/host/generic/libnos_transport/
Dtransport.c477 uint32_t status_code; in nos_call_application() local
489 status_code = poll_until_done(&ctx, &status); in nos_call_application()
494 if (status_code == APP_ERROR_TOO_MUCH) { in nos_call_application()
496 app_id, status_code, retries, CRC_RETRY_COUNT); in nos_call_application()
500 if (status_code != APP_ERROR_CHECKSUM) break; in nos_call_application()
503 if (status_code == APP_ERROR_CHECKSUM) { in nos_call_application()
505 status_code = APP_ERROR_IO; in nos_call_application()
521 NLOGD("App %d returning 0x%x", app_id, status_code); in nos_call_application()
522 return status_code; in nos_call_application()
/external/perfetto/infra/perfetto-get.appspot.com/
Dmain.py51 if result.status_code != 200:
53 self.response.set_status(result.status_code)
55 'http error %d while fetching %s' % (result.status_code, url))
/external/wpa_supplicant_8/wpa_supplicant/
Drobust_av.c108 u16 status_code; in wpas_handle_robust_av_recv_action() local
121 status_code = *buf; in wpas_handle_robust_av_recv_action()
123 " status_code=%u", MAC2STR(src), status_code); in wpas_handle_robust_av_recv_action()
124 wpa_s->mscs_setup_done = status_code == WLAN_STATUS_SUCCESS; in wpas_handle_robust_av_recv_action()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/rdev_tdls_mgmt/
Dformat15 field:u16 status_code; offset:68; size:2; signed:0;
18 …n: %u, status_code: %u, buf: %#.2x ", REC->wiphy_name, REC->name, REC->ifindex, (REC->peer), REC->…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/rdev_tdls_mgmt/
Dformat15 field:u16 status_code; offset:68; size:2; signed:0;
19status_code: %u, peer_capability: %u buf: %#.2x ", REC->wiphy_name, REC->name, REC->ifindex, (REC-…
/external/autotest/client/common_lib/
Dbase_job.py472 def __init__(self, status_code, subdir, operation, message, fields, argument
489 if not log.is_valid_status(status_code):
490 raise ValueError('status code %r is not valid' % status_code)
491 self.status_code = status_code
527 return self.status_code == 'START'
535 return self.status_code.startswith('END ')
547 line_items = [self.status_code, subdir, operation]
577 status_code, subdir, operation = entry_parts[:3]
588 return cls(status_code, subdir, operation, message, fields, timestamp)
1007 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()
701 u16 status_code; in p2p_rx_gas_comeback_resp() local
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_tdls_mgmt/
Dformat15 field:u16 status_code; offset:68; size:2; signed:0;
20status_code: %u, peer_capability: %u initiator: %s buf: %#.2x ", REC->wiphy_name, REC->name, REC->…

12345678