Lines Matching refs:CollisionResult
269 ResourceTable::CollisionResult ResourceTable::ResolveValueCollision(Value* existing, in ResolveValueCollision()
278 return CollisionResult::kKeepOriginal; in ResolveValueCollision()
281 return CollisionResult::kTakeNew; in ResolveValueCollision()
285 return overlay ? CollisionResult::kTakeNew : CollisionResult::kConflict; in ResolveValueCollision()
292 return CollisionResult::kTakeNew; in ResolveValueCollision()
296 return overlay ? CollisionResult::kTakeNew : CollisionResult::kConflict; in ResolveValueCollision()
310 return existing_attr->IsWeak() ? CollisionResult::kTakeNew : CollisionResult::kKeepOriginal; in ResolveValueCollision()
315 return CollisionResult::kTakeNew; in ResolveValueCollision()
321 return CollisionResult::kKeepOriginal; in ResolveValueCollision()
324 return CollisionResult::kConflict; in ResolveValueCollision()
327 ResourceTable::CollisionResult ResourceTable::IgnoreCollision(Value* /* existing */, in IgnoreCollision()
330 return CollisionResult::kKeepBoth; in IgnoreCollision()
446 case CollisionResult::kKeepBoth: in AddResourceImpl()
452 case CollisionResult::kTakeNew: in AddResourceImpl()
457 case CollisionResult::kConflict: in AddResourceImpl()
463 case CollisionResult::kKeepOriginal: in AddResourceImpl()