Lines Matching refs:name
20 def __init__(self, name, value): argument
21 self.names = [name]
28 def add(self, name, value): argument
32 self.names.append(name)
50 name = m.group(1)
51 priorities.append(name)
75 for name in priorities:
76 if name in syscall_dict.keys():
77 priority_syscalls.append((name, syscall_dict[name]))
99 name = m.group(1)
104 constants[name] = value
110 for name, value in constants.iteritems():
111 if not name.startswith("__NR_") and not name.startswith("__ARM_NR"):
113 if name.startswith("__NR_"):
115 name = name[len("__NR_"):]
116 syscalls[name] = value
127 for name, value in syscalls:
129 ranges.append(SyscallRange(name, value))
134 last_range.add(name, value)
136 ranges.append(SyscallRange(name, value))
245 for name in merge_names(base_names, allowlist_names, blocklist_names):
247 allowed_syscalls.append((name, syscall_NRs[arch][name]))
249 logging.exception("Failed to find %s in %s", name, arch)