• Home
  • Raw
  • Download

Lines Matching refs:values

71 C2SupportedRange<T>::C2SupportedRange(const C2FieldSupportedValues &values) {  in C2SupportedRange()  argument
72 if (values.type == C2FieldSupportedValues::RANGE) { in C2SupportedRange()
73 _mMin = values.range.min.ref<ValueType>(); in C2SupportedRange()
74 _mMax = values.range.max.ref<ValueType>(); in C2SupportedRange()
75 _mStep = values.range.step.ref<ValueType>(); in C2SupportedRange()
76 _mNum = values.range.num.ref<ValueType>(); in C2SupportedRange()
77 _mDenom = values.range.denom.ref<ValueType>(); in C2SupportedRange()
170 std::vector<C2Value::Primitive> values; in limitedTo() local
171 return C2SupportedFlags(std::move(values)); in limitedTo()
213 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() local
217 values[0] = minMask; in limitedTo()
219 …std::remove_if(values.begin(), values.end(), [&limit, minMask](const C2Value::Primitive &v) -> boo… in limitedTo()
226 values.emplace_back((ValueType)value); in limitedTo()
230 return C2SupportedFlags(std::move(values)); in limitedTo()
266 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() local
267 std::remove_if(values.begin(), values.end(), [&limit](const C2Value::Primitive &v) -> bool { in limitedTo()
269 return C2SupportedValueSet(std::move(values)); in limitedTo()
274 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() local
275 std::remove_if(values.begin(), values.end(), [&limit](const C2Value::Primitive &v) -> bool { in limitedTo()
277 return C2SupportedValueSet(std::move(values)); in limitedTo()
282 std::vector<C2Value::Primitive> values = _mValues; // make a copy in limitedTo() local
283 std::remove_if(values.begin(), values.end(), [&limit](const C2Value::Primitive &v) -> bool { in limitedTo()
285 return C2SupportedValueSet(std::move(values)); in limitedTo()
289 const std::vector<T> C2SupportedValueSet<T>::values() const { in values() function in C2SupportedValueSet
311 Impl(const C2FieldSupportedValues &values) in Impl()
312 : _mType(values.type), in Impl()
313 _mRange(values), in Impl()
314 _mValues(values), in Impl()
315 _mFlags(values) { } in Impl()
342 C2FieldSupportedValuesHelper<T>::C2FieldSupportedValuesHelper(const C2FieldSupportedValues &values) in C2FieldSupportedValuesHelper() argument
343 : _mImpl(std::make_unique<C2FieldSupportedValuesHelper<T>::Impl>(values)) { } in C2FieldSupportedValuesHelper()
532 (void)_mValues.values(); // instantiate non-const values() in instantiate()
536 (void)_mValues.values(); // instantiate const values() in instantiate()