/dports/lang/rust/rustc-1.58.1-src/src/ci/docker/scripts/ |
H A D | android-sdk-manager.py | 128 lockfile = Lockfile(args.lockfile) 131 lockfile.add(packages, package) 132 lockfile.save() 135 lockfile = Lockfile(args.lockfile) 136 for package in lockfile.packages.values(): 145 lockfile = Lockfile(args.lockfile) 146 for package in lockfile.packages.values():
|
/dports/graphics/bmeps/dktools-4.31.1/doc/html/ |
H A D | rshdn | 63 lockfile=/var/lock/subsys/rshdown 83 [ $RETVAL = 0 ] && touch $lockfile 96 [ $RETVAL = 0 ] && rm -f $lockfile 116 [ -f $lockfile ] && restart || : 130 status -l $(basename $lockfile) $DAEMON
|
/dports/graphics/bmeps/dktools-4.31.1/doc/src/ |
H A D | rshdn | 63 lockfile=/var/lock/subsys/rshdown 83 [ $RETVAL = 0 ] && touch $lockfile 96 [ $RETVAL = 0 ] && rm -f $lockfile 116 [ -f $lockfile ] && restart || : 130 status -l $(basename $lockfile) $DAEMON
|
/dports/archivers/dpkg/dpkg-1.19.7/scripts/ |
H A D | dpkg-distaddfile.pl | 83 my $lockfile = 'debian/control'; 84 sysopen($lockfh, $lockfile, O_WRONLY) 85 or syserr(g_('cannot write %s'), $lockfile); 86 file_lock($lockfh, $lockfile); 97 close($lockfh) or syserr(g_('cannot close %s'), $lockfile);
|
/dports/math/SCIP/scip-7.0.3/examples/TSP/src/ |
H A D | EventhdlrNewSol.cpp | 68 ofstream lockfile("temp.tour.lock"); in SCIP_DECL_EVENTINIT() local 69 lockfile << "lock" << endl; in SCIP_DECL_EVENTINIT() 70 lockfile.close(); in SCIP_DECL_EVENTINIT() 157 ofstream lockfile("temp.tour.lock"); in SCIP_DECL_EVENTEXEC() local 158 lockfile << "lock" << endl; in SCIP_DECL_EVENTEXEC() 159 lockfile.close(); in SCIP_DECL_EVENTEXEC()
|
/dports/sysutils/lockfile-progs/lockfile-progs-0.1.19/debian/ |
H A D | control | 1 Source: lockfile-progs 8 Package: lockfile-progs 16 lockfile-create 17 lockfile-remove 18 lockfile-touchlock
|
/dports/science/qbox/qbox-public-rel1_73_3/util/qbdriver/ |
H A D | testlock.cpp | 13 FILE *lockfile = fopen("lock.dat","w"); in main() local 14 fprintf(lockfile,"1"); in main() 15 fclose(lockfile); in main() 16 fsync(fileno(lockfile)); in main()
|
/dports/lang/ruby26/ruby-2.6.9/gems/rake-12.3.3/bin/ |
H A D | bundle | 47 def lockfile 48 lockfile = 53 File.expand_path(lockfile) 57 return unless File.file?(lockfile) 58 lockfile_contents = File.read(lockfile)
|
/dports/mail/libmilter/sendmail-8.16.1/contrib/ |
H A D | movemail.pl | 50 use vars qw(@queues $subqbase @ages $remqueue $lockfile); 65 if ($lockfile) { 66 open LOCK, ">>$lockfile" 103 if ($lockfile) { 104 unlink $lockfile;
|
/dports/lang/mono/mono-5.10.1.57/mcs/tools/mono-service/ |
H A D | mono-service.cs | 57 string lockfile = null; in Main() 68 case 'l': lockfile = arg; break; in Main() 101 if (lockfile == null) in Main() 102 lockfile = String.Format ("/tmp/{0}.lock", Path.GetFileName (assembly)); in Main() 104 int lfp = Syscall.open (lockfile, OpenFlags.O_RDWR|OpenFlags.O_CREAT|OpenFlags.O_EXCL, in Main() 109 if (File.Exists (lockfile)) in Main() 110 error (logname, String.Format ("Lock file already exists: {0}", lockfile)); in Main() 112 error (logname, String.Format ("Cannot open/create lock file exclusively: {0}", lockfile)); in Main() 152 if (File.Exists(lockfile)) in Main() 153 File.Delete (lockfile); in Main()
|
/dports/games/retroarch/RetroArch-1.9.7/gfx/include/userland/interface/vmcs_host/linux/vcfiled/ |
H A D | vcfiled.c | 158 char lockfile[128]; in main() local 178 vcos_safe_sprintf( lockfile, sizeof(lockfile), 0, "%s/%s", lock_prefix, VCFILED_LOCKFILE ); in main() 182 vcos_safe_sprintf( lockfile, sizeof(lockfile), 0, "%s", VCFILED_LOCKFILE ); in main() 184 success = vcfiled_lock(lockfile, logmsg); in main()
|
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/redhat/ |
H A D | pgpool.init | 61 lockfile="/var/lock/subsys/${NAME}" 110 touch "$lockfile" 123 if [ -e "$lockfile" ] 131 rm -f "$lockfile" 170 [ -e "$lockfile" ] && restart 174 [ -e "$lockfile" ] && stop
|
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/redhat/ |
H A D | pgpool.init | 61 lockfile="/var/lock/subsys/${NAME}" 110 touch "$lockfile" 123 if [ -e "$lockfile" ] 131 rm -f "$lockfile" 170 [ -e "$lockfile" ] && restart 174 [ -e "$lockfile" ] && stop
|
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/redhat/ |
H A D | pgpool.init | 61 lockfile="/var/lock/subsys/${NAME}" 110 touch "$lockfile" 123 if [ -e "$lockfile" ] 131 rm -f "$lockfile" 170 [ -e "$lockfile" ] && restart 174 [ -e "$lockfile" ] && stop
|
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/redhat/ |
H A D | pgpool.init | 61 lockfile="/var/lock/subsys/${NAME}" 110 touch "$lockfile" 123 if [ -e "$lockfile" ] 131 rm -f "$lockfile" 170 [ -e "$lockfile" ] && restart 174 [ -e "$lockfile" ] && stop
|
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/redhat/ |
H A D | pgpool.init | 61 lockfile="/var/lock/subsys/${NAME}" 110 touch "$lockfile" 123 if [ -e "$lockfile" ] 131 rm -f "$lockfile" 170 [ -e "$lockfile" ] && restart 174 [ -e "$lockfile" ] && stop
|
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/redhat/ |
H A D | pgpool.init | 61 lockfile="/var/lock/subsys/${NAME}" 110 touch "$lockfile" 123 if [ -e "$lockfile" ] 131 rm -f "$lockfile" 170 [ -e "$lockfile" ] && restart 174 [ -e "$lockfile" ] && stop
|
/dports/mail/neomutt/neomutt-20211029/store/ |
H A D | bdb.c | 53 struct Buffer lockfile; member 102 ctx->lockfile = mutt_buffer_make(128); in store_bdb_open() 103 mutt_buffer_printf(&ctx->lockfile, "%s-lock-hack", path); in store_bdb_open() 105 ctx->fd = open(mutt_buffer_string(&ctx->lockfile), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in store_bdb_open() 148 unlink(mutt_buffer_string(&ctx->lockfile)); in store_bdb_open() 149 mutt_buffer_dealloc(&ctx->lockfile); in store_bdb_open() 239 unlink(mutt_buffer_string(&db->lockfile)); in store_bdb_close() 240 mutt_buffer_dealloc(&db->lockfile); in store_bdb_close()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-lock/src/bin/cargo-lock/ |
H A D | main.rs | 109 let mut lockfile = load_lockfile(&self.file); in run() localVariable 111 lockfile.version = self.version.unwrap_or_default(); in run() 112 let lockfile_toml = lockfile.to_string(); in run() 140 let lockfile = load_lockfile(&self.file); in run() localVariable 142 let tree = lockfile.dependency_tree().unwrap_or_else(|e| { in run() 150 self.inverse_dependency_tree(&lockfile, &tree); in run() 167 fn inverse_dependency_tree(&self, lockfile: &Lockfile, tree: &Tree) { in inverse_dependency_tree() 173 let package = lockfile in inverse_dependency_tree()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/cargo-lock-6.0.1/src/bin/cargo-lock/ |
H A D | main.rs | 109 let mut lockfile = load_lockfile(&self.file); in run() localVariable 111 lockfile.version = self.version.unwrap_or_default(); in run() 112 let lockfile_toml = lockfile.to_string(); in run() 140 let lockfile = load_lockfile(&self.file); in run() localVariable 142 let tree = lockfile.dependency_tree().unwrap_or_else(|e| { in run() 150 self.inverse_dependency_tree(&lockfile, &tree); in run() 167 fn inverse_dependency_tree(&self, lockfile: &Lockfile, tree: &Tree) { in inverse_dependency_tree() 173 let package = lockfile in inverse_dependency_tree()
|
/dports/devel/hs-git-annex/git-annex-8.20210903/Annex/Content/ |
H A D | Presence.hs | 85 checklock (Just lockfile) contentfile = 87 ( checkOr is_unlocked lockfile 90 checkOr d lockfile = checkLocked lockfile >>= return . \case 105 checklock (Just lockfile) contentfile = 107 ( modifyContent lockfile $ liftIO $ 108 lockShared lockfile >>= \case 112 void $ tryIO $ removeWhenExistsWith R.removeLink lockfile
|
/dports/sysutils/monitorix/monitorix-3.10.1/docs/ |
H A D | monitorix-deb.init | 39 if [ -x /usr/bin/lockfile-create ]; then 40 lockfile-create $LOCKFILE 41 lockfile-touch $LOCKFILE & 47 if [ -x /usr/bin/lockfile-create ] ; then 49 lockfile-remove $LOCKFILE
|
/dports/www/moodle310/moodle/lib/testing/classes/ |
H A D | test_lock.php | 58 $lockfile = "{$datarootpath}/lock{$lockfilesuffix}"; 63 if (!file_exists($lockfile)) { 64 …file_put_contents($lockfile, 'This file prevents concurrent execution of Moodle ' . $framework . '… 65 testing_fix_file_permissions($lockfile); 69 if (self::$lockhandles[$lockhandlename] = fopen($lockfile, 'r')) {
|
/dports/www/moodle311/moodle/lib/testing/classes/ |
H A D | test_lock.php | 58 $lockfile = "{$datarootpath}/lock{$lockfilesuffix}"; 63 if (!file_exists($lockfile)) { 64 …file_put_contents($lockfile, 'This file prevents concurrent execution of Moodle ' . $framework . '… 65 testing_fix_file_permissions($lockfile); 69 if (self::$lockhandles[$lockhandlename] = fopen($lockfile, 'r')) {
|
/dports/www/moodle39/moodle/lib/testing/classes/ |
H A D | test_lock.php | 58 $lockfile = "{$datarootpath}/lock{$lockfilesuffix}"; 63 if (!file_exists($lockfile)) { 64 …file_put_contents($lockfile, 'This file prevents concurrent execution of Moodle ' . $framework . '… 65 testing_fix_file_permissions($lockfile); 69 if (self::$lockhandles[$lockhandlename] = fopen($lockfile, 'r')) {
|