Lines Matching refs:html

1869 		html = ''
1881 html += '<li><b>'+node.name+drv+'</b>'
1883 html += '<ul>'+info+'</ul>'
1884 html += '</li>'
1886 html += '<ul>'
1888 html += self.printTopology(cnode)
1889 html += '</ul>'
1890 return html
2557 self.html = ''
2568 self.html += '<div class="version"><a href="https://01.org/pm-graph">%s v%s</a></div>' \
2571 self.html += '<button id="showtest" class="logbtn btnfmt">log</button>'
2573 self.html += '<button id="showdmesg" class="logbtn btnfmt">dmesg</button>'
2575 self.html += '<button id="showftrace" class="logbtn btnfmt">ftrace</button>'
2577 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2582 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2741 self.html += html_devlist2
2742 self.html += html_devlist1.format('1')
2744 self.html += html_devlist1.format('')
2745 self.html += html_zoombox
2746 self.html += html_timeline.format('dmesg', self.height)
2785 self.html += output+'</div>\n'
4053 html = summaryCSS('Summary - SleepGraph')
4124 html += '<div class="stamp">%s (%d tests: %s)</div>\n' % (title, len(testruns), ', '.join(desc))
4137 html += '<table>\n<tr>\n' + th.format('#') +\
4144 html += th.format('PkgPC10') + th.format('SysLPI')
4146 html += th.format('Wifi')
4147 html += th.format('Detail')+'</tr>\n'
4169 html += head.format('%d' % count, mode.upper(),
4176 html += headnone.format('%d' % count, mode.upper())
4182 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4194 html += td.format("%d" % (list[mode]['data'].index(d) + 1)) # row
4195 html += td.format(mode) # mode
4196 html += td.format(d[0]) # host
4197 html += td.format(d[1]) # kernel
4198 html += td.format(d[2]) # time
4199 html += td.format(d[6]) # result
4200 html += td.format(d[7]) # issues
4201 html += tdh.format('%.3f ms' % d[3], tHigh[0]) if d[3] else td.format('') # suspend
4202 html += tdh.format('%.3f ms' % d[4], tHigh[1]) if d[4] else td.format('') # resume
4203 html += td.format(d[8]) # sus_worst
4204 html += td.format('%.3f ms' % d[9]) if d[9] else td.format('') # sus_worst time
4205 html += td.format(d[10]) # res_worst
4206 html += td.format('%.3f ms' % d[11]) if d[11] else td.format('') # res_worst time
4208 html += td.format(d[12]) # pkg_pc10
4209 html += td.format(d[13]) # syslpi
4211 html += td.format(d[14]) # wifi
4212 html += tdlink.format(d[5]) if d[5] else td.format('') # url
4213 html += '</tr>\n'
4218 hf.write(html+'</table>\n</body>\n</html>\n')
4222 html = summaryCSS('Device Summary - SleepGraph', False)
4256 html += '<div class="stamp">%s (%s devices > %d ms)</div><table>\n' % \
4258 html += '<tr>\n' + '<th align=right>Device Name</th>' +\
4270 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4271 html += tdr.format(data['name']) # name
4272 html += td.format('%.3f ms' % data['average']) # average
4273 html += td.format(data['count']) # count
4274 html += td.format('%.3f ms' % data['worst']) # worst
4275 html += td.format(data['host']) # host
4276 html += tdlink.format(data['url']) # url
4277 html += '</tr>\n'
4279 html += '</table>\n'
4283 hf.write(html+'</body>\n</html>\n')
4289 html = summaryCSS('Issues Summary - SleepGraph', False)
4297 html += '<div class="stamp">%s (%s)</div><table>\n' % (title, subtitle)
4298 html += '<tr>\n' + th.format('Issue') + th.format('Count')
4300 html += th.format('Hosts')
4301 html += th.format('Tests') + th.format('Fail Rate') +\
4314 html += '<tr class="'+(' '.join(rcls))+'">\n' if len(rcls) > 0 else '<tr>\n'
4315 html += td.format('left', e['line']) # issue
4316 html += td.format('center', e['count']) # count
4318 html += td.format('center', len(e['urls'])) # hosts
4319 html += td.format('center', testtotal) # test count
4320 html += td.format('center', rate) # test rate
4321 html += td.format('center nowrap', '<br>'.join(links)) # links
4322 html += '</tr>\n'
4327 hf.write(html+'</table>\n'+extra+'</body>\n</html>\n')
4410 devtl.html += thtml
4440 devtl.html += thtml
4459 devtl.html += thtml
4461 devtl.html += html_fail.format(testfail)
4538 devtl.html += devtl.html_tblock.format(bname, left, width, devtl.scaleH)
4545 devtl.html += devtl.html_phase.format(left, width, \
4553 devtl.html += html_error.format(right, id, type)
4589 devtl.html += devtl.html_device.format(dev['id'], \
4603 devtl.html += \
4618 devtl.html += \
4623 devtl.html += '</div>\n'
4626 devtl.html += '</div>\n</div>\n'
4631 devtl.html += '<div class="legend">\n'
4640 devtl.html += devtl.html_legend.format(order, p['color'], name, id)
4641 devtl.html += '</div>\n'
4647 hf.write(devtl.html)
6023 def find_in_html(html, start, end, firstonly=True): argument
6024 cnt, out, list = len(html), [], []
6026 m = re.search(start, html)
6030 list = re.finditer(start, html)
6034 m = re.search(end, html[s:e])
6038 str = html[s:e]
6050 html = open(file, 'r').read()
6053 suspend = find_in_html(html, 'Kernel Suspend', 'ms')
6054 resume = find_in_html(html, 'Kernel Resume', 'ms')
6055 sysinfo = find_in_html(html, '<div class="stamp sysinfo">', '</div>')
6056 line = find_in_html(html, '<div class="stamp">', '</div>')
6066 error = find_in_html(html, '<table class="testfail"><tr><td>', '</td>')
6078 log = find_in_html(html, '<div id="dmesglog" style="display:none;">',
6097 wifi = find_in_html(html, 'Wifi Resume: ', '</td>')
6100 low = find_in_html(html, 'freeze time: <b>', ' ms</b>')
6118 for line in html.split('\n'):
6167 data['funclist'] = find_in_html(html, '<div title="', '" class="traceevent"', False)