Lines Matching refs:lp
260 const struct lookup *lp);
823 register const struct lookup *lp;
864 lp = byword(fields[0], line_codes);
865 if (lp == NULL)
867 else switch ((int)(lp->l_value)) {
892 progname, lp->l_value);
1141 register const struct lookup *lp;
1171 if ((lp = byword(fields[LP_MONTH], mon_names)) == NULL) {
1175 month = lp->l_value;
1224 if ((lp = byword(fields[LP_ROLL], leap_types)) == NULL) {
1229 leapadd(tadd(t, tod), positive, lp->l_value, count);
1272 register const struct lookup *lp;
1277 if ((lp = byword(monthp, mon_names)) == NULL) {
1281 rp->r_month = lp->l_value;
1313 lp = byword(cp, begin_years);
1314 if (lp != NULL) {
1315 switch ((int)lp->l_value) {
1325 progname, lp->l_value);
1340 if ((lp = byword(cp, end_years)) != NULL) {
1341 switch ((int)lp->l_value) {
1354 progname, lp->l_value);
1392 if ((lp = byword(dp, lasts)) != NULL) {
1394 rp->r_wday = lp->l_value;
1412 if ((lp = byword(dp, wday_names)) == NULL) {
1417 rp->r_wday = lp->l_value;
2043 register const struct lookup *lp;
2050 for (lp = table; lp->l_word != NULL; ++lp)
2051 if (ciequal(word, lp->l_word))
2052 return (lp);
2057 for (lp = table; lp->l_word != NULL; ++lp)
2058 if (itsabbr(word, lp->l_word)) {
2060 foundlp = lp;