Lines Matching defs:typeEntry
154 TypeEntry* typeEntry = fTypesByName->Lookup(name);
155 if (typeEntry != NULL) {
157 && typeEntry->type->Kind() != constraints.TypeKind())
158 typeEntry = NULL;
160 if (typeEntry->type->Kind() == TYPE_ADDRESS) {
162 typeEntry->type);
164 typeEntry = NULL;
166 typeEntry = NULL;
167 } else if (typeEntry->type->Kind() == TYPE_COMPOUND) {
169 typeEntry->type);
171 typeEntry = NULL;
173 typeEntry = NULL;
177 return typeEntry != NULL ? typeEntry->type : NULL;
184 TypeEntry* typeEntry = fTypesByID->Lookup(id);
185 return typeEntry != NULL ? typeEntry->type : NULL;
200 TypeEntry* typeEntry = new(std::nothrow) TypeEntry(type);
201 if (typeEntry == NULL)
204 fTypesByID->Insert(typeEntry);
207 fTypesByName->Insert(typeEntry);
216 if (TypeEntry* typeEntry = fTypesByID->Lookup(type->ID())) {
217 if (typeEntry->type == type) {
218 fTypesByID->Remove(typeEntry);
221 fTypesByName->Remove(typeEntry);
223 delete typeEntry;
235 TypeEntry* typeEntry = it.Next();) {
236 if (typeEntry->type->ImageID() == imageID) {
237 fTypesByID->RemoveUnchecked(typeEntry);
239 if (typeEntry->type->Name().Length() > 0)
240 fTypesByName->Remove(typeEntry);
242 delete typeEntry;