• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pcre-8.31/

Lines Matching defs:firstchar

111 /* Private flags added to firstchar and reqchar. */
3440 pcre_int32 firstchar, reqchar;
3500 firstchar = reqchar = zerofirstchar = zeroreqchar = REQ_UNSET;
3505 firstchar or reqchar variables to record the case status of the
3692 *firstcharptr = firstchar;
3717 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
3732 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
3733 zerofirstchar = firstchar;
3808 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
3809 zerofirstchar = firstchar;
4543 In the positive case, it can cause firstchar to be set. Otherwise, there
4554 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
4555 zerofirstchar = firstchar;
4661 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
4662 zerofirstchar = firstchar;
4756 firstchar = zerofirstchar; /* Adjust for zero repeat */
4824 into firstchar instead. */
5242 if (groupsetfirstchar && reqchar < 0) reqchar = firstchar;
5658 /* Do not set firstchar after *ACCEPT */
5659 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
6409 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
6466 case value for firstchar and reqchar. */
6594 make use of its firstchar or reqchar, because this is equivalent to an
6653 zerofirstchar = firstchar;
6658 /* If we have not yet set a firstchar in this branch, take it from the
6661 no firstchar, set "none" for the whole branch. In both cases, a zero
6662 repeat forces firstchar to "none". */
6664 if (firstchar == REQ_UNSET)
6668 firstchar = subfirstchar;
6671 else firstchar = REQ_NONE;
6675 /* If firstchar was previously set, convert the subpattern's firstchar
6690 char. For example, it's useful for /(?=abcde).+/. We can't set firstchar
6693 of a firstchar. This is overcome by a scan at the end if there's no
6694 firstchar, looking for an asserted first char. */
6729 if (firstchar == REQ_UNSET && -c > ESC_b && -c < ESC_Z)
6730 firstchar = REQ_NONE;
6734 zerofirstchar = firstchar;
6815 /* Back references are handled specially; must disable firstchar if
6825 if (firstchar == REQ_UNSET) firstchar = REQ_NONE;
6948 Otherwise, leave the firstchar value alone, and don't change it on a zero
6951 if (firstchar == REQ_UNSET)
6956 /* If the character is more than one byte long, we can set firstchar
6961 firstchar = mcbuffer[0] | req_caseopt;
6964 else firstchar = reqchar = REQ_NONE;
6967 /* firstchar was previously set; we can set reqchar only if the length is
6972 zerofirstchar = firstchar;
7038 pcre_int32 firstchar, reqchar;
7048 firstchar = reqchar = REQ_UNSET;
7124 /* If this is the first branch, the firstchar and reqchar values for the
7129 firstchar = branchfirstchar;
7140 /* If we previously had a firstchar, but it doesn't match the new branch,
7141 we have to abandon the firstchar for the regex, but if there was
7142 previously no reqchar, it takes on the value of the old firstchar. */
7144 if (firstchar >= 0 && firstchar != branchfirstchar)
7146 if (reqchar < 0) reqchar = firstchar;
7147 firstchar = REQ_NONE;
7150 /* If we (now or from before) have no firstchar, a firstchar from the
7153 if (firstchar < 0 && branchfirstchar >= 0 && branchreqchar < 0)
7255 *firstcharptr = firstchar;
7635 pcre_int32 firstchar, reqchar;
7879 FALSE, 0, 0, &firstchar, &reqchar, NULL, cd, &length);
7953 &firstchar, &reqchar, NULL, cd, NULL);
8080 if (firstchar < 0)
8081 firstchar = find_firstassertedchar(codestart, FALSE);
8082 if (firstchar >= 0) /* Remove caseless flag for non-caseable chars */
8085 re->first_char = firstchar & 0xff;
8088 re->first_char = firstchar & 0xffff;
8091 if ((firstchar & REQ_CASELESS) != 0)