Home
last modified time | relevance | path

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

123456

/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/tensorflow/tensorflow/contrib/rpc/python/kernel_tests/
Drpc_op_test_base.py69 response_tensors, status_code, status_message = self.try_rpc(
73 self.assertEqual(status_code.shape, ())
77 sess.run((response_tensors, status_code, status_message)))
140 response_tensors, status_code, status_message = self.try_rpc(
145 self.assertEqual(status_code.shape, ())
147 status_code_value, status_message_value = sess.run((status_code,
164 response_tensors, status_code, status_message = self.try_rpc(
169 self.assertEqual(status_code.shape, (20,))
171 status_code_values, status_message_values = sess.run((status_code,
271 response_tensors, status_code, status_message = self.try_rpc(
[all …]
/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,
203 void Reply(int status_code,
208 void ReplyText(int status_code,
212 void ReplyJson(int status_code, const base::Value* json);
215 void ReplyJson(int status_code, const FormFieldList& fields);
221 void Reply(int status_code, in Reply() argument
226 Reply(status_code, data.data(), data.size() * sizeof(T), mime_type); in Reply()
232 void Reply(int status_code, const T& data, const std::string& mime_type) { in Reply() argument
235 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 …]
/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.py25 status_code = 0
28 status_code = 1
29 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/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)
998 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/python/apitools/
Drun_pylint.py202 status_code = subprocess.call(pylint_shell_command)
203 if status_code != 0:
205 'status %d.' % (description, status_code))
207 sys.exit(status_code)
/external/perfetto/infra/perfetto-get.appspot.com/
Dmain.py48 if result.status_code != 200:
50 self.response.set_status(result.status_code)
53 result.status_code, url))
/external/tensorflow/tensorflow/contrib/ffmpeg/default/
Dffmpeg_lib.cc340 int status_code; in ReadAudioFile() local
341 ::waitpid(child_pid, &status_code, 0); in ReadAudioFile()
342 if (status_code) { in ReadAudioFile()
344 StrCat("FFmpeg execution failed: ", status_code)); in ReadAudioFile()
395 int status_code; in ReadVideoFile() local
396 if (::waitpid(child_pid, &status_code, 0) < 0) { in ReadVideoFile()
400 if (status_code) { in ReadVideoFile()
402 StrCat("FFmpeg execution failed: ", status_code)); in ReadVideoFile()
/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/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->…
/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()
490 if (status_code != APP_ERROR_CHECKSUM) break; in nos_call_application()
493 if (status_code == APP_ERROR_CHECKSUM) { in nos_call_application()
495 status_code = APP_ERROR_IO; in nos_call_application()
511 NLOGD("App %d returning 0x%x", app_id, status_code); in nos_call_application()
512 return status_code; in nos_call_application()
/external/wpa_supplicant_8/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
/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()
/external/python/apitools/apitools/base/py/
Dhttp_wrapper.py196 def status_code(self): member in Response
206 return (self.status_code in _REDIRECT_STATUS_CODES and
216 elif (response.status_code >= 500 or
217 response.status_code == TOO_MANY_REQUESTS):
294 retry_args.exc.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/autotest/server/site_tests/brillo_WebservdSanity/
Dbrillo_WebservdSanity.py37 if r.status_code != 200:
39 'status=%d' % r.status_code)

123456