/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | Period.java | 29 public final class Period { class 41 public static Period at(float count, TimeUnit unit) { in at() 43 return new Period(ETimeLimit.NOLIMIT, false, count, unit); in at() 53 public static Period moreThan(float count, TimeUnit unit) { in moreThan() 55 return new Period(ETimeLimit.MT, false, count, unit); in moreThan() 65 public static Period lessThan(float count, TimeUnit unit) { in lessThan() 67 return new Period(ETimeLimit.LT, false, count, unit); in lessThan() 81 public Period and(float count, TimeUnit unit) { in and() 92 public Period omit(TimeUnit unit) { in omit() 101 public Period at() { in at() [all …]
|
D | BasicPeriodBuilderFactory.java | 161 Period createLimited(long duration, boolean inPast) { in createLimited() 165 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited() 175 return Period.lessThan(eml/1000f, emu).inPast(inPast); in createLimited() 326 public Period create(long duration) { in create() 335 public Period createWithReferenceDate(long duration, long referenceDate) { in createWithReferenceDate() 340 Period ts = settings.createLimited(duration, inPast); in createWithReferenceDate() 344 ts = Period.lessThan(1, settings.effectiveMinUnit()).inPast(inPast); in createWithReferenceDate() 367 protected abstract Period handleCreate(long duration, long referenceDate, 396 protected Period handleCreate(long duration, long referenceDate, 402 return Period.at((float)((double)duration/unitDuration), unit) [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/ |
D | Period.java | 31 public final class Period { class 43 public static Period at(float count, TimeUnit unit) { in at() 45 return new Period(ETimeLimit.NOLIMIT, false, count, unit); in at() 55 public static Period moreThan(float count, TimeUnit unit) { in moreThan() 57 return new Period(ETimeLimit.MT, false, count, unit); in moreThan() 67 public static Period lessThan(float count, TimeUnit unit) { in lessThan() 69 return new Period(ETimeLimit.LT, false, count, unit); in lessThan() 83 public Period and(float count, TimeUnit unit) { in and() 94 public Period omit(TimeUnit unit) { in omit() 103 public Period at() { in at() [all …]
|
D | BasicPeriodBuilderFactory.java | 162 Period createLimited(long duration, boolean inPast) { in createLimited() 166 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited() 176 return Period.lessThan(eml/1000f, emu).inPast(inPast); in createLimited() 327 public Period create(long duration) { in create() 336 public Period createWithReferenceDate(long duration, long referenceDate) { in createWithReferenceDate() 341 Period ts = settings.createLimited(duration, inPast); in createWithReferenceDate() 345 ts = Period.lessThan(1, settings.effectiveMinUnit()).inPast(inPast); in createWithReferenceDate() 368 protected abstract Period handleCreate(long duration, long referenceDate, 397 protected Period handleCreate(long duration, long referenceDate, 403 return Period.at((float)((double)duration/unitDuration), unit) [all …]
|
/third_party/boost/boost/chrono/ |
D | duration.hpp | 76 template <class Rep, class Period = ratio<1> > 85 template <class Rep, class Period> 86 struct is_duration<duration<Rep, Period> > 106 template <class Rep1, class Period, class Rep2> 107 struct duration_divide_imp<duration<Rep1, Period>, Rep2, true> 109 typedef duration<typename common_type<Rep1, Rep2>::type, Period> type; 112 template <class Rep1, class Period, class Rep2> 113 struct duration_divide_result<duration<Rep1, Period>, Rep2, false> 114 : duration_divide_imp<duration<Rep1, Period>, Rep2> 136 template <class Rep1, class Rep2, class Period > [all …]
|
/third_party/boost/libs/ratio/example/ |
D | duration.hpp | 78 template <class Rep, class Period = ratio<1> > 87 template <class Rep, class Period> 88 struct is_duration<duration<Rep, Period> > 111 template <class Rep1, class Period, class Rep2> 112 struct duration_divide_imp<duration<Rep1, Period>, Rep2, true> 114 typedef duration<typename boost::common_type<Rep1, Rep2>::type, Period> type; 117 template <class Rep1, class Period, class Rep2> 118 struct duration_divide_result<duration<Rep1, Period>, Rep2, false> 119 : duration_divide_imp<duration<Rep1, Period>, Rep2> 141 template <class Rep1, class Rep2, class Period > [all …]
|
/third_party/boost/boost/thread/ |
D | null_mutex.hpp | 63 template <typename Rep, typename Period> 64 bool try_lock_for(chrono::duration<Rep, Period> const &) in try_lock_for() 98 template <typename Rep, typename Period> 99 bool try_lock_shared_for(chrono::duration<Rep, Period> const &) in try_lock_shared_for() 133 template <typename Rep, typename Period> 134 bool try_lock_upgrade_for(chrono::duration<Rep, Period> const &) in try_lock_upgrade_for() 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() 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() [all …]
|
D | lockable_adapter.hpp | 78 template <typename Rep, typename Period> 79 bool try_lock_for(chrono::duration<Rep, Period> const & rel_time) const in try_lock_for() 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() 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() 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() 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() [all …]
|
D | poly_shared_lockable.hpp | 40 template <typename Rep, typename Period> 41 bool try_lock_shared_for(chrono::duration<Rep, Period> const & rel_time) in try_lock_shared_for() 71 template <typename Rep, typename Period> 72 bool try_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) in try_lock_upgrade_for() 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() 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() 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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
D | PeriodTest.java | 20 import ohos.global.icu.impl.duration.Period; 29 Period p = Period.at(0, TimeUnit.YEAR); in testIsSet() 40 Period p = Period.moreThan(1, TimeUnit.YEAR); in testMoreLessThan() 53 p = Period.lessThan(1, TimeUnit.YEAR); in testMoreLessThan() 57 p = Period.at(1, TimeUnit.YEAR); in testMoreLessThan() 66 Period p = Period.at(1, TimeUnit.YEAR).inFuture(); in testFuturePast() 78 Period p = Period.at(1, TimeUnit.YEAR).and(3, TimeUnit.MONTH) in testAnd() 90 Period.at(-1, TimeUnit.YEAR); in testInvalidCount() 96 Period.moreThan(-1, TimeUnit.YEAR); in testInvalidCount() 102 Period.lessThan(-1, TimeUnit.YEAR); in testInvalidCount() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | PeriodTest.java | 19 import com.ibm.icu.impl.duration.Period; 26 Period p = Period.at(0, TimeUnit.YEAR); in testIsSet() 37 Period p = Period.moreThan(1, TimeUnit.YEAR); in testMoreLessThan() 50 p = Period.lessThan(1, TimeUnit.YEAR); in testMoreLessThan() 54 p = Period.at(1, TimeUnit.YEAR); in testMoreLessThan() 63 Period p = Period.at(1, TimeUnit.YEAR).inFuture(); in testFuturePast() 75 Period p = Period.at(1, TimeUnit.YEAR).and(3, TimeUnit.MONTH) in testAnd() 87 Period.at(-1, TimeUnit.YEAR); in testInvalidCount() 93 Period.moreThan(-1, TimeUnit.YEAR); in testInvalidCount() 99 Period.lessThan(-1, TimeUnit.YEAR); in testInvalidCount() [all …]
|
/third_party/boost/boost/chrono/io/ |
D | duration_put.hpp | 103 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() 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() 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() 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() 215 template <typename Rep, typename Period> 216 …type s, std::ios_base& ios, char_type fill, duration<process_times<Rep>, Period> const& d, const c… in put_value() [all …]
|
D | duration_io.hpp | 132 template <class CharT, class Traits, class Rep, class Period> 134 operator<<(std::basic_ostream<CharT, Traits>& os, const duration<Rep, Period>& d) in operator <<() 138 duration<int, Period> dd(0); in operator <<() 190 template <class CharT, class Traits, class Rep, class Period> 192 operator<<(std::basic_ostream<CharT, Traits>& os, const duration<Rep, Period>& d) in operator <<() 250 template <class CharT, class Traits, class Rep, class Period> 252 operator>>(std::basic_istream<CharT, Traits>& is, duration<Rep, Period>& d) in operator >>()
|
/third_party/boost/libs/thread/doc/ |
D | shared_mutex_ref.qbk | 23 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/libs/compute/include/boost/compute/detail/ |
D | duration.hpp | 29 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/compute/detail/ |
D | duration.hpp | 29 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_v1/ |
D | chrono_io.hpp | 53 template <class Period> 54 string_type short_name(Period) const in short_name() 55 {return ::boost::ratio_string<Period, CharT>::short_name() + short_seconds_;} in short_name() 61 template <class Period> 62 string_type long_name(Period) const in long_name() 63 {return ::boost::ratio_string<Period, CharT>::long_name() + long_seconds_;} in long_name() 83 template <class Period> 85 {return short_name(typename Period::type());} in short_name() 87 template <class Period> 89 {return long_name(typename Period::type());} in long_name() [all …]
|
/third_party/boost/libs/chrono/example/ |
D | test_duration.cpp | 35 template <class Rep, class Period> 36 void inspect_duration(boost::chrono::duration<Rep, Period> d, const std::string& name) in inspect_duration() 38 typedef boost::chrono::duration<Rep, Period> Duration; in inspect_duration() 40 …std::cout << "The period of " << name << " is " << (double)Period::num/Period::den << " seconds.\n… in inspect_duration() 41 … std::cout << "The frequency of " << name << " is " << (double)Period::den/Period::num << " Hz.\n"; in inspect_duration() 119 template <class Rep, class Period> 120 void tmpl(duration<Rep, Period> d, boost::intmax_t res) in tmpl() 130 template <class Period> 131 void tmpl2(duration<long long, Period> d, boost::intmax_t res) in tmpl2()
|
D | xtime.cpp | 38 template <class To, class Rep, class Period> 40 round_up(duration<Rep, Period> d) in round_up() 57 template <class Rep, class Period> 59 to_xtime_truncate(duration<Rep, Period> d) in to_xtime_truncate() 67 template <class Rep, class Period> 69 to_xtime_round_up(duration<Rep, Period> d) in to_xtime_round_up()
|
D | miscellaneous.cpp | 77 template <class Rep, class Period> 78 void inspect_duration(boost::chrono::duration<Rep, Period> d, const std::string& name) in inspect_duration() 80 typedef boost::chrono::duration<Rep, Period> Duration; in inspect_duration() 82 …std::cout << "The period of " << name << " is " << (double)Period::num/Period::den << " seconds.\n… in inspect_duration() 83 … std::cout << "The frequency of " << name << " is " << (double)Period::den/Period::num << " Hz.\n"; in inspect_duration()
|
/third_party/boost/boost/thread/concurrent_queues/ |
D | sync_timed_queue.hpp | 134 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/gstreamer/gstplugins_bad/tests/check/elements/dash_mpd_data/ |
D | xlink_double_period.period | 1 <Period id="xlink-double-period-Period1" duration="PT10S" xmlns="urn:mpeg:dash:schema:mpd:2011"></P… 2 <Period id="xlink-double-period-Period2" duration="PT20S" xmlns="urn:mpeg:dash:schema:mpd:2011"></P…
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Chrono.h | 100 template <typename Period> struct unit { static const char value[]; }; 101 template <typename Period> const char unit<Period>::value[] = ""; 111 template <typename Rep, typename Period> 112 struct format_provider<std::chrono::duration<Rep, Period>> { 114 typedef std::chrono::duration<Rep, Period> Dur; 139 return {D.count(), detail::unit<Period>::value};
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
D | event.h | 65 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() 202 template <typename Rep, typename Period> 203 bool Event::wait_for(const std::chrono::duration<Rep, Period>& duration) const { in wait_for()
|
/third_party/boost/boost/fiber/ |
D | condition_variable.hpp | 149 template< typename LockType, typename Rep, typename Period > 150 … cv_status wait_for( LockType & lt, std::chrono::duration< Rep, Period > const& timeout_duration) { in wait_for() 155 template< typename LockType, typename Rep, typename Period, typename Pred > 156 …bool wait_for( LockType & lt, std::chrono::duration< Rep, Period > const& timeout_duration, Pred p… in wait_for() 228 template< typename Rep, typename Period > 230 std::chrono::duration< Rep, Period > const& timeout_duration) { in wait_for() 241 template< typename Rep, typename Period, typename Pred > 243 std::chrono::duration< Rep, Period > const& timeout_duration, Pred pred) { in wait_for()
|