Lines Matching defs:pSt
264 static void SecTimeFromDoyTime (SecTimeObj* pSt, DoyTimeObj* pDt);
265 static void DoyTimeFromSecTime (DoyTimeObj* pDt, SecTimeObj* pSt);
807 void SecTimeFromDoyTime(SecTimeObj* pSt, DoyTimeObj* pDt)
814 pSt->seconds = 0;
821 pSt->seconds += lyrs * SECSPERLEAPYEAR;
822 pSt->seconds += (yrs - lyrs) * SECSPERYEAR;
825 pSt->seconds += (pDt->doy - 1) * SECSPERDAY;
826 pSt->seconds += pDt->hour * SECSPERHR;
827 pSt->seconds += pDt->minute * SECSPERMIN;
828 pSt->seconds += pDt->second;
831 pSt->ns = pDt->ns;
846 void DoyTimeFromSecTime(DoyTimeObj* pDt, SecTimeObj* pSt)
856 secs = (signed long long)(pSt->seconds);
906 pDt->ns = pSt->ns;