Lines Matching refs:dir
903 def sudoUserchown(self, dir): argument
904 if os.path.exists(dir) and self.sudouser:
906 call(cmd.format(self.sudouser, dir), shell=True)
932 dir = os.path.dirname(os.path.realpath(__file__))
935 elif os.path.exists(dir+'/'+file):
936 return dir+'/'+file
937 elif os.path.exists(dir+'/config/'+file):
938 return dir+'/config/'+file
1575 dir = 'suspend' if t < self.tSuspended else 'resume'
1581 list.append((msg, err, dir, t, i, i))
1585 for msg, type, dir, t, idx1, idx2 in list:
1587 self.errorinfo[dir].append((type, t, idx1, idx2))
1820 for dir in ['suspend', 'resume']:
1822 for e in self.errorinfo[dir]:
1826 self.errorinfo[dir] = list
2160 dir = 'sus' if t < self.tSuspended else 'res'
2162 if ps not in proclist[dir]:
2163 proclist[dir][ps] = 0
2164 tdata[dir].append(t)
2168 for dir in ['sus', 'res']:
2169 for ps in sorted(proclist[dir]):
2170 self.addProcessUsageEvent(ps, tdata[dir])
4776 for dir in phases:
4778 bname = '%s%d' % (dir[0], data.testnumber)
4779 if dir == 'suspend':
4796 for b in phases[dir]:
4805 for e in data.errorinfo[dir]:
4811 for b in phases[dir]:
4876 devtl.createTimeScale(m0, mMax, tTotal, dir)
6315 for dir in d.errorinfo:
6316 for err in d.errorinfo[dir]: