Searched refs:nedges (Results 1 – 4 of 4) sorted by relevance
/external/bison/src/ |
D | lalr.c | 163 goto_number nedges = 0; in initialize_F() local 182 edge[nedges++] = map_goto (stateno, sym); in initialize_F() 185 if (nedges == 0) in initialize_F() 189 reads[i] = xnmalloc (nedges + 1, sizeof reads[i][0]); in initialize_F() 190 memcpy (reads[i], edge, nedges * sizeof edge[0]); in initialize_F() 191 reads[i][nedges] = END_NODE; in initialize_F() 192 nedges = 0; in initialize_F() 229 int nedges = 0; in build_relations() local 263 edge[nedges++] = map_goto (states1[--length], in build_relations() 271 if (nedges == 0) in build_relations() [all …]
|
D | relation.c | 133 size_t *nedges = xcalloc (n, sizeof *nedges); in relation_transpose() local 147 ++nedges[r[i][j]]; in relation_transpose() 153 if (nedges[i] > 0) in relation_transpose() 155 sp = xnmalloc (nedges[i] + 1, sizeof *sp); in relation_transpose() 156 sp[nedges[i]] = END_NODE; in relation_transpose() 168 free (nedges); in relation_transpose()
|
D | ielr.c | 258 goto_number nedges = edge_counts[i]; in ielr_compute_always_follows() local 268 edge_array[nedges++] = map_goto (to_state[i], sym); in ielr_compute_always_follows() 271 if (nedges - edge_counts[i]) in ielr_compute_always_follows() 274 xnrealloc ((*edgesp)[i], nedges + 1, sizeof *(*edgesp)[i]); in ielr_compute_always_follows() 276 (nedges - edge_counts[i]) * sizeof *(*edgesp)[i]); in ielr_compute_always_follows() 277 (*edgesp)[i][nedges] = END_NODE; in ielr_compute_always_follows()
|
/external/opencv/cv/src/ |
D | cvstereogc.cpp | 596 static inline void icvAddEdge( GCVtx *x, GCVtx* y, GCEdge* edgeBuf, int nedges, int w, int rw ) in icvAddEdge() argument 598 GCEdge *xy = edgeBuf + nedges, *yx = xy + 1; in icvAddEdge() 604 x->first = nedges; in icvAddEdge() 609 y->first = nedges+1; in icvAddEdge() 624 GCEdge* edgeBuf, int& nedges ) in icvAddTerm() argument 635 icvAddEdge( x, y, edgeBuf, nedges, 0, w ); in icvAddTerm() 636 nedges += 2; in icvAddTerm() 645 icvAddEdge( x, y, edgeBuf, nedges, w, 0 ); in icvAddTerm() 646 nedges += 2; in icvAddTerm() 654 icvAddEdge( x, y, edgeBuf, nedges, B - A, C - D ); in icvAddTerm() [all …]
|