/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | timing.h | 49 if(beforetp.tv_usec > aftertp.tv_usec) \ 51 aftertp.tv_usec += 1000000; \ 56 (aftertp.tv_usec - beforetp.tv_usec)) 59 ((aftertp.tv_usec - beforetp.tv_usec) / 1000)) 62 (aftertp.tv_usec - beforetp.tv_usec) / 1000000)
|
D | _hotshot.c | 843 tdelta = tv.tv_usec - self->prev_timeofday.tv_usec; in get_tdelta() 920 if (tv1.tv_sec != tv2.tv_sec || tv1.tv_usec != tv2.tv_usec) { in calibrate() 922 timeofday_diff = tv2.tv_usec - tv1.tv_usec; in calibrate() 924 timeofday_diff = (1000000 - tv1.tv_usec) + tv2.tv_usec; in calibrate() 940 rusage_diff = ((1000000 - ru1.ru_utime.tv_usec) in calibrate() 941 + ru2.ru_utime.tv_usec); in calibrate() 944 else if (ru1.ru_utime.tv_usec != ru2.ru_utime.tv_usec) { in calibrate() 945 rusage_diff = ru2.ru_utime.tv_usec - ru1.ru_utime.tv_usec; in calibrate() 949 rusage_diff = ((1000000 - ru1.ru_stime.tv_usec) in calibrate() 950 + ru2.ru_stime.tv_usec); in calibrate() [all …]
|
D | timemodule.c | 905 return (double)t.tv_sec + t.tv_usec*0.000001; in floattime() 908 return (double)t.tv_sec + t.tv_usec*0.000001; in floattime() 941 t.tv_usec = (long)(frac*1000000.0);
|
D | resource.c | 20 #define doubletime(TV) ((double)(TV).tv_sec + (TV).tv_usec * 0.000001)
|
D | signalmodule.c | 113 tv->tv_usec = fmod(d, 1.0) * 1000000.0; in timeval_from_double() 119 return tv->tv_sec + (double)(tv->tv_usec / 1000000.0); in double_from_timeval()
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | time.h | 56 LONG32 tv_usec; /* and microseconds */ member 70 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 75 (tv)->tv_usec = (ts)->tv_nsec / 1000; \ 79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0 80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) 84 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \ 90 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \ 91 if ((vvp)->tv_usec >= 1000000) { \ 93 (vvp)->tv_usec -= 1000000; \ 100 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \ [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | EmuThunk.c | 160 delta = ((UINT64)timeval.tv_sec * 1000) + (timeval.tv_usec / 1000) in settimer_handler() 162 - (settimer_timeval.tv_usec / 1000); in settimer_handler() 196 timerval.it_value.tv_usec = remainder * 1000; in SecSetTimer() 308 MicroSec = (start.tv_usec + rq.tv_nsec/1000); in SecSleep() 309 end.tv_usec = MicroSec % 1000000; in SecSleep() 321 } if ((start.tv_sec == end.tv_sec) && (start.tv_usec > end.tv_usec)) { in SecSleep()
|
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/ |
D | timespec.h | 44 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
D | utime.c | 69 tv[0].tv_usec = tv[1].tv_usec = 0; in utime()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
D | itimer.c | 55 if (TimerInfo->it_value.tv_sec+TimerInfo->it_value.tv_usec == 0) { in SetNext() 69 TimerInfo->it_value.tv_sec*10000000+TimerInfo->it_value.tv_usec*1000); in SetNext() 212 if (value->it_value.tv_sec+value->it_value.tv_usec == 0) { in setitimer() 231 value->it_value.tv_sec*10000000+value->it_value.tv_usec*1000); in setitimer()
|
D | gettimeofday.c | 64 tp->tv_usec = 0; in gettimeofday()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetSockOpt/ |
D | SetSockOpt.c | 145 && ( 0 == Value.TimeVal->tv_usec )) { in DisplayOption() 151 Value.TimeVal->tv_usec ); in DisplayOption() 209 &Value.TimeVal->tv_usec ); in GetOptionValue() 212 && ( 0 <= Value.TimeVal->tv_usec ) in GetOptionValue() 213 && ( 1000000 > Value.TimeVal->tv_usec )){ in GetOptionValue()
|
/device/google/marlin/dataservices/datatop/src/ |
D | datatop.c | 125 timeout.tv_usec = 0; in dtop_poll_periodically() 150 printf("Polled at %ld.%06ld\n", tv.tv_sec, tv.tv_usec); in dtop_poll_periodically()
|
D | datatop_helpers.c | 391 if (fprintf(fw, ".%06ld,", tv.tv_usec) < 0) in dtop_print_time_at_poll()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RecvDgram/ |
D | RecvDgram.c | 66 Timeout.tv_usec = 0; in main()
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | recvfrom.c | 106 Timeout += TimeVal.tv_usec; in recvfrom()
|
D | res_init.c | 513 return (0xffff & (now.tv_sec ^ now.tv_usec /* ^ getpid() */)); in res_randomid()
|
/device/linaro/hikey/bluetooth/ |
D | async_fd_watcher.cc | 129 timeout.tv_usec = (timeout_ms_.count() % 1000) * 1000; in ThreadRoutine()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/ |
D | OobRx.c | 112 ReceiveTimeout.tv_usec = 20 * 1000; in OobRx()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
D | select.c | 205 timo = tv->tv_usec + (tv->tv_sec * 1000000); in select()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | timemodule.c | 910 return (double)t.tv_sec + t.tv_usec*0.000001; in floattime() 913 return (double)t.tv_sec + t.tv_usec*0.000001; in floattime() 946 t.tv_usec = (long)(frac*1000000.0);
|
D | signalmodule.c | 113 tv->tv_usec = fmod(d, 1.0) * 1000000.0; in timeval_from_double() 119 return tv->tv_sec + (double)(tv->tv_usec / 1000000.0); in double_from_timeval()
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/ |
D | OpenSslSupport.h | 141 long tv_usec; /* time value, in microseconds */ member
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/ |
D | daShell.c | 412 FileInfo->LastAccessTime.Nanosecond = TV[0].tv_usec * 1000; in da_ShellIoctl() 421 FileInfo->ModificationTime.Nanosecond = TV[1].tv_usec * 1000; in da_ShellIoctl()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpegdec_test.c | 39 #define TIME_IN_US(r) ((uint64_t)r.tv_sec * 1000000LL + (uint64_t)r.tv_usec)
|