Home
last modified time | relevance | path

Searched refs:nedges (Results 1 – 2 of 2) sorted by relevance

/external/bison/src/
Dlalr.c174 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 …]
Drelation.c133 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()