Lines Matching refs:stamp
148 stamp = 0
492 # get the latest time stamp from the dmesg log
1325 self.stamp = 0
2565 def createHeader(self, sv, stamp):
2566 if(not stamp['time']):
2576 headline_stamp = '<div class="stamp">{0} {1} {2} {3}</div>\n'
2577 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2578 stamp['mode'], stamp['time'])
2579 if 'man' in stamp and 'plat' in stamp and 'cpu' in stamp and \
2580 stamp['man'] and stamp['plat'] and stamp['cpu']:
2581 headline_sysinfo = '<div class="stamp sysinfo">{0} {1} <i>with</i> {2}</div>\n'
2582 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2815 self.stamp = ''
2836 self.stamp = line
2870 m = re.match(self.stampfmt, self.stamp)
2871 if not self.stamp or not m:
2872 doError('data does not include the expected stamp')
2873 data.stamp = {'time': '', 'host': '', 'mode': ''}
2877 data.stamp['time'] = dt.strftime('%B %d %Y, %I:%M:%S %p')
2878 data.stamp['host'] = m.group('host')
2879 data.stamp['mode'] = m.group('mode')
2880 data.stamp['kernel'] = m.group('kernel')
2888 data.stamp[key] = val
2889 sv.hostname = data.stamp['host']
2890 sv.suspendmode = data.stamp['mode']
2902 data.stamp['mode'] = sv.suspendmode
2906 if not sv.stamp:
2907 sv.stamp = data.stamp
2926 data.stamp['wifi'] = m.group('d')
3641 tp.stamp = datetime.now().strftime('# suspend-%m%d%y-%H%M%S localhost mem unknown')
3665 sysvals.stamp['kernel'] = m.group('k')
3668 sysvals.stamp['mode'] = sysvals.suspendmode = m.group('m')
4032 .stamp {width: 100%;text-align:center;background:#888;line-height:30px;color:white;font: 25px Arial;}\n\
4124 html += '<div class="stamp">%s (%d tests: %s)</div>\n' % (title, len(testruns), ', '.join(desc))
4256 html += '<div class="stamp">%s (%s devices > %d ms)</div><table>\n' % \
4297 html += '<div class="stamp">%s (%s)</div><table>\n' % (title, subtitle)
4394 devtl.createHeader(sysvals, testruns[0].stamp)
4706 kernel = sv.stamp['kernel']
4738 .stamp {width:100%;text-align:center;background:gray;line-height:30px;color:white;font:25px Arial;}\n\
4739 .stamp.sysinfo {font:10px Arial;}\n\
5931 if not sysvals.stamp:
5932 pprint('ERROR: data does not include the expected stamp')
5937 for key in sorted(sysvals.stamp):
5939 sysvals.vprint(' %-8s : %s' % (key.upper(), sysvals.stamp[key]))
5970 stamp = data.stamp
5971 stamp['suspend'], stamp['resume'] = data.getTimeValues()
5973 stamp['fwsuspend'], stamp['fwresume'] = data.fwSuspend, data.fwResume
5975 stamp['error'] = error
5976 return (testruns, stamp)
5995 testruns, stamp = processData()
5997 return stamp
6014 testruns, stamp = processData(True, quiet)
6018 sysvals.outputResult(stamp, n)
6019 if 'error' in stamp:
6055 sysinfo = find_in_html(html, '<div class="stamp sysinfo">', '</div>')
6056 line = find_in_html(html, '<div class="stamp">', '</div>')
6833 stamp = rerunTest(sysvals.outdir)
6834 sysvals.outputResult(stamp)