Lines Matching refs:html

1951 		html = ''
1963 html += '<li><b>'+node.name+drv+'</b>'
1965 html += '<ul>'+info+'</ul>'
1966 html += '</li>'
1968 html += '<ul>'
1970 html += self.printTopology(cnode)
1971 html += '</ul>'
1972 return html
2639 self.html = ''
2650 self.html += '<div class="version"><a href="https://01.org/pm-graph">%s v%s</a></div>' \
2653 self.html += '<button id="showtest" class="logbtn btnfmt">log</button>'
2655 self.html += '<button id="showdmesg" class="logbtn btnfmt">dmesg</button>'
2657 self.html += '<button id="showftrace" class="logbtn btnfmt">ftrace</button>'
2659 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2664 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2823 self.html += html_devlist2
2824 self.html += html_devlist1.format('1')
2826 self.html += html_devlist1.format('')
2827 self.html += html_zoombox
2828 self.html += html_timeline.format('dmesg', self.height)
2867 self.html += output+'</div>\n'
4136 html = summaryCSS('Summary - SleepGraph')
4207 html += '<div class="stamp">%s (%d tests: %s)</div>\n' % (title, len(testruns), ', '.join(desc))
4220 html += '<table>\n<tr>\n' + th.format('#') +\
4227 html += th.format('PkgPC10') + th.format('SysLPI')
4229 html += th.format('Wifi')
4230 html += th.format('Detail')+'</tr>\n'
4252 html += head.format('%d' % count, mode.upper(),
4259 html += headnone.format('%d' % count, mode.upper())
4265 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4277 html += td.format("%d" % (list[mode]['data'].index(d) + 1)) # row
4278 html += td.format(mode) # mode
4279 html += td.format(d[0]) # host
4280 html += td.format(d[1]) # kernel
4281 html += td.format(d[2]) # time
4282 html += td.format(d[6]) # result
4283 html += td.format(d[7]) # issues
4284 html += tdh.format('%.3f ms' % d[3], tHigh[0]) if d[3] else td.format('') # suspend
4285 html += tdh.format('%.3f ms' % d[4], tHigh[1]) if d[4] else td.format('') # resume
4286 html += td.format(d[8]) # sus_worst
4287 html += td.format('%.3f ms' % d[9]) if d[9] else td.format('') # sus_worst time
4288 html += td.format(d[10]) # res_worst
4289 html += td.format('%.3f ms' % d[11]) if d[11] else td.format('') # res_worst time
4291 html += td.format(d[12]) # pkg_pc10
4292 html += td.format(d[13]) # syslpi
4294 html += td.format(d[14]) # wifi
4295 html += tdlink.format(d[5]) if d[5] else td.format('') # url
4296 html += '</tr>\n'
4301 hf.write(html+'</table>\n</body>\n</html>\n')
4305 html = summaryCSS('Device Summary - SleepGraph', False)
4339 html += '<div class="stamp">%s (%s devices > %d ms)</div><table>\n' % \
4341 html += '<tr>\n' + '<th align=right>Device Name</th>' +\
4353 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4354 html += tdr.format(data['name']) # name
4355 html += td.format('%.3f ms' % data['average']) # average
4356 html += td.format(data['count']) # count
4357 html += td.format('%.3f ms' % data['worst']) # worst
4358 html += td.format(data['host']) # host
4359 html += tdlink.format(data['url']) # url
4360 html += '</tr>\n'
4362 html += '</table>\n'
4366 hf.write(html+'</body>\n</html>\n')
4372 html = summaryCSS('Issues Summary - SleepGraph', False)
4380 html += '<div class="stamp">%s (%s)</div><table>\n' % (title, subtitle)
4381 html += '<tr>\n' + th.format('Issue') + th.format('Count')
4383 html += th.format('Hosts')
4384 html += th.format('Tests') + th.format('Fail Rate') +\
4397 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4398 html += td.format('left', e['line']) # issue
4399 html += td.format('center', e['count']) # count
4401 html += td.format('center', len(e['urls'])) # hosts
4402 html += td.format('center', testtotal) # test count
4403 html += td.format('center', rate) # test rate
4404 html += td.format('center nowrap', '<br>'.join(links)) # links
4405 html += '</tr>\n'
4410 hf.write(html+'</table>\n'+extra+'</body>\n</html>\n')
4493 devtl.html += thtml
4523 devtl.html += thtml
4542 devtl.html += thtml
4544 devtl.html += html_fail.format(testfail)
4621 devtl.html += devtl.html_tblock.format(bname, left, width, devtl.scaleH)
4628 devtl.html += devtl.html_phase.format(left, width, \
4636 devtl.html += html_error.format(right, id, type)
4672 devtl.html += devtl.html_device.format(dev['id'], \
4686 devtl.html += \
4701 devtl.html += \
4706 devtl.html += '</div>\n'
4709 devtl.html += '</div>\n</div>\n'
4714 devtl.html += '<div class="legend">\n'
4723 devtl.html += devtl.html_legend.format(order, p['color'], name, id)
4724 devtl.html += '</div>\n'
4730 hf.write(devtl.html)
6074 def find_in_html(html, start, end, firstonly=True): argument
6075 cnt, out, list = len(html), [], []
6077 m = re.search(start, html)
6081 list = re.finditer(start, html)
6085 m = re.search(end, html[s:e])
6089 str = html[s:e]
6101 html = open(file, 'r').read()
6104 suspend = find_in_html(html, 'Kernel Suspend', 'ms')
6105 resume = find_in_html(html, 'Kernel Resume', 'ms')
6106 sysinfo = find_in_html(html, '<div class="stamp sysinfo">', '</div>')
6107 line = find_in_html(html, '<div class="stamp">', '</div>')
6117 error = find_in_html(html, '<table class="testfail"><tr><td>', '</td>')
6129 log = find_in_html(html, '<div id="dmesglog" style="display:none;">',
6148 wifi = find_in_html(html, 'Wifi Resume: ', '</td>')
6151 low = find_in_html(html, 'freeze time: <b>', ' ms</b>')
6177 for line in html.split('\n'):
6226 data['funclist'] = find_in_html(html, '<div title="', '" class="traceevent"', False)