Searched refs:nedges (Results 1 – 3 of 3) sorted by relevance
/external/bison/src/ |
D | lalr.c | 174 goto_number nedges = 0; in initialize_F() local 193 edge[nedges++] = map_goto (stateno, sym); in initialize_F() 196 if (nedges == 0) in initialize_F() 200 reads[i] = xnmalloc (nedges + 1, sizeof reads[i][0]); in initialize_F() 201 memcpy (reads[i], edge, nedges * sizeof edge[0]); in initialize_F() 202 reads[i][nedges] = END_NODE; in initialize_F() 203 nedges = 0; in initialize_F() 240 int nedges = 0; in build_relations() local 274 edge[nedges++] = map_goto (states1[--length], in build_relations() 282 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()
|
/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 …]
|