Searched refs:tm (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/haiku-fatelf/src/system/libroot/posix/time/
H A Dasctime.cpp18 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 Dctime.c20 struct tm tm; local
21 return asctime_r(localtime_r(_timer, &tm), buf);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dmktime-internal.h2 time_t mktime_internal (struct tm *,
3 struct tm * (*) (time_t const *, struct tm *),
H A Dtime_r.c30 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 Dposixtm.c61 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 Dfprintftime.h28 size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm,
H A Dgettimeofday.c43 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 Dstrftime.h26 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 Dtime.h16 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 D19-1.c19 struct tm *mytime;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/signal_h/
H A D50-1.c9 struct tm *mytime;
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dtime_r.c27 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 Dstrftime.h20 size_t nstrftime (char *, size_t, char const *, struct tm const *, int, int);
/haiku-fatelf/src/bin/patch/
H A Dmaketime.h35 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 Dmaketime.h35 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 Dmaketime.c49 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 Dimages.h13 # 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 D21-1.c10 struct tm *gmtime_r(const time_t *, struct tm *);
16 typedef struct tm *(*gmtime_r_test)(const time_t *, struct tm *);
H A D23-1.c10 struct tm *localtime_r(const time_t *, struct tm *);
16 typedef struct tm *(*localtime_r_test)(const time_t *, struct tm *);
H A D19-1.c10 struct tm *getdate(const char *);
16 typedef struct tm *(*getdate_test)(const char *);
H A D20-1.c9 struct tm *gmtime(const time_t *);
15 typedef struct tm *(*gmtime_test)(const time_t *);
H A D22-1.c9 struct tm *localtime(const time_t *);
15 typedef struct tm *(*localtime_test)(const time_t *);
H A D24-1.c9 time_t mktime(struct tm *);
15 typedef time_t (*mktime_test)(struct tm *);
/haiku-fatelf/src/apps/poorman/libhttpd/
H A Dtdate_parse.c194 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 Dmktime.c10 - 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...]

Completed in 130 milliseconds

1234567891011>>