Lines Matching full:seconds
103 // be tracked as the number of seconds from this date/time.
143 unsigned int secsDouble; /* seconds floating pt */
144 unsigned char seconds; /* seconds whole num */ member
174 ** TSYNC Seconds Time Object
178 unsigned int seconds; member
395 double seconds; in tsync_poll() local
518 /* Read the leap seconds info from the TSYNC-PCI device */ in tsync_poll()
590 // Pull seconds information from time object in tsync_poll()
591 seconds = (double) (TimeContext.timeObj.secsDouble); in tsync_poll()
592 seconds /= (double) 1000000.0; in tsync_poll()
601 ** The specTimeStamp is the number of seconds since 1/1/1970, while the in tsync_poll()
602 ** peer's lastrec time should be compatible with NTP which is seconds since in tsync_poll()
603 ** 1/1/1900. So Add the number of seconds between 1900 and 1970 to the in tsync_poll()
616 TimeContext.timeObj.minutes, seconds); in tsync_poll()
622 pp->second = (int) seconds; in tsync_poll()
623 seconds = (seconds - (double) (pp->second / 1.0)) * 1000000000; in tsync_poll()
624 pp->nsec = (long) seconds; in tsync_poll()
655 // which handles leap seconds then in tsync_poll()
772 // Description: The ApplyTimeOffset function adds an offset (in seconds) to a
781 SecTimeObj st; // Time, in seconds in ApplyTimeOffset()
784 // Convert date and time to seconds in ApplyTimeOffset()
788 st.seconds = (int)((signed long long)st.seconds + (signed long long)off); in ApplyTimeOffset()
790 // Convert seconds to date and time in ApplyTimeOffset()
799 // and time into a count of seconds since the base time. This
805 // 2. Conversion does not account for leap seconds.
814 pSt->seconds = 0; in SecTimeFromDoyTime()
821 pSt->seconds += lyrs * SECSPERLEAPYEAR; in SecTimeFromDoyTime()
822 pSt->seconds += (yrs - lyrs) * SECSPERYEAR; in SecTimeFromDoyTime()
824 // Convert days, hours, minutes and seconds in SecTimeFromDoyTime()
825 pSt->seconds += (pDt->doy - 1) * SECSPERDAY; in SecTimeFromDoyTime()
826 pSt->seconds += pDt->hour * SECSPERHR; in SecTimeFromDoyTime()
827 pSt->seconds += pDt->minute * SECSPERMIN; in SecTimeFromDoyTime()
828 pSt->seconds += pDt->second; in SecTimeFromDoyTime()
839 // of seconds since the start of our base time into a SecTimeObj
844 // 2. Conversion does not account for leap seconds.
848 signed long long secs; // Seconds accumulator variable in DoyTimeFromSecTime()
855 // Convert the seconds count into a signed 64-bit number for calculations in DoyTimeFromSecTime()
856 secs = (signed long long)(pSt->seconds); in DoyTimeFromSecTime()