Lines Matching refs:pTm
15759 static int osLocaltime(time_t *t, struct tm *pTm){ in osLocaltime() argument
15771 if( pX ) *pTm = *pX; in osLocaltime()
15779 rc = localtime_r(t, pTm)==0; in osLocaltime()
15781 rc = localtime_s(pTm, t); in osLocaltime()
16409 struct tm *pTm; in currentTimeFunc() local
16420 pTm = gmtime_r(&t, &sNow); in currentTimeFunc()
16423 pTm = gmtime(&t); in currentTimeFunc()
16424 if( pTm ) memcpy(&sNow, pTm, sizeof(sNow)); in currentTimeFunc()
16427 if( pTm ){ in currentTimeFunc()
35229 SYSTEMTIME pTm;
35236 osFileTimeToSystemTime(&lTm,&pTm);
35237 y.tm_year = pTm.wYear - 1900;
35238 y.tm_mon = pTm.wMonth - 1;
35239 y.tm_wday = pTm.wDayOfWeek;
35240 y.tm_mday = pTm.wDay;
35241 y.tm_hour = pTm.wHour;
35242 y.tm_min = pTm.wMinute;
35243 y.tm_sec = pTm.wSecond;