Lines Matching refs:cc

963 compile_length_cclass_node(CClassNode* cc, regex_t* reg)  in compile_length_cclass_node()  argument
969 compile_cclass_node(CClassNode* cc, regex_t* reg) in compile_cclass_node() argument
973 if (IS_NULL(cc->mbuf)) { in compile_cclass_node()
974 r = add_op(reg, IS_NCCLASS_NOT(cc) ? OP_CCLASS_NOT : OP_CCLASS); in compile_cclass_node()
979 xmemcpy(COP(reg)->cclass.bsp, cc->bs, SIZE_BITSET); in compile_cclass_node()
984 if (ONIGENC_MBC_MINLEN(reg->enc) > 1 || bitset_is_empty(cc->bs)) { in compile_cclass_node()
985 r = add_op(reg, IS_NCCLASS_NOT(cc) ? OP_CCLASS_MB_NOT : OP_CCLASS_MB); in compile_cclass_node()
988 p = set_multi_byte_cclass(cc->mbuf, reg); in compile_cclass_node()
993 r = add_op(reg, IS_NCCLASS_NOT(cc) ? OP_CCLASS_MIX_NOT : OP_CCLASS_MIX); in compile_cclass_node()
998 xmemcpy(COP(reg)->cclass_mix.bsp, cc->bs, SIZE_BITSET); in compile_cclass_node()
1000 p = set_multi_byte_cclass(cc->mbuf, reg); in compile_cclass_node()
2792 CClassNode* cc = CCLASS_(y); in is_exclusive() local
2796 return onig_is_code_in_cc(reg->enc, code, cc) == 0; in is_exclusive()
5988 CClassNode* cc = CCLASS_(node); in optimize_nodes() local
5992 if (IS_NOT_NULL(cc->mbuf) || IS_NCCLASS_NOT(cc)) { in optimize_nodes()
6000 z = BITSET_AT(cc->bs, i); in optimize_nodes()
6001 if ((z && ! IS_NCCLASS_NOT(cc)) || (! z && IS_NCCLASS_NOT(cc))) { in optimize_nodes()
7080 CClassNode* cc = (CClassNode* )cc_arg; in onig_is_code_in_cc_len() local
7083 if (IS_NULL(cc->mbuf)) { in onig_is_code_in_cc_len()
7087 found = onig_is_in_code_range(cc->mbuf->p, code) != 0; in onig_is_code_in_cc_len()
7091 found = BITSET_AT(cc->bs, code) != 0; in onig_is_code_in_cc_len()
7094 if (IS_NCCLASS_NOT(cc)) in onig_is_code_in_cc_len()
7101 onig_is_code_in_cc(OnigEncoding enc, OnigCodePoint code, CClassNode* cc) in onig_is_code_in_cc() argument
7112 return onig_is_code_in_cc_len(len, code, cc); in onig_is_code_in_cc()