Home | History | Annotate | Download | only in bin

Lines Matching defs:format

31     return "{0}\n\t{1}".format(attr.statement(), contents)
108 format='%(asctime)s|%(levelname)s|%(name)s|%(message)s')
110 logging.basicConfig(level=logging.INFO, format='%(message)s')
112 logging.basicConfig(level=logging.WARNING, format='%(message)s')
299 print("Statistics for policy file: {0}".format(p))
300 print("Policy Version: {0} (MLS {1})".format(p.version, mls))
301 print("Target Policy: {0}".format(p.target_platform))
302 print("Handle unknown classes: {0}".format(p.handle_unknown))
303 print(" Classes: {0:7} Permissions: {1:7}".format(
305 print(" Sensitivities: {0:7} Categories: {1:7}".format(
307 print(" Types: {0:7} Attributes: {1:7}".format(
309 print(" Users: {0:7} Roles: {1:7}".format(
311 print(" Booleans: {0:7} Cond. Expr.: {1:7}".format(
313 print(" Allow: {0:7} Neverallow: {1:7}".format(
315 print(" Auditallow: {0:7} Dontaudit: {1:7}".format(
317 print(" Type_trans: {0:7} Type_change: {1:7}".format(
319 print(" Type_member: {0:7} Range_trans: {1:7}".format(
321 print(" Role allow: {0:7} Role_trans: {1:7}".format(
323 print(" Constraints: {0:7} Validatetrans: {1:7}".format(
325 print(" MLS Constrain: {0:7} MLS Val. Tran: {1:7}".format(
327 print(" Permissives: {0:7} Polcap: {1:7}".format(
329 print(" Defaults: {0:7} Typebounds: {1:7}".format(
333 print(" Allowxperm: {0:7} Neverallowxperm: {1:7}".format(
335 print(" Auditallowxperm: {0:7} Dontauditxperm: {1:7}".format(
337 print(" Initial SIDs: {0:7} Fs_use: {1:7}".format(
339 print(" Genfscon: {0:7} Portcon: {1:7}".format(
341 print(" Netifcon: {0:7} Nodecon: {1:7}".format(
344 print(" Initial SIDs: {0:7} Devicetreecon {1:7}".format(
346 print(" Iomemcon: {0:7} Ioportcon: {1:7}".format(
348 print(" Pcidevicecon: {0:7} Pirqcon: {1:7}".format(
354 print("\n{0}: {1}".format(desc, len(results)))
358 print(strfmt.format(result))