Searched refs:timezone_t (Results 1 – 10 of 10) sorted by relevance
| /netbsd/src/lib/libc/compat/include/ |
| D | time.h | 97 struct tm *localtime_rz(const timezone_t, const int32_t * __restrict, 99 char *ctime_rz(const timezone_t, const int32_t *, char *); 100 int32_t mktime_z(const timezone_t, struct tm *); 101 int32_t timelocal_z(const timezone_t, struct tm *); 102 int32_t time2posix_z(const timezone_t, int32_t); 103 int32_t posix2time_z(const timezone_t, int32_t); 104 timezone_t tzalloc(const char *); 105 void tzfree(const timezone_t); 106 const char *tzgetname(const timezone_t, int); 107 long tzgetgmtoff(const timezone_t, int);
|
| /netbsd/src/include/ |
| D | time.h | 210 typedef struct __state *timezone_t; typedef 221 struct tm *localtime_rz(timezone_t __restrict, const time_t * __restrict, 223 char *ctime_rz(timezone_t __restrict, const time_t *, char *) 225 time_t mktime_z(timezone_t __restrict, struct tm * __restrict) 227 time_t timelocal_z(timezone_t __restrict, struct tm *) 229 time_t time2posix_z(timezone_t __restrict, time_t) __RENAME(__time2posix_z50); 230 time_t posix2time_z(timezone_t __restrict, time_t) __RENAME(__posix2time_z50); 231 timezone_t tzalloc(const char *) __RENAME(__tzalloc50); 232 void tzfree(timezone_t __restrict) __RENAME(__tzfree50); 233 const char *tzgetname(timezone_t __restrict, int) __RENAME(__tzgetname50); [all …]
|
| /netbsd/src/lib/libc/time/ |
| D | zdump.c | 65 # undef timezone_t 66 # define timezone_t char ** macro 95 static time_t hunt(timezone_t, time_t, time_t, bool); 96 static void show(timezone_t, char *, time_t, bool); 97 static void showextrema(timezone_t, char *, time_t, struct tm *, time_t); 221 localtime_rz(ATTRIBUTE_MAYBE_UNUSED timezone_t rz, time_t *tp, struct tm *tmp) in localtime_rz() 230 mktime_z(timezone_t tz, struct tm *tmp) in mktime_z() 241 static timezone_t 295 tzfree(ATTRIBUTE_MAYBE_UNUSED timezone_t initial_environ) 305 static timezone_t gmtz; [all …]
|
| D | private.h | 212 #define timezone_t sys_timezone_t macro 223 #undef timezone_t 883 typedef struct state *timezone_t; typedef 884 struct tm *localtime_rz(timezone_t restrict, time_t const *restrict, 886 time_t mktime_z(timezone_t restrict, struct tm *restrict); 887 timezone_t tzalloc(char const *); 888 void tzfree(timezone_t); 891 ATTRIBUTE_PURE time_t posix2time_z(timezone_t __restrict, time_t); 894 ATTRIBUTE_PURE time_t time2posix_z(timezone_t __restrict, time_t);
|
| D | strftime.c | 146 static char * _fmt(const timezone_t, const char *, const struct tm *, char *, 184 strftime_z(const timezone_t sp, char * __restrict s, size_t maxsize, in strftime_z() 202 strftime_lz(const timezone_t sp, char *const s, const size_t maxsize, in strftime_lz() 232 _fmt(const timezone_t sp, const char *format, const struct tm *t, char *pt, in _fmt()
|
| D | asctime.c | 165 ctime_rz(timezone_t sp, const time_t *timep, char *buf) in ctime_rz()
|
| D | localtime.c | 431 tzgetname(const timezone_t sp, int isdst) in tzgetname() 447 tzgetgmtoff(const timezone_t sp, int isdst) in tzgetgmtoff() 501 register timezone_t const sp = __lclptr; in settzname() 1640 timezone_t 1643 timezone_t sp = malloc(sizeof *sp); in tzalloc() 1658 tzfree(timezone_t sp) in tzfree() 2549 timelocal_z(const timezone_t sp, struct tm *const tmp) in timelocal_z()
|
| D | strptime.c | 121 timezone_t tz; in fromzone()
|
| D | Theory | 546 allocate and free objects of type timezone_t, and localtime_rz 548 timezone_t argument. The functions were inspired by NetBSD.
|
| /netbsd/src/bin/sh/ |
| D | var.c | 1503 static timezone_t last_zone; /* timezone data for tzs zone */ in get_tod() 1508 timezone_t zone = NULL; in get_tod()
|