Lines Matching defs:typeEntry
157 TypeEntry* typeEntry = fTypesByName->Lookup(name);
158 if (typeEntry != NULL) {
160 && typeEntry->type->Kind() != constraints.TypeKind())
161 typeEntry = NULL;
163 if (typeEntry->type->Kind() == TYPE_ADDRESS) {
165 typeEntry->type);
167 typeEntry = NULL;
169 typeEntry = NULL;
170 } else if (typeEntry->type->Kind() == TYPE_COMPOUND) {
172 typeEntry->type);
174 typeEntry = NULL;
176 typeEntry = NULL;
180 return typeEntry != NULL ? typeEntry->type : NULL;
187 TypeEntry* typeEntry = fTypesByID->Lookup(id);
188 return typeEntry != NULL ? typeEntry->type : NULL;
203 TypeEntry* typeEntry = new(std::nothrow) TypeEntry(type);
204 if (typeEntry == NULL)
207 fTypesByID->Insert(typeEntry);
210 fTypesByName->Insert(typeEntry);
219 if (TypeEntry* typeEntry = fTypesByID->Lookup(type->ID())) {
220 if (typeEntry->type == type) {
221 fTypesByID->Remove(typeEntry);
224 fTypesByName->Remove(typeEntry);
226 delete typeEntry;
238 TypeEntry* typeEntry = it.Next();) {
239 if (typeEntry->type->ImageID() == imageID) {
240 fTypesByID->RemoveUnchecked(typeEntry);
242 if (typeEntry->type->Name().Length() > 0)
243 fTypesByName->Remove(typeEntry);
245 delete typeEntry;