Lines Matching defs:path
109 // Returns true if there is a path from the node 'from'
125 // Finds a path from 'from' to one of the nodes in 'target',
126 // stores up to 'path_size' items of the path into 'path',
127 // returns the path length, or 0 if there is no path of size 'path_size'.
128 uptr findPath(uptr from, const BV &targets, uptr *path, uptr path_size) {
131 path[0] = from;
138 if (uptr res = findPath(idx, targets, path + 1, path_size - 1))
144 // Same as findPath, but finds a shortest path.
145 uptr findShortestPath(uptr from, const BV &targets, uptr *path,
148 if (findPath(from, targets, path, p) == p)