Home
last modified time | relevance | path

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

12345678910>>...95

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_verifier.h34 Status HandleElementwiseUnary(HloInstruction* hlo) override;
35 Status HandleElementwiseBinary(HloInstruction* hlo) override;
36 Status HandleClamp(HloInstruction* clamp) override;
37 Status HandleSelect(HloInstruction* select) override;
38 Status HandleConcatenate(HloInstruction* concatenate) override;
39 Status HandleConvert(HloInstruction* convert) override;
40 Status HandleBitcastConvert(HloInstruction* convert) override;
41 Status HandleCopy(HloInstruction* copy) override;
42 Status HandleDot(HloInstruction* dot) override;
43 Status HandleConvolution(HloInstruction* convolution) override;
[all …]
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 HandleMaximum(HloInstructionPtr hlo) { in HandleMaximum()
82 virtual Status HandleMinimum(HloInstructionPtr hlo) { in HandleMinimum()
85 virtual Status HandleConcatenate(HloInstructionPtr hlo) = 0;
86 virtual Status HandleConvert(HloInstructionPtr hlo) { in HandleConvert()
89 virtual Status HandleBitcastConvert(HloInstructionPtr hlo) { in HandleBitcastConvert()
92 virtual Status HandleCopy(HloInstructionPtr hlo) { in HandleCopy()
[all …]
Dhlo_cost_analysis.cc41 Status HloCostAnalysis::Preprocess(const HloInstruction* hlo) { in Preprocess()
57 return Status::OK(); in Preprocess()
60 Status HloCostAnalysis::Postprocess(const HloInstruction* hlo) { in Postprocess()
81 return Status::OK(); in Postprocess()
84 Status HloCostAnalysis::HandleElementwiseOp( in HandleElementwiseOp()
102 return Status::OK(); in HandleElementwiseOp()
123 Status HloCostAnalysis::HandleElementwiseUnary(const HloInstruction* hlo) { in HandleElementwiseUnary()
127 Status HloCostAnalysis::HandleElementwiseBinary(const HloInstruction* hlo) { in HandleElementwiseBinary()
131 Status HloCostAnalysis::HandleCompare(const HloInstruction* compare) { in HandleCompare()
135 Status HloCostAnalysis::HandleClamp(const HloInstruction* clamp) { in HandleClamp()
[all …]
Dhlo_cost_analysis.h52 Status HandleElementwiseUnary(const HloInstruction* hlo) override;
53 Status HandleElementwiseBinary(const HloInstruction* hlo) override;
54 Status HandleConstant(const HloInstruction* constant) override;
55 Status HandleGetTupleElement(
57 Status HandleSelect(const HloInstruction* select) override;
58 Status HandleCompare(const HloInstruction* compare) override;
59 Status HandleClamp(const HloInstruction* clamp) override;
60 Status HandleReducePrecision(const HloInstruction* hlo) override;
61 Status HandleConcatenate(const HloInstruction* concatenate) override;
62 Status HandleSend(const HloInstruction* send) override;
[all …]
Ddfs_hlo_visitor_with_default.h46 virtual Status DefaultAction(HloInstructionPtr hlo_instruction) = 0;
48 Status HandleElementwiseUnary(HloInstructionPtr hlo) override { in HandleElementwiseUnary()
51 Status HandleElementwiseBinary(HloInstructionPtr hlo) override { in HandleElementwiseBinary()
55 Status HandleBatchNormTraining(HloInstructionPtr hlo) override { in HandleBatchNormTraining()
59 Status HandleBatchNormInference(HloInstructionPtr hlo) override { in HandleBatchNormInference()
63 Status HandleBatchNormGrad(HloInstructionPtr hlo) override { in HandleBatchNormGrad()
67 Status HandleClamp(HloInstructionPtr clamp) override { in HandleClamp()
70 Status HandleConcatenate(HloInstructionPtr concatenate) override { in HandleConcatenate()
73 Status HandleConvert(HloInstructionPtr convert) override { in HandleConvert()
76 Status HandleCopy(HloInstructionPtr copy) override { in HandleCopy()
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Dstatus_test.cc24 TEST(Status, OK) { in TEST() argument
25 EXPECT_EQ(Status::OK().code(), error::OK); in TEST()
26 EXPECT_EQ(Status::OK().error_message(), ""); in TEST()
27 TF_EXPECT_OK(Status::OK()); in TEST()
28 TF_ASSERT_OK(Status::OK()); in TEST()
29 EXPECT_EQ(Status::OK(), Status()); in TEST()
30 Status s; in TEST()
35 Status status(errors::InvalidArgument("Invalid")); in TEST()
39 TEST(Status, Set) { in TEST() argument
40 Status status; in TEST()
[all …]
Dstatus.h32 class TF_MUST_USE_RESULT Status; variable
37 class Status {
40 Status() {} in Status() function
44 Status(tensorflow::error::Code code, tensorflow::StringPiece msg);
47 Status(const Status& s);
48 void operator=(const Status& s);
50 static Status OK() { return Status(); } in OK()
63 bool operator==(const Status& x) const;
64 bool operator!=(const Status& x) const;
75 void Update(const Status& new_status);
[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("OK", util::Status::OK.ToString()); in TEST()
46 TEST(Status, GenericCodes) { in TEST() argument
47 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST()
48 EXPECT_EQ(util::error::CANCELLED, util::Status::CANCELLED.error_code()); in TEST()
49 EXPECT_EQ(util::error::UNKNOWN, util::Status::UNKNOWN.error_code()); in TEST()
52 TEST(Status, ConstructorZero) { in TEST() argument
53 util::Status status(util::error::OK, "msg"); in TEST()
[all …]
Dstatus.cc85 const Status Status::OK = Status();
86 const Status Status::CANCELLED = Status(error::CANCELLED, "");
87 const Status Status::UNKNOWN = Status(error::UNKNOWN, "");
89 Status::Status() : error_code_(error::OK) { in Status() function in google::protobuf::util::Status
92 Status::Status(error::Code error_code, StringPiece error_message) in Status() function in google::protobuf::util::Status
99 Status::Status(const Status& other) in Status() function in google::protobuf::util::Status
103 Status& Status::operator=(const Status& other) { in operator =()
109 bool Status::operator==(const Status& x) const { in operator ==()
114 string Status::ToString() const { in ToString()
127 ostream& operator<<(ostream& os, const Status& x) { in operator <<()
/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns.h74 Status GetWindowedOutputSize(int64 input_size, int64 filter_size, int64 stride,
99 Status GetWindowedOutputSizeV2(int64 input_size, int64 filter_size,
108 Status GetWindowedOutputSizeVerbose(int64 input_size, int64 filter_size,
115 Status GetWindowedOutputSizeVerboseV2(int64 input_size, int64 filter_size,
126 Status Get3dOutputSize(const std::array<int64, 3>& input,
134 Status Get3dOutputSizeV2(const std::array<int64, 3>& input,
144 Status GetWindowedOutputSizeFromDims(InferenceContext* c,
152 Status GetWindowedOutputSizeFromDimsV2(InferenceContext* c,
160 Status UnchangedShape(shape_inference::InferenceContext* c);
163 inline Status UnchangedShapeWithRank(shape_inference::InferenceContext* c, in UnchangedShapeWithRank()
[all …]
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/
Dhand.c31 EFI_STATUS Status; in LibLocateProtocol() local
37 Status = LibLocateHandle (ByProtocol, ProtocolGuid, NULL, &NumberHandles, &Handles); in LibLocateProtocol()
38 if (EFI_ERROR(Status)) { in LibLocateProtocol()
40 return Status; in LibLocateProtocol()
44 Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handles[Index], ProtocolGuid, Interface); in LibLocateProtocol()
45 if (!EFI_ERROR(Status)) { in LibLocateProtocol()
54 return Status; in LibLocateProtocol()
67 EFI_STATUS Status; in LibLocateHandle() local
74 Status = EFI_SUCCESS; in LibLocateHandle()
82 while (GrowBuffer (&Status, (VOID **) Buffer, BufferSize)) { in LibLocateHandle()
[all …]
Dsread.c63 EFI_STATUS Status; in OpenSimpleReadFile() local
75 Status = EFI_OUT_OF_RESOURCES; in OpenSimpleReadFile()
90 Status = EFI_SUCCESS; in OpenSimpleReadFile()
99Status = uefi_call_wrapper(BS->LocateDevicePath, 3, &FileSystemProtocol, FilePath, DeviceHandle); in OpenSimpleReadFile()
100 if (!EFI_ERROR(Status)) { in OpenSimpleReadFile()
104 Status = FileHandle ? EFI_SUCCESS : EFI_UNSUPPORTED; in OpenSimpleReadFile()
121 Status = EFI_UNSUPPORTED; in OpenSimpleReadFile()
128 if (EFI_ERROR(Status)) { in OpenSimpleReadFile()
139 Status = uefi_call_wrapper( in OpenSimpleReadFile()
166 if (!EFI_ERROR(Status)) { in OpenSimpleReadFile()
[all …]
/external/autotest/client/common_lib/
Dhost_queue_entry_states.py15 Status = enum.Enum(*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/tensorflow/tensorflow/core/platform/
Dfile_system.h60 virtual Status NewRandomAccessFile(
75 virtual Status NewWritableFile(const string& fname,
89 virtual Status NewAppendableFile(const string& fname,
102 virtual Status NewReadOnlyMemoryRegionFromFile(
106 virtual Status FileExists(const string& fname) = 0;
112 std::vector<Status>* status);
117 virtual Status GetChildren(const string& dir,
144 virtual Status GetMatchingPaths(const string& pattern,
148 virtual Status Stat(const string& fname, FileStatistics* stat) = 0;
151 virtual Status DeleteFile(const string& fname) = 0;
[all …]
Denv.h66 virtual Status GetFileSystemForFile(const string& fname, FileSystem** result);
69 virtual Status GetRegisteredFileSystemSchemes(std::vector<string>* schemes);
72 virtual Status RegisterFileSystem(const string& scheme,
76 Status FlushFileSystemCaches();
91 Status NewRandomAccessFile(const string& fname,
107 Status NewWritableFile(const string& fname,
122 Status NewAppendableFile(const string& fname,
136 Status NewReadOnlyMemoryRegionFromFile(
140 Status FileExists(const string& fname);
146 std::vector<Status>* status);
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.h72 Status DefaultAction(HloInstruction* hlo) override;
73 Status HandleConstant(HloInstruction* constant) override;
74 Status HandleBitcast(HloInstruction* bitcast) override;
75 Status HandleGetTupleElement(HloInstruction* get_tuple_element) override;
76 Status HandleDot(HloInstruction* dot) override;
77 Status HandleConvolution(HloInstruction* convolution) override;
78 Status HandleFft(HloInstruction* fft) override;
79 Status HandleCrossReplicaSum(HloInstruction* crs) override;
80 Status HandleInfeed(HloInstruction* infeed) override;
81 Status HandleOutfeed(HloInstruction* outfeed) override;
[all …]
Dir_emitter_unnested.h59 Status DefaultAction(HloInstruction* hlo) override;
63 Status HandleCopy(HloInstruction* copy) override;
64 Status HandleConditional(HloInstruction* conditional) override;
65 Status HandleConvolution(HloInstruction* convolution) override;
66 Status HandleCustomCall(HloInstruction* custom_call) override;
67 Status HandleDot(HloInstruction* dot) override;
68 Status HandleFft(HloInstruction* fft) override;
69 Status HandleFusion(HloInstruction* fusion) override;
70 Status HandleGather(HloInstruction* gather) override;
71 Status HandleGetTupleElement(HloInstruction* get_tuple_element) override;
[all …]
/external/tensorflow/tensorflow/core/ops/
Dmath_grad.cc25 Status GradForUnaryCwise(FunctionDef* g, std::vector<FDH::Node> nodes) { in GradForUnaryCwise()
40 return Status::OK(); in GradForUnaryCwise()
43 Status AbsGrad(const AttrSlice& attrs, FunctionDef* g) { in AbsGrad()
53 Status NegGrad(const AttrSlice& attrs, FunctionDef* g) { in NegGrad()
62 Status InvGrad(const AttrSlice& attrs, FunctionDef* g) { in InvGrad()
75 Status SquareGrad(const AttrSlice& attrs, FunctionDef* g) { in SquareGrad()
87 Status SqrtGrad(const AttrSlice& attrs, FunctionDef* g) { in SqrtGrad()
101 Status RsqrtGrad(const AttrSlice& attrs, FunctionDef* g) { in RsqrtGrad()
116 Status ExpGrad(const AttrSlice& attrs, FunctionDef* g) { in ExpGrad()
126 Status Expm1Grad(const AttrSlice& attrs, FunctionDef* g) { in Expm1Grad()
[all …]
Darray_grad.cc33 Status ReshapeGrad(const AttrSlice& attrs, FunctionDef* g) { in ReshapeGrad()
49 return Status::OK(); in ReshapeGrad()
54 Status SqueezeGrad(const AttrSlice& attrs, FunctionDef* g) { in SqueezeGrad()
69 return Status::OK(); in SqueezeGrad()
73 Status IdentityGrad(const AttrSlice& attrs, FunctionDef* g) { in IdentityGrad()
88 return Status::OK(); in IdentityGrad()
92 Status PackGrad(const AttrSlice& attrs, FunctionDef* g) { in PackGrad()
114 return Status::OK(); in PackGrad()
118 Status UnpackGrad(const AttrSlice& attrs, FunctionDef* g) { in UnpackGrad()
138 return Status::OK(); in UnpackGrad()
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Djson_stream_parser.h43 class Status; variable
79 util::Status Parse(StringPiece json);
83 util::Status FinishParse();
124 util::Status ParseChunk(StringPiece json);
129 util::Status RunParser();
133 util::Status ParseValue(TokenType type);
136 util::Status ParseString();
139 util::Status ParseStringHelper();
145 util::Status ParseUnicodeEscape();
149 util::Status ParseNumber();
[all …]
Djson_stream_parser.cc55 using util::Status;
118 util::Status JsonStreamParser::Parse(StringPiece json) { in Parse()
135 util::Status status = ParseChunk(chunk.substr(0, n)); in Parse()
143 return util::Status::OK; in Parse()
147 util::Status JsonStreamParser::FinishParse() { in FinishParse()
151 return util::Status::OK; in FinishParse()
170 util::Status result = RunParser(); in FinishParse()
180 util::Status JsonStreamParser::ParseChunk(StringPiece chunk) { in ParseChunk()
182 if (chunk.empty()) return util::Status::OK; in ParseChunk()
187 util::Status result = RunParser(); in ParseChunk()
[all …]
/external/clang/test/SemaCXX/
Dwarn-consumed-analysis.cpp695 Status {
699 static Status OK;
701 Status() RETURN_TYPESTATE(consumed);
702 Status(int c) RETURN_TYPESTATE(unconsumed);
704 Status(const Status &other);
705 Status(Status &&other);
707 Status& operator=(const Status &other) CALLABLE_WHEN("unknown", "consumed");
708 Status& operator=(Status &&other) CALLABLE_WHEN("unknown", "consumed");
710 bool operator==(const Status &other) const SET_TYPESTATE(consumed);
718 ~Status() CALLABLE_WHEN("unknown", "consumed");
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dservice_interface.h34 virtual tensorflow::Status TransferToClient(
37 virtual tensorflow::Status TransferToServer(
40 virtual tensorflow::Status TransferToInfeed(
43 virtual tensorflow::Status TransferFromOutfeed(
47 virtual tensorflow::Status ResetDevice(const ResetDeviceRequest* arg,
50 virtual tensorflow::Status LoadComputationSnapshot(
54 virtual tensorflow::Status Execute(const ExecuteRequest* arg,
57 virtual tensorflow::Status ExecuteParallel(
60 virtual tensorflow::Status ExecuteAsync(const ExecuteAsyncRequest* arg,
63 virtual tensorflow::Status WaitForExecution(
[all …]
/external/tensorflow/tensorflow/core/platform/posix/
Dposix_file_system.cc54 Status Read(uint64 offset, size_t n, StringPiece* result, in Read()
56 Status s; in Read()
65 s = Status(error::OUT_OF_RANGE, "Read less bytes than requested"); in Read()
93 Status Append(const StringPiece& data) override { in Append()
98 return Status::OK(); in Append()
101 Status Close() override { in Close()
102 Status result; in Close()
110 Status Flush() override { in Flush()
114 return Status::OK(); in Flush()
117 Status Sync() override { in Sync()
[all …]
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/
Ddrv0_use.c19 EFI_STATUS Status; in PlayWithGnuEfiAppsDrv0Protocol() local
23 Status = uefi_call_wrapper(BS->OpenProtocol, 6, in PlayWithGnuEfiAppsDrv0Protocol()
30 if (EFI_ERROR(Status)) { in PlayWithGnuEfiAppsDrv0Protocol()
31 Print(L"Cannot open proto: %d\n", Status); in PlayWithGnuEfiAppsDrv0Protocol()
32 return Status; in PlayWithGnuEfiAppsDrv0Protocol()
35 Status = uefi_call_wrapper(drv->SayHello, 2, drv, L"Sample UEFI Driver"); in PlayWithGnuEfiAppsDrv0Protocol()
36 if (EFI_ERROR(Status)) { in PlayWithGnuEfiAppsDrv0Protocol()
37 Print(L"Cannot call SayHello: %d\n", Status); in PlayWithGnuEfiAppsDrv0Protocol()
40 Status = uefi_call_wrapper(drv->GetNumberOfHello, 2, drv, &NumberOfHello); in PlayWithGnuEfiAppsDrv0Protocol()
41 if (EFI_ERROR(Status)) { in PlayWithGnuEfiAppsDrv0Protocol()
[all …]

12345678910>>...95