Lines Matching refs:lp
72 int advance(const char *lp, const char *ep);
339 advance(const char *lp, const char *ep)
352 if (*ep++ == *lp++)
358 if (*lp++)
364 if (*lp == 0)
370 loc2 = (char *)lp;
375 c = (unsigned char)*lp++;
388 c = *lp++;
397 braslist[*ep++] = (char *)lp;
402 braelist[*ep++] = (char *)lp;
410 if (*lp++ != c)
412 curlp = lp;
414 if (*lp++ != c)
417 lp++;
425 if (*lp++ == '\0')
427 curlp = lp;
429 if (*lp++ == '\0')
432 lp++;
440 c = (unsigned char)*lp++;
444 curlp = lp;
446 c = (unsigned char)*lp++;
451 lp++;
463 c = *lp++;
467 curlp = lp;
469 c = *lp++;
474 lp++;
483 if (ecmp(bbeg, lp, ct)) {
484 lp += ct;
493 curlp = lp;
494 while (ecmp(bbeg, lp, ct))
495 lp += ct;
497 while (lp >= curlp) {
498 if (advance(lp, ep))
500 lp -= ct;
506 curlp = lp;
507 while (*lp++);
512 curlp = lp;
513 while (*lp++ == *ep);
519 curlp = lp;
521 c = (unsigned char)*lp++;
532 curlp = lp;
534 c = *lp++;
542 if (--lp == locs)
544 if (advance(lp, ep))
546 } while (lp > curlp);