tm 19 examples/libsmbclient/testutime.c struct tm tm;
tm 110 lib/replace/replace.c time_t rep_mktime(struct tm *t)
tm 112 lib/replace/replace.c struct tm *u;
tm 400 lib/replace/replace.h struct tm;
tm 401 lib/replace/replace.h char *rep_strptime(const char *buf, const char *format, struct tm *tm);
tm 43 lib/replace/strptime.c static struct tm *localtime_r __P ((const time_t *, struct tm *));
tm 44 lib/replace/strptime.c static struct tm *
tm 47 lib/replace/strptime.c struct tm *tp;
tm 49 lib/replace/strptime.c struct tm *l = localtime (t);
tm 141 lib/replace/strptime.c && (rp = strptime_internal (rp, (new_fmt), tm, decided, era_cnt)) != NULL)
tm 212 lib/replace/strptime.c day_of_the_week (struct tm *tm)
tm 217 lib/replace/strptime.c int corr_year = 1900 + tm->tm_year - (tm->tm_mon < 2);
tm 219 lib/replace/strptime.c + (365 * (tm->tm_year - 70))
tm 223 lib/replace/strptime.c + __mon_yday[0][tm->tm_mon]
tm 224 lib/replace/strptime.c + tm->tm_mday - 1);
tm 225 lib/replace/strptime.c tm->tm_wday = ((wday % 7) + 7) % 7;
tm 230 lib/replace/strptime.c day_of_the_year (struct tm *tm)
tm 232 lib/replace/strptime.c tm->tm_yday = (__mon_yday[__isleap (1900 + tm->tm_year)][tm->tm_mon]
tm 233 lib/replace/strptime.c + (tm->tm_mday - 1));
tm 240 lib/replace/strptime.c strptime_internal __P ((const char *rp, const char *fmt, struct tm *tm,
tm 247 lib/replace/strptime.c strptime_internal (rp, fmt, tm, decided, era_cnt)
tm 250 lib/replace/strptime.c struct tm *tm;
tm 348 lib/replace/strptime.c tm->tm_wday = cnt;
tm 388 lib/replace/strptime.c tm->tm_mon = cnt;
tm 431 lib/replace/strptime.c tm->tm_mday = val;
tm 473 lib/replace/strptime.c tm->tm_hour = val;
tm 479 lib/replace/strptime.c tm->tm_hour = val % 12;
tm 485 lib/replace/strptime.c tm->tm_yday = val - 1;
tm 491 lib/replace/strptime.c tm->tm_mon = val - 1;
tm 498 lib/replace/strptime.c tm->tm_min = val;
tm 582 lib/replace/strptime.c if (localtime_r (&secs, tm) == NULL)
tm 589 lib/replace/strptime.c tm->tm_sec = val;
tm 618 lib/replace/strptime.c tm->tm_wday = val % 7;
tm 644 lib/replace/strptime.c tm->tm_wday = val;
tm 655 lib/replace/strptime.c tm->tm_year = val >= 69 ? val : val + 100;
tm 663 lib/replace/strptime.c tm->tm_year = val - 1900;
tm 753 lib/replace/strptime.c tm->tm_year = val;
tm 787 lib/replace/strptime.c tm->tm_year = val - 1900;
tm 864 lib/replace/strptime.c tm->tm_mday = val;
tm 872 lib/replace/strptime.c tm->tm_hour = val;
tm 879 lib/replace/strptime.c tm->tm_hour = val - 1;
tm 885 lib/replace/strptime.c tm->tm_mon = val - 1;
tm 892 lib/replace/strptime.c tm->tm_min = val;
tm 897 lib/replace/strptime.c tm->tm_sec = val;
tm 909 lib/replace/strptime.c tm->tm_wday = val;
tm 915 lib/replace/strptime.c tm->tm_year = val >= 69 ? val : val + 100;
tm 928 lib/replace/strptime.c tm->tm_hour += 12;
tm 933 lib/replace/strptime.c tm->tm_year = tm->tm_year % 100 + (century - 19) * 100;
tm 936 lib/replace/strptime.c tm->tm_year = (century - 19) * 100;
tm 944 lib/replace/strptime.c tm->tm_year = (era->start_date[0]
tm 945 lib/replace/strptime.c + ((tm->tm_year - era->offset)
tm 949 lib/replace/strptime.c tm->tm_year = era->start_date[0];
tm 962 lib/replace/strptime.c while (__mon_yday[__isleap(1900 + tm->tm_year)][t_mon] <= tm->tm_yday)
tm 965 lib/replace/strptime.c tm->tm_mon = t_mon - 1;
tm 967 lib/replace/strptime.c tm->tm_mday =
tm 968 lib/replace/strptime.c (tm->tm_yday
tm 969 lib/replace/strptime.c - __mon_yday[__isleap(1900 + tm->tm_year)][t_mon - 1] + 1);
tm 971 lib/replace/strptime.c day_of_the_week (tm);
tm 974 lib/replace/strptime.c day_of_the_year (tm);
tm 980 lib/replace/strptime.c char *rep_strptime(const char *buf, const char *format, struct tm *tm)
tm 989 lib/replace/strptime.c return strptime_internal (buf, format, tm, &decided, -1);
tm 51 lib/replace/system/time.h time_t rep_mktime(struct tm *t);
tm 56 lib/replace/system/time.h time_t rep_timegm(struct tm *tm);
tm 29 lib/replace/test/strptime.c struct tm t, t2;
tm 47 lib/replace/timegm.c time_t rep_timegm(struct tm *tm)
tm 55 lib/replace/timegm.c if (tm->tm_mon > 12 ||
tm 56 lib/replace/timegm.c tm->tm_mon < 0 ||
tm 57 lib/replace/timegm.c tm->tm_mday > 31 ||
tm 58 lib/replace/timegm.c tm->tm_min > 60 ||
tm 59 lib/replace/timegm.c tm->tm_sec > 60 ||
tm 60 lib/replace/timegm.c tm->tm_hour > 24) {
tm 65 lib/replace/timegm.c for (i = 70; i < tm->tm_year; ++i)
tm 68 lib/replace/timegm.c for (i = 0; i < tm->tm_mon; ++i)
tm 69 lib/replace/timegm.c res += ndays[is_leap(tm->tm_year)][i];
tm 70 lib/replace/timegm.c res += tm->tm_mday - 1;
tm 72 lib/replace/timegm.c res += tm->tm_hour;
tm 74 lib/replace/timegm.c res += tm->tm_min;
tm 76 lib/replace/timegm.c res += tm->tm_sec;
tm 165 lib/util/time.c static uint16_t make_dos_date1(struct tm *t)
tm 176 lib/util/time.c static uint16_t make_dos_time1(struct tm *t)
tm 190 lib/util/time.c struct tm *t;
tm 270 lib/util/time.c struct tm t;
tm 323 lib/util/time.c struct tm *tm = localtime(&t);
tm 329 lib/util/time.c if (!tm) {
tm 334 lib/util/time.c buf = talloc_strdup(mem_ctx, asctime(tm));
tm 339 lib/util/time.c strftime(tempTime, sizeof(tempTime)-1, "%a, %d %b %Y %H:%M:%S %Z", tm);
tm 353 lib/util/time.c struct tm *tm;
tm 355 lib/util/time.c tm = localtime(&t);
tm 356 lib/util/time.c if (!tm) {
tm 367 lib/util/time.c strftime(tempTime,sizeof(tempTime)-1,"%c %Z",tm);
tm 370 lib/util/time.c TimeBuf = talloc_strdup(mem_ctx, asctime(tm));
tm 616 lib/util/time.c static int tm_diff(struct tm *a, struct tm *b)
tm 639 lib/util/time.c struct tm *tm = gmtime(&t);
tm 640 lib/util/time.c struct tm tm_utc;
tm 641 lib/util/time.c if (!tm)
tm 643 lib/util/time.c tm_utc = *tm;
tm 644 lib/util/time.c tm = localtime(&t);
tm 645 lib/util/time.c if (!tm)
tm 647 lib/util/time.c return tm_diff(&tm_utc,tm)+60*extra_time_offset;
tm 68 lib/zlib/contrib/minizip/miniunz.c struct tm newdate;
tm 69 lib/zlib/contrib/minizip/minizip.c struct tm* filedate;
tm 193 lib/zlib/contrib/untgz/untgz.c struct tm *local;
tm 212 lib/zlib/contrib/untgz/untgz.c struct tm *loctm;
tm 863 nsswitch/pam_winbind.c struct tm tm_now, tm_next_change;
tm 77 source3/auth/auth_sam.c struct tm *utctime;
tm 101 source3/auth/auth_sam.c struct tm *t = localtime(&lasttime);
tm 145 source3/auth/pass_check.c struct tm *t;
tm 3124 source3/client/client.c struct tm *lt;
tm 5582 source3/include/proto.h struct tm *unixtime);
tm 5706 source3/include/proto.h bool make_systemtime(SYSTEMTIME *systime, struct tm *unixtime);
tm 760 source3/lib/ldb/common/ldb_msg.c struct tm *tm = gmtime(&t);
tm 762 source3/lib/ldb/common/ldb_msg.c if (!tm) {
tm 769 source3/lib/ldb/common/ldb_msg.c tm->tm_year+1900, tm->tm_mon+1,
tm 770 source3/lib/ldb/common/ldb_msg.c tm->tm_mday, tm->tm_hour, tm->tm_min,
tm 771 source3/lib/ldb/common/ldb_msg.c tm->tm_sec);
tm 780 source3/lib/ldb/common/ldb_msg.c struct tm tm;
tm 784 source3/lib/ldb/common/ldb_msg.c memset(&tm, 0, sizeof(tm));
tm 786 source3/lib/ldb/common/ldb_msg.c &tm.tm_year, &tm.tm_mon, &tm.tm_mday,
tm 787 source3/lib/ldb/common/ldb_msg.c &tm.tm_hour, &tm.tm_min, &tm.tm_sec) != 6) {
tm 790 source3/lib/ldb/common/ldb_msg.c tm.tm_year -= 1900;
tm 791 source3/lib/ldb/common/ldb_msg.c tm.tm_mon -= 1;
tm 793 source3/lib/ldb/common/ldb_msg.c return timegm(&tm);
tm 50 source3/lib/time.c static uint16_t make_dos_date1(struct tm *t)
tm 61 source3/lib/time.c static uint16_t make_dos_time1(struct tm *t)
tm 75 source3/lib/time.c struct tm *t;
tm 150 source3/lib/time.c struct tm tm;
tm 152 source3/lib/time.c ZERO_STRUCT(tm);
tm 155 source3/lib/time.c &tm.tm_year, &tm.tm_mon, &tm.tm_mday,
tm 156 source3/lib/time.c &tm.tm_hour, &tm.tm_min, &tm.tm_sec) != 6) {
tm 159 source3/lib/time.c tm.tm_year -= 1900;
tm 160 source3/lib/time.c tm.tm_mon -= 1;
tm 162 source3/lib/time.c return timegm(&tm);
tm 196 source3/lib/time.c struct tm *tm;
tm 204 source3/lib/time.c tm = localtime(&t);
tm 205 source3/lib/time.c if (!tm) {
tm 221 source3/lib/time.c strftime(TimeBuf,sizeof(TimeBuf)-1,"%Y/%m/%d %H:%M:%S",tm);
tm 227 source3/lib/time.c strftime(TimeBuf,sizeof(TimeBuf)-1,"%Y/%m/%d %H:%M:%S",tm);
tm 231 source3/lib/time.c const char *asct = asctime(tm);
tm 238 source3/lib/time.c const char *asct = asctime(tm);
tm 600 source3/lib/time.c struct tm t;
tm 985 source3/lib/time.c struct tm *lt = localtime(&t);
tm 2786 source3/libads/ldap.c struct tm tm;
tm 2788 source3/libads/ldap.c ZERO_STRUCT(tm);
tm 2791 source3/libads/ldap.c &tm.tm_year, &tm.tm_mon, &tm.tm_mday,
tm 2792 source3/libads/ldap.c &tm.tm_hour, &tm.tm_min, &tm.tm_sec) != 6) {
tm 2795 source3/libads/ldap.c tm.tm_year -= 1900;
tm 2796 source3/libads/ldap.c tm.tm_mon -= 1;
tm 2798 source3/libads/ldap.c return timegm(&tm);
tm 2157 source3/modules/getdate.c struct tm *gmtime (const time_t *);
tm 2160 source3/modules/getdate.c struct tm *localtime (const time_t *);
tm 2163 source3/modules/getdate.c time_t mktime (struct tm *);
tm 2400 source3/modules/getdate.c tm_diff (struct tm const *a, struct tm const *b)
tm 2584 source3/modules/getdate.c struct tm *tmp = localtime (&Start);
tm 2585 source3/modules/getdate.c struct tm tm;
tm 2586 source3/modules/getdate.c struct tm tm0;
tm 2600 source3/modules/getdate.c tm.tm_isdst = tmp->tm_isdst;
tm 2629 source3/modules/getdate.c struct tm *probe_tm = localtime (&probe);
tm 2680 source3/modules/getdate.c tm.tm_year = to_year (pc.year) - TM_YEAR_BASE + pc.rel_year;
tm 2681 source3/modules/getdate.c tm.tm_mon = pc.month - 1 + pc.rel_month;
tm 2682 source3/modules/getdate.c tm.tm_mday = pc.day + pc.rel_day;
tm 2685 source3/modules/getdate.c tm.tm_hour = to_hour (pc.hour, pc.meridian);
tm 2686 source3/modules/getdate.c if (tm.tm_hour < 0)
tm 2688 source3/modules/getdate.c tm.tm_min = pc.minutes;
tm 2689 source3/modules/getdate.c tm.tm_sec = pc.seconds;
tm 2693 source3/modules/getdate.c tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
tm 2700 source3/modules/getdate.c tm.tm_isdst = -1;
tm 2705 source3/modules/getdate.c tm.tm_isdst = pc.local_isdst;
tm 2707 source3/modules/getdate.c tm0 = tm;
tm 2709 source3/modules/getdate.c Start = mktime (&tm);
tm 2724 source3/modules/getdate.c tm = tm0;
tm 2725 source3/modules/getdate.c if (tm.tm_year <= EPOCH_YEAR - TM_YEAR_BASE)
tm 2727 source3/modules/getdate.c tm.tm_mday++;
tm 2732 source3/modules/getdate.c tm.tm_mday--;
tm 2735 source3/modules/getdate.c Start = mktime (&tm);
tm 2744 source3/modules/getdate.c tm.tm_mday += ((pc.day_number - tm.tm_wday + 7) % 7
tm 2746 source3/modules/getdate.c tm.tm_isdst = -1;
tm 2747 source3/modules/getdate.c Start = mktime (&tm);
tm 2756 source3/modules/getdate.c delta -= tm.tm_gmtoff;
tm 2758 source3/modules/getdate.c struct tm *gmt = gmtime (&Start);
tm 2761 source3/modules/getdate.c delta -= tm_diff (&tm, gmt);
tm 456 source3/modules/getdate.y struct tm *gmtime (const time_t *);
tm 459 source3/modules/getdate.y struct tm *localtime (const time_t *);
tm 462 source3/modules/getdate.y time_t mktime (struct tm *);
tm 699 source3/modules/getdate.y tm_diff (struct tm const *a, struct tm const *b)
tm 883 source3/modules/getdate.y struct tm *tmp = localtime (&Start);
tm 884 source3/modules/getdate.y struct tm tm;
tm 885 source3/modules/getdate.y struct tm tm0;
tm 899 source3/modules/getdate.y tm.tm_isdst = tmp->tm_isdst;
tm 928 source3/modules/getdate.y struct tm *probe_tm = localtime (&probe);
tm 979 source3/modules/getdate.y tm.tm_year = to_year (pc.year) - TM_YEAR_BASE + pc.rel_year;
tm 980 source3/modules/getdate.y tm.tm_mon = pc.month - 1 + pc.rel_month;
tm 981 source3/modules/getdate.y tm.tm_mday = pc.day + pc.rel_day;
tm 984 source3/modules/getdate.y tm.tm_hour = to_hour (pc.hour, pc.meridian);
tm 985 source3/modules/getdate.y if (tm.tm_hour < 0)
tm 987 source3/modules/getdate.y tm.tm_min = pc.minutes;
tm 988 source3/modules/getdate.y tm.tm_sec = pc.seconds;
tm 992 source3/modules/getdate.y tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
tm 999 source3/modules/getdate.y tm.tm_isdst = -1;
tm 1004 source3/modules/getdate.y tm.tm_isdst = pc.local_isdst;
tm 1006 source3/modules/getdate.y tm0 = tm;
tm 1008 source3/modules/getdate.y Start = mktime (&tm);
tm 1023 source3/modules/getdate.y tm = tm0;
tm 1024 source3/modules/getdate.y if (tm.tm_year <= EPOCH_YEAR - TM_YEAR_BASE)
tm 1026 source3/modules/getdate.y tm.tm_mday++;
tm 1031 source3/modules/getdate.y tm.tm_mday--;
tm 1034 source3/modules/getdate.y Start = mktime (&tm);
tm 1043 source3/modules/getdate.y tm.tm_mday += ((pc.day_number - tm.tm_wday + 7) % 7
tm 1045 source3/modules/getdate.y tm.tm_isdst = -1;
tm 1046 source3/modules/getdate.y Start = mktime (&tm);
tm 1055 source3/modules/getdate.y delta -= tm.tm_gmtoff;
tm 1057 source3/modules/getdate.y struct tm *gmt = gmtime (&Start);
tm 1060 source3/modules/getdate.y delta -= tm_diff (&tm, gmt);
tm 532 source3/modules/onefs_shadow_copy.c struct tm *tmp;
tm 687 source3/modules/onefs_shadow_copy.c struct tm tm;
tm 706 source3/modules/onefs_shadow_copy.c memset(&tm, 0, sizeof tm);
tm 709 source3/modules/onefs_shadow_copy.c &tm.tm_year,
tm 710 source3/modules/onefs_shadow_copy.c &tm.tm_mon,
tm 711 source3/modules/onefs_shadow_copy.c &tm.tm_mday,
tm 712 source3/modules/onefs_shadow_copy.c &tm.tm_hour,
tm 713 source3/modules/onefs_shadow_copy.c &tm.tm_min,
tm 714 source3/modules/onefs_shadow_copy.c &tm.tm_sec);
tm 718 source3/modules/onefs_shadow_copy.c tm.tm_year -= 1900;
tm 719 source3/modules/onefs_shadow_copy.c tm.tm_mon -= 1;
tm 722 source3/modules/onefs_shadow_copy.c is.is_time.tv_sec = timegm(&tm);
tm 163 source3/modules/vfs_smb_traffic_analyzer.c struct tm *tm = NULL;
tm 181 source3/modules/vfs_smb_traffic_analyzer.c tm = localtime(&tv_sec);
tm 182 source3/modules/vfs_smb_traffic_analyzer.c if (!tm) {
tm 224 source3/modules/vfs_smb_traffic_analyzer.c tm->tm_year+1900,
tm 225 source3/modules/vfs_smb_traffic_analyzer.c tm->tm_mon+1,
tm 226 source3/modules/vfs_smb_traffic_analyzer.c tm->tm_mday,
tm 227 source3/modules/vfs_smb_traffic_analyzer.c tm->tm_hour,
tm 228 source3/modules/vfs_smb_traffic_analyzer.c tm->tm_min,
tm 229 source3/modules/vfs_smb_traffic_analyzer.c tm->tm_sec,
tm 539 source3/nmbd/nmbd_namelistdb.c struct tm *tm;
tm 574 source3/nmbd/nmbd_namelistdb.c tm = localtime(&namerec->data.death_time);
tm 575 source3/nmbd/nmbd_namelistdb.c if (!tm) {
tm 578 source3/nmbd/nmbd_namelistdb.c asct = asctime(tm);
tm 589 source3/nmbd/nmbd_namelistdb.c tm = localtime(&namerec->data.refresh_time);
tm 590 source3/nmbd/nmbd_namelistdb.c if (!tm) {
tm 593 source3/nmbd/nmbd_namelistdb.c asct = asctime(tm);
tm 2266 source3/nmbd/nmbd_winsserver.c struct tm *tm;
tm 2273 source3/nmbd/nmbd_winsserver.c tm = localtime(&namerec->data.death_time);
tm 2274 source3/nmbd/nmbd_winsserver.c if (!tm) {
tm 2277 source3/nmbd/nmbd_winsserver.c ts = asctime(tm);
tm 483 source3/passdb/pdb_ldap.c struct tm tm;
tm 492 source3/passdb/pdb_ldap.c if ( !strptime(temp, "%Y%m%d%H%M%SZ", &tm)) {
tm 500 source3/passdb/pdb_ldap.c return timegm(&tm);
tm 36 source3/printing/lpq_parse.c struct tm *t;
tm 215 source3/printing/lpq_parse.c struct tm *t;
tm 5763 source3/printing/nt_printing.c struct tm *t;
tm 903 source3/registry/reg_perfcount.c time_t tm;
tm 923 source3/registry/reg_perfcount.c tm = time(NULL);
tm 924 source3/registry/reg_perfcount.c make_systemtime(&(block->SystemTime), gmtime(&tm));
tm 26 source3/rpc_client/init_spoolss.c struct tm *unixtime)
tm 89 source3/rpc_parse/parse_misc.c bool make_systemtime(SYSTEMTIME *systime, struct tm *unixtime)
tm 672 source3/rpc_server/srv_spoolss_nt.c struct tm *t,
tm 6398 source3/rpc_server/srv_spoolss_nt.c struct tm *t;
tm 6439 source3/rpc_server/srv_spoolss_nt.c struct tm *t;
tm 2005 source3/rpc_server/srv_srvsvc_nt.c struct tm *t;
tm 2508 source3/smbd/lanman.c struct tm *t;
tm 5441 source3/torture/torture.c time_t tm;
tm 5454 source3/torture/torture.c if (!gencache_get("foo", &val, &tm)) {
tm 5478 source3/torture/torture.c if (gencache_get("foo", &val, &tm)) {
tm 5485 source3/torture/torture.c tm = time(NULL);
tm 5487 source3/torture/torture.c if (!gencache_set_data_blob("foo", &blob, tm)) {
tm 42 source3/utils/net_cache.c struct tm timeout_tm, *now_tm;
tm 50 source3/utils/net_cache.c memcpy(&timeout_tm, now_tm, sizeof(struct tm));
tm 82 source3/utils/net_time.c struct tm *tm;
tm 84 source3/utils/net_time.c tm = localtime(&t);
tm 85 source3/utils/net_time.c if (!tm) {
tm 90 source3/utils/net_time.c tm->tm_mon+1, tm->tm_mday, tm->tm_hour,
tm 91 source3/utils/net_time.c tm->tm_min, tm->tm_year + 1900, tm->tm_sec);
tm 85 source4/auth/sam.c struct tm *utctime;
tm 114 source4/auth/sam.c struct tm *t = localtime(&lasttime);
tm 319 source4/heimdal/lib/asn1/der_get.c struct tm tm;
tm 321 source4/heimdal/lib/asn1/der_get.c memset(&tm, 0, sizeof(tm));
tm 323 source4/heimdal/lib/asn1/der_get.c &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour,
tm 324 source4/heimdal/lib/asn1/der_get.c &tm.tm_min, &tm.tm_sec) != 6) {
tm 326 source4/heimdal/lib/asn1/der_get.c &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour,
tm 327 source4/heimdal/lib/asn1/der_get.c &tm.tm_min, &tm.tm_sec) != 6)
tm 329 source4/heimdal/lib/asn1/der_get.c if (tm.tm_year < 50)
tm 330 source4/heimdal/lib/asn1/der_get.c tm.tm_year += 2000;
tm 332 source4/heimdal/lib/asn1/der_get.c tm.tm_year += 1900;
tm 334 source4/heimdal/lib/asn1/der_get.c tm.tm_year -= 1900;
tm 335 source4/heimdal/lib/asn1/der_get.c tm.tm_mon -= 1;
tm 336 source4/heimdal/lib/asn1/der_get.c *t = _der_timegm (&tm);
tm 56 source4/heimdal/lib/asn1/der_locl.h time_t _der_timegm (struct tm *);
tm 434 source4/heimdal/lib/asn1/der_put.c struct tm *tm;
tm 441 source4/heimdal/lib/asn1/der_put.c tm = gmtime (&t);
tm 444 source4/heimdal/lib/asn1/der_put.c tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
tm 445 source4/heimdal/lib/asn1/der_put.c tm->tm_hour, tm->tm_min, tm->tm_sec);
tm 448 source4/heimdal/lib/asn1/der_put.c tm->tm_year % 100, tm->tm_mon + 1, tm->tm_mday,
tm 449 source4/heimdal/lib/asn1/der_put.c tm->tm_hour, tm->tm_min, tm->tm_sec);
tm 52 source4/heimdal/lib/asn1/timegm.c _der_timegm (struct tm *tm)
tm 60 source4/heimdal/lib/asn1/timegm.c if (tm->tm_year < 0)
tm 62 source4/heimdal/lib/asn1/timegm.c if (tm->tm_mon < 0 || tm->tm_mon > 11)
tm 64 source4/heimdal/lib/asn1/timegm.c if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
tm 66 source4/heimdal/lib/asn1/timegm.c if (tm->tm_hour < 0 || tm->tm_hour > 23)
tm 68 source4/heimdal/lib/asn1/timegm.c if (tm->tm_min < 0 || tm->tm_min > 59)
tm 70 source4/heimdal/lib/asn1/timegm.c if (tm->tm_sec < 0 || tm->tm_sec > 59)
tm 73 source4/heimdal/lib/asn1/timegm.c for (i = 70; i < tm->tm_year; ++i)
tm 76 source4/heimdal/lib/asn1/timegm.c for (i = 0; i < tm->tm_mon; ++i)
tm 77 source4/heimdal/lib/asn1/timegm.c res += ndays[is_leap(tm->tm_year)][i];
tm 78 source4/heimdal/lib/asn1/timegm.c res += tm->tm_mday - 1;
tm 80 source4/heimdal/lib/asn1/timegm.c res += tm->tm_hour;
tm 82 source4/heimdal/lib/asn1/timegm.c res += tm->tm_min;
tm 84 source4/heimdal/lib/asn1/timegm.c res += tm->tm_sec;
tm 70 source4/heimdal/lib/hx509/print.c struct tm *tm;
tm 74 source4/heimdal/lib/hx509/print.c tm = gmtime (&t);
tm 78 source4/heimdal/lib/hx509/print.c strftime(s, 30, "%Y-%m-%d %H:%M:%S", tm);
tm 114 source4/heimdal/lib/krb5/time.c struct tm *tm;
tm 116 source4/heimdal/lib/krb5/time.c tm = gmtime (&t);
tm 118 source4/heimdal/lib/krb5/time.c tm = localtime(&t);
tm 119 source4/heimdal/lib/krb5/time.c if(tm == NULL ||
tm 120 source4/heimdal/lib/krb5/time.c strftime(s, len, include_time ? context->time_fmt : context->date_fmt, tm) == 0)
tm 87 source4/kdc/hdb-samba4.c struct tm tm;
tm 93 source4/kdc/hdb-samba4.c tmp = strptime(gentime, "%Y%m%d%H%M%SZ", &tm);
tm 98 source4/kdc/hdb-samba4.c return timegm(&tm);
tm 765 source4/lib/ldb/common/ldb_msg.c struct tm *tm = gmtime(&t);
tm 769 source4/lib/ldb/common/ldb_msg.c if (!tm) {
tm 779 source4/lib/ldb/common/ldb_msg.c tm->tm_year+1900, tm->tm_mon+1,
tm 780 source4/lib/ldb/common/ldb_msg.c tm->tm_mday, tm->tm_hour, tm->tm_min,
tm 781 source4/lib/ldb/common/ldb_msg.c tm->tm_sec);
tm 796 source4/lib/ldb/common/ldb_msg.c struct tm tm;
tm 800 source4/lib/ldb/common/ldb_msg.c memset(&tm, 0, sizeof(tm));
tm 802 source4/lib/ldb/common/ldb_msg.c &tm.tm_year, &tm.tm_mon, &tm.tm_mday,
tm 803 source4/lib/ldb/common/ldb_msg.c &tm.tm_hour, &tm.tm_min, &tm.tm_sec) != 6) {
tm 806 source4/lib/ldb/common/ldb_msg.c tm.tm_year -= 1900;
tm 807 source4/lib/ldb/common/ldb_msg.c tm.tm_mon -= 1;
tm 809 source4/lib/ldb/common/ldb_msg.c return timegm(&tm);
tm 817 source4/lib/ldb/common/ldb_msg.c struct tm *tm = gmtime(&t);
tm 821 source4/lib/ldb/common/ldb_msg.c if (!tm) {
tm 831 source4/lib/ldb/common/ldb_msg.c (tm->tm_year+1900)%100, tm->tm_mon+1,
tm 832 source4/lib/ldb/common/ldb_msg.c tm->tm_mday, tm->tm_hour, tm->tm_min,
tm 833 source4/lib/ldb/common/ldb_msg.c tm->tm_sec);
tm 848 source4/lib/ldb/common/ldb_msg.c struct tm tm;
tm 852 source4/lib/ldb/common/ldb_msg.c memset(&tm, 0, sizeof(tm));
tm 854 source4/lib/ldb/common/ldb_msg.c &tm.tm_year, &tm.tm_mon, &tm.tm_mday,
tm 855 source4/lib/ldb/common/ldb_msg.c &tm.tm_hour, &tm.tm_min, &tm.tm_sec) != 6) {
tm 858 source4/lib/ldb/common/ldb_msg.c if (tm.tm_year < 50) {
tm 859 source4/lib/ldb/common/ldb_msg.c tm.tm_year += 100;
tm 861 source4/lib/ldb/common/ldb_msg.c tm.tm_mon -= 1;
tm 863 source4/lib/ldb/common/ldb_msg.c return timegm(&tm);
tm 34 source4/libnet/libnet_time.c struct tm tm;
tm 73 source4/libnet/libnet_time.c tm.tm_sec = (int)info->secs;
tm 74 source4/libnet/libnet_time.c tm.tm_min = (int)info->mins;
tm 75 source4/libnet/libnet_time.c tm.tm_hour = (int)info->hours;
tm 76 source4/libnet/libnet_time.c tm.tm_mday = (int)info->day;
tm 77 source4/libnet/libnet_time.c tm.tm_mon = (int)info->month -1;
tm 78 source4/libnet/libnet_time.c tm.tm_year = (int)info->year - 1900;
tm 79 source4/libnet/libnet_time.c tm.tm_wday = -1;
tm 80 source4/libnet/libnet_time.c tm.tm_yday = -1;
tm 81 source4/libnet/libnet_time.c tm.tm_isdst = -1;
tm 83 source4/libnet/libnet_time.c r->srvsvc.out.time = timegm(&tm);
tm 1683 source4/rpc_server/srvsvc/dcesrv_srvsvc.c struct tm tm;
tm 1692 source4/rpc_server/srvsvc/dcesrv_srvsvc.c gmtime_r(&t, &tm);
tm 1696 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->msecs = (tm.tm_hour*60*60*1000)
tm 1697 source4/rpc_server/srvsvc/dcesrv_srvsvc.c + (tm.tm_min*60*1000)
tm 1698 source4/rpc_server/srvsvc/dcesrv_srvsvc.c + (tm.tm_sec*1000)
tm 1700 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->hours = tm.tm_hour;
tm 1701 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->mins = tm.tm_min;
tm 1702 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->secs = tm.tm_sec;
tm 1706 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->day = tm.tm_mday;
tm 1707 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->month = tm.tm_mon + 1;
tm 1708 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->year = tm.tm_year + 1900;
tm 1709 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->weekday = tm.tm_wday;
tm 37 source4/utils/net/net_time.c struct tm *tm;
tm 64 source4/utils/net/net_time.c tm = localtime(&r.generic.out.time);
tm 65 source4/utils/net/net_time.c strftime(timestr, sizeof(timestr)-1, "%c %Z",tm);