/third_party/boost/libs/units/test/ |
D | test_output.cpp | 92 typedef double_scaled_length_base_unit::unit_type double_scaled_length2; 178 BOOST_UNITS_TEST_OUTPUT(meter_base_unit::unit_type(), "m"); in BOOST_AUTO_TEST_CASE() 182 BOOST_UNITS_TEST_OUTPUT(millisecond_base_unit::unit_type(), "ms"); in BOOST_AUTO_TEST_CASE() 193 BOOST_UNITS_TEST_OUTPUT(boost::units::absolute<meter_base_unit::unit_type>(), "absolute m"); in BOOST_AUTO_TEST_CASE() 200 BOOST_UNITS_TEST_OUTPUT(meter_base_unit::unit_type(), "m"); in BOOST_AUTO_TEST_CASE() 204 BOOST_UNITS_TEST_OUTPUT(millisecond_base_unit::unit_type(), "ms"); in BOOST_AUTO_TEST_CASE() 216 BOOST_UNITS_TEST_OUTPUT(boost::units::absolute<meter_base_unit::unit_type>(), "absolute m"); in BOOST_AUTO_TEST_CASE() 223 BOOST_UNITS_TEST_OUTPUT(meter_base_unit::unit_type(), "meter"); in BOOST_AUTO_TEST_CASE() 227 BOOST_UNITS_TEST_OUTPUT(millisecond_base_unit::unit_type(), "millisecond"); in BOOST_AUTO_TEST_CASE() 238 BOOST_UNITS_TEST_OUTPUT(boost::units::absolute<meter_base_unit::unit_type>(), "absolute meter"); in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_default_conversion.cpp | 40 typedef boost::units::multiply_typeof_helper<unit3_tag::unit_type, unit4_tag::unit_type>::type unit… 57 …ST double value1 = boost::units::conversion_factor(unit3_tag::unit_type(), unit1_tag::unit_type()); in test_main() 59 …2 = boost::units::conversion_factor(unit5_tag::unit_type() / unit4_tag::unit_type(), unit1_tag::un… in test_main() 62 …st::units::conversion_factor(scaled_unit5_tag::unit_type() / unit4_tag::unit_type(), unit1_tag::un… in test_main() 68 …BOOST_CONSTEXPR_OR_CONST double value5 = boost::units::conversion_factor(unit3_tag::unit_type(), m… in test_main() 70 …ble value6 = boost::units::conversion_factor(make_unit<unit3_tag>::type(), unit1_tag::unit_type()); in test_main() 74 …ST double value7 = boost::units::conversion_factor(unit6_tag::unit_type(), unit7_tag::unit_type()); in test_main()
|
D | test_information_units.cpp | 69 CHECK_DIRECT_CF(bit_base_unit::unit_type(), byte_base_unit::unit_type(), 8.0); in BOOST_AUTO_TEST_CASE() 73 CHECK_DIRECT_CF(bit_base_unit::unit_type(), nat_base_unit::unit_type(), 1.442695040888964); in BOOST_AUTO_TEST_CASE() 77 CHECK_DIRECT_CF(bit_base_unit::unit_type(), hartley_base_unit::unit_type(), 3.321928094887363); in BOOST_AUTO_TEST_CASE() 81 CHECK_DIRECT_CF(bit_base_unit::unit_type(), shannon_base_unit::unit_type(), 1.0); in BOOST_AUTO_TEST_CASE() 89 …CHECK_TRANSITIVE_CF(byte_base_unit::unit_type(), bit_base_unit::unit_type(), nat_base_unit::unit_t… in BOOST_AUTO_TEST_CASE() 92 …CHECK_TRANSITIVE_CF(nat_base_unit::unit_type(), bit_base_unit::unit_type(), hartley_base_unit::uni… in BOOST_AUTO_TEST_CASE() 95 …CHECK_TRANSITIVE_CF(hartley_base_unit::unit_type(), bit_base_unit::unit_type(), shannon_base_unit:… in BOOST_AUTO_TEST_CASE() 98 …CHECK_TRANSITIVE_CF(shannon_base_unit::unit_type(), bit_base_unit::unit_type(), byte_base_unit::un… in BOOST_AUTO_TEST_CASE() 103 …CHECK_TRANSITIVE_CF(byte_base_unit::unit_type(), nat_base_unit::unit_type(), hartley_base_unit::un… in BOOST_AUTO_TEST_CASE()
|
D | test_scaled_conversion.cpp | 59 …BOOST_UNITS_CHECK_CLOSE(bu::conversion_factor(base_unit1::unit_type(), base_unit2::unit_type()), 5… in test_main() 60 …BOOST_UNITS_CHECK_CLOSE(bu::conversion_factor(base_unit2::unit_type(), base_unit3::unit_type()), 0… in test_main() 61 …UNITS_CHECK_CLOSE(bu::conversion_factor(scaled_base_unit2::unit_type(), base_unit2::unit_type()), … in test_main() 63 …::conversion_factor(base_unit4::unit_type()/base_unit5::unit_type(), scaled_base_unit4::unit_type(… in test_main()
|
D | test_limits.cpp | 32 typedef boost::units::length unit_type; typedef 42 quantity<unit_type, T> q((std::numeric_limits<quantity<unit_type, T> >::quiet_NaN)()); in apply() 61 quantity<unit_type, T> q((std::numeric_limits<quantity<unit_type, T> >::signaling_NaN)()); in apply() 75 …HECK(((std::numeric_limits<T>::name)() == (std::numeric_limits<quantity<unit_type, T> >::name)().v… in do_check() 76 …) BOOST_CHECK((std::numeric_limits<T>::name == std::numeric_limits<quantity<unit_type, T> >::name)) in do_check() 113 … check_quiet_NaN<std::numeric_limits<quantity<unit_type, T> >::has_quiet_NaN>::template apply<T>(); in do_check() 114 …check_signaling_NaN<std::numeric_limits<quantity<unit_type, T> >::has_signaling_NaN>::template app… in do_check()
|
D | test_unscale.cpp | 31 …<boost::units::unscale<boost::units::temperature::fahrenheit_base_unit::unit_type::system_type>::t… 32 boost::units::temperature::fahrenheit_base_unit::unit_type::system_type>)); 34 …t::is_same<boost::units::unscale<boost::units::temperature::fahrenheit_base_unit::unit_type>::type, 35 boost::units::temperature::fahrenheit_base_unit::unit_type>)); 37 …boost::units::reduce_unit<boost::units::temperature::fahrenheit_base_unit::unit_type>::type>::type, 38 boost::units::temperature::fahrenheit_base_unit::unit_type>)); 41 boost::units::temperature::fahrenheit_base_unit::unit_type,
|
D | test_complicated_system.cpp | 60 boost::units::multiply_typeof_helper<volt::unit_type, newton::unit_type>::type, 61 boost::units::power_typeof_helper<joule::unit_type, boost::units::static_rational<2> >::type 92 BOOST_MPL_ASSERT((boost::is_same<mass_unit, kilogram::unit_type>)); in test() 93 BOOST_MPL_ASSERT((boost::is_same<length_unit, meter::unit_type>)); in test()
|
D | test_reduce_unit.cpp | 30 …uce_unit<boost::units::si::kelvin_base_unit::unit_type>::type, boost::units::si::kelvin_base_unit:…
|
/third_party/boost/boost/units/ |
D | quantity.hpp | 99 typedef Unit unit_type; typedef in boost::units::quantity 121 unit_type force_unit_instantiation; in ~quantity() 234 BOOST_STATIC_ASSERT((is_implicitly_convertible<Unit2,unit_type>::value == true)); in operator =() 306 typedef unit<dimension_type,system_type> unit_type; typedef in boost::units::quantity 563 typedef typename unary_plus_typeof_helper<Unit>::type unit_type; typedef 564 typedef quantity<unit_type,value_type> type; 573 typedef typename unary_minus_typeof_helper<Unit>::type unit_type; typedef 574 typedef quantity<unit_type,value_type> type; 586 typedef typename add_typeof_helper<Unit1,Unit2>::type unit_type; typedef 587 typedef quantity<unit_type,value_type> type; [all …]
|
D | conversion.hpp | 71 unscale<reduce_unit<Destination::unit_type>::type>::type \ 75 typedef reduce_unit<Destination::unit_type>::type destination_type; \ 78 struct base_unit_converter<Source, reduce_unit<Destination::unit_type>::type> \ 125 typedef Dest::unit_type type; \ 144 typedef typename Dest::unit_type type; \
|
D | base_unit.hpp | 95 > unit_type; typedef in boost::units::base_unit 97 typedef detail::unspecified unit_type; typedef in boost::units::base_unit
|
D | cmath.hpp | 656 quantity<angle::radian_base_unit::unit_type,Y> 660 return quantity<angle::radian_base_unit::unit_type,Y>::from_value(acos(val.value())); in acos() 676 quantity<angle::radian_base_unit::unit_type,Y> 680 return quantity<angle::radian_base_unit::unit_type,Y>::from_value(asin(val.value())); in asin() 696 quantity<angle::radian_base_unit::unit_type,Y> 700 return quantity<angle::radian_base_unit::unit_type,Y>::from_value(atan(val.value())); in atan() 717 quantity<angle::radian_base_unit::unit_type,Y> 722 return quantity<angle::radian_base_unit::unit_type,Y>::from_value(atan2(y.value(),x.value())); in atan2()
|
D | scaled_base_unit.hpp | 57 typedef detail::unspecified unit_type; typedef 73 > unit_type; typedef
|
D | absolute.hpp | 138 reduce_unit<From::unit_type>::type, \ 139 reduce_unit<To::unit_type>::type> \
|
/third_party/boost/libs/units/example/ |
D | autoprefixes.cpp | 101 quantity<byte_base_unit::unit_type> b = 2048. * byte_base_unit::unit_type(); in main() 135 quantity<thing_base_unit::unit_type> t = 2048. * thing_base_unit::unit_type(); in main() 141 quantity<euro_base_unit::unit_type> ce = 2048. * euro_base_unit::unit_type(); in main()
|
D | quaternion.cpp | 119 >::type unit_type; typedef 121 typedef quantity<unit_type,value_type> quantity_type; 156 >::type unit_type; typedef 158 typedef quantity<unit_type,value_type> quantity_type;
|
D | runtime_conversion_factor.cpp | 34 typedef us_dollar_base_unit::unit_type us_dollar; 35 typedef euro_base_unit::unit_type euro;
|
D | complex.cpp | 333 power_typeof_helper<Unit,static_rational<N,D> >::type unit_type; typedef 334 typedef quantity<unit_type,value_type> quantity_type; 355 root_typeof_helper<Unit,static_rational<N,D> >::type unit_type; typedef 356 typedef quantity<unit_type,value_type> quantity_type;
|
/third_party/ffmpeg/libavcodec/ |
D | h264_mp4toannexb_bsf.c | 173 uint8_t unit_type, new_idr, sps_seen, pps_seen; in h264_mp4toannexb_filter() local 222 unit_type = *buf & 0x1f; in h264_mp4toannexb_filter() 224 if (unit_type == H264_NAL_SPS) { in h264_mp4toannexb_filter() 226 } else if (unit_type == H264_NAL_PPS) { in h264_mp4toannexb_filter() 242 if (!new_idr && unit_type == H264_NAL_IDR_SLICE && (buf[1] & 0x80)) in h264_mp4toannexb_filter() 246 if (new_idr && unit_type == H264_NAL_IDR_SLICE && !sps_seen && !pps_seen) { in h264_mp4toannexb_filter() 252 } else if (new_idr && unit_type == H264_NAL_IDR_SLICE && sps_seen && !pps_seen) { in h264_mp4toannexb_filter() 261 unit_type == H264_NAL_SPS || unit_type == H264_NAL_PPS, j); in h264_mp4toannexb_filter() 262 if (!new_idr && unit_type == H264_NAL_SLICE) { in h264_mp4toannexb_filter()
|
/third_party/boost/boost/units/detail/ |
D | conversion_impl.hpp | 83 typedef typename T::unit_type type; 151 : do_call_base_unit_converter<Source, typename Dest::unit_type> 161 : do_call_base_unit_converter<Source, typename Dest::unit_type> 172 typedef do_call_base_unit_converter<Dest, typename Source::unit_type> converter; 218 …wer_typeof_helper<new_source, exponent>::type, typename next_iteration::unit_type>::type unit_type; typedef 233 …s_system<heterogeneous_system_impl<dimensionless_type, dimensionless_type, no_scale> > > unit_type; typedef 262 typedef typename impl::unit_type new_dest; 292 BOOST_UNITS_DETAIL_BASE_UNIT_CONVERTER_IS_DEFINED(Source, typename Dest::unit_type), 293 BOOST_UNITS_DETAIL_BASE_UNIT_CONVERTER_IS_DEFINED(Dest, typename Source::unit_type)
|
/third_party/boost/boost/polygon/detail/ |
D | polygon_sort_adaptor.hpp | 23 typedef int unit_type; // default GTL unit typedef 52 … polygon_sort_adaptor<typename dummy_to_delay_instantiation<iter_type>::unit_type>::sort(_b_, _e_); in polygon_sort() 60 …polygon_sort_adaptor<typename dummy_to_delay_instantiation<iter_type>::unit_type>::sort(_b_, _e_, … in polygon_sort()
|
/third_party/boost/boost/histogram/axis/ |
D | regular.hpp | 52 using get_unit_type_helper = typename T::unit_type; 195 using unit_type = detail::get_unit_type<value_type>; typedef in boost::histogram::axis::regular 294 auto z = (this->forward(x / unit_type{}) - min_) / delta_; in index() 314 const auto z = (this->forward(x / unit_type{}) - min_) / delta_; in update() 354 return static_cast<value_type>(this->inverse(z) * unit_type()); in value()
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngget.c | 422 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument 443 if (unit_type != NULL) in png_get_pHYs_dpi() 445 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi() 448 if (*unit_type == 1) in png_get_pHYs_dpi() 871 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument 877 offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs() 881 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs() 979 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument 1000 if (unit_type != NULL) in png_get_pHYs() 1002 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
|
/third_party/skia/third_party/externals/libpng/ |
D | pngget.c | 422 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument 443 if (unit_type != NULL) in png_get_pHYs_dpi() 445 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi() 448 if (*unit_type == 1) in png_get_pHYs_dpi() 871 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument 877 offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs() 881 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs() 979 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument 1000 if (unit_type != NULL) in png_get_pHYs() 1002 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
|
/third_party/libpng/ |
D | pngget.c | 422 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument 443 if (unit_type != NULL) in png_get_pHYs_dpi() 445 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs_dpi() 448 if (*unit_type == 1) in png_get_pHYs_dpi() 871 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) in png_get_oFFs() argument 877 offset_x != NULL && offset_y != NULL && unit_type != NULL) in png_get_oFFs() 881 *unit_type = (int)info_ptr->offset_unit_type; in png_get_oFFs() 979 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument 1000 if (unit_type != NULL) in png_get_pHYs() 1002 *unit_type = (int)info_ptr->phys_unit_type; in png_get_pHYs()
|