/haiku-fatelf/src/system/libroot/posix/time/ |
H A D | asctime.cpp | 18 print_time(char* buffer, size_t bufferSize, const struct tm* tm) argument 21 tm->tm_wday < 0 ? "???" : gPosixLCTimeInfo.wday[tm->tm_wday % 7], 22 tm->tm_mon < 0 ? "???" : gPosixLCTimeInfo.mon[tm->tm_mon % 12], 23 tm->tm_mday, tm->tm_hour, tm->tm_min, tm 31 asctime(const struct tm* tm) argument 43 asctime_r(const struct tm* tm, char* buffer) argument [all...] |
H A D | ctime.c | 20 struct tm tm; local 21 return asctime_r(localtime_r(_timer, &tm), buf);
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | mktime-internal.h | 2 time_t mktime_internal (struct tm *, 3 struct tm * (*) (time_t const *, struct tm *),
|
H A D | time_r.c | 30 static struct tm * 31 copy_tm_result (struct tm *dest, struct tm const *src) 40 struct tm * 41 gmtime_r (time_t const * restrict t, struct tm * restrict tp) 46 struct tm * 47 localtime_r (time_t const * restrict t, struct tm * restrict tp)
|
H A D | posixtm.c | 61 year (struct tm *tm, const int *digit_pair, size_t n, unsigned int syntax_bits) argument 66 tm->tm_year = *digit_pair; 74 tm->tm_year += 100; 81 tm->tm_year = digit_pair[0] * 100 + digit_pair[1] - 1900; 87 struct tm *tmp; 94 tm->tm_year = tmp->tm_year; 106 posix_time_parse (struct tm *tm, const char *s, unsigned int syntax_bits) argument 141 if (year (tm, 188 struct tm const *tm; local [all...] |
H A D | fprintftime.h | 28 size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm,
|
H A D | gettimeofday.c | 43 static struct tm tm_zero_buffer; 44 static struct tm *localtime_buffer_addr = &tm_zero_buffer; 47 extern struct tm *localtime (time_t const *); 50 extern struct tm *gmtime (time_t const *); 58 struct tm * 61 struct tm *tm = localtime (timep); local 64 localtime_buffer_addr = tm; 66 return tm; 70 struct tm * 73 struct tm *tm = gmtime (timep); local [all...] |
H A D | strftime.h | 26 When __UTC is nonzero and tm->tm_zone is NULL or the empty string, 29 size_t nstrftime (char *, size_t, char const *, struct tm const *,
|
/haiku-fatelf/headers/compatibility/bsd/ |
H A D | time.h | 16 time_t timelocal(struct tm *tm); 17 time_t timegm(struct tm *tm);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/sched_h/ |
H A D | 19-1.c | 19 struct tm *mytime;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/signal_h/ |
H A D | 50-1.c | 9 struct tm *mytime;
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | time_r.c | 27 static struct tm * 28 copy_tm_result (struct tm *dest, struct tm const *src) 37 struct tm * 38 gmtime_r (time_t const * restrict t, struct tm * restrict tp) 43 struct tm * 44 localtime_r (time_t const * restrict t, struct tm * restrict tp)
|
H A D | strftime.h | 20 size_t nstrftime (char *, size_t, char const *, struct tm const *, int, int);
|
/haiku-fatelf/src/bin/patch/ |
H A D | maketime.h | 35 struct tm *time2tm __MAKETIME_P ((time_t, int)); 36 time_t difftm __MAKETIME_P ((struct tm const *, struct tm const *)); 38 time_t tm2time __MAKETIME_P ((struct tm *, int)); 39 void adjzone __MAKETIME_P ((struct tm *, long));
|
/haiku-fatelf/src/bin/rcs/ |
H A D | maketime.h | 35 struct tm *time2tm __MAKETIME_P((time_t,int)); 36 time_t difftm __MAKETIME_P((struct tm const *, struct tm const *)); 38 time_t tm2time __MAKETIME_P((struct tm *, int)); 39 void adjzone __MAKETIME_P((struct tm *, long));
|
H A D | maketime.c | 49 static int month_days P((struct tm const*)); 75 month_days(tm) 76 struct tm const *tm; 78 int m = tm->tm_mon; 80 + (m==1 && isleap(tm->tm_year + TM_YEAR_ORIGIN)); 84 * Convert UNIXTIME to struct tm form. 87 struct tm * 92 struct tm *tm; local 261 struct tm tm; local [all...] |
/haiku-fatelf/headers/private/kernel/boot/ |
H A D | images.h | 13 # include <boot/images-tm.h> 15 # include <boot/images-tm-development.h> 18 # include <boot/images-sans-tm.h>
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/time_h/ |
H A D | 21-1.c | 10 struct tm *gmtime_r(const time_t *, struct tm *); 16 typedef struct tm *(*gmtime_r_test)(const time_t *, struct tm *);
|
H A D | 23-1.c | 10 struct tm *localtime_r(const time_t *, struct tm *); 16 typedef struct tm *(*localtime_r_test)(const time_t *, struct tm *);
|
H A D | 19-1.c | 10 struct tm *getdate(const char *); 16 typedef struct tm *(*getdate_test)(const char *);
|
H A D | 20-1.c | 9 struct tm *gmtime(const time_t *); 15 typedef struct tm *(*gmtime_test)(const time_t *);
|
H A D | 22-1.c | 9 struct tm *localtime(const time_t *); 15 typedef struct tm *(*localtime_test)(const time_t *);
|
H A D | 24-1.c | 9 time_t mktime(struct tm *); 15 typedef time_t (*mktime_test)(struct tm *);
|
/haiku-fatelf/src/apps/poorman/libhttpd/ |
H A D | tdate_parse.c | 194 tm_to_time( struct tm* tmP ) 223 struct tm tm; local 231 (void) memset( (char*) &tm, 0, sizeof(struct tm) ); 248 tm.tm_mday = tm_mday; 249 tm.tm_mon = tm_mon; 250 tm.tm_year = tm_year; 251 tm.tm_hour = tm_hour; 252 tm [all...] |
/haiku-fatelf/src/bin/zip/ |
H A D | mktime.c | 10 - Added adjustment for out-of-range values in the fields of struct tm. 14 the tm struct to positive number resp. zero. The `tm_isdst' field must 20 When the tm structure passed to mktime represents a local time that 26 of struct tm members, this may fail for input values that are far away 28 or wrap arounds in the struct tm components. */ 44 time_t mkgmtime OF((struct tm *)); 45 time_t mktime OF((struct tm *)); 48 of the local time and date in the exploded time structure `tm', 49 adjust out of range fields in `tm' and set `tm [all...] |