Lines Matching refs:re
55 import re
302 m = re.match('(?P<name>.*)_dmesg\.txt.*', self.dmesgfile)
306 m = re.match('(?P<name>.*)_ftrace\.txt.*', self.ftracefile)
340 if re.match('^processor[ \t]*:[ \t]*[0-9]*', line):
345 m = re.match('^MemTotal:[ \t]*(?P<sz>[0-9]*) *kB', line)
348 m = re.match('^MemFree:[ \t]*(?P<sz>[0-9]*) *kB', line)
404 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line)
418 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line)
501 m = re.match('.* '+arg+'=(?P<arg>.*) ', data);
505 m = re.match('.* '+arg+'=(?P<arg>.*)', data);
524 if re.findall('{(?P<n>[a-z,A-Z,0-9]*)}', func):
526 for arg in re.findall('{(?P<n>[a-z,A-Z,0-9]*)}', fmt):
934 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line)
943 if re.match(elist[err], msg):
1038 m = re.match(mstr, title)
1380 if(pid < 0 or re.match('[0-9]*-[0-9]*\.[0-9]*[\.0-9]*\:[\.0-9]*$', pdev)):
1563 if(d == 'traceevent' or re.match('^ *\/\* *(?P<msg>.*) \*\/ *$', m)):
1569 em = re.match('^ *\/\* *(?P<msg>.*) \*\/ *$', m)
1572 emm = re.match('^(?P<call>.*?): (?P<msg>.*)', msg)
1578 km = re.match('^(?P<n>.*)_cal$', self.type)
1584 km = re.match('^(?P<n>.*)_ret$', self.type)
1596 match = re.match('^(?P<d> *)(?P<o>.*)$', m)
1606 match = re.match('^} *\/\* *(?P<n>.*) *\*\/$', m)
1614 match = re.match('^(?P<n>.*) *\(.*', m)
1620 match = re.match('^(?P<n>.*) *\(.*', m)
1654 re.match('suspend_enter\[.*\] begin', self.name)):
1667 re.match('thaw_processes\[.*\] end', self.name)):
2076 re = ritem.time + ritem.length
2078 ((s >= re) and (e >= re)))):
2138 re = ritem.dev['end']
2140 ((s >= re) and (e >= re)))):
2289 m = re.match(self.stampfmt, self.stamp)
2298 if re.match(self.sysinfofmt, self.sysinfo):
2312 m = re.match('.* machine_suspend\[(?P<mode>.*)\]', line)
2318 m = re.match(self.cmdlinefmt, self.cmdline)
2322 m = re.match(self.kparamsfmt, self.kparams)
2351 name = re.sub('[()]', '', data[1])
2454 if re.match(tp.stampfmt, line):
2457 elif re.match(tp.sysinfofmt, line):
2460 elif re.match(tp.cmdlinefmt, line):
2464 m = re.match(sysvals.tracertypefmt, line)
2469 if(re.match(sysvals.devpropfmt, line)):
2473 m = re.match(tp.ftrace_line_fmt, line)
2510 if(re.match('(?P<name>.*) begin$', t.name)):
2512 elif(re.match('(?P<name>.*) end$', t.name)):
2516 m = re.match('(?P<name>.*)\[(?P<val>[0-9]*)\] .*', t.name)
2524 m = re.match('(?P<name>.*) .*', t.name)
2527 if re.match('dpm_prepare\[.*', name):
2529 elif re.match('machine_suspend.*', name):
2531 elif re.match('suspend_enter\[.*', name):
2535 elif re.match('dpm_suspend\[.*', name):
2539 elif re.match('dpm_suspend_late\[.*', name):
2545 elif re.match('dpm_suspend_noirq\[.*', name):
2551 elif re.match('dpm_resume_noirq\[.*', name):
2558 elif re.match('dpm_resume_early\[.*', name):
2564 elif re.match('dpm_resume\[.*', name):
2570 elif re.match('dpm_complete\[.*', name):
2668 if re.match(tp.stampfmt, line):
2671 elif re.match(tp.sysinfofmt, line):
2674 elif re.match(tp.cmdlinefmt, line):
2678 m = re.match(sysvals.firmwarefmt, line)
2683 m = re.match(sysvals.tracertypefmt, line)
2688 if(re.match(sysvals.devpropfmt, line)):
2695 m = re.match(tp.ftrace_line_fmt, line)
2730 m = re.match(sysvals.procexecfmt, t.name)
2767 if(re.match('(?P<name>.*) begin$', t.name)):
2769 elif(re.match('(?P<name>.*) end$', t.name)):
2773 m = re.match('(?P<name>.*)\[(?P<val>[0-9]*)\] .*', t.name)
2781 m = re.match('(?P<name>.*) .*', t.name)
2788 if(re.match('suspend_enter\[.*', t.name)):
2794 elif(re.match('dpm_prepare\[.*', t.name)):
2802 elif(re.match('dpm_suspend\[.*', t.name)):
2807 elif(re.match('dpm_suspend_late\[.*', t.name)):
2812 elif(re.match('dpm_suspend_noirq\[.*', t.name)):
2822 elif(re.match('machine_suspend\[.*', t.name)):
2837 elif(re.match('acpi_suspend\[.*', t.name)):
2839 if(re.match('acpi_suspend\[0\] begin', t.name)):
2846 elif(re.match('dpm_resume_noirq\[.*', t.name)):
2855 elif(re.match('dpm_resume_early\[.*', t.name)):
2860 elif(re.match('dpm_resume\[.*', t.name)):
2865 elif(re.match('dpm_complete\[.*', t.name)):
2891 m = re.match('(?P<drv>.*) (?P<d>.*), parent: *(?P<p>.*), .*',\
2904 m = re.match('(?P<drv>.*) (?P<d>.*), err.*', t.name);
3121 if re.match(tp.stampfmt, line):
3124 elif re.match(tp.sysinfofmt, line):
3127 elif re.match(tp.cmdlinefmt, line):
3130 m = re.match(sysvals.firmwarefmt, line)
3134 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line)
3138 if(re.match('PM: Syncing filesystems.*', msg)):
3149 m = re.match('.* *(?P<k>[0-9]\.[0-9]{2}\.[0-9]-.*) .*', msg)
3152 m = re.match('PM: Preparing system for (?P<m>.*) sleep', msg)
3168 mc = re.match('.*(\[ *)(?P<t>[0-9\.]*)(\]) calling '+\
3170 mr = re.match('.*(\[ *)(?P<t>[0-9\.]*)(\]) call '+\
3252 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line)
3270 re.match('calling (?P<f>.*)\+ @ .*, parent: .*', msg)):
3276 if(re.match(dm['suspend_prepare'], msg)):
3282 elif(re.match(dm['suspend'], msg)):
3287 elif(re.match(dm['suspend_late'], msg)):
3292 elif(re.match(dm['suspend_noirq'], msg)):
3297 elif(re.match(dm['suspend_machine'], msg)):
3302 elif(re.match(dm['resume_machine'], msg)):
3314 elif(re.match(dm['resume_noirq'], msg)):
3319 elif(re.match(dm['resume_early'], msg)):
3324 elif(re.match(dm['resume'], msg)):
3329 elif(re.match(dm['resume_complete'], msg)):
3334 elif(re.match(dm['post_resume'], msg)):
3343 if(re.match('calling (?P<f>.*)\+ @ .*, parent: .*', msg)):
3344 sm = re.match('calling (?P<f>.*)\+ @ '+\
3352 elif(re.match('call (?P<f>.*)\+ returned .* after '+\
3354 sm = re.match('call (?P<f>.*)\+ returned .* after '+\
3368 if(re.match(at[a]['smsg'], msg)):
3372 if(re.match(at[a]['emsg'], msg)):
3376 if(re.match('Disabling non-boot CPUs .*', msg)):
3379 elif(re.match('Enabling non-boot CPUs .*', msg)):
3382 elif(re.match('smpboot: CPU (?P<cpu>[0-9]*) is now offline', msg)):
3384 m = re.match('smpboot: CPU (?P<cpu>[0-9]*) is now offline', msg)
3390 elif(re.match('CPU(?P<cpu>[0-9]*) is up', msg)):
3392 m = re.match('CPU(?P<cpu>[0-9]*) is up', msg)
4690 if(not re.match('.*/power', dirname) or
4769 m = re.match(sysvals.tracertypefmt, line)
4774 m = re.match(tp.ftrace_line_fmt, line)
4777 m = re.match('.*: (?P<drv>.*) (?P<d>.*), parent: *(?P<p>.*), .*', m.group('msg'));
4795 if(re.match('.*/power', dirname) and 'async' in filenames):
5363 m = re.search(start, html[n:])
5367 m = re.search(end, html[n+i:])
5373 num = re.search(r'[-+]?\d*\.\d+|\d+', str)
5396 if(re.match('.*_dmesg.txt', filename)):
5398 elif(re.match('.*_ftrace.txt', filename)):
5410 if(not re.match('.*.html', filename)):
5640 for arg in re.findall('{(?P<n>[a-z,A-Z,0-9]*)}', format):