Lines Matching refs:pTm
19312 static int osLocaltime(time_t *t, struct tm *pTm){ in osLocaltime() argument
19324 if( pX ) *pTm = *pX; in osLocaltime()
19332 rc = localtime_r(t, pTm)==0; in osLocaltime()
19334 rc = localtime_s(pTm, t); in osLocaltime()
20000 struct tm *pTm; in currentTimeFunc() local
20011 pTm = gmtime_r(&t, &sNow); in currentTimeFunc()
20014 pTm = gmtime(&t); in currentTimeFunc()
20015 if( pTm ) memcpy(&sNow, pTm, sizeof(sNow)); in currentTimeFunc()
20018 if( pTm ){ in currentTimeFunc()
39845 SYSTEMTIME pTm;
39852 osFileTimeToSystemTime(&lTm,&pTm);
39853 y.tm_year = pTm.wYear - 1900;
39854 y.tm_mon = pTm.wMonth - 1;
39855 y.tm_wday = pTm.wDayOfWeek;
39856 y.tm_mday = pTm.wDay;
39857 y.tm_hour = pTm.wHour;
39858 y.tm_min = pTm.wMinute;
39859 y.tm_sec = pTm.wSecond;