Lines Matching refs:indices
152 static int graph_add_indices(int *indices, int n,
154 static int graph_assign_indices(struct owner_graph *g, int *indices,
2179 graph_add_indices(int *indices, int n, struct owner_vertex_list *set) in graph_add_indices() argument
2186 i > 0 && indices[i - 1] > v->v_order; i--) in graph_add_indices()
2189 indices[j + 1] = indices[j]; in graph_add_indices()
2190 indices[i] = v->v_order; in graph_add_indices()
2198 graph_assign_indices(struct owner_graph *g, int *indices, int nextunused, in graph_assign_indices() argument
2210 vlowest->v_order = indices[nextunused]; in graph_assign_indices()
2225 int *indices; in graph_add_edge() local
2309 indices = g->g_indexbuf; in graph_add_edge()
2310 n = graph_add_indices(indices, 0, &deltaF); in graph_add_edge()
2311 graph_add_indices(indices, n, &deltaB); in graph_add_edge()
2320 i = graph_assign_indices(g, indices, 0, &deltaB); in graph_add_edge()
2321 graph_assign_indices(g, indices, i, &deltaF); in graph_add_edge()
2329 g->g_vertices[indices[i]], v_link); in graph_add_edge()