Lines Matching refs:html

1748 		html = ''
1760 html += '<li><b>'+node.name+drv+'</b>'
1762 html += '<ul>'+info+'</ul>'
1763 html += '</li>'
1765 html += '<ul>'
1767 html += self.printTopology(cnode)
1768 html += '</ul>'
1769 return html
2436 self.html = ''
2447 self.html += '<div class="version"><a href="https://01.org/suspendresume">%s v%s</a></div>' \
2450 self.html += '<button id="showtest" class="logbtn btnfmt">log</button>'
2452 self.html += '<button id="showdmesg" class="logbtn btnfmt">dmesg</button>'
2454 self.html += '<button id="showftrace" class="logbtn btnfmt">ftrace</button>'
2456 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2461 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2620 self.html += html_devlist2
2621 self.html += html_devlist1.format('1')
2623 self.html += html_devlist1.format('')
2624 self.html += html_zoombox
2625 self.html += html_timeline.format('dmesg', self.height)
2664 self.html += output+'</div>\n'
3929 html = summaryCSS('Summary - SleepGraph')
4000 html += '<div class="stamp">%s (%d tests: %s)</div>\n' % (title, len(testruns), ', '.join(desc))
4008 html += '<table>\n<tr>\n' + th.format('#') +\
4015 html += th.format('PkgPC10') + th.format('SysLPI')
4016 html += th.format('Detail')+'</tr>\n'
4038 html += head.format('%d' % count, mode.upper(),
4045 html += headnone.format('%d' % count, mode.upper())
4051 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4063 html += td.format("%d" % (list[mode]['data'].index(d) + 1)) # row
4064 html += td.format(mode) # mode
4065 html += td.format(d[0]) # host
4066 html += td.format(d[1]) # kernel
4067 html += td.format(d[2]) # time
4068 html += td.format(d[6]) # result
4069 html += td.format(d[7]) # issues
4070 html += tdh.format('%.3f ms' % d[3], tHigh[0]) if d[3] else td.format('') # suspend
4071 html += tdh.format('%.3f ms' % d[4], tHigh[1]) if d[4] else td.format('') # resume
4072 html += td.format(d[8]) # sus_worst
4073 html += td.format('%.3f ms' % d[9]) if d[9] else td.format('') # sus_worst time
4074 html += td.format(d[10]) # res_worst
4075 html += td.format('%.3f ms' % d[11]) if d[11] else td.format('') # res_worst time
4077 html += td.format(d[12]) # pkg_pc10
4078 html += td.format(d[13]) # syslpi
4079 html += tdlink.format(d[5]) if d[5] else td.format('') # url
4080 html += '</tr>\n'
4085 hf.write(html+'</table>\n</body>\n</html>\n')
4089 html = summaryCSS('Device Summary - SleepGraph', False)
4123 html += '<div class="stamp">%s (%s devices > %d ms)</div><table>\n' % \
4125 html += '<tr>\n' + '<th align=right>Device Name</th>' +\
4137 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4138 html += tdr.format(data['name']) # name
4139 html += td.format('%.3f ms' % data['average']) # average
4140 html += td.format(data['count']) # count
4141 html += td.format('%.3f ms' % data['worst']) # worst
4142 html += td.format(data['host']) # host
4143 html += tdlink.format(data['url']) # url
4144 html += '</tr>\n'
4146 html += '</table>\n'
4150 hf.write(html+'</body>\n</html>\n')
4156 html = summaryCSS('Issues Summary - SleepGraph', False)
4164 html += '<div class="stamp">%s (%s)</div><table>\n' % (title, subtitle)
4165 html += '<tr>\n' + th.format('Issue') + th.format('Count')
4167 html += th.format('Hosts')
4168 html += th.format('Tests') + th.format('Fail Rate') +\
4181 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4182 html += td.format('left', e['line']) # issue
4183 html += td.format('center', e['count']) # count
4185 html += td.format('center', len(e['urls'])) # hosts
4186 html += td.format('center', testtotal) # test count
4187 html += td.format('center', rate) # test rate
4188 html += td.format('center nowrap', '<br>'.join(links)) # links
4189 html += '</tr>\n'
4194 hf.write(html+'</table>\n'+extra+'</body>\n</html>\n')
4281 devtl.html += thtml
4298 devtl.html += thtml
4301 devtl.html += html_timegroups.format('%.3f'%sktime, \
4317 devtl.html += thtml
4320 devtl.html += html_fail.format(testfail)
4397 devtl.html += devtl.html_tblock.format(bname, left, width, devtl.scaleH)
4404 devtl.html += devtl.html_phase.format(left, width, \
4412 devtl.html += html_error.format(right, id, type)
4451 devtl.html += devtl.html_device.format(dev['id'], \
4465 devtl.html += \
4478 devtl.html += \
4483 devtl.html += '</div>\n'
4486 devtl.html += '</div>\n</div>\n'
4491 devtl.html += '<div class="legend">\n'
4500 devtl.html += devtl.html_legend.format(order, p['color'], name, id)
4501 devtl.html += '</div>\n'
4507 hf.write(devtl.html)
5906 def find_in_html(html, start, end, firstonly=True): argument
5908 while n < len(html):
5909 m = re.search(start, html[n:])
5913 m = re.search(end, html[n+i:])
5917 str = html[n+i:n+i+j]
5930 html = open(file, 'r').read()
5933 suspend = find_in_html(html, 'Kernel Suspend', 'ms')
5934 resume = find_in_html(html, 'Kernel Resume', 'ms')
5935 sysinfo = find_in_html(html, '<div class="stamp sysinfo">', '</div>')
5936 line = find_in_html(html, '<div class="stamp">', '</div>')
5946 error = find_in_html(html, '<table class="testfail"><tr><td>', '</td>')
5958 log = find_in_html(html, '<div id="dmesglog" style="display:none;">',
5977 low = find_in_html(html, 'freeze time: <b>', ' ms</b>')
5995 for line in html.split('\n'):
6044 data['funclist'] = find_in_html(html, '<div title="', '" class="traceevent"', False)