Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/external/chromium/third_party/libjingle/source/talk/session/phone/
Dvideocommon.h109 VideoFormat() : width(0), height(0), interval(0), fourcc(0) {} in VideoFormat()
114 interval(interval_ns), in VideoFormat()
121 interval(format.interval), in VideoFormat()
129 static int IntervalToFps(int64 interval) { in IntervalToFps()
131 interval = talk_base::_max(interval, kMinimumInterval); in IntervalToFps()
132 return static_cast<int>(kNumNanosecsPerSec / interval); in IntervalToFps()
137 interval == format.interval && fourcc == format.fourcc;
150 height == format.height && interval > format.interval);
153 int framerate() const { return IntervalToFps(interval); } in framerate()
157 int64 interval; // in nanoseconds member
/external/qemu/distrib/sdl-1.2.12/src/timer/
DSDL_timer.c42 Uint32 interval; member
115 ms = t->interval - SDL_TIMESLICE; in SDL_ThreadedTimerCheck()
120 if ( (now - t->last_alarm) < t->interval ) { in SDL_ThreadedTimerCheck()
121 t->last_alarm += t->interval; in SDL_ThreadedTimerCheck()
131 ms = timer.cb(timer.interval, timer.param); in SDL_ThreadedTimerCheck()
138 if ( ms != t->interval ) { in SDL_ThreadedTimerCheck()
140 t->interval = ROUND_RESOLUTION(ms); in SDL_ThreadedTimerCheck()
165 static SDL_TimerID SDL_AddTimerInternal(Uint32 interval, SDL_NewTimerCallback callback, void *param) in SDL_AddTimerInternal() argument
170 t->interval = ROUND_RESOLUTION(interval); in SDL_AddTimerInternal()
180 printf("SDL_AddTimer(%d) = %08x num_timers = %d\n", interval, (Uint32)t, SDL_timer_running); in SDL_AddTimerInternal()
[all …]
/external/openfst/src/include/fst/
Dinterval-set.h106 Interval interval(value, value); in Member()
108 lower_bound(intervals_.begin(), intervals_.end(), interval); in Member()
216 Interval interval; in Intersect() local
217 interval.begin = max(it1->begin, it2->begin); in Intersect()
218 interval.end = min(it1->end, it2->end); in Intersect()
219 ointervals->push_back(interval); in Intersect()
220 oset->count_ += interval.end - interval.begin; in Intersect()
237 Interval interval; in Complement() local
238 interval.begin = 0; in Complement()
242 interval.end = min(it->begin, maxval); in Complement()
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DPODIntervalTree.h69 Vector<IntervalType> allOverlaps(const IntervalType& interval) const in allOverlaps() argument
72 allOverlaps(interval, result); in allOverlaps()
79 void allOverlaps(const IntervalType& interval, Vector<IntervalType>& result) const in allOverlaps() argument
83 searchForOverlapsFrom(this->root(), interval, result); in allOverlaps()
115 …void searchForOverlapsFrom(IntervalNode* node, const IntervalType& interval, Vector<IntervalType>&… in searchForOverlapsFrom() argument
128 && !(left->data().maxHigh() < interval.low())) in searchForOverlapsFrom()
129 searchForOverlapsFrom(left, interval, res); in searchForOverlapsFrom()
132 if (node->data().overlaps(interval)) in searchForOverlapsFrom()
138 if (!(interval.high() < node->data().low())) in searchForOverlapsFrom()
139 searchForOverlapsFrom(node->right(), interval, res); in searchForOverlapsFrom()
[all …]
/external/iptables/extensions/
Dlibxt_RATEEST.c15 static unsigned int interval; variable
109 if (RATEEST_get_time(&interval, optarg) < 0) in RATEEST_parse()
143 for (info->interval = 0; info->interval <= 5; info->interval++) { in RATEEST_final_check()
144 if (interval <= (1 << info->interval) * (TIME_UNITS_PER_SEC / 4)) in RATEEST_final_check()
148 if (info->interval > 5) in RATEEST_final_check()
151 info->interval -= 2; in RATEEST_final_check()
155 if (interval / (-log(w)) > ewma_log) in RATEEST_final_check()
172 local_interval = (TIME_UNITS_PER_SEC << (info->interval + 2)) / 4; in __RATEEST_print()
/external/iproute2/tc/
Dtc_estimator.c28 for (est->interval=0; est->interval<=5; est->interval++) { in tc_setup_estimator()
29 if (A <= (1<<est->interval)*(TIME_UNITS_PER_SEC/4)) in tc_setup_estimator()
32 if (est->interval > 5) in tc_setup_estimator()
34 est->interval -= 2; in tc_setup_estimator()
/external/webkit/Source/WebCore/wml/
DWMLTimerElement.cpp120 void WMLTimerElement::start(int interval) in start() argument
125 if (interval <= 0 && !m_name.isEmpty()) { in start()
127 interval = pageState->getVariable(m_name).toInt(); in start()
130 if (interval <= 0) in start()
131 interval = value().toInt(); in start()
133 if (interval > 0) in start()
134 m_timer.startOneShot(interval / 10.0f); in start()
148 int interval = static_cast<int>(m_timer.nextFireInterval()) * 10; in storeIntervalToPageState() local
151 pageState->storeVariable(m_name, String::number(interval)); in storeIntervalToPageState()
/external/linux-tools-perf/scripts/python/
Dsctop.py24 interval = default_interval variable
31 interval = int(sys.argv[2]) variable
34 interval = int(sys.argv[1]) variable
37 interval = default_interval variable
42 thread.start_new_thread(print_syscall_totals, (interval,))
56 def print_syscall_totals(interval): argument
75 time.sleep(interval)
/external/webkit/Source/WebKit2/Shared/
DWebMemorySampler.cpp55 void WebMemorySampler::start(const double interval) in start() argument
61 initializeTimers(interval); in start()
64 …boxExtension::Handle& sampleLogFileHandle, const String& sampleLogFilePath, const double interval) in start() argument
71 start(interval); in start()
76 initializeTimers(interval); in start()
80 void WebMemorySampler::initializeTimers(double interval) in initializeTimers() argument
84 if (interval > 0) { in initializeTimers()
85 m_stopTimer.startOneShot(interval); in initializeTimers()
86 printf(" for a interval of %g seconds", interval); in initializeTimers()
89 m_runningTime = interval; in initializeTimers()
/external/easymock/src/org/easymock/internal/
DResults.java48 Range interval = ranges.get(i); in next() local
49 if (interval.hasOpenCount()) { in next()
53 currentPosition += interval.getMaximum(); in next()
74 for (Range interval : ranges) { in getMainInterval()
75 min += interval.getMinimum(); in getMainInterval()
76 if (interval.hasOpenCount() || max == Integer.MAX_VALUE) { in getMainInterval()
79 max += interval.getMaximum(); in getMainInterval()
/external/webkit/Source/WebCore/platform/graphics/win/
DQTMovieTask.cpp66 double interval = intervalInMS / 1000.0; in updateTaskTimer() local
67 if (interval < minInterval) in updateTaskTimer()
68 interval = minInterval; in updateTaskTimer()
69 if (interval > maxInterval) in updateTaskTimer()
70 interval = maxInterval; in updateTaskTimer()
71 m_setTaskTimerDelay(interval); in updateTaskTimer()
DQTMovieWinTimer.cpp85 void setSharedTimerFireDelay(double interval) in setSharedTimerFireDelay() argument
90 if (interval < 0) in setSharedTimerFireDelay()
93 interval *= 1000; in setSharedTimerFireDelay()
94 if (interval > USER_TIMER_MAXIMUM) in setSharedTimerFireDelay()
97 intervalInMS = (unsigned)interval; in setSharedTimerFireDelay()
/external/chromium/chrome/browser/
Dupgrade_detector.cc58 std::string interval = CmdLineInterval(); in GetCheckForUpgradeEveryMs() local
59 if (!interval.empty() && base::StringToInt(interval, &interval_ms)) in GetCheckForUpgradeEveryMs()
226 std::string interval = CmdLineInterval(); in NotifyOnUpgrade() local
230 int time_passed = interval.empty() ? delta.InHours() : delta.InMinutes(); in NotifyOnUpgrade()
231 const int kSevereThreshold = 14 * (interval.empty() ? 24 : 1); in NotifyOnUpgrade()
232 const int kHighThreshold = 7 * (interval.empty() ? 24 : 1); in NotifyOnUpgrade()
233 const int kElevatedThreshold = 4 * (interval.empty() ? 24 : 1); in NotifyOnUpgrade()
238 const int kLowThreshold = multiplier * (interval.empty() ? 24 : 1); in NotifyOnUpgrade()
/external/mesa3d/docs/
DMESA_swap_control.spec46 int glXSwapIntervalMESA(unsigned int interval)
82 of zero indicates success; otherwise an error occurred. The interval
91 If <interval> is set to a value of 0, buffer swaps are not synchron-
92 ized to a video frame. The <interval> value is silently clamped to
96 The swap interval is not part of the render context state. It cannot
97 be pushed or popped. The current swap interval for the window
99 glXGetSwapIntervalMESA. The default swap interval is 0.
102 the swap interval to 1.
117 [swap interval] GetSwapInterval Z+ 0
127 Changed the default swap interval to 0.
/external/valgrind/main/drd/tests/
Dhold_lock.c26 int interval = 0; in main() local
37 interval = atoi(optarg); in main()
52 delay_ms(interval); in main()
62 delay_ms(interval); in main()
70 delay_ms(interval); in main()
/external/dbus/dbus/
Ddbus-timeout.c43 int interval; /**< Timeout interval in milliseconds. */ member
63 _dbus_timeout_new (int interval, in _dbus_timeout_new() argument
75 timeout->interval = interval; in _dbus_timeout_new()
135 int interval) in _dbus_timeout_set_interval() argument
137 _dbus_assert (interval >= 0); in _dbus_timeout_set_interval()
139 timeout->interval = interval; in _dbus_timeout_set_interval()
418 return timeout->interval; in dbus_timeout_get_interval()
/external/iproute2/misc/
Dlnstat.c109 struct field_params *fps, int interval) in map_field_params() argument
119 fps->params[j].lf->file->interval.tv_sec = in map_field_params()
120 interval; in map_field_params()
147 fps->params[i].lf->file->interval.tv_sec = interval; in map_field_params()
222 int interval = DEFAULT_INTERVAL; in main() local
271 sscanf(optarg, "%u", &interval); in main()
329 if (!map_field_params(lnstat_files, &fp, interval)) in main()
336 if (interval < 1 ) in main()
337 interval=1; in main()
345 sleep(interval); in main()
/external/webkit/Source/WebCore/platform/brew/
DSharedTimerBrew.cpp57 double interval = fireTime - currentTime(); in setSharedTimerFireTime() local
60 if (interval < 0) in setSharedTimerFireTime()
63 interval *= 1000; in setSharedTimerFireTime()
64 intervalInMS = static_cast<int>(interval); in setSharedTimerFireTime()
/external/webkit/Source/WebCore/platform/gtk/
DSharedTimerGtk.cpp57 double interval = fireTime - currentTime(); in setSharedTimerFireTime() local
59 if (interval < 0) in setSharedTimerFireTime()
62 interval *= 1000; in setSharedTimerFireTime()
63 intervalInMS = (guint)interval; in setSharedTimerFireTime()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_timer.h52 typedef Uint32 (SDLCALL *SDL_TimerCallback)(Uint32 interval);
82 extern DECLSPEC int SDLCALL SDL_SetTimer(Uint32 interval, SDL_TimerCallback callback);
94 typedef Uint32 (SDLCALL *SDL_NewTimerCallback)(Uint32 interval, void *param);
102 extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval, SDL_NewTimerCallback callback, vo…
/external/webkit/Source/WebCore/page/
DDOMTimer.cpp58 static inline bool shouldForwardUserGesture(int interval, int nestingLevel) in shouldForwardUserGesture() argument
61 && interval <= maxIntervalForUserGestureForwarding in shouldForwardUserGesture()
65 …ScriptExecutionContext* context, PassOwnPtr<ScheduledAction> action, int interval, bool singleShot) in DOMTimer() argument
70 , m_originalInterval(interval) in DOMTimer()
71 , m_shouldForwardUserGesture(shouldForwardUserGesture(interval, m_nestingLevel)) in DOMTimer()
75 … double intervalMilliseconds = intervalClampedToMinimum(interval, context->minimumTimerInterval()); in DOMTimer()
/external/webkit/Source/WebCore/platform/win/
DSharedTimerWin.cpp153 double interval = fireTime - currentTime(); in setSharedTimerFireTime() local
155 if (interval < 0) in setSharedTimerFireTime()
158 interval *= 1000; in setSharedTimerFireTime()
159 if (interval > USER_TIMER_MAXIMUM) in setSharedTimerFireTime()
162 intervalInMS = (unsigned)interval; in setSharedTimerFireTime()
169 if (interval < highResolutionThresholdMsec) { in setSharedTimerFireTime()
/external/llvm/lib/CodeGen/
DLiveIntervalAnalysis.cpp159 LiveInterval &interval) { in isPartialRedef() argument
165 interval.getLiveRangeContaining(RedefIndex.getRegSlot(true)); in isPartialRedef()
168 return DefMI->findRegisterDefOperandIdx(interval.reg) != -1; in isPartialRedef()
178 LiveInterval &interval) { in handleVirtualRegisterDef() argument
179 DEBUG(dbgs() << "\t\tregister: " << PrintReg(interval.reg, tri_)); in handleVirtualRegisterDef()
185 LiveVariables::VarInfo& vi = lv_->getVarInfo(interval.reg); in handleVirtualRegisterDef()
186 if (interval.empty()) { in handleVirtualRegisterDef()
194 VNInfo *ValNo = interval.getNextValue(defIndex, VNInfoAllocator); in handleVirtualRegisterDef()
215 interval.addRange(LR); in handleVirtualRegisterDef()
227 interval.addRange(NewLR); in handleVirtualRegisterDef()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/events/
DSDL_keyboard.c45 int interval; /* the delay between key repeat events */ member
540 Uint32 now, interval; in SDL_CheckKeyRepeat() local
543 interval = (now - SDL_KeyRepeat.timestamp); in SDL_CheckKeyRepeat()
545 if ( interval > (Uint32)SDL_KeyRepeat.delay ) { in SDL_CheckKeyRepeat()
550 if ( interval > (Uint32)SDL_KeyRepeat.interval ) { in SDL_CheckKeyRepeat()
560 int SDL_EnableKeyRepeat(int delay, int interval) in SDL_EnableKeyRepeat() argument
562 if ( (delay < 0) || (interval < 0) ) { in SDL_EnableKeyRepeat()
568 SDL_KeyRepeat.interval = interval; in SDL_EnableKeyRepeat()
573 void SDL_GetKeyRepeat(int *delay, int *interval) in SDL_GetKeyRepeat() argument
576 *interval = SDL_KeyRepeat.interval; in SDL_GetKeyRepeat()
/external/webkit/LayoutTests/fast/dom/DeviceMotion/
Doptional-event-properties-expected.txt10 PASS event.interval == null is true
21 PASS event.interval == 9 is true
38 PASS event.interval == 9 is true
43 PASS event.interval == null is true
48 PASS event.interval == 0 is true
53 PASS event.interval == null is true
58 PASS event.interval == 0 is true
63 PASS event.interval == null is true
68 PASS event.interval == null is true
79 PASS event.interval == null is true
[all …]

12345678910>>...16