Lines Matching defs:tm
640 struct tm tm;
667 bzero(&tm, sizeof(tm));
668 strptime(optarg, "%Y%m%d%H%M%S", &tm);
670 &tm);
672 p_atime = mktime(&tm);
680 bzero(&tm, sizeof(tm));
681 strptime(optarg, "%Y%m%d%H%M%S", &tm);
683 &tm);
685 p_btime = mktime(&tm);
701 bzero(&tm, sizeof(tm));
702 strptime(optarg, "%Y%m%d", &tm);
703 strftime(timestr, sizeof(timestr), "%Y%m%d", &tm);
705 p_atime = mktime(&tm);
706 tm.tm_hour = 23;
707 tm.tm_min = 59;
708 tm.tm_sec = 59;
709 strftime(timestr, sizeof(timestr), "%Y%m%d", &tm);
711 p_btime = mktime(&tm);