Lines Matching refs:encode

1027   if (string_cmp_ic(encode, ambig_flag, s1, ps2, len) == 0) \
1069 if (string_cmp_ic(encode, ambig_flag, s1, ps2, len) == 0) \
1433 OnigEncoding encode = reg->enc; in match_at() local
1483 len = enc_len(encode, q); in match_at()
1491 onig_print_compiled_byte_code(stderr, p, NULL, encode); in match_at()
1630 len = ONIGENC_MBC_TO_NORMALIZE(encode, ambig_flag, &s, end, lowbuf); in match_at()
1724 len = ONIGENC_MBC_TO_NORMALIZE(encode, ambig_flag, &s, end, lowbuf); in match_at()
1831 s += enc_len(encode, s); /* OP_CCLASS can match mb-code. \D, \S */ in match_at()
1836 if (! ONIGENC_IS_MBC_HEAD(encode, s)) goto fail; in match_at()
1846 mb_len = enc_len(encode, s); in match_at()
1850 code = ONIGENC_MBC_TO_CODE(encode, ss, s); in match_at()
1866 if (ONIGENC_IS_MBC_HEAD(encode, s)) { in match_at()
1886 s += enc_len(encode, s); in match_at()
1892 if (! ONIGENC_IS_MBC_HEAD(encode, s)) { in match_at()
1904 int mb_len = enc_len(encode, s); in match_at()
1915 code = ONIGENC_MBC_TO_CODE(encode, ss, s); in match_at()
1933 if (ONIGENC_IS_MBC_HEAD(encode, s)) { in match_at()
1958 mb_len = enc_len(encode, s); in match_at()
1962 code = ONIGENC_MBC_TO_CODE(encode, ss, s); in match_at()
1970 n = enc_len(encode, s); in match_at()
1972 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
1979 n = enc_len(encode, s); in match_at()
1988 n = enc_len(encode, s); in match_at()
1990 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
2000 n = enc_len(encode, s); in match_at()
2019 n = enc_len(encode, s); in match_at()
2021 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
2034 n = enc_len(encode, s); in match_at()
2057 n = enc_len(encode, s); in match_at()
2059 if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) goto fail; in match_at()
2075 n = enc_len(encode, s); in match_at()
2092 if (! ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
2095 s += enc_len(encode, s); in match_at()
2101 if (ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
2104 s += enc_len(encode, s); in match_at()
2111 if (! ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
2115 if (! ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
2119 if (ONIGENC_IS_MBC_WORD(encode, s, end) in match_at()
2120 == ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
2129 if (DATA_ENSURE_CHECK(1) && ONIGENC_IS_MBC_WORD(encode, s, end)) in match_at()
2133 if (ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
2137 if (ONIGENC_IS_MBC_WORD(encode, s, end) in match_at()
2138 != ONIGENC_IS_MBC_WORD(encode, sprev, end)) in match_at()
2147 if (DATA_ENSURE_CHECK(1) && ONIGENC_IS_MBC_WORD(encode, s, end)) { in match_at()
2148 if (ON_STR_BEGIN(s) || !ONIGENC_IS_MBC_WORD(encode, sprev, end)) { in match_at()
2157 if (!ON_STR_BEGIN(s) && ONIGENC_IS_MBC_WORD(encode, sprev, end)) { in match_at()
2158 if (ON_STR_END(s) || !ONIGENC_IS_MBC_WORD(encode, s, end)) { in match_at()
2187 else if (ONIGENC_IS_MBC_NEWLINE(encode, sprev, end) && !ON_STR_END(s)) { in match_at()
2197 if (IS_EMPTY_STR || !ONIGENC_IS_MBC_NEWLINE(encode, sprev, end)) { in match_at()
2206 else if (ONIGENC_IS_MBC_NEWLINE(encode, s, end)) { in match_at()
2211 else if (ONIGENC_IS_MBC_CRNL(encode, s, end)) { in match_at()
2222 if (IS_EMPTY_STR || !ONIGENC_IS_MBC_NEWLINE(encode, sprev, end)) { in match_at()
2231 else if (ONIGENC_IS_MBC_NEWLINE(encode, s, end) && in match_at()
2232 ON_STR_END(s + enc_len(encode, s))) { in match_at()
2237 else if (ONIGENC_IS_MBC_CRNL(encode, s, end)) { in match_at()
2238 UChar* ss = s + enc_len(encode, s); in match_at()
2239 if (ON_STR_END(ss + enc_len(encode, ss))) { in match_at()
2345 while (sprev + (len = enc_len(encode, sprev)) < s) in match_at()
2377 while (sprev + (len = enc_len(encode, sprev)) < s) in match_at()
2412 while (sprev + (len = enc_len(encode, sprev)) < s) in match_at()
2451 while (sprev + (len = enc_len(encode, sprev)) < s) in match_at()
2477 while (sprev + (len = enc_len(encode, sprev)) < s) in match_at()
2822 s = (UChar* )ONIGENC_STEP_BACK(encode, str, s, (int )tlen); in match_at()
2824 sprev = (UChar* )onigenc_get_prev_char_head(encode, str, s); in match_at()
2832 q = (UChar* )ONIGENC_STEP_BACK(encode, str, s, (int )tlen); in match_at()
2842 sprev = (UChar* )onigenc_get_prev_char_head(encode, str, s); in match_at()