Lines Matching refs:t
41 timelib_time *t; in timelib_time_ctor() local
42 t = timelib_calloc(1, sizeof(timelib_time)); in timelib_time_ctor()
44 return t; in timelib_time_ctor()
49 timelib_rel_time *t; in timelib_rel_time_ctor() local
50 t = timelib_calloc(1, sizeof(timelib_rel_time)); in timelib_rel_time_ctor()
52 return t; in timelib_rel_time_ctor()
104 void timelib_time_dtor(timelib_time* t) in timelib_time_dtor() argument
106 TIMELIB_TIME_FREE(t->tz_abbr); in timelib_time_dtor()
107 TIMELIB_TIME_FREE(t); in timelib_time_dtor()
110 void timelib_rel_time_dtor(timelib_rel_time* t) in timelib_rel_time_dtor() argument
112 TIMELIB_TIME_FREE(t); in timelib_rel_time_dtor()
117 timelib_time_offset *t; in timelib_time_offset_ctor() local
118 t = timelib_calloc(1, sizeof(timelib_time_offset)); in timelib_time_offset_ctor()
120 return t; in timelib_time_offset_ctor()
123 void timelib_time_offset_dtor(timelib_time_offset* t) in timelib_time_offset_dtor() argument
125 TIMELIB_TIME_FREE(t->abbr); in timelib_time_offset_dtor()
126 TIMELIB_TIME_FREE(t); in timelib_time_offset_dtor()
131 timelib_tzinfo *t; in timelib_tzinfo_ctor() local
132 t = timelib_calloc(1, sizeof(timelib_tzinfo)); in timelib_tzinfo_ctor()
133 t->name = timelib_strdup(name); in timelib_tzinfo_ctor()
135 return t; in timelib_tzinfo_ctor()
178 char *timelib_get_tz_abbr_ptr(timelib_time *t) in timelib_get_tz_abbr_ptr() argument
180 if (!t->sse_uptodate) { in timelib_get_tz_abbr_ptr()
181 timelib_update_ts(t, NULL); in timelib_get_tz_abbr_ptr()
183 return t->tz_abbr; in timelib_get_tz_abbr_ptr()