Lines Matching refs:pTm
20071 static int osLocaltime(time_t *t, struct tm *pTm){ in osLocaltime() argument
20083 if( pX ) *pTm = *pX; in osLocaltime()
20091 rc = localtime_r(t, pTm)==0; in osLocaltime()
20093 rc = localtime_s(pTm, t); in osLocaltime()
20759 struct tm *pTm; in currentTimeFunc() local
20770 pTm = gmtime_r(&t, &sNow); in currentTimeFunc()
20773 pTm = gmtime(&t); in currentTimeFunc()
20774 if( pTm ) memcpy(&sNow, pTm, sizeof(sNow)); in currentTimeFunc()
20777 if( pTm ){ in currentTimeFunc()
40884 SYSTEMTIME pTm;
40891 osFileTimeToSystemTime(&lTm,&pTm);
40892 y.tm_year = pTm.wYear - 1900;
40893 y.tm_mon = pTm.wMonth - 1;
40894 y.tm_wday = pTm.wDayOfWeek;
40895 y.tm_mday = pTm.wDay;
40896 y.tm_hour = pTm.wHour;
40897 y.tm_min = pTm.wMinute;
40898 y.tm_sec = pTm.wSecond;