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()
35211 SYSTEMTIME pTm;
35218 osFileTimeToSystemTime(&lTm,&pTm);
35219 y.tm_year = pTm.wYear - 1900;
35220 y.tm_mon = pTm.wMonth - 1;
35221 y.tm_wday = pTm.wDayOfWeek;
35222 y.tm_mday = pTm.wDay;
35223 y.tm_hour = pTm.wHour;
35224 y.tm_min = pTm.wMinute;
35225 y.tm_sec = pTm.wSecond;