Lines Matching refs:len

111         print("Policy Properties ({0} Modified)".format(len(diff.modified_properties)))
122 len(diff.added_commons), len(diff.removed_commons), len(diff.modified_commons)))
124 print(" Added Commons: {0}".format(len(diff.added_commons)))
128 print(" Removed Commons: {0}".format(len(diff.removed_commons)))
132 print(" Modified Commons: {0}".format(len(diff.modified_commons)))
136 change.append("{0} Added permissions".format(len(mod.added_perms)))
138 change.append("{0} Removed permissions".format(len(mod.removed_perms)))
150 len(diff.added_classes), len(diff.removed_classes), len(diff.modified_classes)))
152 print(" Added Classes: {0}".format(len(diff.added_classes)))
156 print(" Removed Classes: {0}".format(len(diff.removed_classes)))
160 print(" Modified Classes: {0}".format(len(diff.modified_classes)))
164 change.append("{0} Added permissions".format(len(mod.added_perms)))
166 change.append("{0} Removed permissions".format(len(mod.removed_perms)))
179 len(diff.added_booleans), len(diff.removed_booleans),
180 len(diff.modified_booleans)))
182 print(" Added Booleans: {0}".format(len(diff.added_booleans)))
186 print(" Removed Booleans: {0}".format(len(diff.removed_booleans)))
190 print(" Modified Booleans: {0}".format(len(diff.modified_booleans)))
200 print("Roles ({0} Added, {1} Removed, {2} Modified)".format(len(diff.added_roles),
201 len(diff.removed_roles),
202 len(diff.modified_roles)))
204 print(" Added Roles: {0}".format(len(diff.added_roles)))
208 print(" Removed Roles: {0}".format(len(diff.removed_roles)))
212 print(" Modified Roles: {0}".format(len(diff.modified_roles)))
216 change.append("{0} Added types".format(len(mod.added_types)))
218 change.append("{0} Removed types".format(len(mod.removed_types)))
229 print("Types ({0} Added, {1} Removed, {2} Modified)".format(len(diff.added_types),
230 len(diff.removed_types),
231 len(diff.modified_types)))
233 print(" Added Types: {0}".format(len(diff.added_types)))
237 print(" Removed Types: {0}".format(len(diff.removed_types)))
241 print(" Modified Types: {0}".format(len(diff.modified_types)))
245 change.append("{0} Added attributes".format(len(mod.added_attributes)))
247 change.append("{0} Removed attributes".format(len(mod.removed_attributes)))
249 change.append("{0} Added aliases".format(len(mod.added_aliases)))
251 change.append("{0} Removed aliases".format(len(mod.removed_aliases)))
279 len(diff.added_type_attributes), len(diff.removed_type_attributes),
280 len(diff.modified_type_attributes)))
282 print(" Added Type Attributes: {0}".format(len(diff.added_type_attributes)))
286 print(" Removed Type Attributes: {0}".format(len(diff.removed_type_attributes)))
290 print(" Modified Type Attributes: {0}".format(len(diff.modified_type_attributes)))
294 change.append("{0} Added types".format(len(mod.added_types)))
296 change.append("{0} Removed types".format(len(mod.removed_types)))
307 print("Users ({0} Added, {1} Removed, {2} Modified)".format(len(diff.added_users),
308 len(diff.removed_users),
309 len(diff.modified_users)))
311 print(" Added Users: {0}".format(len(diff.added_users)))
315 print(" Removed Users: {0}".format(len(diff.removed_users)))
319 print(" Modified Users: {0}".format(len(diff.modified_users)))
323 change.append("{0} Added roles".format(len(mod.added_roles)))
325 change.append("{0} Removed roles".format(len(mod.removed_roles)))
354 len(diff.added_categories), len(diff.removed_categories),
355 len(diff.modified_categories)))
357 print(" Added Categories: {0}".format(len(diff.added_categories)))
361 print(" Removed Categories: {0}".format(len(diff.removed_categories)))
365 print(" Modified Categories: {0}".format(len(diff.modified_categories)))
369 change.append("{0} Added Aliases".format(len(mod.added_aliases)))
371 change.append("{0} Removed Aliases".format(len(mod.removed_aliases)))
386 len(diff.added_sensitivities), len(diff.removed_sensitivities),
387 len(diff.modified_sensitivities)))
389 print(" Added Sensitivites: {0}".format(len(diff.added_sensitivities)))
393 print(" Removed Sensitivities: {0}".format(len(diff.removed_sensitivities)))
397 print(" Modified Sensitivities: {0}".format(len(diff.modified_sensitivities)))
401 change.append("{0} Added Aliases".format(len(mod.added_aliases)))
403 change.append("{0} Removed Aliases".format(len(mod.removed_aliases)))
418 len(diff.added_levels), len(diff.removed_levels),
419 len(diff.modified_levels)))
421 print(" Added Levels: {0}".format(len(diff.added_levels)))
425 print(" Removed Levels: {0}".format(len(diff.removed_levels)))
429 print(" Modified Levels: {0}".format(len(diff.modified_levels)))
434 change.append("{0} Added Categories".format(len(added_categories)))
436 change.append("{0} Removed Categories".format(len(removed_categories)))
448 len(diff.added_allows), len(diff.removed_allows), len(diff.modified_allows)))
451 print(" Added Allow Rules: {0}".format(len(diff.added_allows)))
456 print(" Removed Allow Rules: {0}".format(len(diff.removed_allows)))
461 print(" Modified Allow Rules: {0}".format(len(diff.modified_allows)))
483 len(diff.added_neverallows), len(diff.removed_neverallows),
484 len(diff.modified_neverallows)))
487 print(" Added Neverallow Rules: {0}".format(len(diff.added_neverallows)))
492 print(" Removed Neverallow Rules: {0}".format(len(diff.removed_neverallows)))
497 print(" Modified Neverallow Rules: {0}".format(len(diff.modified_neverallows)))
519 len(diff.added_auditallows), len(diff.removed_auditallows),
520 len(diff.modified_auditallows)))
523 print(" Added Auditallow Rules: {0}".format(len(diff.added_auditallows)))
528 print(" Removed Auditallow Rules: {0}".format(len(diff.removed_auditallows)))
533 print(" Modified Auditallow Rules: {0}".format(len(diff.modified_auditallows)))
555 len(diff.added_dontaudits), len(diff.removed_dontaudits),
556 len(diff.modified_dontaudits)))
559 print(" Added Dontaudit Rules: {0}".format(len(diff.added_dontaudits)))
564 print(" Removed Dontaudit Rules: {0}".format(len(diff.removed_dontaudits)))
569 print(" Modified Dontaudit Rules: {0}".format(len(diff.modified_dontaudits)))
591 len(diff.added_type_transitions), len(diff.removed_type_transitions),
592 len(diff.modified_type_transitions)))
596 len(diff.added_type_transitions)))
602 len(diff.removed_type_transitions)))
608 len(diff.modified_type_transitions)))
635 len(diff.added_type_changes), len(diff.removed_type_changes),
636 len(diff.modified_type_changes)))
639 print(" Added Type_change Rules: {0}".format(len(diff.added_type_changes)))
644 print(" Removed Type_change Rules: {0}".format(len(diff.removed_type_changes)))
649 print(" Modified Type_change Rules: {0}".format(len(diff.modified_type_changes)))
676 len(diff.added_type_members), len(diff.removed_type_members),
677 len(diff.modified_type_members)))
680 print(" Added Type_member Rules: {0}".format(len(diff.added_type_members)))
685 print(" Removed Type_member Rules: {0}".format(len(diff.removed_type_members)))
690 print(" Modified Type_member Rules: {0}".format(len(diff.modified_type_members)))
716 len(diff.added_role_allows), len(diff.removed_role_allows)))
720 len(diff.added_role_allows)))
726 len(diff.removed_role_allows)))
736 len(diff.added_role_transitions), len(diff.removed_role_transitions),
737 len(diff.modified_role_transitions)))
741 len(diff.added_role_transitions)))
747 len(diff.removed_role_transitions)))
753 len(diff.modified_role_transitions)))
769 len(diff.added_range_transitions), len(diff.removed_range_transitions),
770 len(diff.modified_range_transitions)))
774 len(diff.added_range_transitions)))
780 len(diff.removed_range_transitions)))
786 len(diff.modified_range_transitions)))
804 len(diff.added_initialsids), len(diff.removed_initialsids),
805 len(diff.modified_initialsids)))
807 print(" Added Initial SIDs: {0}".format(len(diff.added_initialsids)))
811 print(" Removed Initial SIDs: {0}".format(len(diff.removed_initialsids)))
815 print(" Modified Initial SIDs: {0}".format(len(diff.modified_initialsids)))
826 len(diff.added_fs_uses), len(diff.removed_fs_uses),
827 len(diff.modified_fs_uses)))
829 print(" Added Fs_use: {0}".format(len(diff.added_fs_uses)))
833 print(" Removed Fs_use: {0}".format(len(diff.removed_fs_uses)))
837 print(" Modified Fs_use: {0}".format(len(diff.modified_fs_uses)))
848 len(diff.added_genfscons), len(diff.removed_genfscons),
849 len(diff.modified_genfscons)))
851 print(" Added Genfscons: {0}".format(len(diff.added_genfscons)))
855 print(" Removed Genfscons: {0}".format(len(diff.removed_genfscons)))
859 print(" Modified Genfscons: {0}".format(len(diff.modified_genfscons)))
870 len(diff.added_netifcons), len(diff.removed_netifcons),
871 len(diff.modified_netifcons)))
873 print(" Added Netifcons: {0}".format(len(diff.added_netifcons)))
877 print(" Removed Netifcons: {0}".format(len(diff.removed_netifcons)))
881 print(" Modified Netifcons: {0}".format(len(diff.modified_netifcons)))
910 len(diff.added_nodecons), len(diff.removed_nodecons),
911 len(diff.modified_nodecons)))
913 print(" Added Nodecons: {0}".format(len(diff.added_nodecons)))
917 print(" Removed Nodecons: {0}".format(len(diff.removed_nodecons)))
921 print(" Modified Nodecons: {0}".format(len(diff.modified_nodecons)))
933 len(diff.added_portcons), len(diff.removed_portcons),
934 len(diff.modified_portcons)))
936 print(" Added Portcons: {0}".format(len(diff.added_portcons)))
940 print(" Removed Portcons: {0}".format(len(diff.removed_portcons)))
944 print(" Modified Portcons: {0}".format(len(diff.modified_portcons)))
960 len(diff.added_polcaps), len(diff.removed_polcaps)))
962 print(" Added Policy Capabilities: {0}".format(len(diff.added_polcaps)))
966 print(" Removed Policy Capabilities: {0}".format(len(diff.removed_polcaps)))
975 len(diff.added_defaults), len(diff.removed_defaults), len(diff.modified_defaults)))
977 print(" Added Defaults: {0}".format(len(diff.added_defaults)))
981 print(" Removed Defaults: {0}".format(len(diff.removed_defaults)))
985 print(" Modified Defaults: {0}".format(len(diff.modified_defaults)))