| /src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/ |
| 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 @nog [all...] |
| package.d | 43 $(REF_ALTTEXT Duration, Duration, core, time)$(NBSP) 147 // Verify Examples for core.time.Duration which couldn't be in core.time.
|
| timezone.d | 31 import core.time : abs, convert, dur, Duration, hours, minutes; 173 Duration utcOffsetAt(long stdTime) @safe const scope nothrow 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__) 994 void testOffset1(Duration offset, bool dstInEffect, size_t line = __LINE__) 1051 void testOffset2(Duration offset, size_t line = __LINE__) 1235 Returns a $(REF Duration, core,time) of 0 [all...] |
| date.d | 2123 import core.time : Duration; 2125 Gives the result of adding or subtracting a $(REF Duration, core,time) 2132 $(TR $(TD DateTime) $(TD +) $(TD Duration) $(TD -->) $(TD DateTime)) 2133 $(TR $(TD DateTime) $(TD -) $(TD Duration) $(TD -->) $(TD DateTime)) 2137 duration = The $(REF Duration, core,time) to add to or subtract from 2140 DateTime opBinary(string op)(Duration duration) const @safe pure nothrow @nogc 2144 immutable seconds = duration.total!"seconds"; 2208 auto duration = dur!"seconds"(12) [all...] |
| systime.d | 81 import core.time;// : ClockType, convert, dur, Duration, seconds, TimeException; 536 this(dateTime, Duration.zero, tz); 558 test(DateTime(1, 1, 1, 0, 0, 0), new immutable SimpleTimeZone(Duration.zero), 0); 584 this(DateTime dateTime, Duration fracSecs, return scope immutable TimeZone tz = null) return scope @safe 586 enforce(fracSecs >= Duration.zero, new DateTimeException("A SysTime cannot have negative fractional seconds.")); 602 static void test(DateTime dt, Duration fracSecs, immutable TimeZone tz, long expected) 607 format("Given DateTime: %s, Given Duration: %s", dt, fracSecs)); 610 test(DateTime.init, Duration.zero, UTC(), 0); 611 test(DateTime(1, 1, 1, 12, 30, 33), Duration.zero, UTC(), 450_330_000_000L); 612 test(DateTime(0, 12, 31, 12, 30, 33), Duration.zero, UTC(), -413_670_000_000L) [all...] |
| interval.d | 37 import core.time : Duration, dur; 152 duration = The duration from the starting point to the end point. 164 this(D)(scope const TP begin, scope const D duration) pure 165 if (__traits(compiles, begin + duration)) 168 _end = begin + duration; 265 Returns the duration between `begin` and `end`. 1096 Shifts the interval forward or backwards in time by the given duration 1097 (a positive duration shifts the interval forward; a negative duration [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sync/ |
| config.d | 45 void mktspec( ref timespec t, Duration delta ) nothrow @nogc 52 void mvtspec( ref timespec t, Duration delta ) nothrow @nogc
|
| rwmutex.d | 313 @trusted bool tryLock(Duration timeout) 323 enum zero = Duration.zero(); 330 enum maxWaitPerCall = dur!"hours"(24 * 365); // Avoid problems calling wait with huge Duration. 347 @trusted bool tryLock(Duration timeout) shared 361 // Avoid problems calling wait(Duration) with huge arguments. 552 @trusted bool tryLock(Duration timeout) 562 enum zero = Duration.zero(); 569 enum maxWaitPerCall = dur!"hours"(24 * 365); // Avoid problems calling wait with huge Duration. 586 @trusted bool tryLock(Duration timeout) shared 600 // Avoid problems calling wait(Duration) with huge arguments [all...] |
| event.d | 219 return wait(Duration.max); 232 bool wait(Duration tmout) 261 if (tmout == Duration.max)
|
| condition.d | 254 bool wait( Duration val ) 260 bool wait( Duration val ) shared 266 bool wait(this Q)( Duration val, bool _unused_ )
|
| semaphore.d | 195 bool wait( Duration period )
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| CachePruning.cpp | 51 static Expected<std::chrono::seconds> parseDuration(StringRef Duration) { 52 if (Duration.empty()) 53 return make_error<StringError>("Duration must not be empty", 56 StringRef NumStr = Duration.slice(0, Duration.size()-1); 62 switch (Duration.back()) { 70 return make_error<StringError>("'" + Duration +
|
| TimeProfiler.cpp | 42 typedef duration<steady_clock::rep, steady_clock::period> DurationType; 60 // rather than casting duration. This avoid truncation issues causing inner 101 // Calculate duration at full precision for overall counts. 102 DurationType Duration = E.End - E.Start; 105 if (duration_cast<microseconds>(Duration).count() >= TimeTraceGranularity) 118 CountAndTotal.second += Duration;
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/ |
| time.d | 4 Module containing core time functionality, such as $(LREF Duration) (which 5 represents a duration of time) or $(LREF MonoTime) (which represents a 19 $(TR $(TDNW $(LREF Duration)) $(TD Represents a duration of time of weeks 21 $(TR $(TDNW $(LREF TickDuration)) $(TD Represents a duration of time in 28 $(TR $(TDNW $(LREF dur)) $(TD Allows constructing a $(LREF Duration) from 34 $(TR $(TDNW $(LREF abs)) $(TD Returns the absolute value of a duration.)) 39 $(TH From $(LREF Duration)) 43 $(TR $(TD $(B To $(LREF Duration))) 45 $(TD $(D tickDuration.)$(REF_SHORT to, std,conv)$(D !Duration())) [all...] |
| memory.d | 252 import core.time : Duration; 256 Duration totalCollectionTime; 258 Duration totalPauseTime; 260 Duration maxPauseTime; 262 Duration maxCollectionTime;
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/net/ |
| curl.d | 1492 import core.time : Duration; 1525 /** Wait for duration or until data is available and return true if data is 1528 bool wait(Duration d) 1631 * until data becomes available. An exception to this is the `wait(Duration)` method on 1633 * specified duration and return true if data is available. 1758 * until data becomes available. An exception to this is the `wait(Duration)` 1760 * duration and return true if data is available. 1875 import core.time : Duration; 1920 @property void dataTimeout(Duration d) 1929 @property void operationTimeout(Duration d [all...] |
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| event-loop.cc | 789 /* Convert a std::chrono duration to a struct timeval. */ 791 template<typename Duration> 793 duration_cast_timeval (const Duration &d) 825 steady_clock::duration d = timer_list.first_timer->when - time_now;
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| event-loop.cc | 789 /* Convert a std::chrono duration to a struct timeval. */ 791 template<typename Duration> 793 duration_cast_timeval (const Duration &d) 825 steady_clock::duration d = timer_list.first_timer->when - time_now;
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| concurrency.d | 956 * arrives within a specified duration. 958 * Receive a message from another thread, or block until `duration` exceeds, 970 * duration = Duration, how long to wait. If `duration` is negative, 980 bool receiveTimeout(T...)(Duration duration, T ops) 990 return thisInfo.ident.mbox.get(duration, ops); 1539 override bool wait(Duration period) nothrow 2129 static if (isImplicitlyConvertible!(T[0], Duration)) [all...] |
| socket.d | 30 import core.time : dur, Duration; 2131 /// Duration timeout value. 2652 Duration readBack = void; 3195 /// Get a timeout (duration) option. 3196 void getOption(SocketOptionLevel level, SocketOption option, out Duration result) @trusted 3243 * Sets a timeout (duration) option, i.e. `SocketOption.SNDTIMEO` or 3252 * timeout duration seems to be the one set on the socket plus half 3261 * value = The timeout duration to set. Must not be negative. 3284 void setOption(SocketOptionLevel level, SocketOption option, Duration value) @trusted 3290 "Timeout duration must not be negative.")) [all...] |
| process.d | 2334 int performWait(Duration timeout) @safe 2463 If the process terminates within the given duration it behaves exactly like 2466 If the process does not terminate within the given duration it will stop 2487 Tuple!(bool, "terminated", int, "status") waitTimeout(Pid pid, Duration timeout) @safe; 2490 Tuple!(bool, "terminated", int, "status") waitTimeout(Pid pid, Duration timeout) @safe
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/gc/impl/conservative/ |
| gc.d | 60 __gshared Duration prepTime; 61 __gshared Duration markTime; 62 __gshared Duration sweepTime; 63 __gshared Duration pauseTime; 64 __gshared Duration maxPauseTime; 65 __gshared Duration maxCollectionTime; 1566 static Duration toDuration(long dur) 3091 Duration pause = stop - begin; 3128 Duration pause = stop - begin; 3158 Duration collectionTime = stop - begin [all...] |
| /src/external/apache2/mDNSResponder/dist/mDNSShared/ |
| CommonServices.h | 1075 /*! @enum Duration 1077 @abstract Type used to specify a duration of time. 1090 Duration values are intended to be multiplied by the specific interval to achieve an actual duration. For example, 1095 typedef int32_t Duration;
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/thread/ |
| osthread.d | 965 * duration supported by the operating system. 968 * val = The minimum duration the calling thread should be suspended. 981 static void sleep( Duration val ) @nogc nothrow 1024 assert(0, "Unable to sleep for the specified duration"); 1735 Duration waittime = dur!"usecs"(10);
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGExpr.cpp | 294 switch (StorageDuration Duration = M->getStorageDuration()) { 321 if (Duration == SD_FullExpression) 332 llvm_unreachable("temporary cannot have dynamic storage duration"); 334 llvm_unreachable("unknown storage duration"); 386 llvm_unreachable("temporary cannot have dynamic storage duration"); 431 llvm_unreachable("temporary can't have dynamic storage duration"); 433 llvm_unreachable("unknown storage duration");
|