Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/tint/src/
Dprogram.cc46 is_valid_(program.is_valid_) { in Program()
54 is_valid_ = builder.IsValid(); in Program()
58 is_valid_ = false; in Program()
73 if (!is_valid_ && !diagnostics_.contains_errors()) { in Program()
96 is_valid_ = program.is_valid_; in operator =()
114 return is_valid_; in IsValid()
Dprogram.h188 bool is_valid_ = false; // Not valid until it is built variable
/third_party/flutter/engine/flutter/fml/memory/
Dweak_ptr_internal.cc12 WeakPtrFlag::WeakPtrFlag() : is_valid_(true) {} in WeakPtrFlag()
16 FML_DCHECK(!is_valid_); in ~WeakPtrFlag()
21 FML_DCHECK(is_valid_); in Invalidate()
22 is_valid_ = false; in Invalidate()
Dweak_ptr_internal.h28 bool is_valid() const { return is_valid_; } in is_valid()
33 bool is_valid_;
/third_party/flutter/engine/flutter/assets/
Ddirectory_asset_bundle.cc20 is_valid_ = true; in DirectoryAssetBundle()
27 return is_valid_; in IsValid()
33 if (!is_valid_) { in GetAsMapping()
Ddirectory_asset_bundle.h23 bool is_valid_ = false; variable
/third_party/gn/src/base/memory/
Dweak_ptr.cc10 WeakReference::Flag::Flag() : is_valid_(true) {} in Flag()
13 is_valid_ = false; in Invalidate()
17 return is_valid_; in IsValid()
/third_party/benchmark/src/
Dperf_counters.h74 bool IsValid() const { return is_valid_; } in IsValid()
116 is_valid_(true) {} in PerfCounters()
117 PerfCounters() : is_valid_(false) {} in PerfCounters()
121 const bool is_valid_; variable
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
Dspirv_opt_mutator.cc35 is_valid_(true), in SpirvOptMutator()
76 assert(is_valid_ && "The optimizer is not longer valid"); in Mutate()
119 is_valid_ = false; in Mutate()
Dspirv_reduce_mutator.cc49 is_valid_(true), in SpirvReduceMutator()
90 assert(is_valid_ && "Can't mutate invalid module"); in Mutate()
127 is_valid_ = false; in Mutate()
Dspirv_opt_mutator.h62 bool is_valid_; variable
Dspirv_reduce_mutator.h104 bool is_valid_; variable
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_shell_holder.cc114 is_valid_ = shell_ != nullptr; in OhosShellHolder()
116 if (is_valid_) { in OhosShellHolder()
140 return is_valid_; in IsValid()
Dohos_shell_holder.h47 bool is_valid_ = false; variable
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/
Dsystem.cc58 if (is_valid_) { in ~ByteDataScope()
66 bool is_valid() const { return is_valid_; } in is_valid()
69 FML_DCHECK(is_valid_); in Release()
72 is_valid_ = false; in Release()
81 FML_DCHECK(!is_valid_); in Acquire()
87 is_valid_ = in Acquire()
89 if (is_valid_) { in Acquire()
97 bool is_valid_ = false; member in zircon::dart::__anon87b62e270111::ByteDataScope
/third_party/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 …]
/third_party/googletest/googletest/src/
Dgtest-port.cc712 if (is_valid_) { in ~RE()
725 if (!re.is_valid_) return false; in FullMatch()
734 if (!re.is_valid_) return false; in PartialMatch()
750 is_valid_ = regcomp(&full_regex_, full_pattern, REG_EXTENDED) == 0; in Init()
759 if (is_valid_) { in Init()
761 is_valid_ = regcomp(&partial_regex_, partial_regex, REG_EXTENDED) == 0; in Init()
763 EXPECT_TRUE(is_valid_) in Init()
974 return re.is_valid_ && MatchRegexAnywhere(re.full_pattern_, str); in FullMatch()
980 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
990 is_valid_ = ValidateRegex(regex); in Init()
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_shell_holder.cc114 is_valid_ = shell_ != nullptr; in AndroidShellHolder()
116 if (is_valid_) { in AndroidShellHolder()
148 return is_valid_; in IsValid()
Dandroid_shell_holder.h48 bool is_valid_ = false; variable
/third_party/mindspore/mindspore/lite/src/train/
Dtransfer_session.h55 bool is_valid() const { return is_valid_; } in is_valid()
72 bool is_valid_ = false; variable
/third_party/gn/src/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_; }
/third_party/spirv-tools/source/fuzz/
Dfuzzer.cpp116 is_valid_(true), in Fuzzer()
283 assert(is_valid_ && "The module was invalidated during the previous fuzzing"); in Run()
347 is_valid_ = status != Status::kFuzzerPassLedToInvalidModule; in Run()
Dfuzzer.h159 bool is_valid_; variable
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer.cpp120 is_valid_(true), in Fuzzer()
294 assert(is_valid_ && "The module was invalidated during the previous fuzzing"); in Run()
358 is_valid_ = status != Status::kFuzzerPassLedToInvalidModule; in Run()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer.cpp120 is_valid_(true), in Fuzzer()
294 assert(is_valid_ && "The module was invalidated during the previous fuzzing"); in Run()
358 is_valid_ = status != Status::kFuzzerPassLedToInvalidModule; in Run()

12