Lines Matching refs:b
38 b"&": b"&",
39 b'"': b""",
40 b"'": b"'",
41 b">": b">",
42 b"<": b"<",
68 return b"".join(HTML_ESCAPE_TABLE.get(i,i) for i in struct.unpack(str(len(text)) + 'c', text))
70 HTML_OUTPUT_CSS=b"""
97 output_file.write(b"<html><head>\n")
99 …output_file.write(b'</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">\n')
102 output_file.write(b'<div class="toc">\n')
103 output_file.write(b"<ul>\n")
113 output_file.write(b"</ul>\n")
114 output_file.write(b"</div><!-- table of contents -->\n")
116 output_file.write(b'<table cellpadding="0" cellspacing="0" border="0">\n')
118 output_file.write(b'<tr id="id%d"><td class="same-license">\n' % id_table.get(value[0]))
119 output_file.write(b'<div class="label">Notices for file(s):</div>\n')
120 output_file.write(b'<div class="file-list">\n')
123 output_file.write(b"</div><!-- file-list -->\n")
124 output_file.write(b"\n")
125 output_file.write(b'<pre class="license-text">\n')
128 output_file.write(b"\n</pre><!-- license-text -->\n")
129 output_file.write(b"</td></tr><!-- same-license -->\n\n\n\n")
132 output_file.write(b"</table>\n")
133 output_file.write(b"</body></html>\n")
142 output_file.write(b"\n")
144 output_file.write(b"============================================================\n")
145 output_file.write(b"Notices for file(s):\n")
148 output_file.write(b"\n")
149 output_file.write(b"------------------------------------------------------------\n")
152 output_file.write(b"\n")
170 output_file.write(b'<?xml version="1.0" encoding="utf-8"?>\n')
171 output_file.write(b"<licenses>\n")
180 output_file.write(b"\n\n")
193 output_file.write(b"]]></file-content>\n\n")
196 output_file.write(b"</licenses>\n")