Lines Matching refs:clen
717 int clen; /* byte-length of the current character */ in mb_regex_substitute() local
723 clen = (int) php_mb_mbchar_bytes_ex(p, enc); in mb_regex_substitute()
724 if (clen != 1 || p == eos || p[0] != '\\') { in mb_regex_substitute()
726 smart_str_appendl(pbuf, p, clen); in mb_regex_substitute()
727 p += clen; in mb_regex_substitute()
731 clen = (int) php_mb_mbchar_bytes_ex(++p, enc); in mb_regex_substitute()
732 if (clen != 1 || p == eos) { in mb_regex_substitute()
760 clen = (int) php_mb_mbchar_bytes_ex(++p, enc); in mb_regex_substitute()
761 if (clen != 1 || p == eos || (p[0] != '<' && p[0] != '\'')) { in mb_regex_substitute()
763 p += clen; in mb_regex_substitute()
773 clen = (int) php_mb_mbchar_bytes_ex(name_end, enc); in mb_regex_substitute()
774 if (clen != 1) { in mb_regex_substitute()
775 name_end += clen; in mb_regex_substitute()