10unsigned int g_monthdays[13] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365};
11unsigned int g_lpmonthdays[13] = {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366};
16 unsigned int days, daystoyear, dayinyear, leapdays, leapyears, years,
month;
17 unsigned int secondinday, secondinhour;
39 if (leapdays > leapyears)
51 years = (days - leapdays) / 365;
55 daystoyear = years * 365 + leapyears;
58 dayinyear = days - daystoyear;
69 dayinyear = days - daystoyear;
92 ptm->
tm_min = secondinhour / 60;
93 ptm->
tm_sec = secondinhour % 60;
109 if (!ptime || *ptime < 0)
114 if(!
data->time_buffer)
124 const __time64_t* ptime)
168 __time64_t
time = *ptime;
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static const WCHAR month[12][4]
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
struct tm * _gmtime_worker(struct tm *ptm, __time64_t time, int do_dst)
struct tm * _gmtime64(const __time64_t *ptime)
struct tm * _gmtime32(const __time32_t *ptime)
errno_t _gmtime64_s(struct tm *ptm, const __time64_t *ptime)
struct tm * gmtime(const time_t *ptime)
unsigned int g_lpmonthdays[13]
errno_t _gmtime32_s(struct tm *ptm, const __time32_t *ptime)
unsigned int g_monthdays[13]
#define MSVCRT_INVALID_PMT(x)
thread_data_t * msvcrt_get_thread_data(void)
static __inline long leapdays_passed(long days)
static __inline long leapyears_passed(long days)
#define ERROR_BAD_COMMAND