Searched refs:is_valid (Results 1 – 10 of 10) sorted by relevance
161 const auto is_valid = [](float value) { return !isnan(value) && value != 0; }; in TEST() local162 ASSERT_TRUE(std::all_of(model->outputR().begin(), model->outputR().end(), is_valid)); in TEST()163 ASSERT_TRUE(std::all_of(model->outputPhi().begin(), model->outputPhi().end(), is_valid)); in TEST()165 std::all_of(model->outputPressure().begin(), model->outputPressure().end(), is_valid)); in TEST()
140 bool is_valid() const;165 bool is_valid() const;197 bool is_valid() const;282 inline bool ResourceId::is_valid() const { in is_valid() function441 inline bool ResourceName::is_valid() const { in is_valid() function492 inline bool ResourceNameRef::is_valid() const { in is_valid() function
125 const bool dynamic = resid.is_valid() && is_dynamic; in Flatten()163 if (id && id.value().is_valid()) { in Print()200 } else if (ref.id && ref.id.value().is_valid()) { in PrettyPrintReferenceImpl()
478 if (res.id.has_value() && !res.id->first.is_valid()) { in AddResource()
511 if (id.is_valid()) { in ParseResourceId()
138 if (res->id.is_valid()) { in AddResourcesToTable()
354 if (str->context.priority == kLowPriority || !id.is_valid()) { in Flatten()
70 if (!reference->id || !reference->id.value().is_valid()) { in Visit()
373 bool is_valid() const { return !!data_.mmap; } in is_valid() function
49 if (!reference->id || !reference->id.value().is_valid()) { in Visit()518 if (resid.is_valid()) { in DeserializePackageFromPb()