Lines Matching refs:lp
324 const struct lookup * lp);
945 register const struct lookup * lp; local
986 lp = byword(fields[0], line_codes);
987 if (lp == NULL)
989 else switch ((int) (lp->l_value)) {
1012 progname, lp->l_value);
1260 register const struct lookup * lp; local
1295 if ((lp = byword(fields[LP_MONTH], mon_names)) == NULL) {
1299 month = lp->l_value;
1348 if ((lp = byword(fields[LP_ROLL], leap_types)) == NULL) {
1354 leapadd(tadd(t, tod), positive, lp->l_value, count);
1396 register const struct lookup * lp; local
1401 if ((lp = byword(monthp, mon_names)) == NULL) {
1405 rp->r_month = lp->l_value;
1437 lp = byword(cp, begin_years);
1438 rp->r_lowasnum = lp == NULL;
1439 if (!rp->r_lowasnum) switch ((int) lp->l_value) {
1449 progname, lp->l_value);
1456 lp = byword(cp, end_years);
1457 rp->r_hiwasnum = lp == NULL;
1458 if (!rp->r_hiwasnum) switch ((int) lp->l_value) {
1471 progname, lp->l_value);
1499 if ((lp = byword(dp, lasts)) != NULL) {
1501 rp->r_wday = lp->l_value;
1519 if ((lp = byword(dp, wday_names)) == NULL) {
1524 rp->r_wday = lp->l_value;
2674 register const struct lookup * lp; local
2681 for (lp = table; lp->l_word != NULL; ++lp)
2682 if (ciequal(word, lp->l_word))
2683 return lp;
2688 for (lp = table; lp->l_word != NULL; ++lp)
2689 if (itsabbr(word, lp->l_word)) {
2691 foundlp = lp;