/external/protobuf/src/google/protobuf/stubs/ |
D | statusor.h | 156 Status status_; 190 : status_(util::Status::UNKNOWN) { 196 status_ = Status(error::INTERNAL, "Status::OK is not a valid argument."); 198 status_ = status; 205 status_ = Status(error::INTERNAL, "NULL is not a vaild argument."); 207 status_ = Status::OK; 214 : status_(other.status_), value_(other.value_) { 219 status_ = other.status_; 227 : status_(other.status_), value_(other.status_.ok() ? other.value_ : T()) { 233 status_ = other.status_; [all …]
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | TracingStatus.h | 34 bool IsIllegal() const { return status_ == kIllegal; } in IsIllegal() 35 bool IsUnneeded() const { return status_ == kUnneeded; } in IsUnneeded() 36 bool IsUnknown() const { return status_ == kUnknown; } in IsUnknown() 37 bool IsNeeded() const { return status_ == kNeeded; } in IsNeeded() 39 return status_ > other.status_ ? status_ : other.status_; in LUB() 42 return status_ == other.status_; 46 TracingStatus(Status status) : status_(status) {} in TracingStatus() 47 Status status_; variable
|
/external/tensorflow/tensorflow/c/ |
D | c_api_experimental_test.cc | 325 : status_(TF_NewStatus()), in AddEagerOpToGraphTest() 330 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in AddEagerOpToGraphTest() 331 eager_ctx_ = TFE_NewContext(opts, status_); in AddEagerOpToGraphTest() 332 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in AddEagerOpToGraphTest() 340 TF_DeleteStatus(status_); in ~AddEagerOpToGraphTest() 349 TFE_AddEagerOpToGraph(op, trace_ctx_, retvals, &num_retvals, status_); in AddEagerOpToGraphAndCheck() 350 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in AddEagerOpToGraphAndCheck() 359 TF_Status* status_; member in tensorflow::__anon4f03820c0111::AddEagerOpToGraphTest 369 CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); in TEST_F() 375 TFE_AddEagerOpToGraph(op, trace_ctx_, retvals, &num_retvals, status_); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | statusor_internals.h | 61 MakeStatus(other.status_); in StatusOrData() 70 MakeStatus(std::move(other.status_)); in StatusOrData() 80 MakeStatus(other.status_); in StatusOrData() 90 MakeStatus(std::move(other.status_)); in StatusOrData() 97 explicit StatusOrData(const Status& status) : status_(status) { in StatusOrData() 100 explicit StatusOrData(Status&& status) : status_(std::move(status)) { in StatusOrData() 109 Assign(other.status_); 118 Assign(std::move(other.status_)); 124 status_.~Status(); in ~StatusOrData() 127 status_.~Status(); in ~StatusOrData() [all …]
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.c | 37 while (worker->status_ == OK) { // wait in idling mode in thread_loop() 40 if (worker->status_ == WORK) { in thread_loop() 42 worker->status_ = OK; in thread_loop() 43 } else if (worker->status_ == NOT_OK) { // finish the worker in thread_loop() 61 if (worker->status_ >= OK) { in change_state() 63 while (worker->status_ != OK) { in change_state() 68 worker->status_ = new_status; in change_state() 81 worker->status_ = NOT_OK; in init() 88 assert(worker->status_ <= OK); in sync() 95 if (worker->status_ < OK) { in reset() [all …]
|
/external/libaom/libaom/aom_util/ |
D | aom_thread.c | 68 while (worker->status_ == OK) { // wait in idling mode in thread_loop() 71 if (worker->status_ == WORK) { in thread_loop() 73 worker->status_ = OK; in thread_loop() 74 } else if (worker->status_ == NOT_OK) { // finish the worker in thread_loop() 92 if (worker->status_ >= OK) { in change_state() 94 while (worker->status_ != OK) { in change_state() 99 worker->status_ = new_status; in change_state() 112 worker->status_ = NOT_OK; in init() 119 assert(worker->status_ <= OK); in sync() 126 if (worker->status_ < OK) { in reset() [all …]
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | session_bundle_test.cc | 296 Status status_; member in tensorflow::serving::__anon76986a7a0111::SessionBundleTest 316 status_ = LoadSessionBundleFromPath(options_, path, &bundle_); in TEST_F() 317 EXPECT_FALSE(status_.ok()); in TEST_F() 318 EXPECT_TRUE(str_util::StrContains(status_.error_message(), in TEST_F() 320 << status_.error_message(); in TEST_F() 332 status_ = LoadSessionBundleFromPath(options_, path, &bundle_); in TEST_F() 333 EXPECT_FALSE(status_.ok()); in TEST_F() 335 str_util::StrContains(status_.error_message(), in TEST_F() 337 << status_.error_message(); in TEST_F() 350 status_ = LoadSessionBundleFromPath(options_, path, &bundle_); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.cc | 398 status_ = env_->CreateDir(string(io::Dirname(prefix_))); in BundleWriter() 399 if (!status_.ok() && !errors::IsAlreadyExists(status_)) { in BundleWriter() 404 status_ = env_->NewWritableFile(tmp_data_path_, &wrapper); in BundleWriter() 405 if (!status_.ok()) return; in BundleWriter() 413 if (!status_.ok()) return status_; in Add() 417 status_ = errors::InvalidArgument("Adding duplicate key: ", key); in Add() 418 return status_; in Add() 432 status_ = WriteStringTensor(val, out_.get(), &data_bytes_written, &crc32c); in Add() 434 status_ = WriteVariantTensor(val, out_.get(), &data_bytes_written, &crc32c); in Add() 436 status_ = WriteTensor(val, out_.get(), &data_bytes_written); in Add() [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | reffed_status_callback.h | 32 : done_(std::move(done)), status_(Status::OK()) {} in ReffedStatusCallback() 37 if (status_.ok()) status_.Update(s); in UpdateStatus() 43 return status_.ok(); in ok() 49 return status_; in status() 52 ~ReffedStatusCallback() { done_(status_); } in ~ReffedStatusCallback() 57 Status status_ GUARDED_BY(mu_);
|
D | tensor_slice_reader.cc | 115 status_ = errors::InvalidArgument( in TensorSliceReader() 122 status_ = errors::NotFound( in TensorSliceReader() 143 if (sss_[shard] || !status_.ok()) { in LoadShard() 153 status_ = errors::DataLoss("Unable to open table file ", fname, ": ", in LoadShard() 160 status_ = errors::Internal( in LoadShard() 166 status_ = CheckVersions(sts.meta().versions(), TF_CHECKPOINT_VERSION, in LoadShard() 169 if (!status_.ok()) return; in LoadShard() 174 status_ = RegisterTensorSlice(ssm.name(), ssm_shape, ssm.type(), fname, in LoadShard() 176 if (!status_.ok()) return; in LoadShard() 183 for (size_t i = 0; i < fnames_.size() && status_.ok(); ++i) { in LoadAllShards()
|
/external/webp/src/utils/ |
D | thread_utils.c | 210 while (worker->status_ == OK) { // wait in idling mode in ThreadLoop() 213 if (worker->status_ == WORK) { in ThreadLoop() 215 worker->status_ = OK; in ThreadLoop() 216 } else if (worker->status_ == NOT_OK) { // finish the worker in ThreadLoop() 235 if (worker->status_ >= OK) { in ChangeState() 237 while (worker->status_ != OK) { in ChangeState() 242 worker->status_ = new_status; in ChangeState() 255 worker->status_ = NOT_OK; in Init() 262 assert(worker->status_ <= OK); in Sync() 269 if (worker->status_ < OK) { in Reset() [all …]
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | client_unary_call.h | 60 status_ = ops.SendMessage(request); in BlockingUnaryCallImpl() 61 if (!status_.ok()) { in BlockingUnaryCallImpl() 70 ops.ClientRecvStatus(context, &status_); in BlockingUnaryCallImpl() 73 if (!ops.got_message && status_.ok()) { in BlockingUnaryCallImpl() 74 status_ = Status(StatusCode::UNIMPLEMENTED, in BlockingUnaryCallImpl() 78 GPR_CODEGEN_ASSERT(!status_.ok()); in BlockingUnaryCallImpl() 81 Status status() { return status_; } in status() 84 Status status_;
|
D | proto_buffer_reader.h | 51 : byte_count_(0), backup_count_(0), status_() { in ProtoBufferReader() 57 status_ = Status(StatusCode::INTERNAL, in ProtoBufferReader() 63 if (status_.ok()) { in ~ProtoBufferReader() 71 if (!status_.ok()) { in Next() 97 Status status() const { return status_; } in status() 146 Status status_; ///< status of the entire object variable
|
D | callback_common.h | 74 Status* status_ptr() { return &status_; } in status_ptr() 80 status_ = std::move(s); in force_run() 88 Status status_; variable 101 CatchingCallback(std::move(func_), std::move(status_)); in Run() 104 status_ = Status(); // reset to clear this out for sure in Run()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | lookup_util.cc | 63 status_(errors::FailedPrecondition("Not initialized")) {} in TextFileLineIterator() 87 status_ = env->NewRandomAccessFile(filename_, &file_); in Init() 88 if (!status_.ok()) return status_; in Init() 95 return status_; in Init() 102 status_ = input_buffer_->ReadLine(&line); in Next() 103 if (!status_.ok()) { in Next() 104 if (errors::IsOutOfRange(status_) && vocab_size_ != -1 && in Next() 106 status_ = errors::InvalidArgument("Invalid vocab_size in ", filename_, in Next() 117 status_ = errors::OutOfRange("Finished reading ", vocab_size_, in Next() 123 status_ = errors::InvalidArgument("Invalid content in ", filename_, in Next() [all …]
|
D | initializable_lookup_table.h | 170 : keys_(keys), values_(values), valid_(true), status_(Status::OK()) { in KeyValueTensorIterator() 174 status_ = errors::InvalidArgument( in KeyValueTensorIterator() 180 status_ = in KeyValueTensorIterator() 189 status_ = errors::OutOfRange("No more data."); in Next() 196 Status status() const override { return status_; } in status() 208 Status status_; variable
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | eager_executor.cc | 45 if (!status_.ok()) { in Add() 52 status_ = tensorflow::errors::InvalidArgument( in Add() 78 if (!status_.ok()) return status_; in WaitImpl() 91 return status_; in WaitImpl() 96 if (status_.ok()) return; in ClearError() 101 status_ = tensorflow::Status::OK(); in ClearError() 107 return status_; in status() 115 while (node_queue_.empty() || !status_.ok()) { in Run() 126 status_ = status; in Run()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | scope.cc | 47 status_(status), in Impl() 59 status_(status), in Impl() 85 status_(other.impl()->status_), in Impl() 104 status_(other.impl()->status_), in Impl() 122 status_(other.impl()->status_), in Impl() 145 status_(other.impl()->status_), in Impl() 163 status_(other.impl()->status_), in Impl() 180 status_(other.impl()->status_), in Impl() 198 status_(other.impl()->status_), in Impl() 216 status_(other.impl()->status_), in Impl() [all …]
|
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/ |
D | HealthCheckResponse.java | 19 status_ = 0; in HealthCheckResponse() 56 status_ = rawValue; in HealthCheckResponse() 191 private int status_; field in HealthCheckResponse 196 return status_; in getStatusValue() 202 …sponse.ServingStatus result = io.grpc.health.v1.HealthCheckResponse.ServingStatus.valueOf(status_); in getStatus() 218 if (status_ != io.grpc.health.v1.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { in writeTo() 219 output.writeEnum(1, status_); in writeTo() 229 if (status_ != io.grpc.health.v1.HealthCheckResponse.ServingStatus.UNKNOWN.getNumber()) { in getSerializedSize() 231 .computeEnumSize(1, status_); in getSerializedSize() 249 result = result && status_ == other.status_; in equals() [all …]
|
/external/grpc-grpc/examples/cpp/helloworld/ |
D | greeter_async_server.cc | 76 : service_(service), cq_(cq), responder_(&ctx_), status_(CREATE) { in CallData() 82 if (status_ == CREATE) { in Proceed() 84 status_ = PROCESS; in Proceed() 93 } else if (status_ == PROCESS) { in Proceed() 106 status_ = FINISH; in Proceed() 109 GPR_ASSERT(status_ == FINISH); in Proceed() 136 CallStatus status_; // The current serving state. member in ServerImpl::CallData
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | presencestatus.h | 41 const std::string& status() const { return status_; } in status() 59 void set_status(const std::string& status) { status_ = status; } in set_status() 77 if (status_.empty()) in HasQuietStatus() 86 if (status_ == "Online" || in QuietStatus() 87 status_.find("Auto Status") != std::string::npos) in QuietStatus() 91 if (status_ == "Sorry, I ran out for a bit!") in QuietStatus() 94 return TrimStatus(status_); in QuietStatus() 162 std::string status_; variable
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_def_builder.h | 100 bool HaveError() const { return status_ != nullptr && !status_->ok(); } in HaveError() 104 string StatusToString() const { return status_->ToString(); } in StatusToString() 137 Status* const status_; variable 147 : graph_(op_registry), opts_(&graph_, &status_) {} in graph_() 180 Status status_; variable
|
/external/protobuf/src/google/protobuf/util/ |
D | json_util.cc | 108 StatusErrorListener() : status_(util::Status::OK) {} in StatusErrorListener() 111 util::Status GetStatus() { return status_; } in GetStatus() 115 status_ = util::Status(util::error::INVALID_ARGUMENT, in InvalidName() 121 status_ = in InvalidValue() 129 status_ = util::Status( in MissingField() 135 util::Status status_; member in google::protobuf::util::__anon112fe5750111::StatusErrorListener
|
/external/v8/src/compiler-dispatcher/ |
D | compiler-dispatcher-job.h | 31 CompilerDispatcherJob(Type type) : type_(type), status_(Status::kInitial) {} in CompilerDispatcherJob() 38 Status status() const { return status_; } in status() 82 void set_status(Status status) { status_ = status; } in set_status() 86 Status status_; variable
|
/external/webp/src/dec/ |
D | idec_dec.c | 406 const VP8StatusCode status = dec->status_; in DecodePartition0() 416 dec->status_ = WebPAllocateDecBuffer(io->width, io->height, params->options, in DecodePartition0() 418 if (dec->status_ != VP8_STATUS_OK) { in DecodePartition0() 419 return IDecError(idec, dec->status_); in DecodePartition0() 426 dec->status_ = CopyParts0Data(idec); in DecodePartition0() 427 if (dec->status_ != VP8_STATUS_OK) { in DecodePartition0() 428 return IDecError(idec, dec->status_); in DecodePartition0() 433 return IDecError(idec, dec->status_); in DecodePartition0() 441 return IDecError(idec, dec->status_); in DecodePartition0() 525 dec->status_ = VP8_STATUS_SUSPENDED; in DecodeVP8LHeader() [all …]
|