Home
last modified time | relevance | path

Searched refs:timeLeft (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/dports/games/trackballs/trackballs-1.3.3/src/
H A DhofMode.cc51 timeLeft = 0.; in HallOfFameMode()
71 timeLeft = 1.0; in activated()
86 texCoord[3], timeLeft, timeLeft, timeLeft, 1., texture); in display()
132 timeLeft = std::max(0.0, timeLeft - td); in tick()
134 timeLeft = std::min(1.0, timeLeft + td); in tick()
135 if (timeLeft <= 0.0) GameMode::activate(MenuMode::init()); in tick()
144 timeLeft = -1.0; in mouseDown()
147 timeLeft = 1.0; in mouseDown()
/dports/games/cgoban/cgoban-1.9.14/src/
H A DgoTime.c174 tLeft = timer->timeLeft; in goTime_remainStr()
249 --timer->timeLeft; in goTime_checkTimer()
253 if (timer->timeLeft < 0) { in goTime_checkTimer()
256 timer->timeLeft = 1; in goTime_checkTimer()
260 timer->timeLeft = -1; in goTime_checkTimer()
267 if (timer->timeLeft < 0) { in goTime_checkTimer()
268 timer->timeLeft = -1; in goTime_checkTimer()
272 timer->timeLeft = -1; in goTime_checkTimer()
282 timer->timeLeft = -1; in goTime_checkTimer()
301 left = timer->timeLeft; in goTime_endTimer()
[all …]
H A DgoTime.h34 int timeLeft, aux; member
60 ((tmr)->timeLeft < 0))
62 ((((tm)->type == goTime_absolute) && ((tmr)->timeLeft < limit)) || \
64 ((tmr)->timeLeft < limit)) || \
65 (((tm)->type == goTime_japanese) && ((tmr)->timeLeft < limit)))
/dports/games/libretro-scummvm/scummvm-7b1e929/audio/
H A Dmidiparser.cpp114 ptr->timeLeft = 0; in activeNote()
133 if (ptr->timeLeft && ptr->timeLeft < timeLeft && recycle) in hangingNote()
136 if (ptr->timeLeft) { in hangingNote()
151 if (!timeLeft || timeLeft & 0x80000000) in hangingNote()
152 timeLeft = 1; in hangingNote()
157 best->timeLeft = timeLeft; in hangingNote()
181 if (ptr->timeLeft) { in onTimer()
184 ptr->timeLeft = 0; in onTimer()
187 ptr->timeLeft -= _timerRate; in onTimer()
292 if (_hangingNotes[i].timeLeft) { in allNotesOff()
[all …]
/dports/games/residualvm/residualvm-0.3.1/audio/
H A Dmidiparser.cpp114 ptr->timeLeft = 0; in activeNote()
133 if (ptr->timeLeft && ptr->timeLeft < timeLeft && recycle) in hangingNote()
136 if (ptr->timeLeft) { in hangingNote()
151 if (!timeLeft || timeLeft & 0x80000000) in hangingNote()
152 timeLeft = 1; in hangingNote()
157 best->timeLeft = timeLeft; in hangingNote()
181 if (ptr->timeLeft) { in onTimer()
184 ptr->timeLeft = 0; in onTimer()
187 ptr->timeLeft -= _timerRate; in onTimer()
292 if (_hangingNotes[i].timeLeft) { in allNotesOff()
[all …]
/dports/games/wizznic/Wizznic-1.1/src/
H A Dtransition.c28 int timeLeft; member
39 t.timeLeft=0; in initTransition()
52 t.timeLeft=t.time; in startTransition()
99 if( t.timeLeft == 0 ) in runTransition()
102 t.timeLeft -= getTicks(); in runTransition()
103 if( t.timeLeft < 1 ) in runTransition()
104 t.timeLeft=0; in runTransition()
114 x=((float)(t.timeLeft)/(float)(t.time))*(float)(240); in runTransition()
136 x=((float)(t.timeLeft)/(float)(t.time))*(float)(320); in runTransition()
159 x=((float)(t.timeLeft)/(float)(t.time))*(float)(320); in runTransition()
[all …]
/dports/games/scummvm/scummvm-2.5.1/audio/
H A Dmidiparser.cpp131 ptr->timeLeft = 0; in activeNote()
150 if (ptr->timeLeft && ptr->timeLeft < timeLeft && recycle) in hangingNote()
153 if (ptr->timeLeft) { in hangingNote()
168 if (!timeLeft || timeLeft & 0x80000000) in hangingNote()
169 timeLeft = 1; in hangingNote()
174 best->timeLeft = timeLeft; in hangingNote()
202 if (ptr->timeLeft) { in onTimer()
205 ptr->timeLeft = 0; in onTimer()
208 ptr->timeLeft -= _timerRate; in onTimer()
335 if (_hangingNotes[i].timeLeft) { in allNotesOff()
[all …]
/dports/java/apache-commons-collections/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/buffer/
H A DBlockingBuffer.java162 long timeLeft = expiration - System.currentTimeMillis(); in get() local
163 while (timeLeft > 0 && collection.isEmpty()) { in get()
165 lock.wait(timeLeft); in get()
166 timeLeft = expiration - System.currentTimeMillis(); in get()
218 long timeLeft = expiration - System.currentTimeMillis(); in remove() local
219 while (timeLeft > 0 && collection.isEmpty()) { in remove()
221 lock.wait(timeLeft); in remove()
222 timeLeft = expiration - System.currentTimeMillis(); in remove()
/dports/games/stockfish/Stockfish-sf_14/src/
H A Dtimeman.cpp68 TimePoint timeLeft = std::max(TimePoint(1), in init() local
73 timeLeft = slowMover * timeLeft / 100; in init()
81 0.2 * limits.time[us] / double(timeLeft)); in init()
89 0.8 * limits.time[us] / double(timeLeft)); in init()
94 optimumTime = TimePoint(optScale * timeLeft); in init()
/dports/sysutils/barrier/barrier-2.3.3/src/lib/arch/unix/
H A DArchSleepUnix.cpp79 double timeLeft = timeout; in sleep() local
80 while (timeLeft > 0.0) { in sleep()
82 timeout2.tv_sec = static_cast<int>(timeLeft); in sleep()
83 timeout2.tv_usec = static_cast<int>(1.0e+6 * (timeLeft - in sleep()
91 timeLeft = timeout - (ARCH->time() - startTime); in sleep()
/dports/sysutils/synergy/synergy-core-1.14.0.4-stable/src/lib/arch/unix/
H A DArchSleepUnix.cpp79 double timeLeft = timeout; in sleep() local
80 while (timeLeft > 0.0) { in sleep()
82 timeout2.tv_sec = static_cast<int>(timeLeft); in sleep()
83 timeout2.tv_usec = static_cast<int>(1.0e+6 * (timeLeft - in sleep()
91 timeLeft = timeout - (ARCH->time() - startTime); in sleep()
/dports/sysutils/barrier/barrier-2.3.3/src/lib/base/
H A DSimpleEventQueueBuffer.cpp48 double timeLeft = timeout; in waitForEvent() local
49 if (timeLeft >= 0.0) { in waitForEvent()
50 timeLeft -= timer.getTime(); in waitForEvent()
51 if (timeLeft < 0.0) { in waitForEvent()
55 ARCH->waitCondVar(m_queueReadyCond, m_queueMutex, timeLeft); in waitForEvent()
/dports/sysutils/synergy/synergy-core-1.14.0.4-stable/src/lib/base/
H A DSimpleEventQueueBuffer.cpp48 double timeLeft = timeout; in waitForEvent() local
49 if (timeLeft >= 0.0) { in waitForEvent()
50 timeLeft -= timer.getTime(); in waitForEvent()
51 if (timeLeft < 0.0) { in waitForEvent()
55 ARCH->waitCondVar(m_queueReadyCond, m_queueMutex, timeLeft); in waitForEvent()
/dports/games/scorched3d/scorched/src/client/landscape/
H A DLandscapeSoundManager.cpp102 entry.timeLeft = soundType->timing->getNextEventTime(); in loadSound()
105 (entry.timeLeft < 0.0f), // Looping in loadSound()
110 if (entry.timeLeft < 0.0f) in loadSound()
170 if (entry.timeLeft >= 0.0f) in simulate()
174 entry.timeLeft -= lastTime_; in simulate()
175 if (entry.timeLeft < 0.0f) in simulate()
178 entry.timeLeft = entry.soundType->timing->getNextEventTime(); in simulate()
/dports/games/openmw/openmw-openmw-0.47.0/components/misc/
H A Dtimer.hpp17 explicit DeviatingPeriodicTimer(float period, float deviation, float timeLeft) in DeviatingPeriodicTimer() argument
18 : mPeriod(period), mDeviation(deviation), mTimeLeft(timeLeft) in DeviatingPeriodicTimer()
33 void reset(float timeLeft) { mTimeLeft = timeLeft; } in reset() argument
/dports/math/vampire/vampire-4.5.1/Saturation/
H A DLRS.cpp129 long long timeLeft; in estimatedReachableCount() local
131 timeLeft=_opt.simulatedTimeLimit()*100 - currTime; in estimatedReachableCount()
133 timeLeft=_opt.timeLimitInDeciseconds()*100 - currTime; in estimatedReachableCount()
135 if(timeLeft<=0 || processed<=10) { in estimatedReachableCount()
141 result = (processed*timeLeft)/timeSpent; in estimatedReachableCount()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/kNet/include/kNet/
H A DPolledTimer.h139 tick_t timeLeft = TicksLeft(); in WaitPrecise() local
140 while(timeLeft > 0) in WaitPrecise()
142 if (timeLeft > Clock::TicksPerMillisecond()) in WaitPrecise()
144 float msecs = Clock::TicksToMillisecondsF(timeLeft); in WaitPrecise()
152 timeLeft = TicksLeft(); in WaitPrecise()
/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/
H A Dexecution.cpp39 double timeLeft = cmd->getDuration() - commandTime; in tick() local
40 if (dt >= timeLeft) in tick()
42 cmd->process(env, cmd->getDuration(), timeLeft); in tick()
43 dt -= timeLeft; in tick()
/dports/astro/celestia/celestia-1.6.1/src/celengine/
H A Dexecution.cpp39 double timeLeft = cmd->getDuration() - commandTime; in tick() local
40 if (dt >= timeLeft) in tick()
42 cmd->process(env, cmd->getDuration(), timeLeft); in tick()
43 dt -= timeLeft; in tick()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.runtime/bundles/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/
H A DSemaphore.java36 long timeLeft = delay; in acquire() local
42 if (timeLeft <= 0) in acquire()
44 wait(timeLeft); in acquire()
45 timeLeft = start + delay - System.currentTimeMillis(); in acquire()
/dports/security/keepassxc/keepassxc-2.6.6/src/gui/
H A DClipboard.cpp110 int timeLeft = timeout - m_secondsElapsed; in countdownTick() local
111 if (timeLeft <= 0) { in countdownTick()
114 emit updateCountdown(100 * timeLeft / timeout, in countdownTick()
115 … QObject::tr("Clearing the clipboard in %1 second(s)…", "", timeLeft).arg(timeLeft)); in countdownTick()
/dports/games/gogui/gogui-1.4.10/src/net/sf/gogui/gui/
H A DTimeLeftDialog.java54 long timeLeft = timeLeftDialog.getTimeLeft(c); in show() local
55 game.setTimeLeft(node, c, timeLeft / 1000L); in show()
128 String timeLeft = in createPlayerTime() local
130 playerInfo.m_timeLeft.setText(timeLeft); in createPlayerTime()
159 long timeLeft = Clock.parseTimeString(getTextFieldContent(textField)); in getTimeLeft() local
160 assert timeLeft >= 0; in getTimeLeft() local
161 return timeLeft; in getTimeLeft()
219 long timeLeft = Clock.parseTimeString(getTextFieldContent(textField)); in validateTime() local
220 if (timeLeft < 0) in validateTime()
/dports/games/openmw/openmw-openmw-0.47.0/components/terrain/
H A Dcompositemaprenderer.cpp66 double timeLeft = availableTime; in drawImplementation() local
68 while (!mCompileSet.empty() && timeLeft > 0) in drawImplementation()
74 compile(*node, renderInfo, &timeLeft); in drawImplementation()
87 …pRenderer::compile(CompositeMap &compositeMap, osg::RenderInfo &renderInfo, double* timeLeft) const in compile()
148 if (timeLeft) in compile()
150 *timeLeft -= timer.time_s(); in compile()
153 if (*timeLeft <= 0) in compile()
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-client/zookeeper-client-c/tests/
H A DWatchUtil.h46 time_t timeLeft = seconds; in yield() local
52 while(timeLeft >= 0) { in yield()
69 if (tv.tv_sec > timeLeft) { in yield()
70 tv.tv_sec = timeLeft; in yield()
73 timeLeft = expires - time(0); in yield()
/dports/sysutils/synergy/synergy-core-1.14.0.4-stable/src/lib/shared/
H A DSerialKey.cpp160 unsigned long long timeLeft = 0; in daysLeft() local
165 timeLeft = m_expireTime - currentTimeAsLL; in daysLeft()
169 daysLeft = timeLeft % day != 0 ? 1 : 0; in daysLeft()
171 return timeLeft / day + daysLeft; in daysLeft()
180 auto timeLeft = (m_expireTime - time) * 1000; in getSpanLeft() local
182 if (timeLeft < INT_MAX){ in getSpanLeft()
183 result = static_cast<int>(timeLeft); in getSpanLeft()

12345678910>>...20