Lines Matching refs:tp
540 const timelib_lookup_table *tp;
549 for (tp = timelib_reltext_lookup; tp->name; tp++) {
550 if (timelib_strcasecmp(word, tp->name) == 0) {
551 value = tp->value;
552 *behavior = tp->type;
573 const timelib_lookup_table *tp;
582 for (tp = timelib_month_lookup; tp->name; tp++) {
583 if (timelib_strcasecmp(word, tp->name) == 0) {
584 value = tp->value;
619 const timelib_relunit *tp, *value = NULL;
629 for (tp = timelib_relunit_lookup; tp->name; tp++) {
630 if (timelib_strcasecmp(word, tp->name) == 0) {
631 value = tp;
676 const timelib_tz_lookup_table *tp, *first_found_elem = NULL;
683 for (tp = timelib_timezone_lookup; tp->name; tp++) {
684 if (timelib_strcasecmp(word, tp->name) == 0) {
687 first_found_elem = tp;
689 return tp;
692 if (tp->gmtoffset == gmtoffset) {
693 return tp;
716 const timelib_tz_lookup_table *tp;
725 if ((tp = abbr_search(word, -1, 0))) {
726 value = tp->gmtoffset;
727 *dst = tp->type;
728 value -= tp->type * 3600;
2287 const timelib_tz_lookup_table *tp;
2289 tp = abbr_search(abbr, gmtoffset, isdst);
2290 if (tp) {
2291 return (tp->full_tz_name);