Home
last modified time | relevance | path

Searched refs:Rep (Results 1 – 25 of 217) sorted by relevance

123456789

/third_party/boost/libs/chrono/test/
Drep.h19 class Rep
23 BOOST_CONSTEXPR Rep() : data_() {} in Rep() function
24 explicit BOOST_CONSTEXPR Rep(int i) : data_(i) {} in Rep() function
27 BOOST_CONSTEXPR bool operator==(const Rep& r) const {return data_ == r.data_;}
29 Rep& operator*=(Rep x) {data_ *= x.data_; return *this;}
30 Rep& operator/=(Rep x) {data_ /= x.data_; return *this;}
37 struct numeric_limits<Rep>
39 static BOOST_CONSTEXPR Rep max BOOST_PREVENT_MACRO_SUBSTITUTION ()
41 return Rep((std::numeric_limits<int>::max)());
50 struct duration_values<Rep>
[all …]
/third_party/boost/libs/chrono/test/duration/
Dduration_values_pass.cpp28 typedef typename D::rep Rep; in check_max() typedef
29 Rep max_rep = (boost::chrono::duration_values<Rep>::max)(); in check_max()
32 typedef typename D::rep Rep; in check_max() typedef
33 BOOST_CHRONO_LIB_CONSTEXPR Rep max_rep = (boost::chrono::duration_values<Rep>::max)(); in check_max()
41 typedef typename D::rep Rep; in check_min() typedef
42 Rep min_rep = (boost::chrono::duration_values<Rep>::min)(); in check_min()
45 typedef typename D::rep Rep; in check_min() typedef
46 BOOST_CHRONO_LIB_CONSTEXPR Rep min_rep = (boost::chrono::duration_values<Rep>::min)(); in check_min()
55 typedef typename D::rep Rep; in check_zero() typedef
56 Rep zero_rep = boost::chrono::duration_values<Rep>::zero(); in check_zero()
[all …]
Dconstructor_pass.cpp93 check_default<boost::chrono::duration<Rep> >(); in main()
110 check_from_rep<boost::chrono::duration<Rep, boost::ratio<3, 2> > >(Rep(3)); in main()
112 BOOST_CONSTEXPR boost::chrono::duration<Rep, boost::ratio<3, 2> > d(Rep(3)); in main()
113 BOOST_CONSTEXPR_ASSERT(d.count() == Rep(3)); in main()
Dtypedefs_pass.cpp26 typedef typename D::rep Rep; in check_duration() typedef
28 BOOST_CHRONO_STATIC_ASSERT(boost::is_signed<Rep>::value, NOTHING, ()); in check_duration()
29 BOOST_CHRONO_STATIC_ASSERT(boost::is_integral<Rep>::value, NOTHING, ()); in check_duration()
30 BOOST_CHRONO_STATIC_ASSERT(std::numeric_limits<Rep>::digits >= ExpectedDigits, NOTHING, ()); in check_duration()
/third_party/boost/boost/thread/
Dnull_mutex.hpp63 template <typename Rep, typename Period>
64 bool try_lock_for(chrono::duration<Rep, Period> const &) in try_lock_for() argument
98 template <typename Rep, typename Period>
99 bool try_lock_shared_for(chrono::duration<Rep, Period> const &) in try_lock_shared_for() argument
133 template <typename Rep, typename Period>
134 bool try_lock_upgrade_for(chrono::duration<Rep, Period> const &) in try_lock_upgrade_for() argument
157 template <typename Rep, typename Period>
158 bool try_unlock_shared_and_lock_for(chrono::duration<Rep, Period> const &) in try_unlock_shared_and_lock_for() argument
188 template <typename Rep, typename Period>
189 bool try_unlock_shared_and_lock_upgrade_for(chrono::duration<Rep, Period> const &) in try_unlock_shared_and_lock_upgrade_for() argument
[all …]
Dlockable_adapter.hpp78 template <typename Rep, typename Period>
79 bool try_lock_for(chrono::duration<Rep, Period> const & rel_time) const in try_lock_for() argument
112 template <typename Rep, typename Period>
113 bool try_lock_shared_for(chrono::duration<Rep, Period> const & rel_time) const in try_lock_shared_for() argument
149 template <typename Rep, typename Period>
150 bool try_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) const in try_lock_upgrade_for() argument
165 template <typename Rep, typename Period>
166 bool try_unlock_shared_and_lock_for(chrono::duration<Rep, Period> const & rel_time) const in try_unlock_shared_and_lock_for() argument
186 template <typename Rep, typename Period>
187 … bool try_unlock_shared_and_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) const in try_unlock_shared_and_lock_upgrade_for() argument
[all …]
Dpoly_shared_lockable.hpp40 template <typename Rep, typename Period>
41 bool try_lock_shared_for(chrono::duration<Rep, Period> const & rel_time) in try_lock_shared_for() argument
71 template <typename Rep, typename Period>
72 bool try_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) in try_lock_upgrade_for() argument
88 template <typename Rep, typename Period>
89 bool try_unlock_shared_and_lock_for(chrono::duration<Rep, Period> const & rel_time) in try_unlock_shared_and_lock_for() argument
106 template <typename Rep, typename Period>
107 bool try_unlock_shared_and_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) in try_unlock_shared_and_lock_upgrade_for() argument
125 template <typename Rep, typename Period>
126 bool try_unlock_upgrade_and_lock_for(chrono::duration<Rep, Period> const & rel_time) in try_unlock_upgrade_and_lock_for() argument
/third_party/boost/boost/chrono/
Dprocess_cpu_clocks.hpp77 template <typename Rep>
79 : arithmetic<process_times<Rep>,
80 multiplicative<process_times<Rep>, Rep,
81 less_than_comparable<process_times<Rep> > > >
84 typedef Rep rep;
325 template <class CharT, class Traits, typename Rep>
328 process_times<Rep> const& rhs) in operator <<()
334 template <class CharT, class Traits, typename Rep>
337 process_times<Rep>& rhs) in operator >>()
343 template <typename Rep>
[all …]
Dduration.hpp76 template <class Rep, class Period = ratio<1> >
85 template <class Rep, class Period>
86 struct is_duration<duration<Rep, Period> >
89 template <class Duration, class Rep, bool = is_duration<Rep>::value>
119 template <class Rep, class Duration, bool = is_duration<Rep>::value>
124 template <class Rep, class Duration,
127 typename common_type<typename Duration::rep, Rep>::type>::value))
128 && ((boost::is_convertible<Rep,
129 typename common_type<typename Duration::rep, Rep>::type>::value))
150 template <class Duration, class Rep, bool = is_duration<Rep>::value>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp1386 Value *Rep = Builder.CreateCall(Intrin, in UpgradeX86MaskedShift() local
1388 return EmitX86Select(Builder, CI.getArgOperand(3), Rep, CI.getArgOperand(2)); in UpgradeX86MaskedShift()
1416 CallInst &CI, Value *&Rep) { in upgradeAVX512MaskToSelect() argument
1646 Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in upgradeAVX512MaskToSelect()
1649 Rep = EmitX86Select(Builder, CI.getArgOperand(NumArgs - 1), Rep, in upgradeAVX512MaskToSelect()
1795 Value *Rep; in UpgradeIntrinsicCall() local
1801 Rep = Builder.CreateICmp(CmpEq ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_SGT, in UpgradeIntrinsicCall()
1803 Rep = Builder.CreateSExt(Rep, CI->getType(), ""); in UpgradeIntrinsicCall()
1810 Rep = Builder.CreateZExt(CI->getArgOperand(0), ExtTy); in UpgradeIntrinsicCall()
1811 Rep = Builder.CreateVectorSplat(NumElts, Rep); in UpgradeIntrinsicCall()
[all …]
/third_party/boost/libs/thread/doc/
Dshared_mutex_ref.qbk23 template <class Rep, class Period>
24 bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
31 template <class Rep, class Period>
32 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
80 template <class Rep, class Period>
81 bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
88 template <class Rep, class Period>
89 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
95 template <class Rep, class Period>
96 bool try_lock_upgrade_for(const chrono::duration<Rep, Period>& rel_time);
[all …]
/third_party/boost/boost/compute/detail/
Dduration.hpp29 template<class Rep, class Period>
30 inline std::chrono::duration<Rep, Period>
31 make_duration_from_nanoseconds(std::chrono::duration<Rep, Period>, size_t nanoseconds) in make_duration_from_nanoseconds() argument
33 return std::chrono::duration_cast<std::chrono::duration<Rep, Period> >( in make_duration_from_nanoseconds()
40 template<class Rep, class Period>
41 inline boost::chrono::duration<Rep, Period>
42 make_duration_from_nanoseconds(boost::chrono::duration<Rep, Period>, size_t nanoseconds) in make_duration_from_nanoseconds() argument
44 return boost::chrono::duration_cast<boost::chrono::duration<Rep, Period> >( in make_duration_from_nanoseconds()
/third_party/boost/libs/compute/include/boost/compute/detail/
Dduration.hpp29 template<class Rep, class Period>
30 inline std::chrono::duration<Rep, Period>
31 make_duration_from_nanoseconds(std::chrono::duration<Rep, Period>, size_t nanoseconds) in make_duration_from_nanoseconds() argument
33 return std::chrono::duration_cast<std::chrono::duration<Rep, Period> >( in make_duration_from_nanoseconds()
40 template<class Rep, class Period>
41 inline boost::chrono::duration<Rep, Period>
42 make_duration_from_nanoseconds(boost::chrono::duration<Rep, Period>, size_t nanoseconds) in make_duration_from_nanoseconds() argument
44 return boost::chrono::duration_cast<boost::chrono::duration<Rep, Period> >( in make_duration_from_nanoseconds()
/third_party/boost/boost/chrono/io/
Dduration_put.hpp103 template <typename Rep, typename Period>
104 …iter_type put(iter_type s, std::ios_base& ios, char_type fill, duration<Rep, Period> const& d, con… in put() argument
120 template <typename Rep, typename Period>
122 …duration<Rep, Period> const& d, const CharT* pattern, const CharT* pat_end, const char_type* val =… in put() argument
172 template <typename Rep, typename Period>
173 …iter_type put(iter_type s, std::ios_base& ios, char_type fill, duration<Rep, Period> const& d, con… in put() argument
200 template <typename Rep, typename Period>
201 …iter_type put_value(iter_type s, std::ios_base& ios, char_type fill, duration<Rep, Period> const& … in put_value() argument
212 static_cast<typename detail::propagate<Rep>::type> (d.count())); in put_value()
215 template <typename Rep, typename Period>
[all …]
Dduration_get.hpp35 template <class Rep, bool = is_scalar<Rep>::value>
38 typedef Rep type;
41 template <class Rep>
42 struct duration_io_intermediate<Rep, true>
44 typedef typename mpl::if_c<is_floating_point<Rep>::value, long double, typename mpl::if_c<
45 is_signed<Rep>::value, long long, unsigned long long>::type>::type type;
48 template <class Rep>
49 struct duration_io_intermediate<process_times<Rep>, false>
51 typedef process_times<typename duration_io_intermediate<Rep>::type> type;
175 template <typename Rep, typename Period>
[all …]
Dduration_io.hpp117 template <class Rep>
120 is_integral<Rep>::value || is_floating_point<Rep>::value
132 template <class CharT, class Traits, class Rep, class Period>
133 …typename boost::enable_if_c< ! duration_put_enabled<Rep>::value, std::basic_ostream<CharT, Traits>…
134 operator<<(std::basic_ostream<CharT, Traits>& os, const duration<Rep, Period>& d) in operator <<() argument
190 template <class CharT, class Traits, class Rep, class Period>
191 …typename boost::enable_if_c< duration_put_enabled<Rep>::value, std::basic_ostream<CharT, Traits>& …
192 operator<<(std::basic_ostream<CharT, Traits>& os, const duration<Rep, Period>& d) in operator <<() argument
250 template <class CharT, class Traits, class Rep, class Period>
252 operator>>(std::basic_istream<CharT, Traits>& is, duration<Rep, Period>& d) in operator >>() argument
/third_party/boost/libs/ratio/example/
Dduration.hpp78 template <class Rep, class Period = ratio<1> >
87 template <class Rep, class Period>
88 struct is_duration<duration<Rep, Period> >
94 template <class Duration, class Rep, bool = is_duration<Rep>::value>
124 template <class Rep, class Duration, bool = is_duration<Rep>::value>
129 template <class Rep, class Duration,
132 typename boost::common_type<typename Duration::rep, Rep>::type>::value)
133 && (boost::is_convertible<Rep,
134 typename boost::common_type<typename Duration::rep, Rep>::type>::value)
155 template <class Duration, class Rep, bool = is_duration<Rep>::value>
[all …]
/third_party/boost/libs/chrono/example/
Dtest_duration.cpp35 template <class Rep, class Period>
36 void inspect_duration(boost::chrono::duration<Rep, Period> d, const std::string& name) in inspect_duration() argument
38 typedef boost::chrono::duration<Rep, Period> Duration; in inspect_duration()
43 if (boost::is_floating_point<Rep>::value) in inspect_duration()
47 std::cout << std::numeric_limits<Rep>::digits10 << " decimal digits.\n"; in inspect_duration()
49 else if (boost::is_integral<Rep>::value) in inspect_duration()
52 d = Duration(Rep(1)); in inspect_duration()
59 d = Duration(Rep(1)); in inspect_duration()
63 d = Duration((std::numeric_limits<Rep>::max)()); in inspect_duration()
119 template <class Rep, class Period>
[all …]
Dmiscellaneous.cpp77 template <class Rep, class Period>
78 void inspect_duration(boost::chrono::duration<Rep, Period> d, const std::string& name) in inspect_duration() argument
80 typedef boost::chrono::duration<Rep, Period> Duration; in inspect_duration()
85 if (boost::is_floating_point<Rep>::value) in inspect_duration()
89 std::cout << std::numeric_limits<Rep>::digits10 << " decimal digits.\n"; in inspect_duration()
91 else if (boost::is_integral<Rep>::value) in inspect_duration()
94 d = Duration(Rep(1)); in inspect_duration()
101 d = Duration(Rep(1)); in inspect_duration()
105 d = Duration((std::numeric_limits<Rep>::max)()); in inspect_duration()
Dxtime.cpp38 template <class To, class Rep, class Period>
40 round_up(duration<Rep, Period> d) in round_up() argument
57 template <class Rep, class Period>
59 to_xtime_truncate(duration<Rep, Period> d) in to_xtime_truncate() argument
67 template <class Rep, class Period>
69 to_xtime_round_up(duration<Rep, Period> d) in to_xtime_round_up() argument
/third_party/boost/boost/thread/concurrent_queues/
Dsync_timed_queue.hpp134 template <class Rep, class Period>
135 queue_op_status pull_for(chrono::duration<Rep,Period> const& dura, T& elem);
143 template <class Rep, class Period>
144 void push(const T& elem, chrono::duration<Rep,Period> const& dura);
148 template <class Rep, class Period>
149 void push(BOOST_THREAD_RV_REF(T) elem, chrono::duration<Rep,Period> const& dura);
153 template <class Rep, class Period>
154 queue_op_status try_push(const T& elem, chrono::duration<Rep,Period> const& dura);
158 template <class Rep, class Period>
159 queue_op_status try_push(BOOST_THREAD_RV_REF(T) elem, chrono::duration<Rep,Period> const& dura);
[all …]
/third_party/boost/libs/chrono/test/traits/
Dduration_values_pass.cpp27 BOOST_TEST((boost::chrono::duration_values<Rep>::min)() == in main()
28 (std::numeric_limits<Rep>::min)()); in main()
34 BOOST_TEST((boost::chrono::duration_values<Rep>::max)() == in main()
35 (std::numeric_limits<Rep>::max)()); in main()
38 BOOST_TEST(boost::chrono::duration_values<Rep>::zero() == 0); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Devent.h65 template <typename Rep, typename Period>
67 const std::chrono::duration<Rep, Period>& duration) const;
113 template <typename Rep, typename Period>
115 const std::chrono::duration<Rep, Period>& duration);
158 template <typename Rep, typename Period>
160 const std::chrono::duration<Rep, Period>& duration) { in wait_for() argument
202 template <typename Rep, typename Period>
203 bool Event::wait_for(const std::chrono::duration<Rep, Period>& duration) const { in wait_for() argument
/third_party/boost/libs/pfr/test/run/
Doptional_chrono.cpp15 template <class Rep, class Period>
23 … std::is_convertible<T, Rep>::value // <= libstdc++ fix for LWG3050 is 's/T/const T&/g' in bogus_duration()
30 typename std::enable_if<std::is_convertible<Period2, Rep>::value>::type* = nullptr) in bogus_duration()
34 Rep get_rep() const { return rep_; } in get_rep()
37 Rep rep_{0};
/third_party/boost/boost/chrono/io_v1/
Dchrono_io.hpp202 template <class CharT, class Traits, class Rep, class Period>
204 operator<<(std::basic_ostream<CharT, Traits>& os, const duration<Rep, Period>& d) in operator <<() argument
215 template <class Rep, bool = is_scalar<Rep>::value>
218 typedef Rep type;
221 template <class Rep>
222 struct duration_io_intermediate<Rep, true>
226 is_floating_point<Rep>::value,
230 is_signed<Rep>::value,
264 template <class CharT, class Traits, class Rep, class Period>
266 operator>>(std::basic_istream<CharT, Traits>& is, duration<Rep, Period>& d) in operator >>() argument
[all …]

123456789