Searched refs:CalendarComponent (Results 1 – 2 of 2) sorted by relevance
12 typedef struct CalendarComponent { struct17 struct CalendarComponent *next; argument18 } CalendarComponent; typedef27 CalendarComponent *year;28 CalendarComponent *month;29 CalendarComponent *day;31 CalendarComponent *hour;32 CalendarComponent *minute;33 CalendarComponent *microsecond;
37 static CalendarComponent* chain_free(CalendarComponent *c) { in chain_free()39 CalendarComponent *n = c->next; in chain_free()46 DEFINE_TRIVIAL_CLEANUP_FUNC(CalendarComponent*, chain_free);64 static int component_compare(CalendarComponent * const *a, CalendarComponent * const *b) { in component_compare()78 static void normalize_chain(CalendarComponent **c) { in normalize_chain()82 for (CalendarComponent *i = *c; i; i = i->next) { in normalize_chain()104 CalendarComponent **b, **j; in normalize_chain()105 b = j = newa(CalendarComponent*, n); in normalize_chain()106 for (CalendarComponent *i = *c; i; i = i->next) in normalize_chain()112 CalendarComponent *next = b[n-1]; in normalize_chain()[all …]