Lines Matching refs:tp
606 const timelib_lookup_table *tp;
615 for (tp = timelib_reltext_lookup; tp->name; tp++) {
616 if (timelib_strcasecmp(word, tp->name) == 0) {
617 value = tp->value;
618 *behavior = tp->type;
639 const timelib_lookup_table *tp;
648 for (tp = timelib_month_lookup; tp->name; tp++) {
649 if (timelib_strcasecmp(word, tp->name) == 0) {
650 value = tp->value;
697 const timelib_relunit *tp, *value = NULL;
707 for (tp = timelib_relunit_lookup; tp->name; tp++) {
708 if (timelib_strcasecmp(word, tp->name) == 0) {
709 value = tp;
775 const timelib_tz_lookup_table *tp, *first_found_elem = NULL;
782 for (tp = timelib_timezone_lookup; tp->name; tp++) {
783 if (timelib_strcasecmp(word, tp->name) == 0) {
786 first_found_elem = tp;
788 return tp;
791 if (tp->gmtoffset == gmtoffset) {
792 return tp;
815 const timelib_tz_lookup_table *tp;
830 if (end - begin < MAX_ABBR_LEN && (tp = abbr_search(word, -1, 0))) {
831 value = tp->gmtoffset;
832 *dst = tp->type;
833 value -= tp->type * 3600;
2726 const timelib_tz_lookup_table *tp;
2728 tp = abbr_search(abbr, gmtoffset, isdst);
2729 if (tp) {
2730 return (tp->full_tz_name);