|
ReactOS 0.4.16-dev-2104-gb84fa49
|
#include <locale.h>#include <stdlib.h>#include <time.h>#include <sys/timeb.h>#include "msvcrt.h"#include "mtdll.h"#include "winbase.h"#include "winnls.h"#include "winternl.h"#include "wine/debug.h"
Go to the source code of this file.
Macros | |
| #define | MIN_GMTIME64_TIME 0 |
| #define | MAX_GMTIME64_TIME _MAX__TIME64_T |
| #define | SECSPERDAY 86400 |
| #define | SECS_1601_TO_1970 ((369 * 365 + 89) * (ULONGLONG)SECSPERDAY) |
| #define | TICKSPERSEC 10000000 |
| #define | TICKSPERMSEC 10000 |
| #define | TICKS_1601_TO_1970 (SECS_1601_TO_1970 * TICKSPERSEC) |
| #define | STRFTIME_CHAR char |
| #define | STRFTIME_TD(td, name) td->str.names.name |
| #define | strftime_str(a, b, c, d) strftime_nstr(a,b,c,d,SIZE_MAX) |
Variables | |
| static LONGLONG | init_time |
| static const int | MonthLengths [2][12] |
| static const int | MAX_SECONDS = 59 |
| int | MSVCRT___daylight = 1 |
| __msvcrt_long | MSVCRT___timezone = 28800 |
| __msvcrt_long | MSVCRT__dstbias = -3600 |
| static char | tzname_std [64] = "PST" |
| static char | tzname_dst [64] = "PDT" |
| char * | MSVCRT__tzname [2] = { tzname_std, tzname_dst } |
| static TIME_ZONE_INFORMATION | tzi = {0} |
| #define MAX_GMTIME64_TIME _MAX__TIME64_T |
| #define SECS_1601_TO_1970 ((369 * 365 + 89) * (ULONGLONG)SECSPERDAY) |
| #define TICKS_1601_TO_1970 (SECS_1601_TO_1970 * TICKSPERSEC) |
| __msvcrt_long *CDECL __p__dstbias | ( | void | ) |
| __msvcrt_long *CDECL __p__timezone | ( | void | ) |
Definition at line 883 of file time.c.
Referenced by Test__tzname().
| char *CDECL _ctime32 | ( | const __time32_t * | time | ) |
Definition at line 1762 of file time.c.
Definition at line 1731 of file time.c.
| double CDECL _difftime32 | ( | __time32_t | time1, |
| __time32_t | time2 | ||
| ) |
| double CDECL _difftime64 | ( | __time64_t | time1, |
| __time64_t | time2 | ||
| ) |
Definition at line 756 of file time.c.
Referenced by _ftime32_s().
Definition at line 725 of file time.c.
Referenced by _ftime32(), _ftime64_s(), _time32(), and _time64().
Definition at line 844 of file time.c.
Referenced by _Strftime(), and strftime_impl().
| struct tm *CDECL _gmtime32 | ( | const __time32_t * | secs | ) |
| struct tm *CDECL _gmtime64 | ( | const __time64_t * | secs | ) |
Definition at line 509 of file time.c.
Referenced by _gmtime32().
Definition at line 464 of file time.c.
Referenced by _gmtime32_s(), and _gmtime64().
| struct tm *CDECL _localtime32 | ( | const __time32_t * | secs | ) |
Definition at line 430 of file time.c.
Referenced by _ctime32(), and _wctime32().
Definition at line 444 of file time.c.
Referenced by _ctime32_s(), and _wctime32_s().
| struct tm *CDECL _localtime64 | ( | const __time64_t * | secs | ) |
Definition at line 415 of file time.c.
Referenced by _ctime64(), _localtime32(), and _wctime64().
Definition at line 367 of file time.c.
Referenced by _ctime64_s(), _localtime32_s(), _localtime64(), and _wctime64_s().
| __time64_t CDECL _mkgmtime64 | ( | struct tm * | time | ) |
| __time64_t CDECL _mktime64 | ( | struct tm * | mstm | ) |
Definition at line 331 of file time.c.
Referenced by _mktime32().
| size_t CDECL _Strftime | ( | char * | str, |
| size_t | max, | ||
| const char * | format, | ||
| const struct tm * | mstm, | ||
| void * | time_data | ||
| ) |
Definition at line 1528 of file time.c.
| __time32_t CDECL _time32 | ( | __time32_t * | buf | ) |
| __time64_t CDECL _time64 | ( | __time64_t * | buf | ) |
Definition at line 127 of file time.c.
Referenced by _tzset_init(), strftime_impl(), and test__tzset().
Definition at line 182 of file time.c.
Referenced by _ftime64(), _localtime64_s(), and mktime_helper().
Definition at line 1677 of file time.c.
Referenced by _wctime32(), and _wctime64().
Definition at line 1700 of file time.c.
Referenced by _wctime32_s(), and _wctime64_s().
| size_t CDECL _wcsftime_l | ( | wchar_t * | str, |
| size_t | max, | ||
| const wchar_t * | format, | ||
| const struct tm * | mstm, | ||
| _locale_t | loc | ||
| ) |
Definition at line 1576 of file time.c.
| wchar_t *CDECL _wctime32 | ( | const __time32_t * | time | ) |
Definition at line 1821 of file time.c.
| wchar_t *CDECL _wctime64 | ( | const __time64_t * | time | ) |
Definition at line 594 of file time.c.
Definition at line 667 of file time.c.
Definition at line 1636 of file time.c.
Referenced by _ctime32(), _ctime64(), ConvertTimeString(), create_msft_typelib(), DaytimeHandler(), kbd_c(), kbd_h(), Test_asctime(), and test_asctime().
Definition at line 1603 of file time.c.
Referenced by _wasctime(), asctime(), and asctime_s().
Definition at line 1655 of file time.c.
Referenced by _ctime32_s(), _ctime64_s(), and _wasctime_s().
Definition at line 698 of file time.c.
|
static |
Definition at line 196 of file time.c.
Referenced by _localtime64_s(), and mktime_helper().
|
static |
Definition at line 240 of file time.c.
Referenced by _mkgmtime64(), and _mktime64().
Definition at line 49 of file time.c.
Referenced by DllMain().
|
inlinestatic |
Definition at line 941 of file time.c.
Referenced by strftime_impl().
|
static |
Definition at line 1466 of file time.c.
Referenced by _Strftime(), and strftime().
|
static |
Definition at line 1116 of file time.c.
Referenced by strftime_helper(), strftime_impl(), and wcsftime_helper().
|
inlinestatic |
Definition at line 916 of file time.c.
Referenced by strftime_format(), and strftime_impl().
|
inlinestatic |
|
static |
Definition at line 1543 of file time.c.
Referenced by _wcsftime_l(), and wcsftime().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | msvcrt | ) |
Definition at line 85 of file time.c.
Referenced by _gmtime64_s(), _localtime32_s(), and _localtime64_s().
|
static |
Definition at line 47 of file time.c.
Referenced by clock(), and msvcrt_init_clock().
Definition at line 66 of file time.c.
Referenced by strftime_format(), and strftime_impl().
Definition at line 57 of file time.c.
Referenced by _gmtime64_s(), _localtime64_s(), asctime_buf(), asctime_s(), mktime_helper(), RtlCutoverTimeToSystemTime(), RtlTimeFieldsToTime(), RtlTimeToTimeFields(), and test_pRtlTimeToTimeFields().
| int MSVCRT___daylight = 1 |
Definition at line 101 of file time.c.
Referenced by __p__daylight(), _tzset(), and is_dst().
| __msvcrt_long MSVCRT___timezone = 28800 |
Definition at line 106 of file time.c.
Referenced by __p__timezone(), _ftime64(), _localtime64_s(), _tzset(), and mktime_helper().
| __msvcrt_long MSVCRT__dstbias = -3600 |
Definition at line 111 of file time.c.
Referenced by __p__dstbias(), _localtime64_s(), _tzset(), is_dst(), and mktime_helper().
| char* MSVCRT__tzname[2] = { tzname_std, tzname_dst } |
Definition at line 121 of file time.c.
Referenced by __p__tzname(), and _tzset().
|
static |
Definition at line 123 of file time.c.
Referenced by _tzset(), create_date(), date_parse(), get_localdatetime(), is_dst(), and mktime_worker().
|
static |
Definition at line 120 of file time.c.
Referenced by _get_tzname(), _tzset(), and strftime_impl().
|
static |
Definition at line 119 of file time.c.
Referenced by _get_tzname(), _tzset(), and strftime_impl().