Lines Matching +full:1000 +full:- +full:10000
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
23 * 10/04/98: added new table-based lookup after seeing how ugly
55 if (offset == -2047) /* unspecified offset */ in udf_disk_stamp_to_time()
60 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time()
62 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time()
63 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time()
67 * recorded with bogus sub-second values. in udf_disk_stamp_to_time()
69 dest->tv_nsec %= NSEC_PER_SEC; in udf_disk_stamp_to_time()
79 offset = -sys_tz.tz_minuteswest; in udf_time_to_disk_stamp()
81 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp()
85 dest->year = cpu_to_le16(tm.tm_year + 1900); in udf_time_to_disk_stamp()
86 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp()
87 dest->day = tm.tm_mday; in udf_time_to_disk_stamp()
88 dest->hour = tm.tm_hour; in udf_time_to_disk_stamp()
89 dest->minute = tm.tm_min; in udf_time_to_disk_stamp()
90 dest->second = tm.tm_sec; in udf_time_to_disk_stamp()
91 dest->centiseconds = ts.tv_nsec / 10000000; in udf_time_to_disk_stamp()
92 dest->hundredsOfMicroseconds = (ts.tv_nsec / 1000 - in udf_time_to_disk_stamp()
93 dest->centiseconds * 10000) / 100; in udf_time_to_disk_stamp()
94 dest->microseconds = (ts.tv_nsec / 1000 - dest->centiseconds * 10000 - in udf_time_to_disk_stamp()
95 dest->hundredsOfMicroseconds * 100); in udf_time_to_disk_stamp()