Lines Matching refs:fp
77 def printCopyrightSourceComments(fp): argument
82 print('// Copyright 2014-2023 The Khronos Group Inc.', file=fp)
83 print('//', file=fp)
85 print('// SPDX' + '-License-Identifier: CC-BY-4.0', file=fp)
86 print('', file=fp)
89 def printFooter(fp, leveloffset=0): argument
112 sep='\n', file=fp)
222 def refPageShell(pageName, pageDesc, fp, head_content = None, sections=None, tail_content=None, man… argument
233 printCopyrightSourceComments(fp)
240 sep='\n', file=fp)
247 sep='\n', file=fp)
255 sep='\n', file=fp)
260 sep='\n', file=fp)
268 sep='\n', file=fp)
273 sep='\n', file=fp)
276 def refPageHead(pageName, pageDesc, specText, fieldName, fieldText, descText, fp): argument
302 refPageShell(pageName, pageDesc, fp, head_content=None, sections=sections)
309 fp=None, argument
362 sep='\n', file=fp)
368 sep='\n', file=fp)
370 printFooter(fp, leveloffset)
487 fp = open(pageName, 'w', encoding='utf-8')
493 fp)
498 fp=fp,
500 fp.close()
512 fp = open(pageName, 'w', encoding='utf-8')
544 fp)
549 fp=fp,
551 fp.close()
565 fp = open(pageName, 'w', encoding='utf-8')
602 fp)
607 fp=fp,
609 fp.close()
620 fp = open(pageName, 'w', encoding='utf-8')
642 fp)
647 fp=fp,
649 fp.close()
812 fp = open(pageName, 'w', encoding='utf-8')
814 print(head.getvalue(), file=fp, end='')
815 print(body.getvalue(), file=fp, end='')
819 fp.close()
891 fp = open(pageName, 'w', encoding='utf-8')
898 fp,
918 fp=fp,
921 fp.close()
1063 fp = open(results.rewrite, 'w', encoding='utf-8') variable
1071 sep='', file=fp)
1072 fp.close()
1076 fp = open(results.toc, 'w', encoding='utf-8') variable
1079 print(12 * ' ', '<li class="Level1">Alphabetic Contents', sep='', file=fp)
1080 print(16 * ' ', '<ul class="Level2">', sep='', file=fp)
1090 print(24 * ' ', '</ul>', sep='', file=fp)
1091 print(20 * ' ', '</li>', sep='', file=fp)
1093 print(20 * ' ', '<li>', letter, sep='', file=fp)
1094 print(24 * ' ', '<ul class="Level3">', sep='', file=fp)
1100 sep='', file=fp)
1104 print(24 * ' ', '</ul>', sep='', file=fp)
1105 print(20 * ' ', '</li>', sep='', file=fp)
1108 print(16 * ' ', '</ul>', sep='', file=fp)
1109 print(12 * ' ', '</li>', sep='', file=fp)
1113 fp.close()