Lines Matching defs:node
138 * allocate a new Rex_t node
142 node(Cenv_t* env, int type, int lo, int hi, size_t extra)
163 * free a Trie_node_t node
178 * free a Rex_t node
1183 if (!(e = node(env, REX_CLASS, 1, 1, sizeof(Set_t))))
1330 return node(env, i, 0, 0, 0);
1465 if (!(e = node(env, REX_COLL_CLASS, 1, 1, (elements + 2) * sizeof(Celt_t))))
1580 return node(env, i, 0, 0, 0);
1744 if (!(e = node(env, REX_CLASS, 1, 1, sizeof(Set_t))))
1754 if (!(e = node(env, REX_COLL_CLASS, 1, 1, 2 * sizeof(Celt_t))))
1781 if (!(f = node(env, REX_NEG, m, n, 0)))
1852 if (!(f = node(env, REX_REP, m, n, 0)))
1962 if (!(g = node(env, REX_TRIE, 0, 0, (UCHAR_MAX + 1) * sizeof(Trie_node_t*))))
2243 e = node(env, REX_NEST, 0, 0, (UCHAR_MAX + 1) * sizeof(unsigned short));
2336 if (!(f = node(env, REX_GROUP, 0, 0, 0)))
2391 if (!(e = node(env, REX_GROUP_COND, 0, 0, 0)))
2445 if (!(e = node(env, REX_EXEC, 0, 0, 0)))
2477 return rep(env, node(env, REX_BACK, c, 0, 0), 0, 0);
2502 if (!(f = node(env, x, 0, 0, 0)))
2600 if (!(e = node(env, REX_STRING, 0, 0, i)))
2607 if (!(f = node(env, REX_ONECHAR, 1, 1, 0)))
2616 if (!(f = node(env, REX_STRING, 0, 0, n)))
2631 if (!(e = node(env, REX_STRING, 0, 0, c)))
2647 e = rep(env, node(env, REX_BACK, c, 0, 0), 0, 0);
2656 return node(env, REX_NULL, 0, 0, 0);
2659 e = rep(env, node(env, REX_END, 0, 0, 0), 0, 0);
2663 if ((e = node(env, REX_BEG, 0, 0, 0)) && (env->flags & REG_EXTENDED))
2693 if (!(f = node(env, REX_GROUP, 0, 0, 0)))
2712 if (!(f = node(env, REX_GROUP, 0, 0, 0)))
2760 e = rep(env, node(env, REX_WBEG, 0, 0, 0), 0, 0);
2764 e = rep(env, node(env, REX_WEND, 0, 0, 0), 0, 0);
2768 e = rep(env, node(env, REX_DOT, 1, 1, 0), 0, 0);
2774 e = rep(env, node(env, REX_DOT, 1, 1, 0), 0, 0);
2780 if (e = node(env, REX_ONECHAR, 1, 1, 0))
2788 e = rep(env, node(env, REX_WORD, 0, 0, 0), 0, 0);
2792 e = rep(env, node(env, REX_WORD_NOT, 0, 0, 0), 0, 0);
2796 e = rep(env, node(env, REX_BEG_STR, 0, 0, 0), 0, 0);
2800 e = rep(env, node(env, REX_END_STR, 0, 0, 0), 0, 0);
2804 e = rep(env, node(env, REX_FIN_STR, 0, 0, 0), 0, 0);
2831 if (!(g = node(env, REX_CONJ, 0, 0, 0)))
2872 if (!(g = node(env, REX_ALT, 0, 0, 0)))
3012 if (!(a = node(env, REX_BM, 0, 0, n * (sizeof(Bm_mask_t*) + (UCHAR_MAX + 1) * sizeof(Bm_mask_t)) + (UCHAR_MAX + n + 2) * sizeof(size_t))))
3149 if (!(a = node(env, REX_KMP, 0, 0, n * (sizeof(int*) + 1))))
3291 if (!(e = node(&env, REX_BEG, 0, 0, 0)))
3311 if (!(f = node(&env, REX_END, 0, 0, 0)))
3466 if (!(e = node(&env, REX_BEG, 0, 0, 0)))
3480 if (!(e = node(&env, REX_END, 0, 0, 0)))