Lines Matching refs:enc
39 #define ENC_STRING_LEN(enc,s,len) do { \ argument
40 if (ONIGENC_MBC_MINLEN(enc) == 1) { \
46 len = onigenc_str_bytelen_null(enc, (UChar* )s); \
192 ENC_STRING_LEN(ONIG_C(reg)->enc, str, len); in regexec()
233 OnigEncoding enc; in reg_set_encoding() local
237 enc = ONIG_ENCODING_ASCII; in reg_set_encoding()
240 enc = ONIG_ENCODING_EUC_JP; in reg_set_encoding()
243 enc = ONIG_ENCODING_SJIS; in reg_set_encoding()
246 enc = ONIG_ENCODING_UTF8; in reg_set_encoding()
249 enc = ONIG_ENCODING_UTF16_BE; in reg_set_encoding()
252 enc = ONIG_ENCODING_UTF16_LE; in reg_set_encoding()
261 onig_initialize_encoding(enc); in reg_set_encoding()
263 onigenc_set_default_encoding(enc); in reg_set_encoding()