| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/ |
| H A D | stopwatch.d | 64 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 D | package.d | 25 $(REF Duration, core,time), $(REF TickDuration, core,time), and 175 $(REF Monotime,core,time) and $(REF Duration,core,time) rather
|
| H A D | systime.d | 1941 @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 D | stopwatch.d | 108 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 D | package.d | 43 $(REF_ALTTEXT Duration, Duration, core, time)$(NBSP)
|
| H A D | timezone.d | 31 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 D | rwmutex.d | 313 @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 D | config.d | 45 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 D | event.d | 219 return wait(Duration.max); in wait() 232 bool wait(Duration tmout) in wait() 261 if (tmout == Duration.max) in wait()
|
| H A D | condition.d | 254 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 D | time.d | 4 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 D | memory.d | 252 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 D | condition_variable | 37 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 D | shared_mutex | 58 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 D | chrono | 106 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 D | semaphore | 35 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 D | mutex | 66 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 D | future | 170 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 D | CachePruning.cpp | 51 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 D | TimeProfiler.cpp | 102 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 D | curl.d | 1492 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 D | test.adb | 267 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 D | test.adb | 267 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 D | test.adb | 267 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 D | curl.d | 1493 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 …]
|