Lines Matching defs:node
198 // Compute a node pointer.
388 // Limit max node count to 65000 as a conservative estimate to
389 // avoid overflowing 16-bit node index in encoding.
415 OneState* node = IndexToNode(nodes, statesize, nodeindex);
420 node->action[b] = kImpossible;
421 node->matchcond = kImpossible;
453 << StringPrintf("Not OnePass: hit node limit %d > %d",
468 uint32 act = node->action[b];
471 node->action[b] = newact;
488 uint32 act = node->action[b];
491 node->action[b] = newact;
546 node->matchcond = cond;
556 string dump = "prog dump:\n" + Dump() + "node dump\n";
576 OneState* node = IndexToNode(nodes, statesize, nodeindex);
578 StringAppendF(&dump, "node %d id=%d: matchcond=%#x\n",
579 nodeindex, id, node->matchcond);
581 if ((node->action[i] & kImpossible) == kImpossible)
584 i, node->action[i] & 0xFFFF,
585 node->action[i] >> kIndexShift,
586 idmap[node->action[i] >> kIndexShift]);