/external/proguard/src/proguard/gui/splash/ |
SawToothTiming.java | 30 private final long period; field in class:SawToothTiming 36 * @param period the time period for a full cycle. 39 public SawToothTiming(long period, long phase) 41 this.period = period; 51 return (double)((time + phase) % period) / (double)period;
|
SineTiming.java | 30 private final long period; field in class:SineTiming 36 * @param period the time period for a full cycle. 39 public SineTiming(long period, long phase) 41 this.period = period; 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timing.h | 57 double BusyWait(double period); 59 // IdleWait() relinquishes control of CPU for specified period in 66 double IdleWait(double period);
|
ratelimiter.h | 36 // Limits the rate of use to a certain maximum quantity per period of 45 RateLimiter(size_t max, double period) 47 period_length_(period), 50 period_end_(period) { 55 // current period (< (max - used)). Once the given time passes the 56 // end of the period, used is set to zero and more use is available. 58 // Increment the quantity used this period. If past the end of a 59 // period, a new period is started.
|
timing.cc | 87 double Timing::BusyWait(double period) { 89 while (TimerNow() - start_time < period) { 94 double Timing::IdleWait(double period) { 98 double sec_int, sec_frac = modf(period, &sec_int); 115 due_time.QuadPart = -LONGLONG(period * 1.0e7); 122 Sleep(DWORD(period * 1.0e3));
|
/external/chromium_org/third_party/webrtc/base/ |
timing.h | 40 double BusyWait(double period); 42 // IdleWait() relinquishes control of CPU for specified period in 49 double IdleWait(double period);
|
ratelimiter.h | 19 // Limits the rate of use to a certain maximum quantity per period of 28 RateLimiter(size_t max, double period) 30 period_length_(period), 33 period_end_(period) { 38 // current period (< (max - used)). Once the given time passes the 39 // end of the period, used is set to zero and more use is available. 41 // Increment the quantity used this period. If past the end of a 42 // period, a new period is started.
|
timing.cc | 70 double Timing::BusyWait(double period) { 72 while (TimerNow() - start_time < period) { 77 double Timing::IdleWait(double period) { 81 double sec_int, sec_frac = modf(period, &sec_int); 98 due_time.QuadPart = -LONGLONG(period * 1.0e7); 105 Sleep(DWORD(period * 1.0e3));
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
AbstractFileFilter.java | 63 int period = name.lastIndexOf('.'); local 64 return (period > 0 ? name.substring(period + 1) : name);
|
/external/libcxx/test/utilities/time/ |
clock.h | 19 typedef duration::period period; typedef in class:Clock
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/ |
clock.h | 19 typedef duration::period period; typedef in class:Clock
|
/frameworks/base/core/java/android/content/ |
PeriodicSync.java | 35 public final long period; field in class:PeriodicSync 53 this.period = periodInSeconds; 66 this.period = other.period; 75 long period, long flexTime) { 79 this.period = period; 87 this.period = in.readLong(); 101 dest.writeLong(period); 128 && period == other.perio [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
enhancer.h | 34 int16_t *period, /* (i) pitch period array (pitch bward-in time) */ 35 int16_t *plocs, /* (i) locations where period array values valid */ 36 int16_t periodl /* (i) dimension of period and plocs */
|
get_sync_seq.h | 32 int16_t *period, /* (i) rough-pitch-period array (Q-2) */ 33 int16_t *plocs, /* (i) where periods of period array are taken (Q-2) */ 34 int16_t periodl, /* (i) dimension period array */
|
enhancer.c | 34 int16_t *period, /* (i) pitch period array (pitch bward-in time) */ 35 int16_t *plocs, /* (i) locations where period array values valid */ 36 int16_t periodl /* (i) dimension of period and plocs */ 45 WebRtcIlbcfix_GetSyncSeq(idata, idatal, centerStartPos, period, plocs,
|
/external/lldb/tools/lldb-perf/lib/ |
Timer.cpp | 47 return (double)m_start.time_since_epoch().count() * (double)system_clock::period::num / (double)system_clock::period::den; 53 return (double)m_stop.time_since_epoch().count() * (double)system_clock::period::num / (double)system_clock::period::den;
|
/external/bluetooth/bluedroid/bta/include/ |
ptim.h | 36 INT32 period; /* Timer period in milliseconds */ member in struct:__anon5538 59 extern void ptim_init(tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id);
|
/external/libnfc-nci/src/nfa/int/ |
nfa_sys_ptim.h | 37 INT32 period; /* Timer period in milliseconds */ member in struct:__anon28067 60 extern void nfa_sys_ptim_init (tPTIM_CB *p_cb, UINT16 period, UINT8 timer_id);
|
/external/qemu/distrib/sdl-1.2.15/src/timer/symbian/ |
SDL_systimer.cpp | 48 TTimeIntervalMicroSeconds32 period; local 49 TInt tmp = UserHal::TickPeriod(period); 50 tickPeriodMilliSeconds = period.Int() / 1000;
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/ |
pralarm.h | 55 ** That rate is expressed as some number of notifies per period where 56 ** the period is much larger than a PRIntervalTime (see prinrval.h). 128 ** PRIntervalTime period Interval over which the notifies 159 PRAlarm *alarm, PRIntervalTime period, PRUint32 rate, 167 ** PRIntervalTime period Interval over which the notifies 175 ** An existing alarm may have its period and rate redefined. The 185 PRAlarmID *id, PRIntervalTime period, PRUint32 rate);
|
/external/libcxx/test/utilities/time/time.clock/time.clock.hires/ |
consistency.pass.cpp | 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|
/external/libcxx/test/utilities/time/time.clock/time.clock.steady/ |
consistency.pass.cpp | 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|
/external/libcxx/test/utilities/time/time.clock/time.clock.system/ |
consistency.pass.cpp | 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|
/libcore/luni/src/main/java/java/util/ |
Timer.java | 31 * <p>Recurring tasks are scheduled with either a fixed period or a fixed rate: 33 * <li>With the default <strong>fixed-period execution</strong>, each 36 * than the specified {@code period}. 263 if (task.period >= 0) { 267 task.when = task.when + task.period; 271 + task.period; 466 * @param period 469 * if {@code delay < 0} or {@code period <= 0}. 474 public void schedule(TimerTask task, long delay, long period) { 475 if (delay < 0 || period <= 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.hires/ |
consistency.pass.cpp | 30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
|