• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/tre-0.8.0/lib/

Lines Matching defs:cat

318 		tre_catenation_t *cat = node->obj;
319 tre_ast_node_t *left = cat->left;
320 tre_ast_node_t *right = cat->right;
536 DPRINT(("After cat left, tag = %d, next_tag = %d\n",
547 DPRINT(("After cat right\n"));
745 tre_catenation_t *cat = node->obj;
747 *result = tre_ast_new_catenation(mem, cat->left, cat->right);
758 STACK_PUSHX(stack, voidptr, cat->right);
762 STACK_PUSHX(stack, voidptr, cat->left);
861 tre_catenation_t *cat = node->obj;
862 STACK_PUSHX(stack, voidptr, cat->right);
864 STACK_PUSHX(stack, voidptr, cat->left);
1205 tre_catenation_t *cat;
1283 cat = (tre_catenation_t *)node->obj;
1284 assert(cat->left->nullable);
1285 assert(cat->right->nullable);
1286 STACK_PUSHX(stack, voidptr, cat->left);
1287 STACK_PUSHX(stack, voidptr, cat->right);
1455 tre_catenation_t *cat = node->obj;
1456 node->nullable = cat->left->nullable && cat->right->nullable;
1459 if (cat->left->nullable)
1464 status = tre_match_empty(stack, cat->left,
1488 status = tre_match_empty(stack, cat->left, tags,
1496 tre_set_union(mem, cat->right->firstpos, cat->left->firstpos,
1504 node->firstpos = cat->left->firstpos;
1508 if (cat->right->nullable)
1513 status = tre_match_empty(stack, cat->right,
1537 status = tre_match_empty(stack, cat->right, tags,
1545 tre_set_union(mem, cat->left->lastpos, cat->right->lastpos,
1553 node->lastpos = cat->right->lastpos;
1792 tre_catenation_t *cat;
1810 cat = (tre_catenation_t *)node->obj;
1811 /* Add a transition from each position in cat->left->lastpos
1812 to each position in cat->right->firstpos. */
1813 errcode = tre_make_trans(cat->left->lastpos, cat->right->firstpos,
1817 errcode = tre_ast_to_tnfa(cat->left, transitions, counts, offs);
1820 errcode = tre_ast_to_tnfa(cat->right, transitions, counts, offs);