/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/include/ |
H A D | my_time.h | 232 switch (my_time.time_type) { in TIME_to_ulonglong_round() 265 TIME_microseconds(my_time); in TIME_to_double_datetime() 278 TIME_microseconds(my_time); in TIME_to_double_time() 292 TIME_microseconds(my_time); in TIME_to_double() 352 if ((my_time.year > TIMESTAMP_MAX_YEAR || in validate_timestamp_range() 355 (my_time.month > 1 || my_time.day > 19)) || in validate_timestamp_range() 357 (my_time.month < 12 || my_time.day < 31))) in validate_timestamp_range() 487 return !(fuzzydate & TIME_FUZZY_DATE) && (!my_time.month || !my_time.day); in check_fuzzy_date() 498 return my_time.year || my_time.month || my_time.day; in non_zero_date() 509 return my_time.hour || my_time.minute || my_time.second || in non_zero_time() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysys/ |
H A D | my_time.cc | 198 (my_time.month == 0 || my_time.day == 0)) { in check_date() 224 return my_time.minute >= 60 || my_time.second >= 60 || in check_time_mmssff_range() 262 return my_time.year > 9999U || my_time.month > 12U || my_time.day > 31U || in check_datetime_range() 263 my_time.minute > 59U || my_time.second > 59U || in check_datetime_range() 991 my_time->day = my_time->second_part = 0; in adjust_time_range() 1699 long hms = (((my_time.month ? 0 : my_time.day * 24) + my_time.hour) << 12) | in TIME_to_longlong_time_packed() 1869 longlong ymd = ((my_time.year * 13 + my_time.month) << 5) | my_time.day; in TIME_to_longlong_datetime_packed() 1870 longlong hms = (my_time.hour << 12) | (my_time.minute << 6) | my_time.second; in TIME_to_longlong_datetime_packed() 1885 longlong ymd = ((my_time.year * 13 + my_time.month) << 5) | my_time.day; in TIME_to_longlong_date_packed() 2204 ulong daynr = calc_daynr(my_time.year, my_time.month, my_time.day); in calc_week() [all …]
|
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/klib/win/ |
H A D | syslog.c | 44 SYSTEMTIME my_time; in LogTimestamp() local 46 GetSystemTime( &my_time ); in LogTimestamp() 51 my_time.wYear, in LogTimestamp() 52 my_time.wMonth, in LogTimestamp() 53 my_time.wDay, in LogTimestamp() 54 my_time.wHour, in LogTimestamp() 78 SYSTEMTIME my_time; in LogSimpleTimestamp() local 80 GetLocalTime( &my_time ); in LogSimpleTimestamp() 85 my_time.wYear, in LogSimpleTimestamp() 87 my_time.wDay, in LogSimpleTimestamp() [all …]
|
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/klib/win/ |
H A D | syslog.c | 44 SYSTEMTIME my_time; in LogTimestamp() local 46 GetSystemTime( &my_time ); in LogTimestamp() 51 my_time.wYear, in LogTimestamp() 52 my_time.wMonth, in LogTimestamp() 53 my_time.wDay, in LogTimestamp() 54 my_time.wHour, in LogTimestamp() 78 SYSTEMTIME my_time; in LogSimpleTimestamp() local 80 GetLocalTime( &my_time ); in LogSimpleTimestamp() 85 my_time.wYear, in LogSimpleTimestamp() 87 my_time.wDay, in LogSimpleTimestamp() [all …]
|
/dports/graphics/ImageMagick7/ImageMagick-7.1.0-19/MagickCore/ |
H A D | timer-private.h | 32 *my_time; in GetMagickUTCtime() 34 my_time=gmtime(timep); in GetMagickUTCtime() 35 if (my_time != (struct tm *) NULL) in GetMagickUTCtime() 36 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickUTCtime() 48 *my_time; in GetMagickLocaltime() 50 my_time=localtime(timep); in GetMagickLocaltime() 51 if (my_time != (struct tm *) NULL) in GetMagickLocaltime() 52 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickLocaltime()
|
/dports/graphics/ImageMagick7-nox11/ImageMagick-7.1.0-19/MagickCore/ |
H A D | timer-private.h | 32 *my_time; in GetMagickUTCtime() 34 my_time=gmtime(timep); in GetMagickUTCtime() 35 if (my_time != (struct tm *) NULL) in GetMagickUTCtime() 36 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickUTCtime() 48 *my_time; in GetMagickLocaltime() 50 my_time=localtime(timep); in GetMagickLocaltime() 51 if (my_time != (struct tm *) NULL) in GetMagickLocaltime() 52 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickLocaltime()
|
/dports/graphics/ImageMagick6-nox11/ImageMagick-6.9.12-34/magick/ |
H A D | timer-private.h | 32 *my_time; in GetMagickUTCtime() 34 my_time=gmtime(timep); in GetMagickUTCtime() 35 if (my_time != (struct tm *) NULL) in GetMagickUTCtime() 36 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickUTCtime() 48 *my_time; in GetMagickLocaltime() 50 my_time=localtime(timep); in GetMagickLocaltime() 51 if (my_time != (struct tm *) NULL) in GetMagickLocaltime() 52 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickLocaltime()
|
/dports/graphics/ImageMagick6/ImageMagick-6.9.12-34/magick/ |
H A D | timer-private.h | 32 *my_time; in GetMagickUTCtime() 34 my_time=gmtime(timep); in GetMagickUTCtime() 35 if (my_time != (struct tm *) NULL) in GetMagickUTCtime() 36 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickUTCtime() 48 *my_time; in GetMagickLocaltime() 50 my_time=localtime(timep); in GetMagickLocaltime() 51 if (my_time != (struct tm *) NULL) in GetMagickLocaltime() 52 (void) memcpy(result,my_time,sizeof(*my_time)); in GetMagickLocaltime()
|
/dports/databases/mysql55-client/mysql-5.5.62/sql-common/ |
H A D | my_time.c | 688 if (my_time->minute >= 60 || my_time->second >= 60) in check_time_range() 691 hour= my_time->hour + (24*my_time->day); in check_time_range() 694 my_time->second != TIME_MAX_SECOND || !my_time->second_part)) in check_time_range() 697 my_time->day= 0; in check_time_range() 698 my_time->hour= TIME_MAX_HOUR; in check_time_range() 699 my_time->minute= TIME_MAX_MINUTE; in check_time_range() 700 my_time->second= TIME_MAX_SECOND; in check_time_range() 701 my_time->second_part= 0; in check_time_range() 717 MYSQL_TIME my_time; in my_init_time() local 1201 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/sql-common/ |
H A D | my_time.c | 667 if (my_time->minute >= 60 || my_time->second >= 60) in check_time_range() 673 hour= my_time->hour + (24*my_time->day); in check_time_range() 684 my_time->day= 0; in check_time_range() 685 my_time->hour= TIME_MAX_HOUR; in check_time_range() 686 my_time->minute= TIME_MAX_MINUTE; in check_time_range() 704 MYSQL_TIME my_time; in my_init_time() local 717 my_time.neg= 0; in my_init_time() 718 my_time.second_part= 0; in my_init_time() 1362 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1403 switch (my_time->time_type) { in TIME_to_ulonglong() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/sql-common/ |
H A D | my_time.c | 667 if (my_time->minute >= 60 || my_time->second >= 60) in check_time_range() 673 hour= my_time->hour + (24*my_time->day); in check_time_range() 684 my_time->day= 0; in check_time_range() 685 my_time->hour= TIME_MAX_HOUR; in check_time_range() 686 my_time->minute= TIME_MAX_MINUTE; in check_time_range() 704 MYSQL_TIME my_time; in my_init_time() local 717 my_time.neg= 0; in my_init_time() 718 my_time.second_part= 0; in my_init_time() 1362 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1403 switch (my_time->time_type) { in TIME_to_ulonglong() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/sql-common/ |
H A D | my_time.c | 1109 if (my_time->minute >= 60 || my_time->second >= 60 || in check_time_range_internal() 1110 my_time->hour > err_hour) in check_time_range_internal() 1116 hour= my_time->hour + (24*my_time->day); in check_time_range_internal() 1127 my_time->day= 0; in check_time_range_internal() 1128 my_time->hour= max_hour; in check_time_range_internal() 1147 MYSQL_TIME my_time; in my_init_time() local 1160 my_time.neg= 0; in my_init_time() 1161 my_time.second_part= 0; in my_init_time() 1956 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1997 switch (my_time->time_type) { in TIME_to_ulonglong() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/sql-common/ |
H A D | my_time.c | 1109 if (my_time->minute >= 60 || my_time->second >= 60 || in check_time_range_internal() 1110 my_time->hour > err_hour) in check_time_range_internal() 1116 hour= my_time->hour + (24*my_time->day); in check_time_range_internal() 1127 my_time->day= 0; in check_time_range_internal() 1128 my_time->hour= max_hour; in check_time_range_internal() 1147 MYSQL_TIME my_time; in my_init_time() local 1160 my_time.neg= 0; in my_init_time() 1161 my_time.second_part= 0; in my_init_time() 1818 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1859 switch (my_time->time_type) { in TIME_to_ulonglong() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/sql-common/ |
H A D | my_time.c | 1109 if (my_time->minute >= 60 || my_time->second >= 60 || in check_time_range_internal() 1110 my_time->hour > err_hour) in check_time_range_internal() 1116 hour= my_time->hour + (24*my_time->day); in check_time_range_internal() 1127 my_time->day= 0; in check_time_range_internal() 1128 my_time->hour= max_hour; in check_time_range_internal() 1147 MYSQL_TIME my_time; in my_init_time() local 1160 my_time.neg= 0; in my_init_time() 1161 my_time.second_part= 0; in my_init_time() 1818 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1859 switch (my_time->time_type) { in TIME_to_ulonglong() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/sql-common/ |
H A D | my_time.c | 1109 if (my_time->minute >= 60 || my_time->second >= 60 || in check_time_range_internal() 1110 my_time->hour > err_hour) in check_time_range_internal() 1116 hour= my_time->hour + (24*my_time->day); in check_time_range_internal() 1127 my_time->day= 0; in check_time_range_internal() 1128 my_time->hour= max_hour; in check_time_range_internal() 1147 MYSQL_TIME my_time; in my_init_time() local 1160 my_time.neg= 0; in my_init_time() 1161 my_time.second_part= 0; in my_init_time() 1956 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1997 switch (my_time->time_type) { in TIME_to_ulonglong() [all …]
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql-common/ |
H A D | my_time.c | 909 if (check_time_range_quick(my_time)) in adjust_time_range() 911 my_time->day= my_time->second_part= 0; in adjust_time_range() 912 set_max_hhmmss(my_time); in adjust_time_range() 928 MYSQL_TIME my_time; in my_init_time() local 937 my_time.day= (uint) l_time->tm_mday; in my_init_time() 942 my_time.neg= 0; in my_init_time() 943 my_time.second_part= 0; in my_init_time() 1529 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1530 my_time->day); in TIME_to_ulonglong_date() 1545 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql-common/ |
H A D | my_time.c | 909 if (check_time_range_quick(my_time)) in adjust_time_range() 911 my_time->day= my_time->second_part= 0; in adjust_time_range() 912 set_max_hhmmss(my_time); in adjust_time_range() 928 MYSQL_TIME my_time; in my_init_time() local 937 my_time.day= (uint) l_time->tm_mday; in my_init_time() 942 my_time.neg= 0; in my_init_time() 943 my_time.second_part= 0; in my_init_time() 1529 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1530 my_time->day); in TIME_to_ulonglong_date() 1545 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/sql-common/ |
H A D | my_time.c | 908 if (check_time_range_quick(my_time)) in adjust_time_range() 910 my_time->day= my_time->second_part= 0; in adjust_time_range() 911 set_max_hhmmss(my_time); in adjust_time_range() 927 MYSQL_TIME my_time; in my_init_time() local 936 my_time.day= (uint) l_time->tm_mday; in my_init_time() 941 my_time.neg= 0; in my_init_time() 942 my_time.second_part= 0; in my_init_time() 1499 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1500 my_time->day); in TIME_to_ulonglong_date() 1515 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql-common/ |
H A D | my_time.c | 908 if (check_time_range_quick(my_time)) in adjust_time_range() 910 my_time->day= my_time->second_part= 0; in adjust_time_range() 911 set_max_hhmmss(my_time); in adjust_time_range() 927 MYSQL_TIME my_time; in my_init_time() local 936 my_time.day= (uint) l_time->tm_mday; in my_init_time() 941 my_time.neg= 0; in my_init_time() 942 my_time.second_part= 0; in my_init_time() 1499 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1500 my_time->day); in TIME_to_ulonglong_date() 1515 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql-common/ |
H A D | my_time.c | 908 if (check_time_range_quick(my_time)) in adjust_time_range() 910 my_time->day= my_time->second_part= 0; in adjust_time_range() 911 set_max_hhmmss(my_time); in adjust_time_range() 927 MYSQL_TIME my_time; in my_init_time() local 936 my_time.day= (uint) l_time->tm_mday; in my_init_time() 941 my_time.neg= 0; in my_init_time() 942 my_time.second_part= 0; in my_init_time() 1499 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1500 my_time->day); in TIME_to_ulonglong_date() 1515 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/sql-common/ |
H A D | my_time.c | 908 if (check_time_range_quick(my_time)) in adjust_time_range() 910 my_time->day= my_time->second_part= 0; in adjust_time_range() 911 set_max_hhmmss(my_time); in adjust_time_range() 927 MYSQL_TIME my_time; in my_init_time() local 936 my_time.day= (uint) l_time->tm_mday; in my_init_time() 941 my_time.neg= 0; in my_init_time() 942 my_time.second_part= 0; in my_init_time() 1499 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1500 my_time->day); in TIME_to_ulonglong_date() 1515 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql-common/ |
H A D | my_time.c | 908 if (check_time_range_quick(my_time)) in adjust_time_range() 910 my_time->day= my_time->second_part= 0; in adjust_time_range() 911 set_max_hhmmss(my_time); in adjust_time_range() 927 MYSQL_TIME my_time; in my_init_time() local 936 my_time.day= (uint) l_time->tm_mday; in my_init_time() 941 my_time.neg= 0; in my_init_time() 942 my_time.second_part= 0; in my_init_time() 1499 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1500 my_time->day); in TIME_to_ulonglong_date() 1515 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql-common/ |
H A D | my_time.c | 909 if (check_time_range_quick(my_time)) in adjust_time_range() 911 my_time->day= my_time->second_part= 0; in adjust_time_range() 912 set_max_hhmmss(my_time); in adjust_time_range() 928 MYSQL_TIME my_time; in my_init_time() local 937 my_time.day= (uint) l_time->tm_mday; in my_init_time() 942 my_time.neg= 0; in my_init_time() 943 my_time.second_part= 0; in my_init_time() 1529 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1530 my_time->day); in TIME_to_ulonglong_date() 1545 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql-common/ |
H A D | my_time.c | 909 if (check_time_range_quick(my_time)) in adjust_time_range() 911 my_time->day= my_time->second_part= 0; in adjust_time_range() 912 set_max_hhmmss(my_time); in adjust_time_range() 928 MYSQL_TIME my_time; in my_init_time() local 937 my_time.day= (uint) l_time->tm_mday; in my_init_time() 942 my_time.neg= 0; in my_init_time() 943 my_time.second_part= 0; in my_init_time() 1529 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1530 my_time->day); in TIME_to_ulonglong_date() 1545 my_time->second); in TIME_to_ulonglong_time() [all …]
|
/dports/databases/mysql57-client/mysql-5.7.36/sql-common/ |
H A D | my_time.c | 908 if (check_time_range_quick(my_time)) in adjust_time_range() 910 my_time->day= my_time->second_part= 0; in adjust_time_range() 911 set_max_hhmmss(my_time); in adjust_time_range() 927 MYSQL_TIME my_time; in my_init_time() local 936 my_time.day= (uint) l_time->tm_mday; in my_init_time() 941 my_time.neg= 0; in my_init_time() 942 my_time.second_part= 0; in my_init_time() 1499 return (ulonglong) (my_time->year * 10000UL + my_time->month * 100UL + in TIME_to_ulonglong_date() 1500 my_time->day); in TIME_to_ulonglong_date() 1515 my_time->second); in TIME_to_ulonglong_time() [all …]
|