Lines Matching refs:tp

541 	const timelib_lookup_table *tp;  in timelib_lookup_relative_text()  local
550 for (tp = timelib_reltext_lookup; tp->name; tp++) { in timelib_lookup_relative_text()
551 if (timelib_strcasecmp(word, tp->name) == 0) { in timelib_lookup_relative_text()
552 value = tp->value; in timelib_lookup_relative_text()
553 *behavior = tp->type; in timelib_lookup_relative_text()
574 const timelib_lookup_table *tp; in timelib_lookup_month() local
583 for (tp = timelib_month_lookup; tp->name; tp++) { in timelib_lookup_month()
584 if (timelib_strcasecmp(word, tp->name) == 0) { in timelib_lookup_month()
585 value = tp->value; in timelib_lookup_month()
620 const timelib_relunit *tp, *value = NULL; in timelib_lookup_relunit() local
630 for (tp = timelib_relunit_lookup; tp->name; tp++) { in timelib_lookup_relunit()
631 if (timelib_strcasecmp(word, tp->name) == 0) { in timelib_lookup_relunit()
632 value = tp; in timelib_lookup_relunit()
677 const timelib_tz_lookup_table *tp, *first_found_elem = NULL; in abbr_search() local
684 for (tp = timelib_timezone_lookup; tp->name; tp++) { in abbr_search()
685 if (timelib_strcasecmp(word, tp->name) == 0) { in abbr_search()
688 first_found_elem = tp; in abbr_search()
690 return tp; in abbr_search()
693 if (tp->gmtoffset == gmtoffset) { in abbr_search()
694 return tp; in abbr_search()
717 const timelib_tz_lookup_table *tp; in timelib_lookup_abbr() local
726 if ((tp = abbr_search(word, -1, 0))) { in timelib_lookup_abbr()
727 value = tp->gmtoffset; in timelib_lookup_abbr()
728 *dst = tp->type; in timelib_lookup_abbr()
729 value -= tp->type * 3600; in timelib_lookup_abbr()
25590 const timelib_tz_lookup_table *tp; in timelib_timezone_id_from_abbr() local
25592 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
25593 if (tp) { in timelib_timezone_id_from_abbr()
25594 return (tp->full_tz_name); in timelib_timezone_id_from_abbr()