Lines Matching refs:html

2065 		html = ''
2077 html += '<li><b>'+node.name+drv+'</b>'
2079 html += '<ul>'+info+'</ul>'
2080 html += '</li>'
2082 html += '<ul>'
2084 html += self.printTopology(cnode)
2085 html += '</ul>'
2086 return html
2745 self.html = ''
2756 self.html += '<div class="version"><a href="https://01.org/pm-graph">%s v%s</a></div>' \
2759 self.html += '<button id="showtest" class="logbtn btnfmt">log</button>'
2761 self.html += '<button id="showdmesg" class="logbtn btnfmt">dmesg</button>'
2763 self.html += '<button id="showftrace" class="logbtn btnfmt">ftrace</button>'
2765 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2770 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2929 self.html += html_devlist2
2930 self.html += html_devlist1.format('1')
2932 self.html += html_devlist1.format('')
2933 self.html += html_zoombox
2934 self.html += html_timeline.format('dmesg', self.height)
2973 self.html += output+'</div>\n'
4310 html = summaryCSS('Summary - SleepGraph')
4382 html += '<div class="stamp">%s (%d tests: %s)</div>\n' % (title, len(testruns), ', '.join(desc))
4395 html += '<table>\n<tr>\n' + th.format('#') +\
4402 html += th.format('PkgPC10') + th.format('SysLPI')
4404 html += th.format('Wifi')
4405 html += th.format('Detail')+'</tr>\n'
4427 html += head.format('%d' % count, mode.upper(),
4434 html += headnone.format('%d' % count, mode.upper())
4440 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4452 html += td.format("%d" % (list[mode]['data'].index(d) + 1)) # row
4453 html += td.format(d[15]) # mode
4454 html += td.format(d[0]) # host
4455 html += td.format(d[1]) # kernel
4456 html += td.format(d[2]) # time
4457 html += td.format(d[6]) # result
4458 html += td.format(d[7]) # issues
4459 html += tdh.format('%.3f ms' % d[3], tHigh[0]) if d[3] else td.format('') # suspend
4460 html += tdh.format('%.3f ms' % d[4], tHigh[1]) if d[4] else td.format('') # resume
4461 html += td.format(d[8]) # sus_worst
4462 html += td.format('%.3f ms' % d[9]) if d[9] else td.format('') # sus_worst time
4463 html += td.format(d[10]) # res_worst
4464 html += td.format('%.3f ms' % d[11]) if d[11] else td.format('') # res_worst time
4466 html += td.format(d[12]) # pkg_pc10
4467 html += td.format(d[13]) # syslpi
4469 html += td.format(d[14]) # wifi
4470 html += tdlink.format(d[5]) if d[5] else td.format('') # url
4471 html += '</tr>\n'
4476 hf.write(html+'</table>\n</body>\n</html>\n')
4480 html = summaryCSS('Device Summary - SleepGraph', False)
4514 html += '<div class="stamp">%s (%s devices > %d ms)</div><table>\n' % \
4516 html += '<tr>\n' + '<th align=right>Device Name</th>' +\
4528 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4529 html += tdr.format(data['name']) # name
4530 html += td.format('%.3f ms' % data['average']) # average
4531 html += td.format(data['count']) # count
4532 html += td.format('%.3f ms' % data['worst']) # worst
4533 html += td.format(data['host']) # host
4534 html += tdlink.format(data['url']) # url
4535 html += '</tr>\n'
4537 html += '</table>\n'
4541 hf.write(html+'</body>\n</html>\n')
4547 html = summaryCSS('Issues Summary - SleepGraph', False)
4555 html += '<div class="stamp">%s (%s)</div><table>\n' % (title, subtitle)
4556 html += '<tr>\n' + th.format('Issue') + th.format('Count')
4558 html += th.format('Hosts')
4559 html += th.format('Tests') + th.format('Fail Rate') +\
4572 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4573 html += td.format('left', e['line']) # issue
4574 html += td.format('center', e['count']) # count
4576 html += td.format('center', len(e['urls'])) # hosts
4577 html += td.format('center', testtotal) # test count
4578 html += td.format('center', rate) # test rate
4579 html += td.format('center nowrap', '<br>'.join(links)) # links
4580 html += '</tr>\n'
4585 hf.write(html+'</table>\n'+extra+'</body>\n</html>\n')
4668 devtl.html += thtml
4698 devtl.html += thtml
4717 devtl.html += thtml
4719 devtl.html += html_fail.format(testfail)
4796 devtl.html += devtl.html_tblock.format(bname, left, width, devtl.scaleH)
4803 devtl.html += devtl.html_phase.format(left, width, \
4811 devtl.html += html_error.format(right, id, type)
4847 devtl.html += devtl.html_device.format(dev['id'], \
4858 devtl.html += \
4873 devtl.html += \
4878 devtl.html += '</div>\n'
4881 devtl.html += '</div>\n</div>\n'
4886 devtl.html += '<div class="legend">\n'
4895 devtl.html += devtl.html_legend.format(order, p['color'], name, id)
4896 devtl.html += '</div>\n'
4902 hf.write(devtl.html)
6267 def find_in_html(html, start, end, firstonly=True): argument
6268 cnt, out, list = len(html), [], []
6270 m = re.search(start, html)
6274 list = re.finditer(start, html)
6278 m = re.search(end, html[s:e])
6282 str = html[s:e]
6295 html = open(file, 'r').read()
6297 html = ascii(open(file, 'rb').read())
6300 suspend = find_in_html(html, 'Kernel Suspend', 'ms')
6301 resume = find_in_html(html, 'Kernel Resume', 'ms')
6302 sysinfo = find_in_html(html, '<div class="stamp sysinfo">', '</div>')
6303 line = find_in_html(html, '<div class="stamp">', '</div>')
6313 error = find_in_html(html, '<table class="testfail"><tr><td>', '</td>')
6325 log = find_in_html(html, '<div id="dmesglog" style="display:none;">',
6356 low = find_in_html(html, 'freeze time: <b>', ' ms</b>')
6382 for line in html.split('\n'):
6433 data['funclist'] = find_in_html(html, '<div title="', '" class="traceevent"', False)