Home
last modified time | relevance | path

Searched refs:is_valid_ (Results 1 – 25 of 40) sorted by relevance

12

/external/libtextclassifier/utils/i18n/
Dlocale.h38 locale.is_valid_ = false; in Invalid()
48 bool IsValid() const { return is_valid_; } in IsValid()
65 is_valid_(true) {} in Locale()
74 bool is_valid_; variable
Dlocale.cc119 return is_valid_ && language_ == kUnknownLanguageCode; in IsUnknown()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-port.cc116 if (is_valid_) { in ~RE()
129 if (!re.is_valid_) return false; in FullMatch()
138 if (!re.is_valid_) return false; in PartialMatch()
154 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
163 if (is_valid_) { in Init()
165 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
167 EXPECT_TRUE(is_valid_) in Init()
382 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
388 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
398 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc116 if (is_valid_) { in ~RE()
129 if (!re.is_valid_) return false; in FullMatch()
138 if (!re.is_valid_) return false; in PartialMatch()
154 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
163 if (is_valid_) { in Init()
165 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
167 EXPECT_TRUE(is_valid_) in Init()
382 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
388 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
398 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc141 if (is_valid_) { in ~RE()
154 if (!re.is_valid_) return false; in FullMatch()
163 if (!re.is_valid_) return false; in PartialMatch()
179 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
188 if (is_valid_) { in Init()
190 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
192 EXPECT_TRUE(is_valid_) in Init()
407 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
413 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
423 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/libchrome/base/memory/
Dweak_ptr.cc10 WeakReference::Flag::Flag() : is_valid_(true) { in Flag()
22 is_valid_ = false; in Invalidate()
28 return is_valid_; in IsValid()
Dweak_ptr.h108 bool is_valid_; variable
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-port.cc622 if (is_valid_) { in ~RE()
635 if (!re.is_valid_) return false; in FullMatch()
644 if (!re.is_valid_) return false; in PartialMatch()
660 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
669 if (is_valid_) { in Init()
671 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
673 EXPECT_TRUE(is_valid_) in Init()
888 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
894 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
904 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-port.cc565 if (is_valid_) { in ~RE()
578 if (!re.is_valid_) return false; in FullMatch()
587 if (!re.is_valid_) return false; in PartialMatch()
603 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
612 if (is_valid_) { in Init()
614 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
616 EXPECT_TRUE(is_valid_) in Init()
831 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
837 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
847 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-port.cc565 if (is_valid_) { in ~RE()
578 if (!re.is_valid_) return false; in FullMatch()
587 if (!re.is_valid_) return false; in PartialMatch()
603 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
612 if (is_valid_) { in Init()
614 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
616 EXPECT_TRUE(is_valid_) in Init()
831 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
837 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
847 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-port.cc565 if (is_valid_) { in ~RE()
578 if (!re.is_valid_) return false; in FullMatch()
587 if (!re.is_valid_) return false; in PartialMatch()
603 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
612 if (is_valid_) { in Init()
614 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
616 EXPECT_TRUE(is_valid_) in Init()
831 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
837 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
847 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/googletest/googletest/src/
Dgtest-port.cc705 if (is_valid_) { in ~RE()
718 if (!re.is_valid_) return false; in FullMatch()
727 if (!re.is_valid_) return false; in PartialMatch()
743 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
752 if (is_valid_) { in Init()
754 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
756 EXPECT_TRUE(is_valid_) in Init()
967 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
973 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
983 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/image_io/includes/image_io/base/
Dvalidated_number.h13 ValidatedNumber(const T& value_, bool is_valid_) in ValidatedNumber()
14 : value(value_), is_valid(is_valid_) {} in ValidatedNumber()
/external/libchrome/base/numerics/
Dchecked_math_impl.h472 bool is_valid_;
489 constexpr CheckedNumericState() : is_valid_(true), value_(0) {}
493 : is_valid_(is_valid && IsValueInRangeForNumericType<T>(value)),
494 value_(WellDefinedConversionOrZero(value, is_valid_)) {
501 : is_valid_(rhs.IsValid()),
502 value_(WellDefinedConversionOrZero(rhs.value(), is_valid_)) {}
506 : is_valid_(IsValueInRangeForNumericType<T>(value)),
507 value_(WellDefinedConversionOrZero(value, is_valid_)) {}
509 constexpr bool is_valid() const { return is_valid_; }
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h538 bool is_valid_;
555 constexpr CheckedNumericState() : is_valid_(true), value_(0) {}
559 : is_valid_(is_valid && IsValueInRangeForNumericType<T>(value)),
560 value_(WellDefinedConversionOrZero(value, is_valid_)) {
567 : is_valid_(rhs.IsValid()),
568 value_(WellDefinedConversionOrZero(rhs.value(), is_valid_)) {}
572 : is_valid_(IsValueInRangeForNumericType<T>(value)),
573 value_(WellDefinedConversionOrZero(value, is_valid_)) {}
575 constexpr bool is_valid() const { return is_valid_; }
/external/webrtc/webrtc/modules/desktop_capture/
Dwindow_capturer_x11.cc40 : is_valid_(false), in XWindowProperty()
60 is_valid_ = true; in XWindowProperty()
69 bool is_valid() const { return is_valid_; } in is_valid()
81 bool is_valid_; member in webrtc::__anon94992dd40111::XWindowProperty
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dp2p_network.cpp32 is_valid_(true) in P2pNetwork()
35 void P2pNetwork::invalidate() { is_valid_ = false; } in invalidate()
38 return (is_valid_ && (retrieveNetworkPtr() != nullptr)); in isValid()
Dp2p_network.h93 bool is_valid_; variable
Dsta_iface.cpp170 : wpa_global_(wpa_global), ifname_(ifname), is_valid_(true) in StaIface()
173 void StaIface::invalidate() { is_valid_ = false; } in invalidate()
176 return (is_valid_ && (retrieveIfacePtr() != nullptr)); in isValid()
Dsta_iface.h272 bool is_valid_; variable
/external/libchrome/dbus/
Dproperty.h163 bool is_valid() const { return is_valid_; } in is_valid()
166 void set_valid(bool is_valid) { is_valid_ = is_valid; } in set_valid()
193 bool is_valid_; variable
Dproperty.cc24 PropertyBase::PropertyBase() : property_set_(nullptr), is_valid_(false) {} in PropertyBase()
31 is_valid_ = false; in Init()
/external/libchrome/base/
Dbind_internal.h153 : is_valid_(true), scoper_(std::move(scoper)) {} in PassedWrapper()
155 : is_valid_(other.is_valid_), scoper_(std::move(other.scoper_)) {} in PassedWrapper()
157 CHECK(is_valid_); in Take()
158 is_valid_ = false; in Take()
163 mutable bool is_valid_;
/external/tensorflow/tensorflow/python/util/
Dutil.cc334 bool valid() const { return is_valid_; } in valid()
337 void invalidate() { is_valid_ = false; } in invalidate()
340 bool is_valid_ = true; member in tensorflow::swig::__anonee0a9dce0111::ValueIterator
/external/epid-sdk/ext/gtest/
Dgtest-all.cc9118 if (is_valid_) { in ~RE()
9131 if (!re.is_valid_) return false; in FullMatch()
9140 if (!re.is_valid_) return false; in PartialMatch()
9156 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
9165 if (is_valid_) { in Init()
9167 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
9169 EXPECT_TRUE(is_valid_) in Init()
9384 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
9390 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
9400 is_valid_ = ValidateRegex(regex); in Init()
[all …]

12