Lines Matching refs:html

2045 		html = ''
2057 html += '<li><b>'+node.name+drv+'</b>'
2059 html += '<ul>'+info+'</ul>'
2060 html += '</li>'
2062 html += '<ul>'
2064 html += self.printTopology(cnode)
2065 html += '</ul>'
2066 return html
2725 self.html = ''
2736 self.html += '<div class="version"><a href="https://01.org/pm-graph">%s v%s</a></div>' \
2739 self.html += '<button id="showtest" class="logbtn btnfmt">log</button>'
2741 self.html += '<button id="showdmesg" class="logbtn btnfmt">dmesg</button>'
2743 self.html += '<button id="showftrace" class="logbtn btnfmt">ftrace</button>'
2745 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2750 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2909 self.html += html_devlist2
2910 self.html += html_devlist1.format('1')
2912 self.html += html_devlist1.format('')
2913 self.html += html_zoombox
2914 self.html += html_timeline.format('dmesg', self.height)
2953 self.html += output+'</div>\n'
4288 html = summaryCSS('Summary - SleepGraph')
4359 html += '<div class="stamp">%s (%d tests: %s)</div>\n' % (title, len(testruns), ', '.join(desc))
4372 html += '<table>\n<tr>\n' + th.format('#') +\
4379 html += th.format('PkgPC10') + th.format('SysLPI')
4381 html += th.format('Wifi')
4382 html += th.format('Detail')+'</tr>\n'
4404 html += head.format('%d' % count, mode.upper(),
4411 html += headnone.format('%d' % count, mode.upper())
4417 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4429 html += td.format("%d" % (list[mode]['data'].index(d) + 1)) # row
4430 html += td.format(mode) # mode
4431 html += td.format(d[0]) # host
4432 html += td.format(d[1]) # kernel
4433 html += td.format(d[2]) # time
4434 html += td.format(d[6]) # result
4435 html += td.format(d[7]) # issues
4436 html += tdh.format('%.3f ms' % d[3], tHigh[0]) if d[3] else td.format('') # suspend
4437 html += tdh.format('%.3f ms' % d[4], tHigh[1]) if d[4] else td.format('') # resume
4438 html += td.format(d[8]) # sus_worst
4439 html += td.format('%.3f ms' % d[9]) if d[9] else td.format('') # sus_worst time
4440 html += td.format(d[10]) # res_worst
4441 html += td.format('%.3f ms' % d[11]) if d[11] else td.format('') # res_worst time
4443 html += td.format(d[12]) # pkg_pc10
4444 html += td.format(d[13]) # syslpi
4446 html += td.format(d[14]) # wifi
4447 html += tdlink.format(d[5]) if d[5] else td.format('') # url
4448 html += '</tr>\n'
4453 hf.write(html+'</table>\n</body>\n</html>\n')
4457 html = summaryCSS('Device Summary - SleepGraph', False)
4491 html += '<div class="stamp">%s (%s devices > %d ms)</div><table>\n' % \
4493 html += '<tr>\n' + '<th align=right>Device Name</th>' +\
4505 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4506 html += tdr.format(data['name']) # name
4507 html += td.format('%.3f ms' % data['average']) # average
4508 html += td.format(data['count']) # count
4509 html += td.format('%.3f ms' % data['worst']) # worst
4510 html += td.format(data['host']) # host
4511 html += tdlink.format(data['url']) # url
4512 html += '</tr>\n'
4514 html += '</table>\n'
4518 hf.write(html+'</body>\n</html>\n')
4524 html = summaryCSS('Issues Summary - SleepGraph', False)
4532 html += '<div class="stamp">%s (%s)</div><table>\n' % (title, subtitle)
4533 html += '<tr>\n' + th.format('Issue') + th.format('Count')
4535 html += th.format('Hosts')
4536 html += th.format('Tests') + th.format('Fail Rate') +\
4549 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4550 html += td.format('left', e['line']) # issue
4551 html += td.format('center', e['count']) # count
4553 html += td.format('center', len(e['urls'])) # hosts
4554 html += td.format('center', testtotal) # test count
4555 html += td.format('center', rate) # test rate
4556 html += td.format('center nowrap', '<br>'.join(links)) # links
4557 html += '</tr>\n'
4562 hf.write(html+'</table>\n'+extra+'</body>\n</html>\n')
4645 devtl.html += thtml
4675 devtl.html += thtml
4694 devtl.html += thtml
4696 devtl.html += html_fail.format(testfail)
4773 devtl.html += devtl.html_tblock.format(bname, left, width, devtl.scaleH)
4780 devtl.html += devtl.html_phase.format(left, width, \
4788 devtl.html += html_error.format(right, id, type)
4824 devtl.html += devtl.html_device.format(dev['id'], \
4835 devtl.html += \
4850 devtl.html += \
4855 devtl.html += '</div>\n'
4858 devtl.html += '</div>\n</div>\n'
4863 devtl.html += '<div class="legend">\n'
4872 devtl.html += devtl.html_legend.format(order, p['color'], name, id)
4873 devtl.html += '</div>\n'
4879 hf.write(devtl.html)
6227 def find_in_html(html, start, end, firstonly=True): argument
6228 cnt, out, list = len(html), [], []
6230 m = re.search(start, html)
6234 list = re.finditer(start, html)
6238 m = re.search(end, html[s:e])
6242 str = html[s:e]
6254 html = open(file, 'r').read()
6257 suspend = find_in_html(html, 'Kernel Suspend', 'ms')
6258 resume = find_in_html(html, 'Kernel Resume', 'ms')
6259 sysinfo = find_in_html(html, '<div class="stamp sysinfo">', '</div>')
6260 line = find_in_html(html, '<div class="stamp">', '</div>')
6270 error = find_in_html(html, '<table class="testfail"><tr><td>', '</td>')
6282 log = find_in_html(html, '<div id="dmesglog" style="display:none;">',
6307 low = find_in_html(html, 'freeze time: <b>', ' ms</b>')
6333 for line in html.split('\n'):
6384 data['funclist'] = find_in_html(html, '<div title="', '" class="traceevent"', False)