Searched defs:pTime (Results 1 - 24 of 24) sorted by relevance

/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibTime.cpp35 VBGLR3DECL(int) VbglR3GetHostTime(PRTTIMESPEC pTime) argument
42 RTTimeSpecSetMilli(pTime, (int64_t)Req.time);
/vbox/src/VBox/Runtime/generic/
H A DRTTimeLocalExplode-generic.cpp35 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 DRTTimeLocalNow-generic.cpp35 RTDECL(PRTTIMESPEC) RTTimeLocalNow(PRTTIMESPEC pTime) argument
42 RTTimeNow(pTime);
46 return RTTimeSpecAddNano(pTime, i64PostDelta);
/vbox/src/VBox/Runtime/r3/posix/
H A DRTTimeNow-posix.cpp42 * @returns pTime.
43 * @param pTime Where to store the time.
45 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument
49 return RTTimeSpecSetTimeval(pTime, &tv);
H A DRTTimeSet-posix.cpp43 RTDECL(int) RTTimeSet(PCRTTIMESPEC pTime) argument
46 if (settimeofday(RTTimeSpecGetTimeval(pTime, &tv), NULL) == 0)
H A Dtimelocal-posix.cpp47 * @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 Dtime-r0drv-os2.cpp68 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument
90 return RTTimeSpecSetNano(pTime, u64);
/vbox/src/VBox/Runtime/r3/haiku/
H A Dtime-haiku.cpp78 RTDECL(int) RTTimeSet(PCRTTIMESPEC pTime) argument
81 RTTimeSpecGetTimeval(pTime, &tv);
/vbox/src/VBox/Runtime/r3/win/
H A Dtime2-win.cpp43 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 Dtime-win.cpp155 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 Dtime-r0drv-darwin.cpp86 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 Dtime-r0drv-nt.cpp109 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument
129 return RTTimeSpecSetNtTime(pTime, SystemTime.QuadPart);
/vbox/src/VBox/Runtime/r3/darwin/
H A Dtime-darwin.cpp108 RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime) argument
113 return RTTimeSpecSetTimeval(pTime, &tv);
/vbox/src/VBox/Runtime/testcase/
H A DtstRTTimeSpec.cpp45 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 Dtime-nt.cpp164 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 Dasn1-dump.cpp108 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 Dasn1-cursor.cpp482 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 DVBoxGuestLib.h429 VBGLR3DECL(int) VbglR3GetHostTime(PRTTIMESPEC pTime); variable
/vbox/src/VBox/Runtime/common/time/
H A Dtime.cpp254 * @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 Dtime.h65 * @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 Dtarcmd.cpp802 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 DPDMDevHlp.cpp630 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 DTM.cpp2706 * @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 Dpdmdev.h2579 * @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);

Completed in 200 milliseconds