Lines Matching refs:encode

972   if (string_cmp_ic(encode, case_fold_flag, s1, ps2, len) == 0) \
1014 if (string_cmp_ic(encode, case_fold_flag, s1, ps2, len) == 0) \
1251 OnigEncoding encode = reg->enc; in match_at() local
1301 len = enclen(encode, q); in match_at()
1309 onig_print_compiled_byte_code(stderr, p, NULL, encode); in match_at()
1440 len = ONIGENC_MBC_CASE_FOLD(encode, in match_at()
1534 len = ONIGENC_MBC_CASE_FOLD(encode, in match_at()
1642 s += enclen(encode, s); /* OP_CCLASS can match mb-code. \D, \S */ in match_at()
1647 if (! ONIGENC_IS_MBC_HEAD(encode, s)) goto fail; in match_at()
1657 mb_len = enclen(encode, s); in match_at()
1661 code = ONIGENC_MBC_TO_CODE(encode, ss, s); in match_at()
1677 if (ONIGENC_IS_MBC_HEAD(encode, s)) { in match_at()
1697 s += enclen(encode, s); in match_at()
1703 if (! ONIGENC_IS_MBC_HEAD(encode, s)) { in match_at()
1715 int mb_len = enclen(encode, s); in match_at()
1726 code = ONIGENC_MBC_TO_CODE(encode, ss, s); in match_at()
1744 if (ONIGENC_IS_MBC_HEAD(encode, s)) { in match_at()
1769 mb_len = enclen(encode, s); in match_at()
1773 code = ONIGENC_MBC_TO_CODE(encode, ss, s); in match_at()
1781 n = enclen(encode, s); in match_at()
1783 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
1790 n = enclen(encode, s); in match_at()
1799 n = enclen(encode, s); in match_at()
1801 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
1811 n = enclen(encode, s); in match_at()
1830 n = enclen(encode, s); in match_at()
1832 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
1845 n = enclen(encode, s); in match_at()
1868 n = enclen(encode, s); in match_at()
1870 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
1886 n = enclen(encode, s); in match_at()
1903 if (! ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
1906 s += enclen(encode, s); in match_at()
1912 if (ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
1915 s += enclen(encode, s); in match_at()
1922 if (! ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
1926 if (! ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
1930 if (ONIGENC_IS_MBC_WORD(encode, s, end) in match_at()
1931 == ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
1940 if (DATA_ENSURE_CHECK1 && ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
1944 if (ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
1948 if (ONIGENC_IS_MBC_WORD(encode, s, end) in match_at()
1949 != ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
1958 if (DATA_ENSURE_CHECK1 && ONIGENC_IS_MBC_WORD(encode, s, end)) { in match_at()
1959 if (ON_STR_BEGIN(s) || !ONIGENC_IS_MBC_WORD(encode, sprev, end)) { in match_at()
1968 if (!ON_STR_BEGIN(s) && ONIGENC_IS_MBC_WORD(encode, sprev, end)) { in match_at()
1969 if (ON_STR_END(s) || !ONIGENC_IS_MBC_WORD(encode, s, end)) { in match_at()
1998 else if (ONIGENC_IS_MBC_NEWLINE(encode, sprev, end) && !ON_STR_END(s)) { in match_at()
2008 if (IS_EMPTY_STR || !ONIGENC_IS_MBC_NEWLINE(encode, sprev, end)) { in match_at()
2017 else if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) { in match_at()
2022 else if (ONIGENC_IS_MBC_CRNL(encode, s, end)) { in match_at()
2033 if (IS_EMPTY_STR || !ONIGENC_IS_MBC_NEWLINE(encode, sprev, end)) { in match_at()
2042 else if (ONIGENC_IS_MBC_NEWLINE(encode, s, end) && in match_at()
2043 ON_STR_END(s + enclen(encode, s))) { in match_at()
2048 else if (ONIGENC_IS_MBC_CRNL(encode, s, end)) { in match_at()
2049 UChar* ss = s + enclen(encode, s); in match_at()
2050 ss += enclen(encode, ss); in match_at()
2157 while (sprev + (len = enclen(encode, sprev)) < s) in match_at()
2189 while (sprev + (len = enclen(encode, sprev)) < s) in match_at()
2224 while (sprev + (len = enclen(encode, sprev)) < s) in match_at()
2263 while (sprev + (len = enclen(encode, sprev)) < s) in match_at()
2289 while (sprev + (len = enclen(encode, sprev)) < s) in match_at()
2636 s = (UChar* )ONIGENC_STEP_BACK(encode, str, s, (int )tlen); in match_at()
2638 sprev = (UChar* )onigenc_get_prev_char_head(encode, str, s); in match_at()
2646 q = (UChar* )ONIGENC_STEP_BACK(encode, str, s, (int )tlen); in match_at()
2656 sprev = (UChar* )onigenc_get_prev_char_head(encode, str, s); in match_at()