Home
last modified time | relevance | path

Searched refs:Duration (Results 1 – 25 of 56) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/
H A Dstopwatch.d64 Duration t1 = sw.peek();
66 Duration t2 = sw.peek();
72 Duration t3 = sw.peek();
74 Duration t4 = sw.peek();
80 Duration t5 = sw.peek();
112 assert(sw.peek() > Duration.zero);
118 assert(sw.peek() == Duration.zero);
124 assert(sw.peek() == Duration.zero);
153 assert(sw.peek() > Duration.zero);
155 assert(sw.peek() == Duration.zero);
[all …]
H A Dpackage.d25 $(REF Duration, core,time), $(REF TickDuration, core,time), and
175 $(REF Monotime,core,time) and $(REF Duration,core,time) rather
H A Dsystime.d1941 @property Duration utcOffset() @safe const nothrow
5782 Gives the result of adding or subtracting a $(REF Duration, core,time)
5789 $(TR $(TD SysTime) $(TD +) $(TD Duration) $(TD -->) $(TD SysTime))
5790 $(TR $(TD SysTime) $(TD -) $(TD Duration) $(TD -->) $(TD SysTime))
5794 duration = The $(REF Duration, core,time) to add to or subtract from
5797 SysTime opBinary(string op)(Duration duration) @safe const pure nothrow
5996 Gives the result of adding or subtracting a $(REF Duration, core,time) from
6003 $(TR $(TD SysTime) $(TD +) $(TD Duration) $(TD -->) $(TD SysTime))
6004 $(TR $(TD SysTime) $(TD -) $(TD Duration) $(TD -->) $(TD SysTime))
6008 duration = The $(REF Duration, core,time) to add to or subtract from
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/datetime/
H A Dstopwatch.d108 assert(sw.peek() > Duration.zero);
114 assert(sw.peek() == Duration.zero);
120 assert(sw.peek() == Duration.zero);
149 assert(sw.peek() > Duration.zero);
151 assert(sw.peek() == Duration.zero);
195 assert(sw.peek() == Duration.zero);
199 assert(sw.peek() > Duration.zero);
225 assert(t1 > Duration.zero);
243 Calling $(LREF reset) will reset this to `Duration.zero`.
245 Duration peek() @safe const nothrow @nogc in peek()
[all …]
H A Dpackage.d43 $(REF_ALTTEXT Duration, Duration, core, time)$(NBSP)
H A Dtimezone.d31 import core.time : abs, convert, dur, Duration, hours, minutes;
173 Duration utcOffsetAt(long stdTime) @safe const scope nothrow in utcOffsetAt()
217 Duration utcOffset,
218 Duration dstOffset,
234 immutable hasDST = dstOffset != Duration.zero;
405 void testOffset1(Duration offset, bool dstInEffect, size_t line = __LINE__)
462 void testOffset2(Duration offset, size_t line = __LINE__)
1235 Returns a $(REF Duration, core,time) of 0.
1241 override Duration utcOffsetAt(long stdTime) @safe const scope nothrow in utcOffsetAt()
1349 Returns utcOffset as a $(REF Duration, core,time).
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sync/
H A Drwmutex.d313 @trusted bool tryLock(Duration timeout) in tryLock()
323 enum zero = Duration.zero(); in tryLock()
347 @trusted bool tryLock(Duration timeout) shared in tryLock()
552 @trusted bool tryLock(Duration timeout) in tryLock()
562 enum zero = Duration.zero(); in tryLock()
586 @trusted bool tryLock(Duration timeout) shared in tryLock()
809 assert(!rwmutex.reader.tryLock(Duration.min)); in testReaderTryLock()
811 assert(rwmutex.reader.tryLock(Duration.max)); in testReaderTryLock()
815 …assert(rwmutex.writer.tryLock(Duration.zero), "should have been able to obtain lock without blocki…
842 assert(!rwmutex.writer.tryLock(Duration.min)); in testWriterTryLock()
[all …]
H A Dconfig.d45 void mktspec( ref timespec t, Duration delta ) nothrow @nogc in version()
52 void mvtspec( ref timespec t, Duration delta ) nothrow @nogc in version()
H A Devent.d219 return wait(Duration.max); in wait()
232 bool wait(Duration tmout) in wait()
261 if (tmout == Duration.max) in wait()
H A Dcondition.d254 bool wait( Duration val ) in wait()
260 bool wait( Duration val ) shared in wait()
266 bool wait(this Q)( Duration val, bool _unused_ )
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Dtime.d4 Module containing core time functionality, such as $(LREF Duration) (which
470 $(D Duration)s.
505 Duration is `zero`). Any code needing a specific string format should
579 A $(D Duration) of $(D 0). It's shorter than doing something like
2246 Subtracting two MonoTimes results in a $(LREF Duration) representing
2257 Duration timeElapsed = after - before;
2262 Because $(LREF Duration) is in hnsecs, whereas MonoTime is in system
2277 rather than using $(LREF Duration).
2279 Duration opBinary(string op)(MonoTimeImpl rhs) const pure nothrow @nogc
2283 return Duration(convClockFreq(diff , ticksPerSecond, hnsecsPer!"seconds"));
[all …]
H A Dmemory.d252 import core.time : Duration;
256 Duration totalCollectionTime;
258 Duration totalPauseTime;
260 Duration maxPauseTime;
262 Duration maxCollectionTime;
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dcondition_variable37 template <class Clock, class Duration>
40 const chrono::time_point<Clock, Duration>& abs_time);
42 template <class Clock, class Duration, class Predicate>
45 const chrono::time_point<Clock, Duration>& abs_time,
82 template <class Lock, class Clock, class Duration>
85 const chrono::time_point<Clock, Duration>& abs_time);
87 template <class Lock, class Clock, class Duration, class Predicate>
90 const chrono::time_point<Clock, Duration>& abs_time,
H A Dshared_mutex58 template <class Clock, class Duration>
59 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
68 template <class Clock, class Duration>
70 try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
86 template <class Clock, class Duration>
88 const chrono::time_point<Clock, Duration>& abs_time);
104 template <class Clock, class Duration>
105 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
403 template <class Clock, class Duration>
404 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
H A Dchrono106 template <class Clock, class Duration = typename Clock::duration>
111 typedef Duration duration;
245 template <class ToDuration, class Clock, class Duration>
246 time_point<Clock, ToDuration> time_point_cast(const time_point<Clock, Duration>& t);
248 template <class ToDuration, class Clock, class Duration>
250 floor(const time_point<Clock, Duration>& tp); // C++17
252 template <class ToDuration, class Clock, class Duration>
254 ceil(const time_point<Clock, Duration>& tp); // C++17
256 template <class ToDuration, class Clock, class Duration>
258 round(const time_point<Clock, Duration>& tp); // C++17
[all …]
H A Dsemaphore35 template<class Clock, class Duration>
36 bool try_acquire_until(const chrono::time_point<Clock, Duration>& abs_time);
220 template <class Clock, class Duration>
222 bool try_acquire_until(chrono::time_point<Clock, Duration> const& __abs_time)
H A Dmutex66 template <class Clock, class Duration>
67 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
84 template <class Clock, class Duration>
85 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
136 template <class Clock, class Duration>
137 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
153 template <class Clock, class Duration>
154 bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
H A Dfuture170 template <class Clock, class Duration>
172 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
197 template <class Clock, class Duration>
199 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
224 template <class Clock, class Duration>
226 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
251 template <class Clock, class Duration>
253 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
278 template <class Clock, class Duration>
280 wait_until(const chrono::time_point<Clock, Duration>& abs_time) const;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DCachePruning.cpp51 static Expected<std::chrono::seconds> parseDuration(StringRef Duration) { in parseDuration() argument
52 if (Duration.empty()) in parseDuration()
56 StringRef NumStr = Duration.slice(0, Duration.size()-1); in parseDuration()
62 switch (Duration.back()) { in parseDuration()
70 return make_error<StringError>("'" + Duration + in parseDuration()
H A DTimeProfiler.cpp102 DurationType Duration = E.End - E.Start; in end() local
105 if (duration_cast<microseconds>(Duration).count() >= TimeTraceGranularity) in end()
118 CountAndTotal.second += Duration; in end()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/net/
H A Dcurl.d1492 import core.time : Duration; in WorkerThreadProtocol()
1528 bool wait(Duration d) in WorkerThreadProtocol()
1875 import core.time : Duration; in Protocol()
1920 @property void dataTimeout(Duration d) in Protocol()
1929 @property void operationTimeout(Duration d) in Protocol()
1935 @property void connectTimeout(Duration d) in Protocol()
1970 @property void dnsTimeout(Duration d) in Protocol()
2675 @property void dataTimeout(Duration d); in version()
2680 @property void operationTimeout(Duration d); in version()
2683 @property void connectTimeout(Duration d); in version()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/ada/
H A Dtest.adb267 Curr_Dur : Duration := Clock - Time_Stamp;
278 Put_Line (" duration =" & Duration'Image (Curr_Dur));
/netbsd-src/external/gpl3/gdb/dist/zlib/contrib/ada/
H A Dtest.adb267 Curr_Dur : Duration := Clock - Time_Stamp;
278 Put_Line (" duration =" & Duration'Image (Curr_Dur));
/netbsd-src/external/gpl3/binutils/dist/zlib/contrib/ada/
H A Dtest.adb267 Curr_Dur : Duration := Clock - Time_Stamp;
278 Put_Line (" duration =" & Duration'Image (Curr_Dur));
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/net/
H A Dcurl.d1493 bool wait(Duration d) in WorkerThreadProtocol()
1976 @property void dataTimeout(Duration d) in Protocol()
1985 @property void operationTimeout(Duration d) in Protocol()
1991 @property void connectTimeout(Duration d) in Protocol()
2026 @property void dnsTimeout(Duration d) in Protocol()
2702 @property void dataTimeout(Duration d); in version()
2707 @property void operationTimeout(Duration d); in version()
2710 @property void connectTimeout(Duration d); in version()
2733 @property void dnsTimeout(Duration d); in version()
3475 @property void dataTimeout(Duration d); in version()
[all …]

123