HomeSort by relevance Sort by last modified time
    Searched refs:ticks (Results 1 - 25 of 196) sorted by null

1 2 3 4 5 6 7 8

  /external/skia/experimental/SkV8Example/js/
sample.js 5 var ticks = 0;
11 ticks += 1;
14 context.rotate(ticks/10);
21 console.log(ticks);
22 ticks = 0;
snow.js 21 var ticks = 0;
66 ticks++;
73 console.log(ticks);
74 ticks = 0;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/
dbapi2.py 41 def DateFromTicks(ticks):
42 return Date(*time.localtime(ticks)[:3])
44 def TimeFromTicks(ticks):
45 return Time(*time.localtime(ticks)[3:6])
47 def TimestampFromTicks(ticks):
48 return Timestamp(*time.localtime(ticks)[:6])
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/
dbapi2.py 41 def DateFromTicks(ticks):
42 return Date(*time.localtime(ticks)[:3])
44 def TimeFromTicks(ticks):
45 return Time(*time.localtime(ticks)[3:6])
47 def TimestampFromTicks(ticks):
48 return Timestamp(*time.localtime(ticks)[:6])
  /external/valgrind/memcheck/tests/linux/
timerfd-syscall.c 148 u_int64_t ticks; local
161 fprintf(stderr, "no ticks happened\n");
164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks))
170 return ticks;
176 long ticks; local
211 ticks = waittmr(tfd, -1);
213 if (ticks <= 0)
216 fprintf(stderr, "got timer ticks (%ld) after %.1f s\n"
    [all...]
timerfd-syscall.stderr.exp 10 got timer ticks (1) after 0.5 s
13 got timer ticks (1) after 0.5 s
20 got about 20 timer ticks after about 2s
23 got timer ticks (1) after 0.1 s
33 got timer ticks (1) after 0.5 s
36 got timer ticks (1) after 0.5 s
43 got about 20 timer ticks after about 2s
46 got timer ticks (1) after 0.1 s
  /external/libdrm/tests/ttmtest/src/
ttmtest.c 170 unsigned long *ticks)
186 *ticks++ = time_diff(oldTime, curTime);
192 *ticks++ = time_diff(oldTime, curTime);
197 *ticks++ = time_diff(oldTime, curTime);
202 *ticks++ = time_diff(oldTime, curTime);
207 *ticks++ = time_diff(oldTime, curTime);
212 *ticks++ = time_diff(oldTime, curTime);
224 *ticks++ = time_diff(oldTime, curTime);
230 *ticks++ = time_diff(oldTime, curTime);
235 *ticks++ = time_diff(oldTime, curTime)
307 unsigned long ticks[128], *pTicks; local
    [all...]
  /external/v8/src/
runtime-profiler.cc 33 // FLAG_type_info_threshold), but has seen a huge number of ticks,
36 // We only have one byte to store the number of ticks.
180 int ticks = shared_function_info->profiler_ticks(); local
181 if (ticks < Smi::kMaxValue) {
182 shared_function_info->set_profiler_ticks(ticks + 1);
198 int ticks = shared_code->profiler_ticks(); local
200 ticks * kOSRCodeSizeAllowancePerTick;
202 if (ticks < 255) shared_code->set_profiler_ticks(ticks + 1);
223 int ticks = shared_code->profiler_ticks() local
235 int ticks = shared_code->profiler_ticks(); local
    [all...]
  /system/bt/embdrv/sbc/decoder/include/
oi_bt_spec.h 210 /** the time between baseband clock ticks, currently 625 microseconds (one slot) */
212 /** some macros to convert to/from baseband clock ticks - use no floating point! */
214 #define OI_BT_TICKS_TO_SECONDS(ticks) ((ticks)/1600)
216 #define OI_BT_TICKS_TO_MSECS(ticks) (((ticks)*5)/8)
  /external/webrtc/src/system_wrappers/source/
cpu_mac.cc 50 WebRtc_Word64 ticks = 0; local
53 ticks += cpuLoadInfo[cpu].cpu_ticks[state];
55 _lastTickCount[cpu] = ticks;
122 WebRtc_Word64 ticks = 0; local
125 ticks += cpuLoadInfo[cpu].cpu_ticks[state];
132 (ticks - _lastTickCount[cpu])) /
135 _lastTickCount[cpu] = ticks;
  /external/libnfc-nci/halimpl/bcm2079x/gki/common/
