/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dfs_hlo_visitor.h | 74 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 …]
|
D | hlo_cost_analysis.h | 52 Status HandleElementwiseUnary(const HloInstruction* hlo) override; 53 Status HandleElementwiseBinary(const HloInstruction* hlo) override; 54 Status HandleConstant(const HloInstruction* constant) override; 55 Status HandleIota(const HloInstruction* iota) override; 56 Status HandleGetTupleElement( 58 Status HandleSelect(const HloInstruction* hlo) override; 59 Status HandleTupleSelect(const HloInstruction* hlo) override; 60 Status HandleCompare(const HloInstruction* compare) override; 61 Status HandleClamp(const HloInstruction* clamp) override; 62 Status HandleReducePrecision(const HloInstruction* hlo) override; [all …]
|
D | hlo_verifier.h | 38 virtual Status VerifyEntryComputationLayout(const HloModule& module); 40 Status Preprocess(HloInstruction* hlo) override; 42 Status HandleElementwiseUnary(HloInstruction* hlo) override; 43 Status HandleElementwiseBinary(HloInstruction* hlo) override; 44 Status HandleClamp(HloInstruction* clamp) override; 45 Status HandleSelect(HloInstruction* select) override; 46 Status HandleTupleSelect(HloInstruction* tuple_select) override; 47 Status HandleConcatenate(HloInstruction* concatenate) override; 48 Status HandleIota(HloInstruction* iota) override; 49 Status HandleConvert(HloInstruction* convert) override; [all …]
|
D | dfs_hlo_visitor_with_default.h | 52 virtual Status DefaultAction(HloInstructionPtr hlo_instruction) = 0; 54 Status HandleElementwiseUnary(HloInstructionPtr hlo) override { in HandleElementwiseUnary() 57 Status HandleElementwiseBinary(HloInstructionPtr hlo) override { in HandleElementwiseBinary() 61 Status HandleBatchNormTraining(HloInstructionPtr hlo) override { in HandleBatchNormTraining() 65 Status HandleBatchNormInference(HloInstructionPtr hlo) override { in HandleBatchNormInference() 69 Status HandleBatchNormGrad(HloInstructionPtr hlo) override { in HandleBatchNormGrad() 73 Status HandleClamp(HloInstructionPtr clamp) override { in HandleClamp() 76 Status HandleConcatenate(HloInstructionPtr concatenate) override { in HandleConcatenate() 79 Status HandleSelect(HloInstructionPtr select) override { in HandleSelect() 82 Status HandleTupleSelect(HloInstructionPtr tuple_select) override { in HandleTupleSelect() [all …]
|
D | hlo_cost_analysis.cc | 42 Status HloCostAnalysis::Preprocess(const HloInstruction* hlo) { in Preprocess() 58 return Status::OK(); in Preprocess() 61 Status HloCostAnalysis::Postprocess(const HloInstruction* hlo) { in Postprocess() 82 return Status::OK(); in Postprocess() 85 Status HloCostAnalysis::HandleElementwiseOp( in HandleElementwiseOp() 104 return Status::OK(); in HandleElementwiseOp() 132 Status HloCostAnalysis::HandleElementwiseUnary(const HloInstruction* hlo) { in HandleElementwiseUnary() 136 Status HloCostAnalysis::HandleElementwiseBinary(const HloInstruction* hlo) { in HandleElementwiseBinary() 140 Status HloCostAnalysis::HandleCompare(const HloInstruction* compare) { in HandleCompare() 144 Status HloCostAnalysis::HandleClamp(const HloInstruction* clamp) { in HandleClamp() [all …]
|
D | dynamic_dimension_inference.cc | 33 Status DefaultAction(HloInstruction* hlo) override; 35 static Status Run(HloComputation* computation, in Run() 42 Status HandleParameter(HloInstruction* hlo) override; 44 Status HandleReduce(HloInstruction* hlo) override; 46 Status HandleDot(HloInstruction* hlo) override; 48 Status HandleTuple(HloInstruction* hlo) override; 50 Status HandleTranspose(HloInstruction* hlo) override; 52 Status HandleReshape(HloInstruction* hlo) override; 54 Status HandlePad(HloInstruction* hlo) override; 56 Status HandleBroadcast(HloInstruction* hlo) override; [all …]
|
/external/opencensus-java/contrib/grpc_util/src/main/java/io/opencensus/contrib/grpc/util/ |
D | StatusConverter.java | 33 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/ |
D | status_test.cc | 40 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 …]
|
D | status.cc | 85 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/lib/core/ |
D | status_test.cc | 25 TEST(Status, OK) { in TEST() argument 26 EXPECT_EQ(Status::OK().code(), error::OK); in TEST() 27 EXPECT_EQ(Status::OK().error_message(), ""); in TEST() 28 TF_EXPECT_OK(Status::OK()); in TEST() 29 TF_ASSERT_OK(Status::OK()); in TEST() 30 EXPECT_EQ(Status::OK(), Status()); in TEST() 31 Status s; in TEST() 36 Status status(errors::InvalidArgument("Invalid")); in TEST() 40 TEST(Status, Set) { in TEST() argument 41 Status status; in TEST() [all …]
|
D | status.h | 33 class TF_MUST_USE_RESULT Status; variable 38 class Status { 41 Status() {} in Status() function 45 Status(tensorflow::error::Code code, tensorflow::StringPiece msg); 48 Status(const Status& s); 49 void operator=(const Status& s); 51 static Status OK() { return Status(); } in OK() 64 bool operator==(const Status& x) const; 65 bool operator!=(const Status& x) const; 76 void Update(const Status& new_status); [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | common_shape_fns.h | 75 Status GetWindowedOutputSize(int64 input_size, int64 filter_size, int64 stride, 103 Status GetWindowedOutputSizeV2(int64 input_size, int64 filter_size, 115 Status GetWindowedOutputSizeVerbose(int64 input_size, int64 filter_size, 122 Status GetWindowedOutputSizeVerboseV2(int64 input_size, int64 filter_size, 134 Status Get3dOutputSize(const std::array<int64, 3>& input, 142 Status Get3dOutputSizeV2(const std::array<int64, 3>& input, 153 Status GetWindowedOutputSizeFromDims(InferenceContext* c, 163 Status GetWindowedOutputSizeFromDimsV2( 170 Status UnchangedShape(shape_inference::InferenceContext* c); 173 inline Status UnchangedShapeWithRank(shape_inference::InferenceContext* c, in UnchangedShapeWithRank() [all …]
|
/external/autotest/client/common_lib/ |
D | host_queue_entry_states.py | 15 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/syzkaller/vendor/google.golang.org/grpc/status/ |
D | status.go | 42 type statusError spb.Status 45 p := (*spb.Status)(se) 49 func (se *statusError) GRPCStatus() *Status { 50 return &Status{s: (*spb.Status)(se)} 55 type Status struct { struct 56 s *spb.Status argument 60 func (s *Status) Code() codes.Code { argument 68 func (s *Status) Message() string { argument 76 func (s *Status) Proto() *spb.Status { argument 80 return proto.Clone(s.s).(*spb.Status) [all …]
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | Status.java | 42 public final class Status { class 230 public Status toStatus() { in toStatus() 236 private static final List<Status> STATUS_LIST = buildStatusList(); 238 private static List<Status> buildStatusList() { in buildStatusList() 239 TreeMap<Integer, Status> canonicalizer = new TreeMap<Integer, Status>(); in buildStatusList() 241 Status replaced = canonicalizer.put(code.value(), new Status(code, null)); in buildStatusList() 250 return Collections.unmodifiableList(new ArrayList<Status>(canonicalizer.values())); in buildStatusList() 260 public static final Status OK = CanonicalCode.OK.toStatus(); 267 public static final Status CANCELLED = CanonicalCode.CANCELLED.toStatus(); 274 public static final Status UNKNOWN = CanonicalCode.UNKNOWN.toStatus(); [all …]
|
/external/tensorflow/tensorflow/core/ops/ |
D | math_grad.cc | 25 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 …]
|
D | array_grad.cc | 33 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/ |
D | json_stream_parser.h | 43 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 …]
|
D | json_stream_parser.cc | 55 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/tensorflow/tensorflow/core/platform/ |
D | file_system.h | 60 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, 142 virtual Status GetMatchingPaths(const string& pattern, 146 virtual Status Stat(const string& fname, FileStatistics* stat) = 0; 149 virtual Status DeleteFile(const string& fname) = 0; [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter.h | 77 Status DefaultAction(HloInstruction* hlo) override; 78 Status HandleConstant(HloInstruction* constant) override; 79 Status HandleBitcast(HloInstruction* bitcast) override; 80 Status HandleGetTupleElement(HloInstruction* get_tuple_element) override; 81 Status HandleDot(HloInstruction* dot) override; 82 Status HandleConvolution(HloInstruction* convolution) override; 83 Status HandleFft(HloInstruction* fft) override; 84 Status HandleAllReduce(HloInstruction* crs) override; 85 Status HandleInfeed(HloInstruction* infeed) override; 86 Status HandleOutfeed(HloInstruction* outfeed) override; [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | StatusTest.java | 22 import io.grpc.Status.Code; 35 assertEquals("UNKNOWN", Status.UNKNOWN.asRuntimeException().getMessage()); in verifyExceptionMessage() 37 Status.CANCELLED.withDescription("This is a test").asRuntimeException().getMessage()); in verifyExceptionMessage() 38 assertEquals("UNKNOWN", Status.UNKNOWN.asException().getMessage()); in verifyExceptionMessage() 40 Status.CANCELLED.withDescription("This is a test").asException().getMessage()); in verifyExceptionMessage() 45 assertEquals(Code.UNKNOWN, Status.fromCodeValue(-1).getCode()); in impossibleCodeValue() 50 assertSame(Status.CANCELLED, Status.CANCELLED.withCause(null)); in sameCauseReturnsSelf() 55 assertSame(Status.CANCELLED, Status.CANCELLED.withDescription(null)); in sameDescriptionReturnsSelf() 56 assertSame(Status.CANCELLED, Status.CANCELLED.augmentDescription(null)); in sameDescriptionReturnsSelf() 61 assertEquals(Status.CANCELLED.hashCode(), System.identityHashCode(Status.CANCELLED)); in useObjectHashCode() [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-consumed-analysis.cpp | 695 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/grpc-grpc/src/cpp/server/channelz/ |
D | channelz_service.cc | 31 Status ChannelzService::GetTopChannels( in GetTopChannels() 36 return Status(INTERNAL, "grpc_channelz_get_top_channels returned null"); in GetTopChannels() 38 google::protobuf::util::Status s = in GetTopChannels() 41 if (s != google::protobuf::util::Status::OK) { in GetTopChannels() 42 return Status(INTERNAL, s.ToString()); in GetTopChannels() 44 return Status::OK; in GetTopChannels() 47 Status ChannelzService::GetServers( in GetServers() 52 return Status(INTERNAL, "grpc_channelz_get_servers returned null"); in GetServers() 54 google::protobuf::util::Status s = in GetServers() 57 if (s != google::protobuf::util::Status::OK) { in GetServers() [all …]
|
/external/tensorflow/tensorflow/core/platform/posix/ |
D | posix_file_system.cc | 55 Status Name(StringPiece* result) const override { in Name() 57 return Status::OK(); in Name() 60 Status Read(uint64 offset, size_t n, StringPiece* result, in Read() 62 Status s; in Read() 71 s = Status(error::OUT_OF_RANGE, "Read less bytes than requested"); in Read() 99 Status Append(StringPiece data) override { in Append() 104 return Status::OK(); in Append() 107 Status Close() override { in Close() 108 Status result; in Close() 116 Status Flush() override { in Flush() [all …]
|