MCPcopy Index your code
hub / github.com/IBM/Project_CodeNet / attr_find

Function attr_find

tools/json-graph/src/jgflib.c:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34Attr attr_find(Attr attrs, const char *key)
35{
36 while (attrs) {
37 if (string_eq(attrs->key, key))
38 return attrs;
39 attrs = attrs->next;
40 }
41 return NULL;
42}
43
44static void graph_add_attr(Graph g, Attr a)
45{

Callers 2

det_coords_adjust_labelsFunction · 0.85
node_attr_valueFunction · 0.85

Calls 1

string_eqFunction · 0.85

Tested by

no test coverage detected