Lines Matching refs:file
12 # -out specifies directory to create output file in, default 'out'
16 # For error and file-loading interfaces only
31 print('[[' + anchorname(anchor) + ']]', file=fp)
32 print('This anchor:', anchorname(anchor), file=fp)
33 print('<<' + anchorname(anchor+1) + ', OINK>>', file=fp)
45 print('ifdef::VK_VERSION_1_1[]', file=fp)
46 print(line, file=fp, end='')
47 print('endif::VK_VERSION_1_1[]', file=fp)
48 print('', file=fp)
50 '[or the equivalent command]', file=fp)
51 print('', file=fp)
52 print('ifdef::' + extension + '[]', file=fp)
53 print('include::../api/' + type + '/' + name + 'KHR.adoc[]', file=fp)
54 print('endif::' + extension + '[]', file=fp)
58 print(line, file=fp, end='')
59 print('', file=fp)
60 print('ifdef::' + extension + '[]', file=fp)
61 print('or the equivalent', file=fp)
62 print('', file=fp)
63 print('include::../api/' + type + '/' + name + 'KHR.adoc[]', file=fp)
64 print('endif::' + extension + '[]', file=fp)
68 print(line, file=fp, end='')
78 # Output file handle and promote object for this file. There are no race
91 logWarn('Cannot open output file', filename, ':', sys.exc_info()[0])
109 print(line, file=fp, end='')
115 for file in files:
116 if file.endswith(".adoc"):
117 file_path = os.path.join(root, file)
128 # Patterns used to recognize interesting lines in an asciidoc source file.
135 help='Set the diagnostic file')
137 help='Set the warning file')
139 help='Set the log file for both diagnostics and warnings')
147 help='Set the suffix added to updated file names (default: none)')
167 for file in args.files:
168 promoteFile(file, args)