/glibc-2.36/locale/programs/ |
D | ld-time.c | 121 locale->categories[LC_TIME].time = in time_startup() 135 struct locale_time_t *time = locale->categories[LC_TIME].time; in time_finish() local 139 if (time == NULL) in time_finish() 152 while (from->categories[LC_TIME].time == NULL in time_finish() 155 time = locale->categories[LC_TIME].time in time_finish() 156 = from->categories[LC_TIME].time; in time_finish() 161 if (time == NULL) in time_finish() 166 time = locale->categories[LC_TIME].time; in time_finish() 173 if (!time->cat##_defined) \ in time_finish() 183 time->cat[i] = initval[i]; \ in time_finish() [all …]
|
/glibc-2.36/support/ |
D | tst-timespec.c | 28 struct timespec time; member 34 struct timespec time; member 52 {.time = {.tv_sec = 0, .tv_nsec = 0}, 55 {.time = {.tv_sec = 0, .tv_nsec = 1}, 58 {.time = {.tv_sec = 1, .tv_nsec = 0}, 61 {.time = {.tv_sec = 1, .tv_nsec = 1}, 64 {.time = {.tv_sec = 0, .tv_nsec = -1}, 67 {.time = {.tv_sec = -1, .tv_nsec = 0}, 70 {.time = {.tv_sec = -1, .tv_nsec = -1}, 73 {.time = {.tv_sec = 1, .tv_nsec = -1}, [all …]
|
D | timespec.c | 66 support_timespec_ns (struct timespec time) in support_timespec_ns() argument 69 if (INT_MULTIPLY_WRAPV(time.tv_sec, TIMESPEC_HZ, &time_ns)) in support_timespec_ns() 70 return time.tv_sec < 0 ? TYPE_MINIMUM(time_t) : TYPE_MAXIMUM(time_t); in support_timespec_ns() 71 if (INT_ADD_WRAPV(time_ns, time.tv_nsec, &time_ns)) in support_timespec_ns() 72 return time.tv_nsec < 0 ? TYPE_MINIMUM(time_t) : TYPE_MAXIMUM(time_t); in support_timespec_ns() 81 support_timespec_normalize (struct timespec time) in support_timespec_normalize() argument 84 if (INT_ADD_WRAPV (time.tv_sec, (time.tv_nsec / TIMESPEC_HZ), &norm.tv_sec)) in support_timespec_normalize() 86 norm.tv_sec = (time.tv_nsec < 0) ? TYPE_MINIMUM (time_t): TYPE_MAXIMUM (time_t); in support_timespec_normalize() 87 norm.tv_nsec = (time.tv_nsec < 0) ? -1 * (TIMESPEC_HZ - 1) : TIMESPEC_HZ - 1; in support_timespec_normalize() 90 norm.tv_nsec = time.tv_nsec % TIMESPEC_HZ; in support_timespec_normalize()
|
D | timespec.h | 52 time_t support_timespec_ns (struct timespec time); 54 struct timespec support_timespec_normalize (struct timespec time); 74 time_t __REDIRECT (support_timespec_ns, (struct timespec time), 77 struct timespec __REDIRECT (support_timespec_normalize, (struct timespec time),
|
/glibc-2.36/resolv/ |
D | ns_date.c | 44 struct tm time; in ns_datetosecs() local 56 memset(&time, 0, sizeof time); in ns_datetosecs() 57 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900; in ns_datetosecs() 58 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; in ns_datetosecs() 59 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs() 60 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); in ns_datetosecs() 61 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); in ns_datetosecs() 62 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp); in ns_datetosecs() 74 result = time.tm_sec; /*%< Seconds */ in ns_datetosecs() 75 result += time.tm_min * 60; /*%< Minutes */ in ns_datetosecs() [all …]
|
D | res_debug.c | 1066 struct tm *time; in libresolv_hidden_def() local 1074 || (time = __gmtime_r (&clock, &timebuf)) == NULL) { in libresolv_hidden_def() 1079 time->tm_year += 1900; in libresolv_hidden_def() 1080 time->tm_mon += 1; in libresolv_hidden_def() 1091 time->tm_year, time->tm_mon, time->tm_mday, in libresolv_hidden_def() 1092 time->tm_hour, time->tm_min, time->tm_sec); in libresolv_hidden_def()
|
/glibc-2.36/manual/ |
D | time.texi | 2 @c %MENU% Functions for getting the date and time and formatting them nicely 6 including functions for determining what time it is and conversion 7 between different time representations. 11 * Time Types:: Data types to represent time. 15 * Setting an Alarm:: Sending a signal after a specified time. 16 * Sleeping:: Waiting for a period of time. 22 @cindex time 24 Discussing time in a technical manual can be difficult because the word 25 ``time'' in English refers to lots of different things. In this manual, 27 use the simple word ``time'' for is to talk about the abstract concept. [all …]
|
D | maint.texi | 191 * 64-bit time symbol handling :: How to handle 64-bit time related 195 @node 64-bit time symbol handling 196 @appendixsubsec 64-bit time symbol handling in the GNU C Library 198 With respect to time handling, @glibcadj{} configurations fall in two 205 These @dfn{dual-time} configurations have both 32-bit and 64-bit time 206 support. 32-bit time support provides type @code{time_t} and cannot 207 handle dates beyond @dfn{Y2038}. 64-bit time support provides type 210 In these configurations, time-related types have two declarations, 211 a 64-bit one, and a 32-bit one; and time-related functions generally 217 64-bit-time counterpart of @code{clock_gettime} is [all …]
|
/glibc-2.36/time/ |
D | tst-ftime.c | 28 struct timeb prev, curr = {.time = 0, .millitm = 0}; in do_test() 43 TEST_VERIFY (curr.time >= prev.time); in do_test() 45 if (curr.time == prev.time) in do_test() 48 if (curr.time > prev.time) in do_test()
|
/glibc-2.36/sysdeps/unix/sysv/linux/include/sys/ |
D | timex.h | 54 struct __timeval64 time; /* (read only, except for ADJ_SETOFFSET) */ in libc_hidden_proto() 87 struct __timeval64 time; /* current time (ro) */ 119 tx64.time = valid_timeval_to_timeval64 (tx.time); 149 tx.time = valid_timeval64_to_timeval (tx64.time); in valid_timex64_to_timex() 170 ntv64.time = valid_timeval_to_timeval64 (ntv.time); in valid_ntptimeval_to_ntptimeval64() 188 ntp.time = valid_timeval64_to_timeval (ntp64.time); in valid_ntptimeval64_to_ntptimeval()
|
/glibc-2.36/timezone/ |
D | europe | 11 # A good source for time zone historical data outside the U.S. is 16 # for recent time zone data is the International Air Transport 58 # A reliable and entertaining source about time zones, especially in Britain, 59 # Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997). 95 # beside the river at Kew. In the 18th century, before time and longitude 98 # made their calculations and set the time for the Horse Guards and Parliament, 110 # Howse writes that Britain was the first country to use standard time. 111 # The railways cared most about the inconsistencies of local mean time, 112 # and it was they who forced a uniform time on the country. 115 # The first railway to adopt London time was the Great Western Railway [all …]
|
D | northamerica | 13 # A reliable and entertaining source about time zones is 14 # Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997). 21 # Howse writes (pp 121-125) that time zones were invented by 32 # That 1883 transition occurred at 12:00 new time, not at 12:00 old time. 36 # A good source for time zone historical data in the US is 48 # I don't really care how time is reckoned so long as there is some 54 # reduce my time for enjoying it. At the back of the Daylight Saving 69 # was the first nationwide legal time standard, and apparently 70 # time was just called "Standard Time" or "Daylight Saving Time". 86 # "When the time is announced over the radio now, it is 'Eastern Peace [all …]
|
D | leapseconds | 11 # Terry J Quinn, The BIPM and the accurate measure of time, 14 # accounting for the discrepancy between atomic time and the earth's rotation 17 # The correction (+ or -) is made at the given time, so lines 23 # If the leapsecond is Rolling (R) the given time is local time 24 # If the leapsecond is Stationary (S) the given time is UTC 69 # distribution of time 81 # six months, either to announce a time step in UTC, or to confirm that there 82 # will be no time step at the next possible date.
|
D | asia | 12 # A good source for time zone historical data outside the U.S. is 17 # for recent time zone data is the International Air Transport 29 # A reliable and entertaining source about time zones is 30 # Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997). 59 # Worldwide Edition). The names for time zones are guesses. 119 4:00 - AZT 1996 # Azerbaijan time 134 # Bangladesh to introduce daylight saving time likely from June 16 143 # "... Bangladesh government has decided to switch daylight saving time from 164 # <a href="http://www.timeanddate.com/news/time/bangladesh-daylight-saving-2009.html"> 165 # http://www.timeanddate.com/news/time/bangladesh-daylight-saving-2009.html [all …]
|
D | antarctica | 16 # Unless otherwise specified, we have no time zone information. 19 # I made up all time zone abbreviations mentioned here; corrections welcome! 112 # These locations have always used Santiago time; use TZ='America/Santiago'. 124 # don't observe daylight saving time, even if Terre Adelie supplies came 168 # In all Japanese stations, +0300 is used as the standard time. 224 # time as Moscow, Russia. 228 # what they had to say about time there: 230 # time, which is 12 hours ahead of GMT. The Russian Station Vostok was 232 # of GMT). This is a time zone I think two hours east of Moscow. The 233 # natural time zone is in between the two: 8 hours ahead of GMT.'' [all …]
|
D | australasia | 56 # of Queensland chose to keep observing daylight-saving time even after 245 # We don't know when standard time was introduced; for now, we guess 1900. 497 # flights to Chicago and the US East Coast. As it uses some time zone 544 # A good source for time zone historical data outside the U.S. is 549 # for recent time zone data is the International Air Transport 561 # A reliable and entertaining source about time zones is 562 # Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997). 601 # We in Australia have _never_ referred to DST as `daylight' time. 602 # It is called `summer' time. Now by a happy coincidence, `summer' 608 # the phrase `summer time' and does not use the phrase `daylight [all …]
|
D | africa | 12 # A good source for time zone historical data outside the U.S. is 17 # for recent time zone data is the International Air Transport 29 # A reliable and entertaining source about time zones is 30 # Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997). 43 # and at the time, far west Africa was the only major land area in -1:00. 220 # after observing the daylight saving time since May. 225 # saving time in Egypt will end in the night of 2007-09-06 to 2007-09-07. 271 # [3] <a href="http://wwp.greenwichmeantime.com/time-zone/africa/egypt/"> 272 # http://wwp.greenwichmeantime.com/time-zone/africa/egypt/ 301 # Shanks & Pottenger write that Ethiopia had six narrowly-spaced time zones [all …]
|
D | southamerica | 11 # A good source for time zone historical data outside the U.S. is 16 # for recent time zone data is the International Air Transport 34 # for time zones in Brazil, but this was incorrect, as Brazilians say 35 # "summer time". Reinaldo Goulart, a Sao Paulo businessman active in 37 # The subject of time zones is currently a matter of discussion/debate in 38 # Brazil. Let's say that "the Brasilia time" is considered the 39 # "official time" because Brasilia is the capital city. 40 # The other three time zones are called "Brasilia time "minus one" or 59 # Double Summer time from 1969 to 1974. Switches at midnight. 65 # I am sending modifications to the Argentine time zone table... [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | time.c | 32 return INLINE_SYSCALL_CALL (time, t); in time_syscall() 38 libc_ifunc (time, 44 time (time_t *t) in time() function 46 return INLINE_VSYSCALL (time, 1, t); in time() 86 weak_alias (__time, time)
|
D | ftime.c | 30 timebuf->time = ts.tv_sec; in __ftime64() 44 if (! in_time_t_range (tb64.time)) in libc_hidden_def() 49 timebuf->time = tb64.time; in libc_hidden_def()
|
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/ |
D | osf_adjtime.c | 40 struct __timeval32 time; /* (read only) */ member 95 tx64.time = valid_timeval32_to_timeval (tx->time); in __adjtimex_tv32() 120 tx->time = valid_timeval_to_timeval32 (tx64.time); in __adjtimex_tv32()
|
/glibc-2.36/nis/ |
D | nis_defaults.c | 69 uint32_t time; in searchttl() local 85 time = 0; in searchttl() 93 time += atoi (dptr) * 60 * 60 * 24; in searchttl() 102 time += atoi (dptr) * 60 * 60; in searchttl() 111 time += atoi (dptr) * 60; in searchttl() 119 time += atoi (dptr); in searchttl() 121 return time; in searchttl()
|
D | nis_print.c | 58 uint32_t time, s, m, h; in print_ttl() local 60 time = ttl; in print_ttl() 62 h = time / (60 * 60); in print_ttl() 63 time %= (60 * 60); in print_ttl() 64 m = time / 60; in print_ttl() 65 time %= 60; in print_ttl() 66 s = time; in print_ttl()
|
/glibc-2.36/localedata/locales/ |
D | en_US | 107 % Appropriate date and time representation (%c) 113 % Appropriate time representation (%X) 116 % Appropriate AM/PM time representation (%r) 119 % Appropriate date and time representation for date(1). This is 122 % of 2018 it was adjusted to use 12H time (bug 24046) instead of 24H.
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.2 | 98 * time/Makefile (z.%): In generated rules, depend on yearistype. 146 * time/zic.c (mkdirs): Duplicate passed string in allocated memory 268 * time/sys/time.h (struct timeval): Make members TV_SEC and 399 * time/__tzset.c (compute_change): In M case when tallying time in 490 * time/africa, time/antarctica, time/asia, time/australasia, 491 time/emkdir.c, time/europe, time/ialloc.c, time/northamerica, 492 time/pacificnew, time/private.h, time/solar87, time/solar88, 493 time/southamerica time/systemv, time/tzfile.h, time/zdump.c, 494 time/zic.c: New data and code from ADO. 495 * time/Makefile (tzfiles): Added backward. [all …]
|