Lines Matching defs:sec
561 time_t sec;
569 sec = getxdr_long();
571 if (sec == -1)
574 if (sec < 3600 * 24 * 365) { /* assume not a date */
575 (void) sprintf(buff, "%d.%06d", sec, usec);
577 tmp = gmtime(&sec);
601 time_t sec, nsec;
603 sec = getxdr_long();
605 if (sec == -1)
608 return (format_time(sec, nsec));
615 format_time(int64_t sec, uint32_t nsec)
623 if (sec < 3600 * 24 * 365) {
625 (void) sprintf(buff, "%lld.%06d", sec, nsec);
626 } else if (sec > INT32_MAX) {
631 (void) sprintf(buff, "%lld.%06d", sec, nsec);
633 time_t sec32 = (time_t)sec;
659 time_t sec;
665 sec = getxdr_long();
666 if (sec == -1)
669 if (sec < 3600 * 24 * 365) { /* assume not a date */
670 (void) sprintf(buff, "%d", sec);
672 tmp = gmtime(&sec);