/third_party/boost/boost/units/ |
D | cmath.hpp | 164 return quantity_type::from_value(abs BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() 177 return quantity_type::from_value(ceil BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() 191 …return quantity_type::from_value(copysign BOOST_PREVENT_MACRO_SUBSTITUTION (q1.value(),q2.value())… in BOOST_PREVENT_MACRO_SUBSTITUTION() 204 return quantity_type::from_value(fabs BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() 217 return quantity_type::from_value(floor BOOST_PREVENT_MACRO_SUBSTITUTION (q.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() 231 return quantity_type::from_value(fdim BOOST_PREVENT_MACRO_SUBSTITUTION (q1.value(),q2.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() 256 …return quantity_type::from_value(fma BOOST_PREVENT_MACRO_SUBSTITUTION (q1.value(),q2.value(),q3.va… 272 return quantity_type::from_value(fmax BOOST_PREVENT_MACRO_SUBSTITUTION (q1.value(),q2.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() 286 return quantity_type::from_value(fmin BOOST_PREVENT_MACRO_SUBSTITUTION (q1.value(),q2.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() 320 … return quantity_type::from_value(hypot BOOST_PREVENT_MACRO_SUBSTITUTION (q1.value(),q2.value())); in BOOST_PREVENT_MACRO_SUBSTITUTION() [all …]
|
D | limits.hpp | 32 …static BOOST_CONSTEXPR quantity_type (min)() { return(quantity_type::from_value((std::numeric_limi… in quantity_type() 33 …static BOOST_CONSTEXPR quantity_type (max)() { return(quantity_type::from_value((std::numeric_limi… in quantity_type() 35 …static BOOST_CONSTEXPR quantity_type (lowest)() { return(quantity_type::from_value((std::numeric_l… in quantity_type() 46 …static BOOST_CONSTEXPR quantity_type epsilon() { return(quantity_type::from_value(std::numeric_li… in epsilon() 47 …static BOOST_CONSTEXPR quantity_type round_error() { return(quantity_type::from_value(std::numeri… in round_error() 56 …static BOOST_CONSTEXPR quantity_type infinity() { return(quantity_type::from_value(std::numeric_l… in infinity() 57 …static BOOST_CONSTEXPR quantity_type quiet_NaN() { return(quantity_type::from_value(std::numeric_… in quiet_NaN() 58 …static BOOST_CONSTEXPR quantity_type signaling_NaN() { return(quantity_type::from_value(std::nume… in signaling_NaN() 59 …static BOOST_CONSTEXPR quantity_type denorm_min() { return(quantity_type::from_value(std::numeric… in denorm_min()
|
D | quantity.hpp | 284 … static BOOST_CONSTEXPR this_type from_value(const value_type& val) { return this_type(val, 0); } in from_value() function in boost::units::quantity 475 …static BOOST_CONSTEXPR this_type from_value(const value_type& val) { return this_type(val);… in from_value() function in boost::units::quantity 866 return type::from_value(power_typeof_helper<Y,static_rational<N,D> >::value(x.value())); in value() 881 return type::from_value(root_typeof_helper<Y,static_rational<N,D> >::value(x.value())); in value() 897 return type::from_value(rhs); in operator *() 911 return type::from_value(Y(1)/rhs); in operator /() 925 return type::from_value(lhs); in operator *() 939 return type::from_value(lhs); in operator /() 980 return type::from_value(lhs.value()*rhs); in operator *() 993 return type::from_value(lhs*rhs.value()); in operator *() [all …]
|
D | absolute.hpp | 87 return(quantity<absolute<unit<D, S> >, T>::from_value(t)); in operator *() 94 return(quantity<absolute<unit<D, S> >, T>::from_value(t)); in operator *()
|
/third_party/boost/libs/units/test/ |
D | test_quantity.cpp | 94 …BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::energy> E(bu::quantity<bu::energy>::from_value(2.5)… in test_main() 100 BOOST_CHECK(bu::joules*2.0 == bu::quantity<bu::energy>::from_value(2.0)); in test_main() 103 BOOST_CHECK(bu::joules/2.0 == bu::quantity<bu::energy>::from_value(0.5)); in test_main() 106 BOOST_CHECK(2.0*bu::joules == bu::quantity<bu::energy>::from_value(2.0)); in test_main() 109 BOOST_CHECK(2.0/bu::joules == bu::quantity<bu::inverse_energy>::from_value(2.0)); in test_main() 112 BOOST_CHECK(E*2.0 == bu::quantity<bu::energy>::from_value(5.0)); in test_main() 115 BOOST_CHECK(E/2.0 == bu::quantity<bu::energy>::from_value(1.25)); in test_main() 118 BOOST_CHECK(2.0*E == bu::quantity<bu::energy>::from_value(5.0)); in test_main() 121 BOOST_CHECK(2.0/E == bu::quantity<bu::inverse_energy>::from_value(0.8)); in test_main() 126 …BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::velocity> V(bu::quantity<bu::velocity>::from_value(4.… in test_main()
|
D | test_dimensionless_quantity.cpp | 107 …ONST bu::quantity<bu::dimensionless> E(bu::quantity<bu::dimensionless>::from_value(2.5)); in test_main() 118 BOOST_CHECK(bu::dimensionless()*2.0 == bu::quantity<bu::dimensionless>::from_value(2.0)); in test_main() 121 BOOST_CHECK(bu::dimensionless()/2.0 == bu::quantity<bu::dimensionless>::from_value(0.5)); in test_main() 124 BOOST_CHECK(2.0*bu::dimensionless() == bu::quantity<bu::dimensionless>::from_value(2.0)); in test_main() 127 BOOST_CHECK(2.0/bu::dimensionless() == bu::quantity<bu::dimensionless>::from_value(2.0)); in test_main() 130 BOOST_CHECK(E*2.0 == bu::quantity<bu::dimensionless>::from_value(5.0)); in test_main() 133 BOOST_CHECK(E/2.0 == bu::quantity<bu::dimensionless>::from_value(1.25)); in test_main() 136 BOOST_CHECK(2.0*E == bu::quantity<bu::dimensionless>::from_value(5.0)); in test_main() 139 BOOST_CHECK(2.0/E == bu::quantity<bu::dimensionless>::from_value(0.8)); in test_main()
|
D | test_custom_unit.cpp | 67 bu::quantity<simple_unit<1, 0, 0> > mass = bu::quantity<simple_unit<1, 0, 0> >::from_value(2); in test_main() 68 bu::quantity<simple_unit<0, 1, 0> > length = bu::quantity<simple_unit<0, 1, 0> >::from_value(4); in test_main()
|
/third_party/boost/libs/units/example/ |
D | quaternion.cpp | 133 return type(quantity_type::from_value(tmp.R_component_1()), in value() 134 quantity_type::from_value(tmp.R_component_2()), in value() 135 quantity_type::from_value(tmp.R_component_3()), in value() 136 quantity_type::from_value(tmp.R_component_4())); in value() 170 return type(quantity_type::from_value(tmp.R_component_1()), in value() 171 quantity_type::from_value(tmp.R_component_2()), in value() 172 quantity_type::from_value(tmp.R_component_3()), in value() 173 quantity_type::from_value(tmp.R_component_4())); in value()
|
D | complex.cpp | 343 return type(quantity_type::from_value(tmp.real()), in value() 344 quantity_type::from_value(tmp.imag())); in value() 365 return type(quantity_type::from_value(tmp.real()), in value() 366 quantity_type::from_value(tmp.imag())); in value()
|
/third_party/boost/libs/units/tutorial/ |
D | tutorial_1.cpp | 95 return quantity<s2::length,Y>::from_value(2.5*source.value()); in convert() 104 return quantity<s1::length,Y>::from_value((1.0/2.5)*source.value()); in convert() 113 return quantity<s2::time,Y>::from_value(0.5*source.value()); in convert()
|
/third_party/boost/boost/multi_index/detail/ |
D | index_node_base.hpp | 66 static index_node_base* from_value(const value_type* p) in from_value() function 94 index_node_base<Value,allocator_type>::from_value(p)); in node_from_value()
|
/third_party/glib/gobject/ |
D | gbinding.c | 504 GValue from_value = G_VALUE_INIT; in on_source_notify() local 536 g_value_init (&from_value, G_PARAM_SPEC_VALUE_TYPE (binding->source_pspec)); in on_source_notify() 539 g_object_get_property (source, binding->source_pspec->name, &from_value); in on_source_notify() 542 &from_value, in on_source_notify() 558 g_value_unset (&from_value); in on_source_notify() 573 GValue from_value = G_VALUE_INIT; in on_target_notify() local 605 g_value_init (&from_value, G_PARAM_SPEC_VALUE_TYPE (binding->target_pspec)); in on_target_notify() 608 g_object_get_property (target, binding->target_pspec->name, &from_value); in on_target_notify() 611 &from_value, in on_target_notify() 626 g_value_unset (&from_value); in on_target_notify()
|
D | gbinding.h | 69 const GValue *from_value,
|
/third_party/glib/gobject/tests/ |
D | binding.c | 309 const GValue *from_value, in celsius_to_fahrenheit() argument 315 g_assert_true (G_VALUE_HOLDS (from_value, G_TYPE_DOUBLE)); in celsius_to_fahrenheit() 318 celsius = g_value_get_double (from_value); in celsius_to_fahrenheit() 331 const GValue *from_value, in fahrenheit_to_celsius() argument 337 g_assert_true (G_VALUE_HOLDS (from_value, G_TYPE_DOUBLE)); in fahrenheit_to_celsius() 340 fahrenheit = g_value_get_double (from_value); in fahrenheit_to_celsius()
|
/third_party/boost/boost/units/detail/ |
D | absolute_impl.hpp | 90 to_quantity_type::from_value( in convert()
|
D | conversion_impl.hpp | 340 …return(destination_type::from_value(static_cast<T2>(source.value() * conversion_factor(Unit1(), Un… in convert()
|
/third_party/boost/boost/numeric/odeint/util/ |
D | unit_helper.hpp | 78 t = boost::units::quantity<Unit , T>::from_value(v); in set_value()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-object.c | 974 ecma_value_t from_value = ecma_op_to_object (next_source); in ecma_builtin_object_object_assign() local 976 JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (from_value)); in ecma_builtin_object_object_assign() 978 ecma_object_t *from_obj_p = ecma_get_object_from_value (from_value); in ecma_builtin_object_object_assign()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 693 struct from_value {
|
/third_party/boost/libs/units/doc/ |
D | units.qbk | 62 [def __from_value [memberref boost::units::quantity::from_value from_value]] 1419 by using static member `from_value`
|