Formulation of sys.all_objects

sys.objects + sys.system_objects == sys.all_objects

You can verify by its count.

select count(*) from sys.objects
select count(*) from sys.all_objects
select count(*) from sys.system_objects

Thanks :)