Lines Matching refs:np

4037 parse_char_property(Node** np, OnigToken* tok, UChar** src, UChar* end,  in parse_char_property()  argument
4046 *np = node_new_cclass(); in parse_char_property()
4047 CHECK_NULL_RETURN_MEMERR(*np); in parse_char_property()
4048 cc = NCCLASS(*np); in parse_char_property()
4190 parse_char_class(Node** np, OnigToken* tok, UChar** src, UChar* end, in parse_char_class() argument
4204 *np = NULL_NODE; in parse_char_class()
4228 *np = node = node_new_cclass(); in parse_char_class()
4518 if (cc != NCCLASS(*np)) in parse_char_class()
4527 parse_enclose(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, in parse_enclose() argument
4543 *np = NULL; in parse_enclose()
4558 r = parse_subexp(np, tok, term, &p, end, env); in parse_enclose()
4565 *np = onig_node_new_anchor(ANCHOR_PREC_READ); in parse_enclose()
4568 *np = onig_node_new_anchor(ANCHOR_PREC_READ_NOT); in parse_enclose()
4571 *np = node_new_enclose(ENCLOSE_STOP_BACKTRACK); in parse_enclose()
4588 *np = onig_node_new_anchor(ANCHOR_LOOK_BEHIND); in parse_enclose()
4590 *np = onig_node_new_anchor(ANCHOR_LOOK_BEHIND_NOT); in parse_enclose()
4615 *np = node_new_enclose_memory(env->option, 1); in parse_enclose()
4616 CHECK_NULL_RETURN_MEMERR(*np); in parse_enclose()
4617 NENCLOSE(*np)->regnum = num; in parse_enclose()
4645 *np = node_new_enclose_memory(env->option, 0); in parse_enclose()
4646 CHECK_NULL_RETURN_MEMERR(*np); in parse_enclose()
4654 NENCLOSE(*np)->regnum = num; in parse_enclose()
4706 *np = node_new_option(option); in parse_enclose()
4707 CHECK_NULL_RETURN_MEMERR(*np); in parse_enclose()
4723 *np = node_new_option(option); in parse_enclose()
4724 CHECK_NULL_RETURN_MEMERR(*np); in parse_enclose()
4725 NENCLOSE(*np)->target = target; in parse_enclose()
4744 *np = node_new_enclose_memory(env->option, 0); in parse_enclose()
4745 CHECK_NULL_RETURN_MEMERR(*np); in parse_enclose()
4748 NENCLOSE(*np)->regnum = num; in parse_enclose()
4751 CHECK_NULL_RETURN_MEMERR(*np); in parse_enclose()
4760 if (NTYPE(*np) == NT_ANCHOR) in parse_enclose()
4761 NANCHOR(*np)->target = target; in parse_enclose()
4763 NENCLOSE(*np)->target = target; in parse_enclose()
4764 if (NENCLOSE(*np)->type == ENCLOSE_MEMORY) { in parse_enclose()
4766 r = scan_env_set_mem_node(env, NENCLOSE(*np)->regnum, *np); in parse_enclose()
4987 parse_exp(Node** np, OnigToken* tok, int term, in parse_exp() argument
4994 *np = NULL; in parse_exp()
5002 *np = node_new_empty(); in parse_exp()
5007 r = parse_enclose(np, tok, TK_SUBEXP_CLOSE, src, end, env); in parse_exp()
5014 env->option = NENCLOSE(*np)->option; in parse_exp()
5023 NENCLOSE(*np)->target = target; in parse_exp()
5039 *np = node_new_str(tok->backp, *src); in parse_exp()
5040 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5047 r = onig_node_str_cat(*np, tok->backp, *src); in parse_exp()
5052 targetp = np; in parse_exp()
5060 *np = node_new_str_raw_char((UChar )tok->u.c); in parse_exp()
5061 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5065 if (len == enclen(env->enc, NSTR(*np)->s)) {//should not enclen_end() in parse_exp()
5067 NSTRING_CLEAR_RAW(*np); in parse_exp()
5080 (void )node_str_head_pad(NSTR(*np), rem, (UChar )0); in parse_exp()
5081 if (len + rem == enclen(env->enc, NSTR(*np)->s)) { in parse_exp()
5082 NSTRING_CLEAR_RAW(*np); in parse_exp()
5090 r = node_str_cat_char(*np, (UChar )tok->u.c); in parse_exp()
5104 *np = node_new_str_raw(buf, buf + num); in parse_exp()
5106 *np = node_new_str(buf, buf + num); in parse_exp()
5108 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5124 *np = node_new_str(qstart, qend); in parse_exp()
5125 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5134 *np = node_new_ctype(tok->u.prop.ctype, tok->u.prop.not); in parse_exp()
5135 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5144 *np = node_new_cclass(); in parse_exp()
5145 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5146 cc = NCCLASS(*np); in parse_exp()
5160 r = parse_char_property(np, tok, src, end, env); in parse_exp()
5168 r = parse_char_class(np, tok, src, end, env); in parse_exp()
5171 cc = NCCLASS(*np); in parse_exp()
5187 Node* work = onig_node_new_alt(*np, iarg.alt_root); in parse_exp()
5192 *np = work; in parse_exp()
5199 *np = node_new_anychar(); in parse_exp()
5200 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5204 *np = node_new_anychar(); in parse_exp()
5205 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5208 NQTFR(qn)->target = *np; in parse_exp()
5209 *np = qn; in parse_exp()
5214 *np = node_new_backref(len, in parse_exp()
5222 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5235 *np = node_new_call(tok->u.call.name, tok->u.call.name_end, gnum); in parse_exp()
5236 CHECK_NULL_RETURN_MEMERR(*np); in parse_exp()
5243 *np = onig_node_new_anchor(tok->u.anchor); in parse_exp()
5252 *np = node_new_empty(); in parse_exp()
5265 targetp = np; in parse_exp()