Lines Matching refs:prev_node
3416 Node *top_root, *root, *snode, *prev_node; in expand_case_fold_string() local
3427 top_root = root = prev_node = snode = NULL_NODE; in expand_case_fold_string()
3442 if (IS_NULL(root) && IS_NOT_NULL(prev_node)) { in expand_case_fold_string()
3443 top_root = root = onig_node_list_add(NULL_NODE, prev_node); in expand_case_fold_string()
3445 onig_node_free(prev_node); in expand_case_fold_string()
3450 prev_node = snode = onig_node_new_str(NULL, NULL); in expand_case_fold_string()
3467 if (IS_NULL(root) && IS_NOT_NULL(prev_node)) { in expand_case_fold_string()
3468 top_root = root = onig_node_list_add(NULL_NODE, prev_node); in expand_case_fold_string()
3470 onig_node_free(prev_node); in expand_case_fold_string()
3475 r = expand_case_fold_string_alt(n, items, p, len, end, reg, &prev_node); in expand_case_fold_string()
3479 top_root = prev_node; in expand_case_fold_string()
3482 if (IS_NULL(onig_node_list_add(root, prev_node))) { in expand_case_fold_string()
3483 onig_node_free(prev_node); in expand_case_fold_string()
3488 root = NCAR(prev_node); in expand_case_fold_string()
3492 if (IS_NULL(onig_node_list_add(root, prev_node))) { in expand_case_fold_string()
3493 onig_node_free(prev_node); in expand_case_fold_string()
3511 if (IS_NOT_NULL(prev_node) && IS_NULL(root)) { in expand_case_fold_string()
3512 top_root = root = onig_node_list_add(NULL_NODE, prev_node); in expand_case_fold_string()
3515 onig_node_free(prev_node); in expand_case_fold_string()
3521 prev_node = srem; in expand_case_fold_string()
3532 top_root = (IS_NOT_NULL(top_root) ? top_root : prev_node); in expand_case_fold_string()