Lines Matching full:models
72 models = shell.cmd("query-cpu-definitions") variable
88 for model in models:
93 models = {} variable
108 models[name] = {
126 # Calculate whether the CPU models satisfy each ABI level
127 for name in models.keys():
129 got = set(models[name]["features"])
135 models[name]["levels"][level] = match
136 models[name]["missing"][level] = missing
138 # Cache list of CPU models satisfying each ABI level
146 for name in models.keys():
148 if models[name]["levels"][level]:
153 # Find the union of features in all CPU models satisfying this ABI
156 for feat in models[name]["features"]:
159 # Find the intersection of features in all CPU models satisfying this ABI
163 for name in models.keys():
164 if not models[name]["levels"][level]:
166 if feat not in models[name]["features"]:
173 for name in models.keys():
174 if not models[name]["levels"][level]:
177 delta = set(models[name]["features"].keys()) - set(commonfeatures)
178 models[name]["distance"][level] = len(delta)
179 models[name]["delta"][level] = delta
183 for name in models.keys():
186 if models[name]["levels"][level]: