Lines Matching refs:nameToNID
52 nameToNID map[string]int member
55 func readNumbers(path string) (nameToNID map[string]int, numNIDs int, err error) {
62 nameToNID = make(map[string]int)
67 nameToNID["undef"] = 0
104 if _, ok := nameToNID[name]; ok {
111 nameToNID[name] = nid
122 return nameToNID, numNIDs, nil
184 nameToNID, numNIDs, err := readNumbers(numPath)
198 nameToNID: make(map[string]int),
208 objs.nameToNID["undef"] = 0
333 nid, ok := nameToNID[obj.name]
340 objs.nameToNID[obj.name] = nid