Lines Matching refs:name
80 name, type_, value = (m.group(g) for g in ('name', 'type', 'value'))
93 return CMakeCacheEntry(name, value)
95 def __init__(self, name, value): argument
96 self.name = name
101 return fmt.format(self.name, self.value)
122 self._entries = OrderedDict((e.name, e) for e in entries)
124 def get(self, name, default=None): argument
125 entry = self._entries.get(name)
131 def get_list(self, name, default=None): argument
134 entry = self._entries.get(name)
147 def __contains__(self, name): argument
148 return name in self._entries
150 def __getitem__(self, name): argument
151 return self._entries[name].value
153 def __setitem__(self, name, entry): argument
157 self._entries[name] = entry
159 def __delitem__(self, name): argument
160 del self._entries[name]