Home
last modified time | relevance | path

Searched refs:status_ (Results 1 – 25 of 118) sorted by relevance

12345

/external/protobuf/src/google/protobuf/stubs/
Dstatusor.h156 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/
DTracingStatus.h34 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/
Dc_api_experimental_test.cc325 : 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/
Dstatusor_internals.h61 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/
Dvpx_thread.c37 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/
Daom_thread.c68 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/
Dsession_bundle_test.cc296 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/
Dtensor_bundle.cc398 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/
Dreffed_status_callback.h32 : 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_);
Dtensor_slice_reader.cc115 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/
Dthread_utils.c210 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/
Dclient_unary_call.h60 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_;
Dproto_buffer_reader.h51 : 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
Dcallback_common.h74 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/
Dlookup_util.cc63 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 …]
Dinitializable_lookup_table.h170 : 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/
Deager_executor.cc45 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/
Dscope.cc47 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/
DHealthCheckResponse.java19 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/
Dgreeter_async_server.cc76 : 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/
Dpresencestatus.h41 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/
Dgraph_def_builder.h100 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/
Djson_util.cc108 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/
Dcompiler-dispatcher-job.h31 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/
Didec_dec.c406 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 …]

12345