Home
last modified time | relevance | path

Searched refs:timezone_t (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/include/
Dtime.h52 typedef struct __timezone_t* timezone_t; typedef
169 time_t mktime_z(timezone_t _Nonnull __tz, struct tm* _Nonnull __tm) __INTRODUCED_IN(35);
203 struct tm* _Nullable localtime_rz(timezone_t _Nonnull __tz, const time_t* _Nonnull __t, struct tm* …
317 timezone_t _Nullable tzalloc(const char* _Nullable __id) __INTRODUCED_IN(35);
328 void tzfree(timezone_t _Nullable __tz) __INTRODUCED_IN(35);
/bionic/libc/tzcode/
Dprivate.h184 #define timezone_t sys_timezone_t macro
195 #undef timezone_t
790 typedef struct state *timezone_t; typedef
791 struct tm *localtime_rz(timezone_t restrict, time_t const *restrict,
793 time_t mktime_z(timezone_t restrict, struct tm *restrict);
794 timezone_t tzalloc(char const *);
795 void tzfree(timezone_t);
798 ATTRIBUTE_REPRODUCIBLE time_t posix2time_z(timezone_t, time_t);
801 ATTRIBUTE_REPRODUCIBLE time_t time2posix_z(timezone_t, time_t);
Dlocaltime.c1515 timezone_t
1518 timezone_t sp = malloc(sizeof *sp); in tzalloc()
1532 tzfree(timezone_t sp) in tzfree()
/bionic/tests/
Dtime_test.cpp1375 timezone_t london{tzalloc("Europe/London")}; in TEST()
1380 timezone_t seoul{tzalloc("Asia/Seoul")}; in TEST()
1419 timezone_t london{tzalloc("Europe/London")}; in TEST()
1423 timezone_t seoul{tzalloc("Asia/Seoul")}; in TEST()
1444 timezone_t default_tz = tzalloc(nullptr); in TEST()
1479 std::unique_ptr<std::remove_pointer_t<timezone_t>, decltype(&tzfree)> tz{tzalloc("Asia/Seoul"), in TEST()