Lines Matching defs:sec
572 time_t sec;
580 sec = getxdr_long();
582 if (sec == -1)
585 if (sec < 3600 * 24 * 365) { /* assume not a date */
586 (void) sprintf(buff, "%d.%06d", sec, usec);
588 tmp = gmtime(&sec);
612 time_t sec, nsec;
614 sec = getxdr_long();
616 if (sec == -1)
619 return (format_time(sec, nsec));
626 format_time(int64_t sec, uint32_t nsec)
634 if (sec < 3600 * 24 * 365) {
636 (void) sprintf(buff, "%lld.%06d", sec, nsec);
637 } else if (sec > INT32_MAX) {
642 (void) sprintf(buff, "%lld.%06d", sec, nsec);
644 time_t sec32 = (time_t)sec;
670 time_t sec;
676 sec = getxdr_long();
677 if (sec == -1)
680 if (sec < 3600 * 24 * 365) { /* assume not a date */
681 (void) sprintf(buff, "%d", sec);
683 tmp = gmtime(&sec);