Lines Matching refs:tp
602 const timelib_lookup_table *tp;
611 for (tp = timelib_reltext_lookup; tp->name; tp++) {
612 if (timelib_strcasecmp(word, tp->name) == 0) {
613 value = tp->value;
614 *behavior = tp->type;
635 const timelib_lookup_table *tp;
644 for (tp = timelib_month_lookup; tp->name; tp++) {
645 if (timelib_strcasecmp(word, tp->name) == 0) {
646 value = tp->value;
693 const timelib_relunit *tp, *value = NULL;
703 for (tp = timelib_relunit_lookup; tp->name; tp++) {
704 if (timelib_strcasecmp(word, tp->name) == 0) {
705 value = tp;
771 const timelib_tz_lookup_table *tp, *first_found_elem = NULL;
778 for (tp = timelib_timezone_lookup; tp->name; tp++) {
779 if (timelib_strcasecmp(word, tp->name) == 0) {
782 first_found_elem = tp;
784 return tp;
787 if (tp->gmtoffset == gmtoffset) {
788 return tp;
811 const timelib_tz_lookup_table *tp;
826 if (end - begin < MAX_ABBR_LEN && (tp = abbr_search(word, -1, 0))) {
827 value = tp->gmtoffset;
828 *dst = tp->type;
829 value -= tp->type * 3600;
2722 const timelib_tz_lookup_table *tp;
2724 tp = abbr_search(abbr, gmtoffset, isdst);
2725 if (tp) {
2726 return (tp->full_tz_name);