/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 221 def ConvertToTicks (self, measures, beats, ticks): argument 223 total_ticks = ticks + (total_beats * self.ppqn) 226 def ConvertTicksToMBT (self, ticks): argument 227 beats = ticks / self.ppqn 228 ticks -= beats * self.ppqn 231 return (measures, beats, ticks) 233 def ConvertTicksToStr (self, ticks, format=DEFAULT_TIME_FORMAT): argument 234 measures, beats, ticks = self.ConvertTicksToMBT(ticks) 235 return format % (measures, beats, ticks) 239 measures, beats, ticks = s.split(':',3) [all …]
|
/external/valgrind/main/memcheck/tests/linux/ |
D | timerfd-syscall.c | 148 u_int64_t ticks; in waittmr() local 164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) in waittmr() 170 return ticks; in waittmr() 176 long ticks; in main() local 211 ticks = waittmr(tfd, -1); in main() 213 if (ticks <= 0) in main() 217 ticks, (ttmr - tnow) * 1e-6); in main() 231 ticks = waittmr(tfd, -1); in main() 233 if (ticks <= 0) in main() 237 ticks, (ttmr - tnow) * 1e-6); in main() [all …]
|
D | 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/bluetooth/bluedroid/gki/common/ |
D | gki_time.c | 198 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) in GKI_start_timer() argument 205 if (ticks <= 0) in GKI_start_timer() 206 ticks = 1; in GKI_start_timer() 208 orig_ticks = ticks; /* save the ticks in case adjustment is necessary */ in GKI_start_timer() 213 reload = ticks; in GKI_start_timer() 245 if (GKI_MAX_INT32 - (gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp) > ticks) in GKI_start_timer() 247 ticks += gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp; in GKI_start_timer() 250 ticks = GKI_MAX_INT32; in GKI_start_timer() 257 gki_cb.com.OSTaskTmr0 [task_id] = ticks; in GKI_start_timer() 264 gki_cb.com.OSTaskTmr1 [task_id] = ticks; in GKI_start_timer() [all …]
|
/external/libnfc-nci/src/gki/common/ |
D | gki_time.c | 196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) in GKI_start_timer() argument 203 if (ticks <= 0) in GKI_start_timer() 204 ticks = 1; in GKI_start_timer() 206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary */ in GKI_start_timer() 211 reload = ticks; in GKI_start_timer() 243 if (GKI_MAX_INT32 - (gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp) > ticks) in GKI_start_timer() 245 ticks += gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp; in GKI_start_timer() 248 ticks = GKI_MAX_INT32; in GKI_start_timer() 255 gki_cb.com.OSTaskTmr0 [task_id] = ticks; in GKI_start_timer() 262 gki_cb.com.OSTaskTmr1 [task_id] = ticks; in GKI_start_timer() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
D | gki_time.c | 196 void GKI_start_timer (UINT8 tnum, INT32 ticks, BOOLEAN is_continuous) in GKI_start_timer() argument 203 if (ticks <= 0) in GKI_start_timer() 204 ticks = 1; in GKI_start_timer() 206 orig_ticks = ticks; /* save the ticks in case adjustment is necessary */ in GKI_start_timer() 211 reload = ticks; in GKI_start_timer() 243 if (GKI_MAX_INT32 - (gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp) > ticks) in GKI_start_timer() 245 ticks += gki_cb.com.OSNumOrigTicks - gki_cb.com.OSTicksTilExp; in GKI_start_timer() 248 ticks = GKI_MAX_INT32; in GKI_start_timer() 255 gki_cb.com.OSTaskTmr0 [task_id] = ticks; in GKI_start_timer() 262 gki_cb.com.OSTaskTmr1 [task_id] = ticks; in GKI_start_timer() [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; in SMF_Event() local 290 ticks = pSMFData->nextStream->ticks; in SMF_Event() 309 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 313 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) in SMF_Event() 322 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 326 else if (pSMFData->nextStream->ticks == ticks) in SMF_Event() 338 if (pSMFData->streams[i].ticks < temp) in SMF_Event() 340 temp = pSMFData->streams[i].ticks; in SMF_Event() 351 SMF_UpdateTime(pSMFData, pSMFData->nextStream->ticks - ticks); in SMF_Event() [all …]
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; in SMF_Event() local 285 ticks = pSMFData->nextStream->ticks; in SMF_Event() 304 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 308 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) in SMF_Event() 317 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 321 else if (pSMFData->nextStream->ticks == ticks) in SMF_Event() 333 if (pSMFData->streams[i].ticks < temp) in SMF_Event() 335 temp = pSMFData->streams[i].ticks; in SMF_Event() 346 SMF_UpdateTime(pSMFData, pSMFData->nextStream->ticks - ticks); in SMF_Event() [all …]
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_smf.c | 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks); 276 EAS_U32 ticks; in SMF_Event() local 285 ticks = pSMFData->nextStream->ticks; in SMF_Event() 304 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 308 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK) in SMF_Event() 317 pSMFData->nextStream->ticks = SMF_END_OF_TRACK; in SMF_Event() 321 else if (pSMFData->nextStream->ticks == ticks) in SMF_Event() 333 if (pSMFData->streams[i].ticks < temp) in SMF_Event() 335 temp = pSMFData->streams[i].ticks; in SMF_Event() 346 SMF_UpdateTime(pSMFData, pSMFData->nextStream->ticks - ticks); in SMF_Event() [all …]
|
/external/v8/test/mjsunit/tools/ |
D | tickprocessor-test.gc-state | 1 Statistical profiling result from v8.log, (13 ticks, 0 unaccounted, 13 excluded). 4 ticks total nonlib name 7 ticks total nonlib name 10 ticks total nonlib name 13 ticks total nonlib name 21 ticks parent name
|
D | tickprocessor-test.func-info | 1 Statistical profiling result from v8.log, (3 ticks, 0 unaccounted, 0 excluded). 4 ticks total nonlib name 7 ticks total nonlib name 12 ticks total nonlib name 15 ticks total nonlib name 23 ticks parent name
|
D | tickprocessor-test.default | 1 Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded). 4 ticks total nonlib name 8 ticks total nonlib name 13 ticks total nonlib name 17 ticks total nonlib name 24 ticks total nonlib name 32 ticks parent name
|
D | tickprocessor-test.separate-ic | 1 Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded). 4 ticks total nonlib name 8 ticks total nonlib name 13 ticks total nonlib name 19 ticks total nonlib name 26 ticks total nonlib name 34 ticks parent name
|
D | tickprocessor-test.ignore-unknown | 1 Statistical profiling result from v8.log, (13 ticks, 2 unaccounted, 0 excluded). 4 ticks total nonlib name 9 ticks total nonlib name 13 ticks total nonlib name 20 ticks total nonlib name 28 ticks parent name
|
/external/webrtc/src/system_wrappers/source/ |
D | cpu_mac.cc | 50 WebRtc_Word64 ticks = 0; in CpuWrapperMac() local 53 ticks += cpuLoadInfo[cpu].cpu_ticks[state]; in CpuWrapperMac() 55 _lastTickCount[cpu] = ticks; in CpuWrapperMac() 122 WebRtc_Word64 ticks = 0; in Update() local 125 ticks += cpuLoadInfo[cpu].cpu_ticks[state]; in Update() 132 (ticks - _lastTickCount[cpu])) / in Update() 135 _lastTickCount[cpu] = ticks; in Update()
|
/external/webrtc/src/system_wrappers/interface/ |
D | tick_util.h | 51 static WebRtc_Word64 TicksToMilliseconds(const WebRtc_Word64 ticks); 54 friend TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks); 112 inline TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks) 115 time._ticks += ticks; 259 inline WebRtc_Word64 TickTime::TicksToMilliseconds(const WebRtc_Word64 ticks) in TicksToMilliseconds() argument 265 return (ticks * 1000) / qpfreq.QuadPart; in TicksToMilliseconds() 267 return ticks; in TicksToMilliseconds() 270 return ticks / 1000000LL; in TicksToMilliseconds() 272 return ticks / 1000LL; in TicksToMilliseconds() 276 inline TickTime& TickTime::operator+=(const WebRtc_Word64& ticks) [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/timer/riscos/ |
D | SDL_systimer.c | 63 clock_t ticks; in SDL_GetTicks() local 65 ticks=clock()-start; in SDL_GetTicks() 70 return(ticks); in SDL_GetTicks() 74 return (ticks * 10); in SDL_GetTicks() 78 return ticks*(1000/CLOCKS_PER_SEC); in SDL_GetTicks()
|
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/ |
D | SDL_systimer.c | 74 Uint32 ticks; in SDL_GetTicks() local 77 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_nsec-start.tv_nsec)/1000000; in SDL_GetTicks() 78 return(ticks); in SDL_GetTicks() 80 Uint32 ticks; in SDL_GetTicks() 83 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000; in SDL_GetTicks() 84 return(ticks); in SDL_GetTicks()
|
/external/qemu/distrib/sdl-1.2.15/test/ |
D | testtimer.c | 13 static int ticks = 0; variable 17 ++ticks; in ticktock() 55 if ( ticks ) { in main() 58 desired, (double)(10*1000)/ticks); in main()
|
/external/mdnsresponder/mDNSPosix/ |
D | PosixDaemon.c | 153 mDNSs32 ticks; in MainLoop() local 160 ticks = nextTimerEvent - mDNS_TimeNow(m); in MainLoop() 161 if (ticks < 1) ticks = 1; in MainLoop() 164 ticks = 0; in MainLoop() 166 timeout.tv_sec = ticks / mDNSPlatformOneSecond; in MainLoop() 167 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond; in MainLoop()
|
/external/qemu/target-arm/ |
D | translate-android.h | 316 # define ANDROID_TRACE_DECLS int ticks = 0; 322 ticks = get_insn_ticks_arm(insn); \ 330 int ticks = get_insn_ticks_thumb(insn); \ 333 gen_traceTicks(ticks); \ 347 ticks -= 1; \ 353 if (tracing && ticks > 0) { \ 354 gen_traceTicks(ticks); \
|
/external/grub/netboot/ |
D | timer.h | 51 extern void load_timer2(unsigned int ticks); 57 extern inline void waiton_timer2(unsigned int ticks) in waiton_timer2() argument 59 load_timer2(ticks); in waiton_timer2()
|
D | timer.c | 13 void load_timer2(unsigned int ticks) in load_timer2() argument 18 outb(ticks & 0xFF, TIMER2_PORT); in load_timer2() 19 outb(ticks >> 8, TIMER2_PORT); in load_timer2()
|
/external/qemu/distrib/sdl-1.2.15/src/timer/win32/ |
D | SDL_systimer.c | 75 DWORD now, ticks; in SDL_GetTicks() local 100 ticks = (TIME_WRAP_VALUE-start) + now; in SDL_GetTicks() 102 ticks = (now - start); in SDL_GetTicks() 104 return(ticks); in SDL_GetTicks()
|
/external/qemu/audio/ |
D | noaudio.c | 46 int64_t ticks; in no_run_out() local 50 ticks = now - no->old_ticks; in no_run_out() 51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_out() 106 int64_t ticks = now - no->old_ticks; in no_run_in() local 108 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); in no_run_in()
|