Home
last modified time | relevance | path

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

12

/external/openscreen/util/
Durl.h30 bool is_valid() const { return is_valid_; } in is_valid()
36 OSP_DCHECK(is_valid_); in scheme()
40 OSP_DCHECK(is_valid_); in has_host()
44 OSP_DCHECK(is_valid_); in host()
48 OSP_DCHECK(is_valid_); in has_port()
52 OSP_DCHECK(is_valid_); in port()
56 OSP_DCHECK(is_valid_); in has_path()
60 OSP_DCHECK(is_valid_); in path()
64 OSP_DCHECK(is_valid_); in has_query()
68 OSP_DCHECK(is_valid_); in query()
[all …]
Durl.cc74 is_valid_ = true; in Url()
80 : is_valid_(other.is_valid_), in Url()
90 other.is_valid_ = false; in Url()
98 is_valid_ = other.is_valid_; in operator =()
108 other.is_valid_ = false; in operator =()
/external/libtextclassifier/native/utils/i18n/
Dlocale.h42 locale.is_valid_ = false; in Invalid()
52 bool IsValid() const { return is_valid_; } in IsValid()
73 is_valid_(true) {} in Locale()
82 bool is_valid_; variable
/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/webrtc/rtc_base/
Dweak_ptr.cc19 WeakReference::Flag::Flag() : is_valid_(true) { in Flag()
29 is_valid_ = false; in Invalidate()
35 return is_valid_; in IsValid()
/external/flac/src/libFLAC++/
Dmetadata.cpp529 is_valid_(true), in Entry()
540 is_valid_(true), in Entry()
552 is_valid_(true), in Entry()
564 is_valid_(true), in Entry()
576 is_valid_(true), in Entry()
588 is_valid_(true), in Entry()
615 return is_valid_; in is_valid()
666 return is_valid_ = false; in set_field()
671 is_valid_ = false; in set_field()
680 return is_valid_; in set_field()
[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()
/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/webrtc/modules/desktop_capture/linux/
Dx_window_property.h30 bool is_valid() const { return is_valid_; } in is_valid()
39 bool is_valid_ = false;
Dx_window_property.cc35 is_valid_ = true; in XWindowPropertyBase()
/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/llvm-project/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/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-port.cc678 if (is_valid_) { in ~RE()
691 if (!re.is_valid_) return false; in FullMatch()
700 if (!re.is_valid_) return false; in PartialMatch()
716 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
725 if (is_valid_) { in Init()
727 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
729 EXPECT_TRUE(is_valid_) in Init()
934 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
940 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
950 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/googletest/googletest/src/
Dgtest-port.cc716 if (is_valid_) { in ~RE()
729 if (!re.is_valid_) return false; in FullMatch()
738 if (!re.is_valid_) return false; in PartialMatch()
754 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
763 if (is_valid_) { in Init()
765 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
767 EXPECT_TRUE(is_valid_) in Init()
978 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
984 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
994 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-port.cc707 if (is_valid_) { in ~RE()
720 if (!re.is_valid_) return false; in FullMatch()
729 if (!re.is_valid_) return false; in PartialMatch()
745 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
754 if (is_valid_) { in Init()
756 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
758 EXPECT_TRUE(is_valid_) in Init()
969 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
975 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
985 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-port.cc707 if (is_valid_) { in ~RE()
720 if (!re.is_valid_) return false; in FullMatch()
729 if (!re.is_valid_) return false; in PartialMatch()
745 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
754 if (is_valid_) { in Init()
756 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
758 EXPECT_TRUE(is_valid_) in Init()
969 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
975 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
985 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/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.h542 bool is_valid_;
559 constexpr CheckedNumericState() : is_valid_(true), value_(0) {}
563 : is_valid_(is_valid && IsValueInRangeForNumericType<T>(value)),
564 value_(WellDefinedConversionOrZero(value, is_valid_)) {
571 : is_valid_(rhs.IsValid()),
572 value_(WellDefinedConversionOrZero(rhs.value(), is_valid_)) {}
576 : is_valid_(IsValueInRangeForNumericType<T>(value)),
577 value_(WellDefinedConversionOrZero(value, is_valid_)) {}
579 constexpr bool is_valid() const { return is_valid_; }
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dp2p_network.cpp33 is_valid_(true) in P2pNetwork()
36 void P2pNetwork::invalidate() { is_valid_ = false; } in invalidate()
39 return (is_valid_ && (retrieveNetworkPtr() != nullptr)); in isValid()
Dp2p_network.h93 bool is_valid_; variable
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer.cpp118 is_valid_(true), in Fuzzer()
287 assert(is_valid_ && "The module was invalidated during the previous fuzzing"); in Run()
351 is_valid_ = status != Status::kFuzzerPassLedToInvalidModule; in Run()
Dfuzzer.h159 bool is_valid_; variable
/external/webrtc/modules/audio_device/
Daudio_device_data_observer.cc31 is_valid_ = impl_.get() != nullptr; in ADMWrapper()
46 bool IsValid() { return is_valid_; } in IsValid()
296 bool is_valid_ = false; member in webrtc::__anon6f60d37b0111::ADMWrapper
/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
/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_;

12