Lines Matching refs:IsValid
183 return out->IsValid(); in TryParse()
186 bool AspectRatio::IsValid() const { in IsValid() function in openscreen::cast::AspectRatio
207 return out->IsValid(); in TryParse()
211 OSP_DCHECK(IsValid()); in ToJson()
223 bool AudioConstraints::IsValid() const { in IsValid() function in openscreen::cast::AudioConstraints
251 return out->IsValid(); in TryParse()
254 bool VideoConstraints::IsValid() const { in IsValid() function in openscreen::cast::VideoConstraints
258 max_dimensions.IsValid() && in IsValid()
259 (!min_resolution.has_value() || min_resolution->IsValid()) && in IsValid()
264 OSP_DCHECK(IsValid()); in ToJson()
289 return out->IsValid(); in TryParse()
292 bool Constraints::IsValid() const { in IsValid() function in openscreen::cast::Constraints
293 return audio.IsValid() && video.IsValid(); in IsValid()
297 OSP_DCHECK(IsValid()); in ToJson()
320 return out->IsValid(); in TryParse()
323 bool DisplayDescription::IsValid() const { in IsValid() function in openscreen::cast::DisplayDescription
326 if (aspect_ratio.has_value() && !aspect_ratio->IsValid()) { in IsValid()
330 if (dimensions.has_value() && !dimensions->IsValid()) { in IsValid()
346 OSP_DCHECK(IsValid()); in ToJson()
382 return out->IsValid(); in TryParse()
385 bool Answer::IsValid() const { in IsValid() function in openscreen::cast::Answer
397 if (constraints.has_value() && !constraints->IsValid()) { in IsValid()
400 if (display.has_value() && !display->IsValid()) { in IsValid()
407 OSP_DCHECK(IsValid()); in ToJson()