Lines Matching refs:np

3906 parse_char_property(Node** np, OnigToken* tok, UChar** src, UChar* end,  in parse_char_property()  argument
3915 *np = node_new_cclass(); in parse_char_property()
3916 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_char_property()
3917 cc = &(NCCLASS(*np)); in parse_char_property()
4061 parse_char_class(Node** np, OnigToken* tok, UChar** src, UChar* end, in parse_char_class() argument
4076 *np = NULL_NODE; in parse_char_class()
4096 *np = node = node_new_cclass(); in parse_char_class()
4381 if (cc != &(NCCLASS(*np))) in parse_char_class()
4383 onig_node_free(*np); in parse_char_class()
4391 parse_effect(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, in parse_effect() argument
4403 *np = NULL; in parse_effect()
4418 r = parse_subexp(np, tok, term, &p, end, env); in parse_effect()
4425 *np = onig_node_new_anchor(ANCHOR_PREC_READ); in parse_effect()
4428 *np = onig_node_new_anchor(ANCHOR_PREC_READ_NOT); in parse_effect()
4431 *np = node_new_effect(EFFECT_STOP_BACKTRACK); in parse_effect()
4437 *np = onig_node_new_anchor(ANCHOR_LOOK_BEHIND); in parse_effect()
4439 *np = onig_node_new_anchor(ANCHOR_LOOK_BEHIND_NOT); in parse_effect()
4460 *np = node_new_effect_memory(env->option, 1); in parse_effect()
4461 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_effect()
4462 NEFFECT(*np).regnum = num; in parse_effect()
4484 *np = node_new_effect_memory(env->option, 0); in parse_effect()
4485 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_effect()
4488 onig_node_free(*np); in parse_effect()
4492 onig_node_free(*np); in parse_effect()
4495 NEFFECT(*np).regnum = num; in parse_effect()
4547 *np = node_new_option(option); in parse_effect()
4548 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_effect()
4561 *np = node_new_option(option); in parse_effect()
4562 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_effect()
4563 NEFFECT(*np).target = target; in parse_effect()
4582 *np = node_new_effect_memory(env->option, 0); in parse_effect()
4583 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_effect()
4586 NEFFECT(*np).regnum = num; in parse_effect()
4589 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_effect()
4595 if (NTYPE(*np) == N_ANCHOR) in parse_effect()
4596 NANCHOR(*np).target = target; in parse_effect()
4598 NEFFECT(*np).target = target; in parse_effect()
4599 if (NEFFECT(*np).type == EFFECT_MEMORY) { in parse_effect()
4601 r = scan_env_set_mem_node(env, NEFFECT(*np).regnum, *np); in parse_effect()
4786 parse_exp(Node** np, OnigToken* tok, int term, in parse_exp() argument
4793 *np = NULL; in parse_exp()
4801 *np = node_new_empty(); in parse_exp()
4806 r = parse_effect(np, tok, TK_SUBEXP_CLOSE, src, end, env); in parse_exp()
4813 env->option = NEFFECT(*np).option; in parse_exp()
4819 NEFFECT(*np).target = target; in parse_exp()
4835 *np = node_new_str(tok->backp, *src); in parse_exp()
4836 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
4843 r = onig_node_str_cat(*np, tok->backp, *src); in parse_exp()
4848 targetp = np; in parse_exp()
4856 *np = node_new_str_char((UChar )tok->u.c); in parse_exp()
4857 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
4861 if (len == enc_len(env->enc, NSTRING(*np).s)) { in parse_exp()
4874 (void )node_str_head_pad(&NSTRING(*np), rem, (UChar )0); in parse_exp()
4875 if (len + rem == enc_len(env->enc, NSTRING(*np).s)) { in parse_exp()
4883 r = node_str_cat_char(*np, (UChar )tok->u.c); in parse_exp()
4897 *np = node_new_str_raw(buf, buf + num); in parse_exp()
4899 *np = node_new_str(buf, buf + num); in parse_exp()
4901 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
4917 *np = node_new_str(qstart, qend); in parse_exp()
4918 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
4928 *np = node_new_ctype(tok->u.subtype); in parse_exp()
4929 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
4969 (st_data_t* )np)) { in parse_exp()
4975 *np = node_new_cclass_by_codepoint_range(not, sbr, mbr); in parse_exp()
4976 if (IS_NULL(*np)) { in parse_exp()
4981 CCLASS_SET_SHARE(&(NCCLASS(*np))); in parse_exp()
4985 (st_data_t )*np); in parse_exp()
4992 *np = node_new_cclass(); in parse_exp()
4993 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
4994 cc = &(NCCLASS(*np)); in parse_exp()
5011 r = parse_char_property(np, tok, src, end, env); in parse_exp()
5019 r = parse_char_class(np, tok, src, end, env); in parse_exp()
5022 cc = &(NCCLASS(*np)); in parse_exp()
5061 *np = node_new_anychar(); in parse_exp()
5062 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
5066 *np = node_new_anychar(); in parse_exp()
5067 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
5070 NQUANTIFIER(qn).target = *np; in parse_exp()
5071 *np = qn; in parse_exp()
5076 *np = node_new_backref(len, in parse_exp()
5084 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
5089 *np = node_new_call(tok->u.call.name, tok->u.call.name_end); in parse_exp()
5090 CHECK_NULL_RETURN_VAL(*np, ONIGERR_MEMORY); in parse_exp()
5096 *np = onig_node_new_anchor(tok->u.anchor); in parse_exp()
5105 *np = node_new_empty(); in parse_exp()
5118 targetp = np; in parse_exp()