Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 25 of 6251) sorted by relevance

12345678910>>...251

/external/pigweed/pw_status/
Dstatus_test.cc22 constexpr Status::Code kInvalidCode = static_cast<Status::Code>(30);
24 TEST(Status, Default) { in TEST() argument
25 constexpr Status status; in TEST()
27 static_assert(Status() == status); in TEST()
30 TEST(Status, ConstructWithStatusCode) { in TEST() argument
31 constexpr Status status(PW_STATUS_ABORTED); in TEST()
35 TEST(Status, AssignFromStatusCode) { in TEST() argument
36 Status status; in TEST()
38 EXPECT_EQ(Status::Internal(), status); in TEST()
41 TEST(Status, Ok_OkIsTrue) { in TEST() argument
[all …]
Dtry_test.cc22 Status ReturnStatus(Status status) { return status; } in ReturnStatus()
25 Status TryStatus(Status status) { in TryStatus()
33 Status TryStatus(StatusWithSize status) { in TryStatus()
41 TEST(Status, Try_Status) { in TEST() argument
45 EXPECT_EQ(TryStatus(Status::Cancelled()), Status::Cancelled()); in TEST()
46 EXPECT_EQ(TryStatus(Status::DataLoss()), Status::DataLoss()); in TEST()
47 EXPECT_EQ(TryStatus(Status::Unimplemented()), Status::Unimplemented()); in TEST()
50 TEST(Status, Try_StatusWithSizeOk) { in TEST() argument
57 TEST(Status, Try_StatusWithSizeError) { in TEST() argument
59 StatusWithSize val(Status::DataLoss(), i); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatus.h363 class ABSL_MUST_USE_RESULT Status final {
370 Status();
378 Status(absl::StatusCode code, absl::string_view msg);
380 Status(const Status&);
381 Status& operator=(const Status& x);
386 Status(Status&&) noexcept;
387 Status& operator=(Status&&);
389 ~Status();
406 void Update(const Status& new_status);
407 void Update(Status&& new_status);
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatus.h363 class ABSL_MUST_USE_RESULT Status final {
370 Status();
378 Status(absl::StatusCode code, absl::string_view msg);
380 Status(const Status&);
381 Status& operator=(const Status& x);
386 Status(Status&&) noexcept;
387 Status& operator=(Status&&);
389 ~Status();
406 void Update(const Status& new_status);
407 void Update(Status&& new_status);
[all …]
/external/openscreen/third_party/abseil/src/absl/status/
Dstatus.h363 class ABSL_MUST_USE_RESULT Status final {
370 Status();
378 Status(absl::StatusCode code, absl::string_view msg);
380 Status(const Status&);
381 Status& operator=(const Status& x);
386 Status(Status&&) noexcept;
387 Status& operator=(Status&&);
389 ~Status();
406 void Update(const Status& new_status);
407 void Update(Status&& new_status);
[all …]
/external/libwebm/webm_parser/src/
Dcallback.cc14 Status Callback::OnElementBegin(const ElementMetadata& /* metadata */, in OnElementBegin()
18 return Status(Status::kOkCompleted); in OnElementBegin()
21 Status Callback::OnUnknownElement(const ElementMetadata& /* metadata */, in OnUnknownElement()
29 Status Callback::OnEbml(const ElementMetadata& /* metadata */, in OnEbml()
31 return Status(Status::kOkCompleted); in OnEbml()
34 Status Callback::OnVoid(const ElementMetadata& /* metadata */, Reader* reader, in OnVoid()
41 Status Callback::OnSegmentBegin(const ElementMetadata& /* metadata */, in OnSegmentBegin()
45 return Status(Status::kOkCompleted); in OnSegmentBegin()
48 Status Callback::OnSeek(const ElementMetadata& /* metadata */, in OnSeek()
50 return Status(Status::kOkCompleted); in OnSeek()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/status/
Dstatus.h75 class ABSL_MUST_USE_RESULT Status final {
78 Status();
86 Status(absl::StatusCode code, absl::string_view msg);
88 Status(const Status&);
89 Status& operator=(const Status& x);
93 Status(Status&&) noexcept;
94 Status& operator=(Status&&);
96 ~Status();
109 void Update(const Status& new_status);
110 void Update(Status&& new_status);
[all …]
/external/abseil-cpp/absl/status/
Dstatus.h75 class ABSL_MUST_USE_RESULT Status final {
78 Status();
86 Status(absl::StatusCode code, absl::string_view msg);
88 Status(const Status&);
89 Status& operator=(const Status& x);
93 Status(Status&&) noexcept;
94 Status& operator=(Status&&);
96 ~Status();
109 void Update(const Status& new_status);
110 void Update(Status&& new_status);
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Ddfs_hlo_visitor.h74 virtual Status HandleElementwiseUnary(HloInstructionPtr hlo);
75 virtual Status HandleElementwiseBinary(HloInstructionPtr hlo);
77 virtual Status HandleClamp(HloInstructionPtr hlo) = 0;
78 virtual Status HandleSelect(HloInstructionPtr hlo) = 0;
79 virtual Status HandleTupleSelect(HloInstructionPtr hlo) = 0;
80 virtual Status HandleMaximum(HloInstructionPtr hlo) { in HandleMaximum()
83 virtual Status HandleMinimum(HloInstructionPtr hlo) { in HandleMinimum()
86 virtual Status HandleConcatenate(HloInstructionPtr hlo) = 0;
87 virtual Status HandleConvert(HloInstructionPtr hlo) { in HandleConvert()
90 virtual Status HandleBitcastConvert(HloInstructionPtr hlo) { in HandleBitcastConvert()
[all …]
Dhlo_verifier.h40 virtual Status VerifyEntryComputationLayout(const HloModule& module);
42 Status Preprocess(HloInstruction* hlo) override;
44 Status HandleElementwiseUnary(HloInstruction* hlo) override;
45 Status HandleElementwiseBinary(HloInstruction* hlo) override;
46 Status HandleClamp(HloInstruction* clamp) override;
47 Status HandleSelect(HloInstruction* select) override;
48 Status HandleTupleSelect(HloInstruction* tuple_select) override;
49 Status HandleConcatenate(HloInstruction* concatenate) override;
50 Status HandleIota(HloInstruction* hlo) override;
51 Status HandleConvert(HloInstruction* convert) override;
[all …]
Dhlo_cost_analysis.h53 Status HandleElementwiseUnary(const HloInstruction* hlo) override;
54 Status HandleElementwiseBinary(const HloInstruction* hlo) override;
55 Status HandleConstant(const HloInstruction* constant) override;
56 Status HandleIota(const HloInstruction* iota) override;
57 Status HandleGetTupleElement(
59 Status HandleSelect(const HloInstruction* hlo) override;
60 Status HandleTupleSelect(const HloInstruction* hlo) override;
61 Status HandleCompare(const HloInstruction* compare) override;
62 Status HandleClamp(const HloInstruction* clamp) override;
63 Status HandleReducePrecision(const HloInstruction* hlo) override;
[all …]
Ddfs_hlo_visitor_with_default.h53 virtual Status DefaultAction(HloInstructionPtr hlo_instruction) = 0;
55 Status HandleElementwiseUnary(HloInstructionPtr hlo) override { in HandleElementwiseUnary()
58 Status HandleElementwiseBinary(HloInstructionPtr hlo) override { in HandleElementwiseBinary()
62 Status HandleBatchNormTraining(HloInstructionPtr hlo) override { in HandleBatchNormTraining()
66 Status HandleBatchNormInference(HloInstructionPtr hlo) override { in HandleBatchNormInference()
70 Status HandleBatchNormGrad(HloInstructionPtr hlo) override { in HandleBatchNormGrad()
74 Status HandleClamp(HloInstructionPtr clamp) override { in HandleClamp()
77 Status HandleConcatenate(HloInstructionPtr concatenate) override { in HandleConcatenate()
80 Status HandleSelect(HloInstructionPtr select) override { in HandleSelect()
83 Status HandleTupleSelect(HloInstructionPtr tuple_select) override { in HandleTupleSelect()
[all …]
/external/angle/third_party/abseil-cpp/absl/status/
Dstatus.h422 class Status final {
429 Status();
437 Status(absl::StatusCode code, absl::string_view msg);
439 Status(const Status&);
440 Status& operator=(const Status& x);
445 Status(Status&&) noexcept;
446 Status& operator=(Status&&);
448 ~Status();
465 void Update(const Status& new_status);
466 void Update(Status&& new_status);
[all …]
/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns.h30 Status GetWindowedOutputSizeFromDims(InferenceContext* c,
40 Status GetWindowedOutputSizeFromDimsV2(
47 Status UnchangedShape(shape_inference::InferenceContext* c);
50 inline Status UnchangedShapeWithRank(shape_inference::InferenceContext* c, in UnchangedShapeWithRank()
55 return Status::OK(); in UnchangedShapeWithRank()
59 inline Status UnchangedShapeWithRankAtLeast( in UnchangedShapeWithRankAtLeast()
64 return Status::OK(); in UnchangedShapeWithRankAtLeast()
68 inline Status UnchangedShapeWithRankAtMost(shape_inference::InferenceContext* c, in UnchangedShapeWithRankAtMost()
73 return Status::OK(); in UnchangedShapeWithRankAtMost()
77 inline Status NoOutputs(shape_inference::InferenceContext* c) { in NoOutputs()
[all …]
/external/opencensus-java/contrib/grpc_util/src/main/java/io/opencensus/contrib/grpc/util/
DStatusConverter.java33 public static io.opencensus.trace.Status.CanonicalCode fromGrpcCode( in fromGrpcCode()
34 io.grpc.Status.Code grpcCode) { in fromGrpcCode()
45 public static io.opencensus.trace.Status fromGrpcStatus(io.grpc.Status grpcStatus) { in fromGrpcStatus()
46 io.opencensus.trace.Status status = opencensusStatusFromGrpcCode(grpcStatus.getCode()); in fromGrpcStatus()
61 public static io.grpc.Status.Code toGrpcCode( in toGrpcCode()
62 io.opencensus.trace.Status.CanonicalCode opencensusCanonicalCode) { in toGrpcCode()
73 public static io.grpc.Status toGrpcStatus(io.opencensus.trace.Status opencensusStatus) { in toGrpcStatus()
74 io.grpc.Status status = in toGrpcStatus()
82 private static io.opencensus.trace.Status opencensusStatusFromGrpcCode( in opencensusStatusFromGrpcCode()
83 io.grpc.Status.Code grpcCanonicaleCode) { in opencensusStatusFromGrpcCode()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dstatus_test.cc40 TEST(Status, Empty) { in TEST() argument
41 util::Status status; in TEST()
42 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST()
43 EXPECT_EQ(util::error::OK, util::Status::OK.code()); in TEST()
44 EXPECT_EQ("OK", util::Status::OK.ToString()); in TEST()
47 TEST(Status, GenericCodes) { in TEST() argument
48 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST()
49 EXPECT_EQ(util::error::OK, util::Status::OK.code()); in TEST()
50 EXPECT_EQ(util::error::CANCELLED, util::Status::CANCELLED.error_code()); in TEST()
51 EXPECT_EQ(util::error::CANCELLED, util::Status::CANCELLED.code()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Dstatus_test.cc26 TEST(Status, OK) { in TEST() argument
27 EXPECT_EQ(Status::OK().code(), error::OK); in TEST()
28 EXPECT_EQ(Status::OK().error_message(), ""); in TEST()
29 TF_EXPECT_OK(Status::OK()); in TEST()
30 TF_ASSERT_OK(Status::OK()); in TEST()
31 EXPECT_EQ(Status::OK(), Status()); in TEST()
32 Status s; in TEST()
37 Status status(errors::InvalidArgument("Invalid")); in TEST()
41 TEST(Status, Set) { in TEST() argument
42 Status status; in TEST()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Delementwise_test_util.h25 absl::Status AbsTest(TestExecutionEnvironment* env);
26 absl::Status CosTest(TestExecutionEnvironment* env);
27 absl::Status CopyTest(TestExecutionEnvironment* env);
28 absl::Status EluTest(TestExecutionEnvironment* env);
29 absl::Status ExpTest(TestExecutionEnvironment* env);
30 absl::Status HardSwishTest(TestExecutionEnvironment* env);
31 absl::Status LogTest(TestExecutionEnvironment* env);
32 absl::Status NegTest(TestExecutionEnvironment* env);
33 absl::Status RsqrtTest(TestExecutionEnvironment* env);
34 absl::Status SigmoidTest(TestExecutionEnvironment* env);
[all …]
/external/tensorflow/tensorflow/core/platform/
Dstatus.h36 class TF_MUST_USE_RESULT Status; variable
41 class Status {
44 Status() {} in Status() function
48 Status(tensorflow::error::Code code, tensorflow::StringPiece msg) in Status() function
49 : Status(code, msg, {}) {} in Status()
54 Status(tensorflow::error::Code code, tensorflow::StringPiece msg,
59 Status(const Status& s);
60 Status& operator=(const Status& s);
62 Status(Status&& s) noexcept;
63 Status& operator=(Status&& s) noexcept;
[all …]
Denv.h75 virtual Status GetFileSystemForFile(const std::string& fname,
79 virtual Status GetRegisteredFileSystemSchemes(
83 virtual Status RegisterFileSystem(const std::string& scheme,
92 virtual Status RegisterFileSystem(const std::string& scheme,
96 Status FlushFileSystemCaches();
111 Status NewRandomAccessFile(const std::string& fname,
114 Status NewRandomAccessFile(const std::string& fname, TransactionToken* token, in NewRandomAccessFile()
118 return Status::OK(); in NewRandomAccessFile()
134 Status NewWritableFile(const std::string& fname,
137 Status NewWritableFile(const std::string& fname, TransactionToken* token, in NewWritableFile()
[all …]
/external/icing/icing/absl_ports/
Dcanonical_errors.cc23 libtextclassifier3::Status CancelledError(std::string_view error_message) { in CancelledError()
24 return libtextclassifier3::Status(libtextclassifier3::StatusCode::CANCELLED, in CancelledError()
28 libtextclassifier3::Status UnknownError(std::string_view error_message) { in UnknownError()
29 return libtextclassifier3::Status(libtextclassifier3::StatusCode::UNKNOWN, in UnknownError()
33 libtextclassifier3::Status InvalidArgumentError( in InvalidArgumentError()
35 return libtextclassifier3::Status( in InvalidArgumentError()
40 libtextclassifier3::Status DeadlineExceededError( in DeadlineExceededError()
42 return libtextclassifier3::Status( in DeadlineExceededError()
47 libtextclassifier3::Status NotFoundError(std::string_view error_message) { in NotFoundError()
48 return libtextclassifier3::Status(libtextclassifier3::StatusCode::NOT_FOUND, in NotFoundError()
[all …]
Dcanonical_errors.h26 libtextclassifier3::Status CancelledError(std::string_view error_message);
27 libtextclassifier3::Status UnknownError(std::string_view error_message);
28 libtextclassifier3::Status InvalidArgumentError(std::string_view error_message);
29 libtextclassifier3::Status DeadlineExceededError(
31 libtextclassifier3::Status NotFoundError(std::string_view error_message);
32 libtextclassifier3::Status AlreadyExistsError(std::string_view error_message);
33 libtextclassifier3::Status PermissionDeniedError(
35 libtextclassifier3::Status ResourceExhaustedError(
37 libtextclassifier3::Status FailedPreconditionError(
39 libtextclassifier3::Status AbortedError(std::string_view error_message);
[all …]
/external/autotest/client/common_lib/
Dhost_queue_entry_states.py15 Status = autotest_enum.AutotestEnum(*Status_list, string_values=True) variable
16 ACTIVE_STATUSES = (Status.STARTING, Status.RESETTING, Status.VERIFYING,
17 Status.PROVISIONING, Status.PENDING, Status.RUNNING,
18 Status.GATHERING, Status.CLEANING)
19 COMPLETE_STATUSES = (Status.ABORTED, Status.COMPLETED, Status.FAILED,
20 Status.STOPPED, Status.TEMPLATE)
23 PRE_JOB_STATUSES = (Status.RESETTING, Status.PROVISIONING, Status.VERIFYING,
24 Status.PENDING, Status.QUEUED)
25 IDLE_PRE_JOB_STATUSES = (Status.PENDING, Status.QUEUED)
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/channelz/
Dchannelz_service.cc30 grpc::protobuf::util::Status ParseJson(const char* json_str, in ParseJson()
39 Status ChannelzService::GetTopChannels( in GetTopChannels()
45 return Status(StatusCode::INTERNAL, in GetTopChannels()
48 grpc::protobuf::util::Status s = ParseJson(json_str, response); in GetTopChannels()
51 return Status(StatusCode::INTERNAL, s.ToString()); in GetTopChannels()
53 return Status::OK; in GetTopChannels()
56 Status ChannelzService::GetServers( in GetServers()
61 return Status(StatusCode::INTERNAL, in GetServers()
64 grpc::protobuf::util::Status s = ParseJson(json_str, response); in GetServers()
67 return Status(StatusCode::INTERNAL, s.ToString()); in GetServers()
[all …]
/external/llvm-project/lldb/source/Plugins/Platform/Android/
DAdbClient.h41 Status PullFile(const FileSpec &remote_file, const FileSpec &local_file);
43 Status PushFile(const FileSpec &local_file, const FileSpec &remote_file);
45 Status Stat(const FileSpec &remote_file, uint32_t &mode, uint32_t &size,
53 Status SendSyncRequest(const char *request_id, const uint32_t data_len,
56 Status ReadSyncHeader(std::string &response_id, uint32_t &data_len);
58 Status PullFileChunk(std::vector<char> &buffer, bool &eof);
60 Status ReadAllBytes(void *buffer, size_t size);
62 Status internalPullFile(const FileSpec &remote_file,
65 Status internalPushFile(const FileSpec &local_file,
68 Status internalStat(const FileSpec &remote_file, uint32_t &mode,
[all …]

12345678910>>...251