/third_party/node/deps/icu-small/source/common/ |
D | localebuilder.cpp | 33 LocaleBuilder::LocaleBuilder() : UObject(), status_(U_ZERO_ERROR), language_(), in LocaleBuilder() 56 status_ = U_MEMORY_ALLOCATION_ERROR; in setLocale() 63 Locale l = Locale::forLanguageTag(tag, status_); in setLanguageTag() 64 if (U_FAILURE(status_)) { return *this; } in setLanguageTag() 86 setField(language, language_, status_, &ultag_isLanguageSubtag); in setLanguage() 92 setField(script, script_, status_, &ultag_isScriptSubtag); in setScript() 98 setField(region, region_, status_, &ultag_isRegionSubtag); in setRegion() 114 if (U_FAILURE(status_)) { return *this; } in setVariant() 120 CharString* new_variant = new CharString(variant, status_); in setVariant() 121 if (U_FAILURE(status_)) { return *this; } in setVariant() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | localebuilder.cpp | 33 LocaleBuilder::LocaleBuilder() : UObject(), status_(U_ZERO_ERROR), language_(), in LocaleBuilder() 56 status_ = U_MEMORY_ALLOCATION_ERROR; in setLocale() 63 Locale l = Locale::forLanguageTag(tag, status_); in setLanguageTag() 64 if (U_FAILURE(status_)) { return *this; } in setLanguageTag() 86 setField(language, language_, status_, &ultag_isLanguageSubtag); in setLanguage() 92 setField(script, script_, status_, &ultag_isScriptSubtag); in setScript() 98 setField(region, region_, status_, &ultag_isRegionSubtag); in setRegion() 114 if (U_FAILURE(status_)) { return *this; } in setVariant() 120 CharString* new_variant = new CharString(variant, status_); in setVariant() 121 if (U_FAILURE(status_)) { return *this; } in setVariant() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | localebuilder.cpp | 33 LocaleBuilder::LocaleBuilder() : UObject(), status_(U_ZERO_ERROR), language_(), in LocaleBuilder() 56 status_ = U_MEMORY_ALLOCATION_ERROR; in setLocale() 63 Locale l = Locale::forLanguageTag(tag, status_); in setLanguageTag() 64 if (U_FAILURE(status_)) { return *this; } in setLanguageTag() 86 setField(language, language_, status_, &ultag_isLanguageSubtag); in setLanguage() 92 setField(script, script_, status_, &ultag_isScriptSubtag); in setScript() 98 setField(region, region_, status_, &ultag_isRegionSubtag); in setRegion() 114 if (U_FAILURE(status_)) { return *this; } in setVariant() 120 CharString* new_variant = new CharString(variant, status_); in setVariant() 121 if (U_FAILURE(status_)) { return *this; } in setVariant() [all …]
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | statusor.h | 159 Status status_; 193 : status_(util::Status::UNKNOWN) { 199 status_ = Status(error::INTERNAL, "Status::OK is not a valid argument."); 201 status_ = status; 208 status_ = Status(error::INTERNAL, "nullptr is not a valid argument."); 210 status_ = Status::OK; 217 : status_(other.status_), value_(other.value_) { 222 status_ = other.status_; 230 : status_(other.status_), value_(other.status_.ok() ? other.value_ : T()) { 236 status_ = other.status_; [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | lock.cc | 40 read_cv_.wait(lck, [this]() { return (waiting_writers_ == 0 && status_ >= 0); }); in LockShared() 42 status_ += 1; in LockShared() 47 if (status_ == -1) { in Unlock() 49 status_ = 0; in Unlock() 50 } else if (status_ > 0) { in Unlock() 52 status_ -= 1; in Unlock() 56 if (status_ == 0) { in Unlock() 66 if (status_ == -1) { in Upgrade() 69 } else if (status_ == 1) { in Upgrade() 71 status_ = -1; in Upgrade() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
D | statusor.cc | 28 : status_(std::move(status)) {} in BadStatusOrAccess() 31 : status_(other.status_) {} in BadStatusOrAccess() 38 status_ = other.status_; in operator =() 47 status_ = std::move(other.status_); in operator =() 53 : status_(std::move(other.status_)) {} in BadStatusOrAccess() 60 const absl::Status& BadStatusOrAccess::status() const { return status_; } in status() 64 what_ = absl::StrCat("Bad StatusOr access: ", status_.ToString()); in InitWhat()
|
/third_party/cef/libcef/browser/extensions/value_store/ |
D | cef_value_store.cc | 32 status_ = ValueStore::Status(status_code, kGenericErrorMessage); in set_status_code() 60 if (!status_.ok()) in Get() 61 return ReadResult(CreateStatusCopy(status_)); in Get() 70 return ReadResult(std::move(settings), CreateStatusCopy(status_)); in Get() 75 if (!status_.ok()) in Get() 76 return ReadResult(CreateStatusCopy(status_)); in Get() 77 return ReadResult(storage_.CreateDeepCopy(), CreateStatusCopy(status_)); in Get() 92 if (!status_.ok()) in Set() 93 return WriteResult(CreateStatusCopy(status_)); in Set() 108 return WriteResult(std::move(changes), CreateStatusCopy(status_)); in Set() [all …]
|
/third_party/grpc/third_party/upb/upb/ |
D | upb.hpp | 13 Status() { upb_status_clear(&status_); } in Status() 15 upb_status* ptr() { return &status_; } in ptr() 18 bool ok() const { return upb_ok(&status_); } in ok() 21 const char *error_message() const { return upb_status_errmsg(&status_); } in error_message() 25 void SetErrorMessage(const char *msg) { upb_status_seterrmsg(&status_, msg); } in SetErrorMessage() 29 upb_status_vseterrf(&status_, fmt, args); in SetFormattedErrorMessage() 34 void Clear() { upb_status_clear(&status_); } in Clear() 37 upb_status status_; member in upb::Status
|
/third_party/ninja/src/ |
D | clean.cc | 35 status_(0) { in Cleaner() 67 status_ = 1; in Remove() 124 return status_; in CleanAll() 137 return status_; in CleanDead() 169 return status_; in CleanTarget() 181 status_ = 1; in CleanTarget() 183 return status_; in CleanTarget() 196 status_ = 1; in CleanTargets() 205 status_ = 1; in CleanTargets() 210 return status_; in CleanTargets() [all …]
|
/third_party/skia/third_party/externals/libwebp/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() 239 if (worker->status_ >= OK) { in ChangeState() 241 while (worker->status_ != OK) { in ChangeState() 246 worker->status_ = new_status; in ChangeState() 265 worker->status_ = NOT_OK; in Init() 272 assert(worker->status_ <= OK); in Sync() 279 if (worker->status_ < OK) { in Reset() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/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() 239 if (worker->status_ >= OK) { in ChangeState() 241 while (worker->status_ != OK) { in ChangeState() 246 worker->status_ = new_status; in ChangeState() 265 worker->status_ = NOT_OK; in Init() 272 assert(worker->status_ <= OK); in Sync() 279 if (worker->status_ < OK) { in Reset() [all …]
|
/third_party/cef/libcef/browser/devtools/ |
D | devtools_util.h | 39 bool IsInitialized() const { return status_ != UNINITIALIZED; } in IsInitialized() 40 bool IsEvent() const { return status_ == EVENT; } in IsEvent() 41 bool IsResult() const { return status_ == RESULT; } in IsResult() 42 bool IsFailure() const { return status_ == FAILURE; } in IsFailure() 44 void Reset() { status_ = UNINITIALIZED; } in Reset() 67 Status status_ = UNINITIALIZED; member
|
/third_party/nghttp2/src/ |
D | shrpx_dns_resolver.cc | 122 status_(DNSResolverStatus::IDLE) { 139 if (status_ != DNSResolverStatus::IDLE) { in resolve() 169 status_ = DNSResolverStatus::ERROR; in resolve() 174 status_ = DNSResolverStatus::RUNNING; in resolve() 191 if (status_ == DNSResolverStatus::IDLE) { in handle_event() 197 switch (status_) { in handle_event() 213 if (status_ != DNSResolverStatus::RUNNING) { in reset_timeout() 228 if (status_ != DNSResolverStatus::OK) { in get_status() 229 return status_; in get_status() 236 return status_; in get_status() [all …]
|
/third_party/grpc/include/grpcpp/impl/codegen/ |
D | client_unary_call.h | 69 status_ = ops.SendMessagePtr(&request); in BlockingUnaryCallImpl() 70 if (!status_.ok()) { in BlockingUnaryCallImpl() 79 ops.ClientRecvStatus(context, &status_); in BlockingUnaryCallImpl() 89 if (!ops.got_message && status_.ok()) { in BlockingUnaryCallImpl() 90 status_ = Status(StatusCode::UNIMPLEMENTED, in BlockingUnaryCallImpl() 94 Status status() { return status_; } in status() 97 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() 96 Status status() const { return status_; } in status() 144 Status status_; ///< status of the entire object variable
|
/third_party/grpc/examples/cpp/helloworld/ |
D | greeter_async_server.cc | 80 : service_(service), cq_(cq), responder_(&ctx_), status_(CREATE) { in CallData() 86 if (status_ == CREATE) { in Proceed() 88 status_ = PROCESS; in Proceed() 97 } else if (status_ == PROCESS) { in Proceed() 110 status_ = FINISH; in Proceed() 113 GPR_ASSERT(status_ == FINISH); in Proceed() 140 CallStatus status_; // The current serving state. member in ServerImpl::CallData
|
/third_party/gn/src/util/ |
D | auto_reset_event.h | 20 std::atomic<int> status_; 24 AutoResetEvent() : status_(0), semaphore_(0) {} in AutoResetEvent() 27 int old_status = status_.load(std::memory_order_relaxed); in Signal() 32 if (status_.compare_exchange_weak(old_status, new_status, in Signal() 45 int old_status = status_.fetch_sub(1, std::memory_order_acquire); in Wait()
|
/third_party/boost/boost/wave/util/ |
D | cpp_ifblock.hpp | 37 if_block(bool status_, bool enclosing_status_) : in if_block() argument 38 status(status_), in if_block() 39 some_part_status(status_), in if_block() 45 void set_status(bool status_) in set_status() argument 47 status = status_; in set_status() 48 if (status_) in set_status()
|
/third_party/grpc/third_party/upb/tests/ |
D | test_util.h | 79 if (end_ok_set_ && end_ok_ != status_.ok()) { in CheckConsistency() 84 if (expect_error_ && status_.ok()) { in CheckConsistency() 89 if (!status_.ok()) { in CheckConsistency() 92 status_.error_message()); in CheckConsistency() 95 status_.error_message()); in CheckConsistency() 154 if (!status_.ok()) { in ParseBuffer() 176 upb::Status* status() { return &status_; } in status() 180 upb::Status status_; variable
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/internal/ |
D | statusor_internal.h | 166 MakeStatus(other.status_); 175 MakeStatus(std::move(other.status_)); 185 MakeStatus(other.status_); 195 MakeStatus(std::move(other.status_)); 215 explicit StatusOrData(U&& v) : status_(std::forward<U>(v)) { 224 AssignStatus(other.status_); 233 AssignStatus(std::move(other.status_)); 239 status_.~Status(); 242 status_.~Status(); 252 status_ = OkStatus(); [all …]
|
/third_party/abseil-cpp/absl/status/internal/ |
D | statusor_internal.h | 169 MakeStatus(other.status_); 178 MakeStatus(std::move(other.status_)); 188 MakeStatus(other.status_); 198 MakeStatus(std::move(other.status_)); 218 explicit StatusOrData(U&& v) : status_(v) { 227 AssignStatus(other.status_); 236 AssignStatus(std::move(other.status_)); 242 status_.~Status(); 245 status_.~Status(); 255 status_ = OkStatus(); [all …]
|
/third_party/cef/tests/ceftests/ |
D | osr_display_unittest.cc | 23 DisplayTestHandler() : status_(START) {} in DisplayTestHandler() 44 if (!got_paint_[status_]) { in OnPaint() 45 got_paint_[status_].yes(); in OnPaint() 47 if (status_ == START) { in OnPaint() 49 } else if (status_ == SHOW) { in OnPaint() 101 EXPECT_EQ(status_, SHOW); in DestroyTest() 134 EXPECT_EQ(status_, START); in OnStart() 139 status_ = NAVIGATE; in OnStart() 145 EXPECT_EQ(status_, NAVIGATE); in OnNavigate() 148 status_ = SHOW; in OnNavigate() [all …]
|
/third_party/node/tools/inspector_protocol/encoding/ |
D | encoding.cc | 516 CBOREncoder(C* out, Status* status) : out_(out), status_(status) { in CBOREncoder() 517 *status_ = Status(); in CBOREncoder() 521 if (!status_->ok()) in HandleMapBegin() 529 if (!status_->ok()) in HandleMapEnd() 542 if (!status_->ok()) in HandleArrayBegin() 550 if (!status_->ok()) in HandleArrayEnd() 563 if (!status_->ok()) in HandleString8() 569 if (!status_->ok()) in HandleString16() 575 if (!status_->ok()) in HandleBinary() 581 if (!status_->ok()) in HandleDouble() [all …]
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | single_frame_codec.cc | 13 : status_(Status::kNew), descriptor_(std::move(descriptor)) {} in SingleFrameCodec() 30 if (status_ == Status::kComplete) { in getNextFrame() 40 if (status_ == Status::kInProgress) { in getNextFrame() 84 codec->status_ = Status::kComplete; in getNextFrame() 98 status_ = Status::kInProgress; in getNextFrame()
|
/third_party/boost/doc/html/boost_asio/example/cpp11/socks4/ |
D | socks4.hpp | 94 status_() in reply() 104 boost::asio::buffer(&status_, 1), in buffers() 114 return null_byte_ == 0 && status_ == request_granted; in success() 119 return status_; in status() 135 unsigned char status_; member in socks4::reply
|