/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | VBoxGuestR3LibTime.cpp | 35 VBGLR3DECL(int) VbglR3GetHostTime(PRTTIMESPEC pTime) argument 42 RTTimeSpecSetMilli(pTime, (int64_t)Req.time);
|
/vbox/src/VBox/Runtime/generic/ |
H A D | RTTimeLocalExplode-generic.cpp | 35 RTDECL(PRTTIME) RTTimeLocalExplode(PRTTIME pTime, PCRTTIMESPEC pTimeSpec) argument 37 pTime = RTTimeExplode(pTime, pTimeSpec); 38 if (pTime) 40 pTime->fFlags = (pTime->fFlags & ~RTTIME_FLAGS_TYPE_MASK) | RTTIME_FLAGS_TYPE_LOCAL; 41 pTime->offZone = RTTimeLocalDeltaNano() / (UINT64_C(1000000000)*3600); /** @todo this is obviously wrong. Need RTTimeLocalDeltaNanoFor(pTimeSpec); */ 43 return pTime;
|
H A D | RTTimeLocalNow-generic.cpp | 35 RTDECL(PRTTIMESPEC) RTTimeLocalNow(PRTTIMESPEC pTime) argument 42 RTTimeNow(pTime); 46 return RTTimeSpecAddNano(pTime, i64PostDelta);
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | RTTimeNow-posix.cpp | 42 * @returns pTime. 43 * @param pTime Where to store the time. 45 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument 49 return RTTimeSpecSetTimeval(pTime, &tv);
|
H A D | RTTimeSet-posix.cpp | 43 RTDECL(int) RTTimeSet(PCRTTIMESPEC pTime) argument 46 if (settimeofday(RTTimeSpecGetTimeval(pTime, &tv), NULL) == 0)
|
H A D | timelocal-posix.cpp | 47 * @param pTime The time. 51 static int64_t rtTimeLocalUTCOffset(PCRTTIMESPEC pTime, bool fCurrentTime) argument 58 int64_t i64UnixTime = RTTimeSpecGetSeconds(pTime); 124 * @returns pTime. 125 * @param pTime Where to store the exploded time. 128 RTDECL(PRTTIME) RTTimeLocalExplode(PRTTIME pTime, PCRTTIMESPEC pTimeSpec) argument 132 pTime = RTTimeExplode(pTime, &LocalTime); 133 if (pTime) 134 pTime [all...] |
/vbox/src/VBox/Runtime/r0drv/os2/ |
H A D | time-r0drv-os2.cpp | 68 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument 90 return RTTimeSpecSetNano(pTime, u64);
|
/vbox/src/VBox/Runtime/r3/haiku/ |
H A D | time-haiku.cpp | 78 RTDECL(int) RTTimeSet(PCRTTIMESPEC pTime) argument 81 RTTimeSpecGetTimeval(pTime, &tv);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | time2-win.cpp | 43 RTDECL(int) RTTimeSet(PCRTTIMESPEC pTime) argument 47 if (FileTimeToSystemTime(RTTimeSpecGetNtFileTime(pTime, &FileTime), &SysTime)) 56 RTDECL(PRTTIME) RTTimeLocalExplode(PRTTIME pTime, PCRTTIMESPEC pTimeSpec) argument 75 pTime = RTTimeExplode(pTime, &LocalTime); 76 if (pTime) 77 pTime->fFlags = (pTime->fFlags & ~RTTIME_FLAGS_TYPE_MASK) | RTTIME_FLAGS_TYPE_LOCAL; 78 return pTime; 89 pTime [all...] |
H A D | time-win.cpp | 155 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument 160 return RTTimeSpecSetNtTime(pTime, u64); 164 RTDECL(PRTTIMESPEC) RTTimeLocalNow(PRTTIMESPEC pTime) argument 172 return RTTimeSpecSetNtTime(pTime, u64Local);
|
/vbox/src/VBox/Runtime/r0drv/darwin/ |
H A D | time-r0drv-darwin.cpp | 86 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument 96 return RTTimeSpecSetNano(pTime, (uint64_t)uSecs * RT_NS_1SEC + uNanosecs);
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | time-r0drv-nt.cpp | 109 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument 129 return RTTimeSpecSetNtTime(pTime, SystemTime.QuadPart);
|
/vbox/src/VBox/Runtime/r3/darwin/ |
H A D | time-darwin.cpp | 108 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument 113 return RTTimeSpecSetTimeval(pTime, &tv);
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTTimeSpec.cpp | 45 char *ToString(PRTTIME pTime) argument 49 pTime->i32Year, 50 pTime->u8Month, 51 pTime->u8MonthDay, 52 pTime->u8Hour, 53 pTime->u8Minute, 54 pTime->u8Second, 55 pTime->u32Nanosecond, 56 pTime->u16YearDay, 57 pTime [all...] |
/vbox/src/VBox/Runtime/r3/nt/ |
H A D | time-nt.cpp | 164 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument 172 return RTTimeSpecSetNtTime(pTime, g_pfnRtlGetSystemTimePrecise()); 180 return RTTimeSpecSetNtTime(pTime, uRet); 189 return RTTimeSpecSetNtTime(pTime, NtTime.QuadPart); 194 RTDECL(PRTTIMESPEC) RTTimeLocalNow(PRTTIMESPEC pTime) argument 196 return RTTimeSpecAddNano(RTTimeNow(pTime), RTTimeLocalDeltaNano());
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-dump.cpp | 108 PCRTASN1TIME pTime = (PCRTASN1TIME)pAsn1Core; local 111 pTime->Time.i32Year, pTime->Time.u8Month, pTime->Time.u8MonthDay, 112 pTime->Time.u8Hour, pTime->Time.u8Minute, pTime->Time.u8Second, 113 pTime->Time.u32Nanosecond);
|
H A D | asn1-cursor.cpp | 482 RTDECL(int) RTAsn1CursorGetTime(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1TIME pTime, const char *pszErrorTag) argument 484 return RTAsn1Time_DecodeAsn1(pCursor, fFlags, pTime, pszErrorTag);
|
/vbox/include/VBox/ |
H A D | VBoxGuestLib.h | 429 VBGLR3DECL(int) VbglR3GetHostTime(PRTTIMESPEC pTime); variable
|
/vbox/src/VBox/Runtime/common/time/ |
H A D | time.cpp | 254 * @returns pTime. 255 * @param pTime Where to store the exploded time. 258 RTDECL(PRTTIME) RTTimeExplode(PRTTIME pTime, PCRTTIMESPEC pTimeSpec) argument 267 AssertMsg(VALID_PTR(pTime), ("%p\n", pTime)); local 268 AssertMsg(VALID_PTR(pTimeSpec), ("%p\n", pTime)); local 273 pTime->fFlags = RTTIME_FLAGS_TYPE_UTC; 282 pTime->u32Nanosecond = i32Rem; 292 pTime->u8Second = i32Rem; 303 pTime 377 RTTimeImplode(PRTTIMESPEC pTimeSpec, PCRTTIME pTime) argument 423 rtTimeNormalizeInternal(PRTTIME pTime) argument 661 RTTimeNormalize(PRTTIME pTime) argument 688 RTTimeToString(PCRTTIME pTime, char *psz, size_t cb) argument 740 RTTimeSpecToString(PCRTTIMESPEC pTime, char *psz, size_t cb) argument 760 RTTimeFromString(PRTTIME pTime, const char *pszString) argument 899 RTTimeSpecFromString(PRTTIMESPEC pTime, const char *pszString) argument [all...] |
/vbox/include/iprt/ |
H A D | time.h | 65 * @param pTime The time spec to interpret. 67 DECLINLINE(int64_t) RTTimeSpecGetNano(PCRTTIMESPEC pTime) argument 69 return pTime->i64NanosecondsRelativeToUnixEpoch; 76 * @returns pTime. 77 * @param pTime The time spec to modify. 80 DECLINLINE(PRTTIMESPEC) RTTimeSpecSetNano(PRTTIMESPEC pTime, int64_t i64Nano) argument 82 pTime->i64NanosecondsRelativeToUnixEpoch = i64Nano; 83 return pTime; 91 * @param pTime The time spec to interpret. 93 DECLINLINE(int64_t) RTTimeSpecGetMicro(PCRTTIMESPEC pTime) argument 106 RTTimeSpecSetMicro(PRTTIMESPEC pTime, int64_t i64Micro) argument 119 RTTimeSpecGetMilli(PCRTTIMESPEC pTime) argument 132 RTTimeSpecSetMilli(PRTTIMESPEC pTime, int64_t i64Milli) argument 145 RTTimeSpecGetSeconds(PCRTTIMESPEC pTime) argument 158 RTTimeSpecSetSeconds(PRTTIMESPEC pTime, int64_t i64Seconds) argument 171 RTTimeSpecAbsolute(PRTTIMESPEC pTime) argument 185 RTTimeSpecNegate(PRTTIMESPEC pTime) argument 199 RTTimeSpecAdd(PRTTIMESPEC pTime, PCRTTIMESPEC pTimeAdd) argument 213 RTTimeSpecAddNano(PRTTIMESPEC pTime, int64_t i64Nano) argument 227 RTTimeSpecAddMicro(PRTTIMESPEC pTime, int64_t i64Micro) argument 241 RTTimeSpecAddMilli(PRTTIMESPEC pTime, int64_t i64Milli) argument 255 RTTimeSpecAddSeconds(PRTTIMESPEC pTime, int64_t i64Seconds) argument 269 RTTimeSpecSub(PRTTIMESPEC pTime, PCRTTIMESPEC pTimeSub) argument 283 RTTimeSpecSubNano(PRTTIMESPEC pTime, int64_t i64Nano) argument 297 RTTimeSpecSubMicro(PRTTIMESPEC pTime, int64_t i64Micro) argument 311 RTTimeSpecSubMilli(PRTTIMESPEC pTime, int64_t i64Milli) argument 325 RTTimeSpecSubSeconds(PRTTIMESPEC pTime, int64_t i64Seconds) argument 340 RTTimeSpecGetSecondsAndNano(PRTTIMESPEC pTime, int32_t *pi32Seconds, int32_t *pi32Nano) argument 364 RTTimeSpecGetTimeval(PCRTTIMESPEC pTime, struct timeval *pTimeval) argument 386 RTTimeSpecSetTimeval(PRTTIMESPEC pTime, const struct timeval *pTimeval) argument 402 RTTimeSpecGetTimespec(PCRTTIMESPEC pTime, struct timespec *pTimespec) argument 424 RTTimeSpecSetTimespec(PRTTIMESPEC pTime, const struct timespec *pTimespec) argument 443 RTTimeSpecGetNtTime(PCRTTIMESPEC pTime) argument 457 RTTimeSpecSetNtTime(PRTTIMESPEC pTime, uint64_t u64NtTime) argument 473 RTTimeSpecGetNtFileTime(PCRTTIMESPEC pTime, PFILETIME pFileTime) argument 486 RTTimeSpecSetNtFileTime(PRTTIMESPEC pTime, const FILETIME *pFileTime) argument 504 RTTimeSpecGetDosSeconds(PCRTTIMESPEC pTime) argument 518 RTTimeSpecSetDosSeconds(PRTTIMESPEC pTime, int64_t i64Seconds) argument 651 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime); variable 662 RTDECL(int) RTTimeSet(PCRTTIMESPEC pTime); variable 711 RTDECL(PRTTIME) RTTimeNormalize(PRTTIME pTime); variable 719 RTDECL(PRTTIMESPEC) RTTimeLocalNow(PRTTIMESPEC pTime); variable 751 RTDECL(PRTTIME) RTTimeLocalNormalize(PRTTIME pTime); variable [all...] |
/vbox/src/VBox/Runtime/common/zip/ |
H A D | tarcmd.cpp | 802 PRTTIME pTime; local 804 pTime = RTTimeLocalExplode(&ModTime, &UnixInfo.ModificationTime); 806 pTime = RTTimeExplode(&ModTime, &UnixInfo.ModificationTime); 807 if (!pTime)
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PDMDevHlp.cpp | 630 static DECLCALLBACK(PRTTIMESPEC) pdmR3DevHlp_TMUtcNow(PPDMDEVINS pDevIns, PRTTIMESPEC pTime) argument 633 LogFlow(("pdmR3DevHlp_TMUtcNow: caller='%s'/%d: pTime=%p\n", 634 pDevIns->pReg->szName, pDevIns->iInstance, pTime)); 636 pTime = TMR3UtcNow(pDevIns->Internal.s.pVMR3, pTime); 638 LogFlow(("pdmR3DevHlp_TMUtcNow: caller='%s'/%d: returns %RU64\n", pDevIns->pReg->szName, pDevIns->iInstance, RTTimeSpecGetNano(pTime))); 639 return pTime;
|
H A D | TM.cpp | 2706 * @returns pTime. 2708 * @param pTime Where to store the time. 2710 VMMR3_INT_DECL(PRTTIMESPEC) TMR3UtcNow(PVM pVM, PRTTIMESPEC pTime) argument 2724 RTTimeNow(pTime); 2725 RTTimeSpecSubNano(pTime, offLag); 2726 RTTimeSpecAddNano(pTime, pVM->tm.s.offUTC); 2727 return pTime;
|
/vbox/include/VBox/vmm/ |
H A D | pdmdev.h | 2579 * @returns pTime. 2581 * @param pTime Where to store the time. 2583 DECLR3CALLBACKMEMBER(PRTTIMESPEC, pfnTMUtcNow,(PPDMDEVINS pDevIns, PRTTIMESPEC pTime)); 4595 DECLINLINE(PRTTIMESPEC) PDMDevHlpTMUtcNow(PPDMDEVINS pDevIns, PRTTIMESPEC pTime) argument 4597 return pDevIns->pHlpR3->pfnTMUtcNow(pDevIns, pTime);
|