Lines Matching refs:exists

303 		if os.path.exists('/dev/rtc'):
306 if os.path.exists(rtc) and os.path.exists(rtc+'/date') and \
307 os.path.exists(rtc+'/time') and os.path.exists(rtc+'/wakealarm'):
360 return (os.path.exists(file) and os.path.getsize(file) > 0)
373 if os.path.exists(cmdfull):
688 if not os.path.exists(file):
702 if not os.path.exists(file):
826 if(os.path.exists(tp+f) == False):
834 if(os.path.exists(tp+f) == False):
857 if os.path.exists(dir) and self.sudouser:
884 if os.path.exists(file):
886 elif os.path.exists(dir+'/'+file):
888 elif os.path.exists(dir+'/config/'+file):
914 if not os.path.exists(self.ftracefile):
951 if not dirname or not os.path.exists(dirname):
3178 if(os.path.exists(sysvals.ftracefile) == False):
3261 # if an entry exists, assume this is its end
3383 # if an entry exists, assume this is its end
3636 if(os.path.exists(sysvals.dmesgfile) == False):
5287 if sysvals.memmode and os.path.exists(sysvals.mempowerfile):
5292 if sysvals.diskmode and os.path.exists(sysvals.diskpowerfile):
5411 if os.path.exists(file):
5443 if(os.path.exists(sysvals.powerfile)):
5447 if(os.path.exists(sysvals.mempowerfile)):
5459 if('disk' in modes and os.path.exists(sysvals.diskpowerfile)):
5497 if(not os.path.exists(mempath)):
5510 if not os.path.exists(ep) or not os.access(ep, os.R_OK):
5636 if(not os.path.exists(sysvals.fpdtpath)):
5644 if(not os.path.exists(sysvals.mempath)):
5781 if(os.path.exists(sysvals.powerfile)):
5824 if not os.path.exists(sysvals.epath+e):
5990 if os.path.exists(sysvals.htmlfile):
5992 doError('a directory already exists with this name: %s' % sysvals.htmlfile)
6738 if(os.path.exists(sysvals.dmesgfile) == False):
6747 if(os.path.exists(sysvals.ftracefile) == False):