/external/ltp/testcases/kernel/fs/fs_bind/bin/ |
setupnslock | 3 lockfile="/.nslock" 9 rm -f $lockfile 10 echo $$ >| ${lockfile}parent 13 otherpid="$(cat ${lockfile}child 2> /dev/null)" 23 rm -f $lockfile 24 echo $$ >| ${lockfile}child 27 otherpid="$(cat ${lockfile}parent 2> /dev/null)" 43 str=`cat $lockfile 2> /dev/null` 62 echo "$otherpid $ret" >| $lockfile
|
lockfile | 22 lockfile="/.nslock" 28 rm -f $lockfile 29 echo $$ >| ${lockfile}parent 32 otherpid="$(cat ${lockfile}child 2> /dev/null)" 42 rm -f $lockfile 43 echo $$ >| ${lockfile}child 46 otherpid="$(cat ${lockfile}parent 2> /dev/null)" 62 str=`cat $lockfile 2> /dev/null` 82 echo "$otherpid $ret" >| $lockfile
|
setup | 40 lockfile="/.nslock" 44 rm -f $lockfile 45 echo $$ >| ${lockfile}parent 48 otherpid="$(cat ${lockfile}child 2> /dev/null)" 59 rm -f $lockfile 60 echo $$ >| ${lockfile}child 63 otherpid="$(cat ${lockfile}parent 2> /dev/null)" 75 pid=`cat $lockfile 2> /dev/null` 88 echo $otherpid > $lockfile
|
Makefile | 29 INSTALL_TARGETS := check_prop lockfile makedir setup setupnslock
|
/external/selinux/sandbox/ |
sandbox.init | 24 LOCKFILE=/var/lock/subsys/sandbox 31 [ -f "$LOCKFILE" ] && return 0 33 touch $LOCKFILE 41 [ -f "$LOCKFILE" ] || return 1 45 if [ -f "$LOCKFILE" ]; then
|
/external/autotest/server/site_tests/power_DeferForFlashrom/ |
control | 12 This test verifies that flashrom creates a lockfile while performing 14 reboot requests while the lockfile exists.
|
/external/ltp/testcases/kernel/fs/fs_bind/ |
TODO | 4 Factor out common bits of setup, setupnslock, and lockfile
|
/external/selinux/mcstrans/src/ |
mcstrans.init | 23 lockfile=/var/lock/subsys/$prog 58 touch $lockfile 68 rm -f $lockfile 78 [ -e $lockfile ] && restart
|
/build/soong/ui/build/ |
proc_sync_test.go | 111 lockfile := lockOrFail(t) 112 defer removeTestLock(lockfile) 133 lockfile := lockOrFail(t) 134 defer removeTestLock(lockfile) 135 lockdir := filepath.Dir(lockfile.File.Name()) 144 err = lockfile.tryLock() 149 reacquired, message, err := forkAndGetLock(filepath.Dir(lockfile.File.Name())) 157 err = lockfile.Unlock() 162 reacquired, message, err = forkAndGetLock(filepath.Dir(lockfile.File.Name())) 192 lockfile, err := newLock(lockpath [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
cvslock.py | 116 self.lockfile = None
149 if self.lockfile:
150 print "unlink", self.lockfile
152 os.unlink(self.lockfile)
155 self.lockfile = None
194 self.lockfile = self.cvsrfl
195 fp = open(self.lockfile, 'w')
215 self.lockfile = self.cvswfl
216 fp = open(self.lockfile, 'w')
|
/external/python/cpython2/Demo/pdist/ |
cvslock.py | 116 self.lockfile = None 149 if self.lockfile: 150 print "unlink", self.lockfile 152 os.unlink(self.lockfile) 155 self.lockfile = None 194 self.lockfile = self.cvsrfl 195 fp = open(self.lockfile, 'w') 215 self.lockfile = self.cvswfl 216 fp = open(self.lockfile, 'w')
|
/external/tensorflow/tensorflow/core/kernels/data/ |
cache_dataset_ops.cc | 111 lockfile_(strings::StrCat(params.dataset->filename_, ".lockfile")), 167 // Attempt to read the contents of the lockfile. 176 "cache lockfile already exists ('", 179 "this cache prefix, delete the lockfile and re-initialize the " 180 "iterator. Lockfile contents: ", 184 std::unique_ptr<WritableFile> lockfile; local 186 dataset()->env_->NewWritableFile(lockfile_, &lockfile)); 187 TF_RETURN_IF_ERROR(lockfile->Append(
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
LockableFileWriter.java | 60 private final File lockFile; 177 lockFile = new File(lockDirFile, file.getName() + LCK); 212 if (!lockFile.createNewFile()) { 214 lockFile.getAbsolutePath() + " exists"); 216 lockFile.deleteOnExit(); 244 lockFile.delete(); 252 lockFile.delete(); 271 lockFile.delete();
|
/external/python/cpython2/Lib/ensurepip/_bundled/ |
pip-9.0.1-py2.py3-none-any.whl | |
/external/python/cpython3/Lib/ensurepip/_bundled/ |
pip-9.0.1-py2.py3-none-any.whl | |
/libcore/ojluni/src/main/java/java/util/prefs/ |
FileSystemPreferences.java | 473 public FileSystemPreferences(String path, File lockFile, boolean isUserNode) { 488 userLockFile = lockFile; 489 userRootModFile = new File(lockFile.getParentFile(), lockFile.getName() + ".rootmod"); 491 systemLockFile = lockFile; 492 systemRootModFile = new File(lockFile.getParentFile(), lockFile.getName() + ".rootmod"); 669 if (!lockFile(false)) 728 if (!lockFile(shared)) 883 private boolean lockFile(boolean shared) throws SecurityException [all...] |
/external/autotest/server/cros/ |
tradefed_utils.py | 15 from autotest_lib.server.cros import lockfile 24 filelock = lockfile.FileLock(filename) 27 # our needs. See /usr/lib64/python2.7/site-packages/lockfile/ 36 except (lockfile.AlreadyLocked, lockfile.LockTimeout):
|
lockfile.py | 3 lockfile.py - Platform-independent advisory file locks. 5 Forked from python2.7/dist-packages/lockfile version 0.8.
|
/external/curl/tests/server/ |
util.c | 279 FILE *lockfile; local 284 lockfile = fopen(filename, "wb"); 285 } while((lockfile == NULL) && ((error = errno) == EINTR)); 286 if(lockfile == NULL) { 293 res = fclose(lockfile);
|
/prebuilts/tools/common/m2/repository/org/eclipse/aether/aether-connector-basic/1.0.2.v20150114/ |
aether-connector-basic-1.0.2.v20150114.jar | |
/build/soong/ui/logger/ |
logger.go | 99 lockFile, err := os.OpenFile(lockFileName, os.O_RDWR|os.O_CREATE, 0666) 103 defer lockFile.Close() 105 err = syscall.Flock(int(lockFile.Fd()), syscall.LOCK_EX)
|
/frameworks/multidex/library/src/androidx/multidex/ |
MultiDexExtractor.java | 99 File lockFile = new File(dexDir, LOCK_FILENAME); 100 lockRaf = new RandomAccessFile(lockFile, "rw"); 104 Log.i(TAG, "Blocking on lock " + lockFile.getPath()); 110 Log.i(TAG, lockFile.getPath() + " locked");
|
/libcore/ojluni/src/main/native/ |
FileSystemPreferences.c | 118 * Try to unlock a lock file, using a cookie returned by lockFile.
|
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
monsoon.py | 65 lockfile = open(tmpname, "w") 66 try: # use a lockfile to ensure exclusive access 67 fcntl.lockf(lockfile, fcntl.LOCK_EX | fcntl.LOCK_NB) 72 return lockfile 200 lockfile = Power_Monitor.lock( dev ) 215 lockfile.close()#will be re-locked once monsoon instance created
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
FileDownloadCache.java | 171 protected void lockFile(String remoteFilePath) { 248 lockFile(remotePath); 439 lockFile(remoteFilePath);
|