/dports/math/wfmath/wfmath-1.0.2/wfmath/ |
H A D | timestamp.h | 52 class TimeDiff 59 TimeDiff(long msec); 74 friend TimeDiff& operator+=(TimeDiff&, const TimeDiff&); 76 friend TimeDiff& operator-=(TimeDiff&, const TimeDiff&); 78 TimeDiff operator-() const {return TimeDiff(-m_sec, -m_usec, m_isvalid);} 81 friend TimeDiff operator+(const TimeDiff &a, const TimeDiff &b); 83 friend TimeDiff operator-(const TimeDiff &a, const TimeDiff &b); 98 friend bool operator<(const TimeDiff&, const TimeDiff&); 99 friend bool operator==(const TimeDiff&, const TimeDiff&); 106 inline bool operator>(const TimeDiff &a, const TimeDiff &b) {return b < a;} [all …]
|
H A D | timestamp.cpp | 62 TimeDiff::TimeDiff(long sec, long usec, bool is_valid) : m_isvalid(is_valid), in TimeDiff() function in WFMath::TimeDiff 69 TimeDiff::TimeDiff(long msec) : in TimeDiff() function in WFMath::TimeDiff 81 long TimeDiff::milliseconds() const in milliseconds() 86 TimeDiff& operator+=(TimeDiff &val, const TimeDiff &d) in operator +=() 98 TimeDiff& operator-=(TimeDiff &val, const TimeDiff &d) in operator -=() 110 TimeDiff operator+(const TimeDiff &a, const TimeDiff &b) in operator +() 115 TimeDiff operator-(const TimeDiff &a, const TimeDiff &b) in operator -() 120 bool operator<(const TimeDiff &a, const TimeDiff &b) in operator <() 125 bool operator==(const TimeDiff &a, const TimeDiff &b) in operator ==() 190 TimeStamp& operator+=(TimeStamp &a, const TimeDiff &d) in operator +=() [all …]
|
H A D | timestamp_test.cpp | 26 tsa += TimeDiff(50); in main() 35 tsa += TimeDiff(); in main() 41 TimeDiff tda(1000); in main()
|
/dports/games/openlierox/OpenLieroX/include/ |
H A D | types.h | 28 struct TimeDiff { struct 31 explicit TimeDiff(Uint64 td = 0) : timeDiff(td) {} in timeDiff() argument 33 explicit TimeDiff(int td) : timeDiff(td) { assert(td >= 0); } in TimeDiff() function 36 const TimeDiff & operator=(float seconds) { *this = TimeDiff(seconds); return *this; }; 42 TimeDiff operator+(const TimeDiff& td) const { return TimeDiff(timeDiff + td.timeDiff); } argument 43 …TimeDiff operator-(const TimeDiff& td) const { assert(timeDiff >= td.timeDiff); return TimeDiff(ti… 45 TimeDiff operator*(float f) const { return TimeDiff((Uint64)(timeDiff * f)); } 47 TimeDiff& operator+=(const TimeDiff& td) { timeDiff += td.timeDiff; return *this; } 48 …TimeDiff& operator-=(const TimeDiff& td) { assert(timeDiff >= td.timeDiff); timeDiff -= td.timeDif… 57 bool operator<(float td) const { return *this < TimeDiff(td); } [all …]
|
H A D | ProjAction.h | 193 TimeDiff serverTime; 194 TimeDiff dt; 196 …Proj_EventOccurInfo(TimeDiff t, TimeDiff _dt) : colType(NULL), timerHit(false), serverTime(t), dt(… in Proj_EventOccurInfo() 197 static Proj_EventOccurInfo Unspec(TimeDiff t, TimeDiff _dt) { return Proj_EventOccurInfo(t, _dt); } in Unspec() 198 …static Proj_EventOccurInfo Timer(TimeDiff t, TimeDiff _dt) { Proj_EventOccurInfo e(t, _dt); e.time… in Timer() 199 …static Proj_EventOccurInfo Col(TimeDiff t, TimeDiff _dt, const ProjCollisionType* col) { Proj_Even… in Col()
|
H A D | CProjectile.h | 78 …friend ProjCollisionType LX56Projectile_checkCollAndMove(CProjectile* const prj, TimeDiff dt, CMap… 79 …friend ProjCollisionType LX56Projectile_checkCollAndMove_Frame(CProjectile* const prj, TimeDiff dt… 80 …proj, const CVec& vFrameOldPos, const CVec& vFrameOldVel, CWorm* worms, TimeDiff dt, ProjCollision… 81 …friend void Projectile_HandleAttractiveForceForProjectiles(CProjectile* const prj, TimeDiff dt, CW… 161 …andleCollision(const CProjectile::ColInfo &c, const CVec& oldpos, const CVec& oldvel, TimeDiff dt);
|
H A D | CWormBot.h | 50 TimeDiff fStuckTime; 56 TimeDiff fBadAimTime; 72 TimeDiff fRopeAttachedTime; 73 TimeDiff fRopeHookFallingTime;
|
/dports/devel/poco/poco-1.10.1-all/Foundation/include/Poco/ |
H A D | Timespan.h | 32 using TimeDiff = Timestamp::TimeDiff; 37 Timespan(TimeDiff microseconds); 56 Timespan& operator = (TimeDiff microseconds); 76 bool operator == (TimeDiff microSeconds) const; 77 bool operator != (TimeDiff microSeconds) const; 78 bool operator > (TimeDiff microSeconds) const; 90 Timespan& operator += (TimeDiff microSeconds); 91 Timespan& operator -= (TimeDiff microSeconds); 117 TimeDiff totalMilliseconds() const; 128 TimeDiff totalMicroseconds() const; [all …]
|
H A D | Timestamp.h | 58 using TimeDiff = Int64; variable 93 Timestamp operator + (TimeDiff d) const; 95 Timestamp operator - (TimeDiff d) const; 97 TimeDiff operator - (const Timestamp& ts) const; 98 Timestamp& operator += (TimeDiff d); 100 Timestamp& operator -= (TimeDiff d); 117 TimeDiff elapsed() const; 121 bool isElapsed(TimeDiff interval) const; 138 static TimeDiff resolution(); 252 Timestamp::TimeDiff diff = now - *this; in isElapsed() [all …]
|
H A D | Delegate.h | 188 …e(TObj* pObj, void (TObj::*NotifyMethod)(const void*, TArgs&), Timestamp::TimeDiff expireMillisecs) in delegate() 195 inline Expire<TArgs> delegate(TObj* pObj, void (TObj::*NotifyMethod)(TArgs&), Timestamp::TimeDiff e… in delegate() 202 inline Expire<TArgs> delegate(void (*NotifyMethod)(const void*, TArgs&), Timestamp::TimeDiff expire… in delegate() 209 inline Expire<TArgs> delegate(void (*NotifyMethod)(void*, TArgs&), Timestamp::TimeDiff expireMillis… in delegate() 216 inline Expire<TArgs> delegate(void (*NotifyMethod)(TArgs&), Timestamp::TimeDiff expireMillisecs) in delegate() 400 … delegate(TObj* pObj, void (TObj::*NotifyMethod)(const void*), Timestamp::TimeDiff expireMillisecs) in delegate() 407 inline Expire<void> delegate(TObj* pObj, void (TObj::*NotifyMethod)(), Timestamp::TimeDiff expireMi… in delegate() 413 inline Expire<void> delegate(void (*NotifyMethod)(const void*), Timestamp::TimeDiff expireMillisecs) in delegate() 419 inline Expire<void> delegate(void (*NotifyMethod)(void*), Timestamp::TimeDiff expireMillisecs) in delegate() 425 inline Expire<void> delegate(void (*NotifyMethod)(), Timestamp::TimeDiff expireMillisecs) in delegate()
|
H A D | PriorityDelegate.h | 342 …Obj, void (TObj::*NotifyMethod)(const void*, TArgs&), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 349 …egate(TObj* pObj, void (TObj::*NotifyMethod)(TArgs&), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 356 …tyDelegate(void (*NotifyMethod)(const void*, TArgs&), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 363 …priorityDelegate(void (*NotifyMethod)(void*, TArgs&), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 370 …TArgs> priorityDelegate(void (*NotifyMethod)(TArgs&), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 412 …(TObj* pObj, void (TObj::*NotifyMethod)(const void*), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 419 …ityDelegate(TObj* pObj, void (TObj::*NotifyMethod)(), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 425 …> priorityDelegate(void (*NotifyMethod)(const void*), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 431 …e<void> priorityDelegate(void (*NotifyMethod)(void*), int prio, Timestamp::TimeDiff expireMilliSec) in priorityDelegate() 437 inline PriorityExpire<void> priorityDelegate(void (*NotifyMethod)(), int prio, Timestamp::TimeDiff … in priorityDelegate()
|
H A D | Mutex.h | 354 Timestamp::TimeDiff diff(Timestamp::TimeDiff(milliseconds)*1000); in lock() 371 Timestamp::TimeDiff diff(Timestamp::TimeDiff(milliseconds)*1000); in tryLock()
|
/dports/devel/poco/poco-1.10.1-all/Foundation/src/ |
H A D | Timespan.cpp | 22 const Timespan::TimeDiff Timespan::MILLISECONDS = 1000; 35 Timespan::Timespan(TimeDiff microSeconds): in Timespan() 42 _span(TimeDiff(seconds)*SECONDS + microSeconds) in Timespan() 48 …_span(TimeDiff(microSeconds) + TimeDiff(seconds)*SECONDS + TimeDiff(minutes)*MINUTES + TimeDiff(ho… in Timespan() 66 Timespan& Timespan::operator = (TimeDiff microSeconds) in operator =() 75 …_span = TimeDiff(microSeconds) + TimeDiff(seconds)*SECONDS + TimeDiff(minutes)*MINUTES + TimeDiff(… in assign() 82 _span = TimeDiff(seconds)*SECONDS + TimeDiff(microSeconds); in assign() 119 Timespan Timespan::operator + (TimeDiff microSeconds) const in operator +() 125 Timespan Timespan::operator - (TimeDiff microSeconds) const in operator -() 131 Timespan& Timespan::operator += (TimeDiff microSeconds) in operator +=() [all …]
|
/dports/misc/estic/estic-1.61_10/spunk/ |
H A D | datetime.h | 35 class TimeDiff; variable 73 class TimeDiff: public Streamable { 80 TimeDiff (StreamableInit); 85 TimeDiff (double = 0); 88 TimeDiff (const TimeDiff&); 97 TimeDiff& operator = (const TimeDiff& rhs); 111 inline TimeDiff::TimeDiff (StreamableInit) in TimeDiff() function 117 inline TimeDiff::TimeDiff (double Val) : in TimeDiff() function 124 inline TimeDiff::TimeDiff (const TimeDiff& X): in TimeDiff() function 131 inline TimeDiff& TimeDiff::operator = (const TimeDiff& rhs) [all …]
|
/dports/www/otrs/otrs-rel-6_0_29/scripts/test/GenericInterface/ErrorHandling/ |
H A D | RequestRetry.t | 31 my $TimeDiff = sub { 32 my ( $Self, $CurrentDateTime, $TimeDiff ) = @_; 35 if ( $TimeDiff > 0 ) { 36 $CloneDateTime->Add( Seconds => $TimeDiff ); 39 $CloneDateTime->Subtract( Seconds => $TimeDiff * -1 ); 425 ExecutionTime => $TimeDiff->( $Self, $CurrentDateTime, 60 ), 463 ExecutionTime => $TimeDiff->( $Self, $CurrentDateTime, 59 ), 502 ExecutionTime => $TimeDiff->( $Self, $CurrentDateTime, 1 ), 540 ExecutionTime => $TimeDiff->( $Self, $CurrentDateTime, 90 ), 578 ExecutionTime => $TimeDiff->( $Self, $CurrentDateTime, 120 ), [all …]
|
/dports/ftp/lftp/lftp-4.9.2/src/ |
H A D | TimeDate.h | 49 class TimeDiff; variable 65 inline TimeDiff operator-(const Time &o) const; 100 class TimeDiff : public time_tuple 104 TimeDiff() {} in TimeDiff() function 116 const TimeDiff &operator-=(const TimeDiff &o) { sub(o); return *this; } 117 const TimeDiff &operator+=(const TimeDiff &o) { add(o); return *this; } 123 static const TimeDiff& valueOf(double v); 127 inline TimeDiff Time::operator-(const Time &o) const { return TimeDiff(*this,o); } 131 class TimeInterval : public TimeDiff 136 TimeInterval() : TimeDiff(0,0) { infty=true; } in TimeInterval() [all …]
|
H A D | TimeDate.cc | 71 return TimeDiff(SMTask::now,*this)>=s; in Passed() 92 int TimeDiff::MilliSeconds() const in MilliSeconds() 98 int TimeDiff::MicroSeconds() const in MicroSeconds() 104 time_t TimeDiff::Seconds() const in Seconds() 108 void TimeDiff::Set(double s) in Set() 118 TimeDiff elapsed(SMTask::now,base); in Finished() 127 TimeDiff elapsed(SMTask::now,base); in GetTimeoutU() 222 const TimeDiff& TimeDiff::valueOf(double v) in valueOf() 224 static TimeDiff diff; in valueOf()
|
H A D | Speedometer.cc | 43 return now>=start+TimeDiff(1,0) && now<last_bytes+TimeDiff(period,0); in Valid() 53 if(b==0 && (now==last_second || TimeDiff(now,last_second).MilliSeconds()<100)) in Add() 67 double time_passed_since_start=TimeDiff(now,start); in Add() 68 double time_passed=TimeDiff(now,last_second); in Add()
|
/dports/devel/hs-darcs/darcs-2.16.4/src/Darcs/Util/ |
H A D | IsoDate.hs | 394 iso8601Duration :: CharParser a TimeDiff 411 return $ TimeDiff y mon d h m s 0 639 where oneDay = TimeDiff 0 0 1 0 0 0 0 749 englishDuration :: CharParser a TimeDiff 832 addToCal :: TimeDiff -> CalendarTime -> CalendarTime 835 subtractFromCal :: TimeDiff -> CalendarTime -> CalendarTime 838 addToMCal :: TimeDiff -> MCalendarTime -> MCalendarTime 846 addDiff :: TimeDiff -> TimeDiff -> TimeDiff 847 addDiff (TimeDiff a1 a2 a3 a4 a5 a6 a7) (TimeDiff b1 b2 b3 b4 b5 b6 b7) = 855 multiplyDiff :: Int -> TimeDiff -> TimeDiff [all …]
|
H A D | DateMatcher.hs | 61 day = TimeDiff 0 0 1 0 0 0 0 105 year = TimeDiff 1 0 0 0 0 0 0 106 month = TimeDiff 0 1 0 0 0 0 0 107 week = TimeDiff 0 0 7 0 0 0 0 108 day = TimeDiff 0 0 1 0 0 0 0 109 hour = TimeDiff 0 0 0 1 0 0 0 110 minute = TimeDiff 0 0 0 0 1 0 0 111 second = TimeDiff 0 0 0 0 0 1 0
|
/dports/astro/gpstk/GPSTk-8.0.0/core/apps/time/ |
H A D | timediff.cpp | 47 class TimeDiff : public BasicFramework class 50 TimeDiff(char* arg0); 74 TimeDiff::TimeDiff(char* arg0) in TimeDiff() function in TimeDiff 112 void TimeDiff::process() in process() 152 TimeDiff app(argv[0]); in main()
|
/dports/lang/voc/voc-63008f6/src/library/s3/ |
H A D | ethDates.Mod | 14 TimeDiff*: LONGINT; (** local difference to universal time in minutes *) 190 (*Oberon.OpenScanner(S, "System.TimeDiff");*) 192 Texts.Open(Txt, "System.TimeDiff"); 194 TimeDiff := 0; 204 TimeDiff := 10*TimeDiff+ORD(diff[i])-ORD("0"); 207 TimeDiff := (TimeDiff DIV 100)*60 + (TimeDiff MOD 100); 208 TimeDiff := j*TimeDiff
|
/dports/games/openlierox/OpenLieroX/include/DeprecatedGUI/ |
H A D | CTextbox.h | 70 fTimeHolding = TimeDiff(); in CTextbox() 74 fScrollTime = TimeDiff(); // We can scroll in CTextbox() 109 TimeDiff fTimeHolding; 112 TimeDiff fScrollTime;
|
/dports/devel/eris/eris-1.3.23/Eris/ |
H A D | TimedEventService.cpp | 7 using WFMath::TimeDiff; 12 static TimeDiff TD_ZERO(0); 51 TimeDiff d = (*it)->due() - n; in tick()
|
/dports/net-im/kopete/kopete-21.12.3/protocols/jabber/libjingle/talk/base/ |
H A D | timeutils.h | 75 int32 TimeDiff(uint32 later, uint32 earlier); 79 return TimeDiff(Time(), earlier); in TimeSince() 84 return TimeDiff(later, Time()); in TimeUntil()
|