/external/opencore/oscl/oscl/osclio/src/ |
D | oscl_file_io.cpp | 341 uint32 ticks = 0; in Open() local 343 iFileStats->Start(ticks); in Open() 373 iFileStats->End(EOsclFileOp_Open, ticks); in Open() 395 uint32 ticks = 0; in Open() local 397 iFileStats->Start(ticks); in Open() 427 iFileStats->End(EOsclFileOp_Open, ticks); in Open() 446 uint32 ticks = 0; in Close() local 448 iFileStats->Start(ticks); in Close() 467 iFileStats->End(EOsclFileOp_Close, ticks); in Close() 494 uint32 ticks = 0; in Read() local [all …]
|
/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/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 …]
|
D | eas_rtttl.c | 264 EAS_I32 ticks; in RTTTL_Event() local 303 ticks = pData->duration * pData->tick; in RTTTL_Event() 408 ticks = c * pData->tick; in RTTTL_Event() 434 ticks += ticks >> 1; in RTTTL_Event() 463 pData->restTicks = ticks >> 4; in RTTTL_Event() 474 pData->restTicks = ticks >> 1; in RTTTL_Event() 483 pData->time += ticks - pData->restTicks; in RTTTL_Event() 488 pData->time += ticks; in RTTTL_Event()
|
/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 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 …]
|
D | eas_rtttl.c | 264 EAS_I32 ticks; in RTTTL_Event() local 303 ticks = pData->duration * pData->tick; in RTTTL_Event() 408 ticks = c * pData->tick; in RTTTL_Event() 434 ticks += ticks >> 1; in RTTTL_Event() 463 pData->restTicks = ticks >> 4; in RTTTL_Event() 474 pData->restTicks = ticks >> 1; in RTTTL_Event() 483 pData->time += ticks - pData->restTicks; in RTTTL_Event() 488 pData->time += ticks; in RTTTL_Event()
|
/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 …]
|
D | eas_rtttl.c | 264 EAS_I32 ticks; in RTTTL_Event() local 303 ticks = pData->duration * pData->tick; in RTTTL_Event() 408 ticks = c * pData->tick; in RTTTL_Event() 434 ticks += ticks >> 1; in RTTTL_Event() 463 pData->restTicks = ticks >> 4; in RTTTL_Event() 474 pData->restTicks = ticks >> 1; in RTTTL_Event() 483 pData->time += ticks - pData->restTicks; in RTTTL_Event() 488 pData->time += ticks; in RTTTL_Event()
|
/external/qemu/distrib/sdl-1.2.12/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.12/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/openssl/crypto/ |
D | tmdiff.c | 140 unsigned long ticks; 183 tm->ticks = tickGet(); in ms_time_get() 218 ret = (double)(b->ticks - a->ticks) / (double)sysClkRateGet(); in ms_time_diff() 245 d = (b->ticks - a->ticks); in ms_time_cmp()
|
/external/qemu/distrib/sdl-1.2.12/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 | 44 int64_t ticks; in no_run_out() local 53 ticks = now - no->old_ticks; in no_run_out() 54 bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in no_run_out() 109 int64_t ticks = now - no->old_ticks; in no_run_in() local 110 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; in no_run_in()
|
/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()
|
D | misc.c | 40 unsigned long ticks; in twiddle() local 44 if ((ticks = currticks ()) == lastticks) in twiddle() 47 lastticks = ticks; in twiddle()
|
/external/qemu/distrib/sdl-1.2.12/src/timer/amigaos/ |
D | SDL_systimer.c | 70 clock_t ticks; in SDL_GetTicks() local 72 ticks=clock()-start; in SDL_GetTicks() 77 return(ticks); in SDL_GetTicks() 81 return ticks*(1000/CLOCKS_PER_SEC); in SDL_GetTicks()
|
/external/qemu/distrib/sdl-1.2.12/src/timer/os2/ |
D | SDL_systimer.c | 56 ULONG ticks = ticks; in SDL_GetTicks() local 84 mov dword ptr ticks, eax in SDL_GetTicks() 89 return ticks; in SDL_GetTicks()
|
/external/icu4c/test/cintltst/ |
D | utmstest.c | 352 int64_t ticks; member 450 int64_t ticks, millis; in TestDotNet() local 465 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode); in TestDotNet() 476 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode); in TestDotNet() 477 if(ticks != dt->ticks) { in TestDotNet() 480 …(int)i, (int)(ticks/dayTicks), (int)(dt->ticks/dayTicks), (int)dt->year, (int)dt->month, (int)dt->… in TestDotNet()
|
/external/icu4c/i18n/ |
D | utmscale.c | 14 #define ticks INT64_C(1) macro 15 #define microseconds (ticks * 10) 28 …{ticks, INT64_C(504911232000000000), U_INT64_MIN, INT64_C(871846080485477… 29 …{ticks, INT64_C(0), U_INT64_MIN, U_INT64_MAX, …
|
/external/qemu/distrib/sdl-1.2.12/src/audio/esd/ |
D | SDL_esdaudio.c | 187 Sint32 ticks; in ESD_WaitAudio() local 202 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; in ESD_WaitAudio() 203 if ( ticks > 0 ) { in ESD_WaitAudio() 204 SDL_Delay(ticks); in ESD_WaitAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/arts/ |
D | SDL_artsaudio.c | 203 Sint32 ticks; in ARTS_WaitAudio() local 218 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; in ARTS_WaitAudio() 219 if ( ticks > 0 ) { in ARTS_WaitAudio() 220 SDL_Delay(ticks); in ARTS_WaitAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/ |
D | SDL_bsdaudio.c | 149 Sint32 ticks; in OBSD_WaitAudio() local 151 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; in OBSD_WaitAudio() 152 if ( ticks > 0 ) { in OBSD_WaitAudio() 153 SDL_Delay(ticks); in OBSD_WaitAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/ |
D | SDL_paudio.c | 132 Sint32 ticks; in Paud_WaitAudio() local 134 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; in Paud_WaitAudio() 135 if ( ticks > 0 ) { in Paud_WaitAudio() 136 SDL_Delay(ticks); in Paud_WaitAudio()
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
D | SDL_dmaaudio.c | 157 Sint32 ticks; in DMA_WaitAudio() local 159 ticks = ((Sint32)(next_frame - SDL_GetTicks()))-FUDGE_TICKS; in DMA_WaitAudio() 160 if ( ticks > 0 ) { in DMA_WaitAudio() 161 SDL_Delay(ticks); in DMA_WaitAudio()
|