gki_time.c 143 ** Description This function returns the current system ticks
145 ** Returns The current number of system ticks
158 ** Description This function returns the number of system ticks until the
165 ** Returns Number of ticks til the next timer expires
188 ** ticks - (input) the number of system ticks til the
196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous)
203 if (ticks <= 0)
204 ticks = 1;
206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary *
    [all...]
  /external/libnfc-nci/src/gki/common/
gki_time.c 143 ** Description This function returns the current system ticks
145 ** Returns The current number of system ticks
158 ** Description This function returns the number of system ticks until the
165 ** Returns Number of ticks til the next timer expires
188 ** ticks - (input) the number of system ticks til the
196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous)
203 if (ticks <= 0)
204 ticks = 1;
206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary *
    [all...]
  /external/sonivox/jet_tools/JetCreator/
midifile.py 221 def ConvertToTicks (self, measures, beats, ticks):
223 total_ticks = ticks + (total_beats * self.ppqn)
226 def ConvertTicksToMBT (self, ticks):
227 beats = ticks / self.ppqn
228 ticks -= beats * self.ppqn
231 return (measures, beats, ticks)
233 def ConvertTicksToStr (self, ticks, format=DEFAULT_TIME_FORMAT):
234 measures, beats, ticks = self.ConvertTicksToMBT(ticks)
235 return format % (measures, beats, ticks)
    [all...]
  /external/v8/src/base/platform/
elapsed-timer.h 57 TimeTicks ticks = Now(); local
58 TimeDelta elapsed = ticks - start_ticks_;
60 start_ticks_ = ticks;
time.cc 159 // Determine current time and ticks.
160 TimeTicks ticks = GetSystemTicks(); local
165 TimeDelta elapsed = ticks - initial_ticks_;
167 initial_ticks_ = ticks;
414 int64_t ticks = (whole_seconds * Time::kMicrosecondsPerSecond) + variable
419 return ticks + 1;
502 TimeTicks ticks(tick_clock.Pointer()->Now());
503 DCHECK(!ticks.IsNull());
504 return ticks;
510 TimeTicks ticks(high_res_tick_clock.Pointer()->Now())
537 int64_t ticks; local
    [all...]
  /external/webrtc/src/system_wrappers/interface/
tick_util.h 47 WebRtc_Word64 Ticks() const;
51 static WebRtc_Word64 TicksToMilliseconds(const WebRtc_Word64 ticks);
53 // Returns a TickTime that is ticks later than the passed TickTime
54 friend TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks);
58 // Returns a TickInterval that is the difference in ticks beween rhs and lhs
112 inline TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks)
115 time._ticks += ticks;
237 inline WebRtc_Word64 TickTime::Ticks() const
259 inline WebRtc_Word64 TickTime::TicksToMilliseconds(const WebRtc_Word64 ticks)
265 return (ticks * 1000) / qpfreq.QuadPart
    [all...]
  /external/iproute2/tc/
tc_core.h 22 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks);
  /external/sonivox/arm-fm-22k/lib_src/
eas_smf.c 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks);
276 EAS_U32 ticks; local
284 /* get current ticks */
285 ticks = pSMFData->nextStream->ticks;
304 pSMFData->nextStream->ticks = SMF_END_OF_TRACK;
308 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK)
317 pSMFData->nextStream->ticks = SMF_END_OF_TRACK;
321 else if (pSMFData->nextStream->ticks == ticks)
478 EAS_U32 ticks; local
787 EAS_U32 ticks; local
1050 EAS_U32 ticks; local
    [all...]