Lines Matching defs:time
51 ** Someone might make incorrect use of a time zone abbreviation:
56 ** 3. They might reference tzname[1] after setting to a time zone
58 ** 4. They might reference tzname[0] after setting to a time zone
66 ** manual page of what this "time zone abbreviation" means (doing this so
87 struct ttinfo { /* time type information */
91 bool tt_ttisstd; /* transition is std time */
96 time_t ls_trans; /* transition time */
100 /* This abbreviation means local time is unspecified. */
109 /* Limit to time zone abbreviation length in POSIX.1-2017-style TZ strings.
134 /* The time type to use for early times or if no transitions.
151 int_fast32_t r_time; /* transition time of rule */
187 ** objects: a broken-down time structure and an array of char.
223 /* Return true if SP's time type I does not specify local time. */
296 diminished by the provided info if it is a specified local time.
317 /* If STDDST_MASK & 1 we need info about a standard time.
318 If STDDST_MASK & 2 we need info about a daylight saving time.
335 ** And to get the latest time zone abbreviations into tzname. . .
348 /* Replace bogus characters in time zone abbreviations.
349 Return 0 on success, an errno value if a time zone abbreviation is
720 first transition have a time type that is not the earliest
721 standard-time type. See:
724 ** If type 0 does not specify local time, or is unused in transitions,
734 ** and the first transition is to a daylight time
806 ** a valid character in a time zone abbreviation is found.
823 ** delimiter of the time zone abbreviation is located.
915 ** Otherwise, return a pointer to the first character not part of the time.
930 return NULL; /* illegal time */
938 ** date[/time]. See POSIX Base Definitions section 8.3 variable TZ
939 ** for the format of "date" and "time".
991 ** Given a year, a rule, and the offset from UT at the time that rule takes
992 ** effect, calculate the year-relative time that rule takes effect.
1012 ** add SECSPERDAY times the day number-1 to the time of
1023 ** Just add SECSPERDAY times the day number to the time of
1074 ** "value" is the year-relative time of 00:00:00 UT on the day in
1075 ** question. To get the year-relative time of the specified local
1076 ** time on that day, add the transition time and the current offset
1173 sp->typecnt = 2; /* standard time and DST */
1291 ** Initially we're assumed to be in standard time.
1302 /* No adjustment to transition time */
1305 ** If daylight saving time is in
1306 ** effect, and the transition time was
1307 ** not specified as standard time, add
1308 ** the daylight saving time offset to
1309 ** the transition time; otherwise, add
1310 ** the standard time offset to the
1311 ** transition time.
1341 sp->typecnt = 1; /* only standard time */
1473 ** in zones with three or more time zone abbreviations.
1645 ** but this is no time for a treasure hunt.
1828 ** Kridle's (so its said...) from a long time ago.
2034 ** time below the minimum representable time.
2036 ** This assumes that the minimum representable time is
2118 ** Right time, wrong type.
2119 ** Hunt for right time, right type.
2214 ** We're supposed to assume that somebody took a time of one type
2301 # define timeoff my_timeoff /* Don't collide with OpenBSD 7.4 <time.h>. */
2397 ** hit, the corresponding time doesn't exist,
2448 converts the time's integer width. On some platforms, the system
2449 time is local time not UT, or uses some epoch other than the POSIX
2452 Although this code appears to define a function named 'time' that
2455 to sys_time invokes the underlying system's 'time' function. */
2458 time(time_t *p)