Lines Matching refs:tp
539 const timelib_lookup_table *tp;
548 for (tp = timelib_reltext_lookup; tp->name; tp++) {
549 if (timelib_strcasecmp(word, tp->name) == 0) {
550 value = tp->value;
551 *behavior = tp->type;
572 const timelib_lookup_table *tp;
581 for (tp = timelib_month_lookup; tp->name; tp++) {
582 if (timelib_strcasecmp(word, tp->name) == 0) {
583 value = tp->value;
618 const timelib_relunit *tp, *value = NULL;
628 for (tp = timelib_relunit_lookup; tp->name; tp++) {
629 if (timelib_strcasecmp(word, tp->name) == 0) {
630 value = tp;
675 const timelib_tz_lookup_table *tp, *first_found_elem = NULL;
682 for (tp = timelib_timezone_lookup; tp->name; tp++) {
683 if (timelib_strcasecmp(word, tp->name) == 0) {
686 first_found_elem = tp;
688 return tp;
691 if (tp->gmtoffset == gmtoffset) {
692 return tp;
715 const timelib_tz_lookup_table *tp;
724 if ((tp = abbr_search(word, -1, 0))) {
725 value = tp->gmtoffset;
726 *dst = tp->type;
727 value -= tp->type * 3600;
2482 const timelib_tz_lookup_table *tp;
2484 tp = abbr_search(abbr, gmtoffset, isdst);
2485 if (tp) {
2486 return (tp->full_tz_name);