Lines Matching refs:name
39 def find_constant_prefix(name): argument
42 if name.startswith(prefix):
63 for (name, e) in typ.__members__.items():
66 typ, seen[e.value], e.value, name, e.value))
69 seen[e.value] = name
72 typ, name, e.value, last.name, last.value))
73 if name in global_seen:
75 name, global_seen[name], typ))
77 global_seen[name] = typ
85 prefix = find_constant_prefix(val.name)
196 e.name: e for typ in find_enum_types() for e in typ}
201 for name in sorted(missing_in_glibcelf):
202 error('constant {} is missing from glibcelf'.format(name))
206 for name in sorted(unexpected_in_glibcelf):
208 name))
211 for name in sorted(missing_in_elf_h):
212 error('constant {} is missing from <elf.h>'.format(name))
215 for name in expected_in_elf_h:
216 error('filtered constant {} is missing from <elf.h>'.format(name))
229 for name in sorted(set(glibcelf_constants) & set(elf_h_constants)):
230 glibcelf_value = glibcelf_constants[name].value
231 elf_h_value = int(elf_h_constants[name])
237 and not (isinstance(glibcelf_constants[name], enum.IntFlag)
241 name, glibcelf_value, elf_h_value))