/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/ |
pr2404a.c | 8 clock_t ticks = times (&buf); local 9 return ticks == 0 && time (NULL) == 0;
|
/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;
|
/external/webrtc/webrtc/system_wrappers/source/ |
tick_util.cc | 18 return TicksToMilliseconds(TickTime::Now().Ticks()); 22 return TicksToMicroseconds(TickTime::Now().Ticks()); 44 int64_t TickTime::TicksToMilliseconds(const int64_t ticks) { 46 return ticks; 48 return ticks / 1000000LL; 57 return ticks * timebase_microsecond_fract; 59 return ticks; 63 int64_t TickTime::TicksToMicroseconds(const int64_t ticks) { 65 return ticks * 1000LL; 67 return ticks / 1000LL [all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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
|
/hardware/bsp/intel/peripheral/libupm/src/stepmotor/ |
stepmotor.h | 97 * @param ticks Number of ticks the motor moves 99 mraa::Result stepForward (int ticks); 104 * @param ticks Number of ticks the motor moves 106 mraa::Result stepBackwards (int ticks); 118 mraa::Result move (int ticks);
|
stepmotor.cxx | 63 StepMotor::stepForward (int ticks) { 65 return move (ticks); 69 StepMotor::stepBackwards (int ticks) { 71 return move (ticks); 75 StepMotor::move (int ticks) { 79 for (int tick = 0; tick < ticks; tick++) {
|
/external/webrtc/webrtc/system_wrappers/include/ |
tick_util.h | 41 explicit TickTime(int64_t ticks); 52 // Returns the number of ticks in the tick domain. 53 int64_t Ticks() const; 57 static int64_t TicksToMilliseconds(const int64_t ticks); 59 static int64_t TicksToMicroseconds(const int64_t ticks); 61 // Returns a TickTime that is ticks later than the passed TickTime. 62 friend TickTime operator+(const TickTime lhs, const int64_t ticks); 63 TickTime& operator+=(const int64_t& ticks); 65 // Returns a TickInterval that is the difference in ticks beween rhs and lhs. 74 // Represents a time delta in ticks [all...] |
/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 | 30 // FLAG_type_info_threshold), but has seen a huge number of ticks, 33 // We only have one byte to store the number of ticks. 165 int ticks = shared_function_info->profiler_ticks(); local 166 if (ticks < Smi::kMaxValue) { 167 shared_function_info->set_profiler_ticks(ticks + 1); 183 int ticks = shared_code->profiler_ticks(); local 186 static_cast<int64_t>(ticks) * kOSRCodeSizeAllowancePerTick; 188 ticks < Code::ProfilerTicksField::kMax) { 189 shared_code->set_profiler_ticks(ticks + 1); 210 int ticks = shared_code->profiler_ticks() local 222 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/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...] |
/prebuilts/misc/windows/sdl2/test/ |
testtimer.c | 24 static int ticks = 0; variable 29 ++ticks; 74 if (ticks) { 76 desired, (double) (10 * 1000) / ticks); 116 SDL_Log("Delay 1 second = %d ms in ticks, %f ms according to performance counter\n", (now32-start32), (double)((now - start)*1000) / SDL_GetPerformanceFrequency());
|
/external/v8/src/base/platform/ |
elapsed-timer.h | 57 TimeTicks ticks = Now(); local 58 TimeDelta elapsed = ticks - start_ticks_; 60 start_ticks_ = ticks;
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
webrtc_rendering_stats.py | 145 for ticks in cadence: 146 ticks_so_far = frame_distribution.setdefault(ticks, 0) 147 frame_distribution[ticks] = ticks_so_far + 1 164 number_vsyncs = sum([ticks * frame_distribution[ticks] 165 for ticks in frame_distribution]) 185 frozen_frame_vsyncs = [ticks for ticks in frame_distribution if ticks >=
|
/external/iproute2/tc/ |
tc_core.h | 22 unsigned tc_calc_xmitsize(__u64 rate, unsigned ticks);
|
/external/skia/src/core/ |
SkTime.cpp | 73 uint64_t ticks = __rdtsc(); local 74 return ticks * *ns_per_tick.get([]{ 85 uint64_t ticks = mach_absolute_time(); 86 return ticks * *ns_per_tick.get([]{
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; local 289 /* get current ticks */ 290 ticks = pSMFData->nextStream->ticks; 309 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 313 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) 322 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; 326 else if (pSMFData->nextStream->ticks == ticks) 483 EAS_U32 ticks; local 792 EAS_U32 ticks; local 1056 EAS_U32 ticks; local [all...] |