Home
last modified time | relevance | path

Searched refs:lockfile (Results 1 – 25 of 67) sorted by relevance

123

/third_party/weston/xwayland/
Dlauncher.c150 create_lockfile(int display, char *lockfile, size_t lsize) in create_lockfile() argument
158 snprintf(lockfile, lsize, "/tmp/.X%d-lock", display); in create_lockfile()
159 fd = open(lockfile, O_WRONLY | O_CLOEXEC | O_CREAT | O_EXCL, 0444); in create_lockfile()
161 fd = open(lockfile, O_CLOEXEC | O_RDONLY); in create_lockfile()
164 lockfile, strerror(errno)); in create_lockfile()
177 lockfile); in create_lockfile()
185 weston_log("unlinking stale lock file %s\n", lockfile); in create_lockfile()
187 if (unlink(lockfile)) in create_lockfile()
201 lockfile, strerror(errno)); in create_lockfile()
211 unlink(lockfile); in create_lockfile()
[all …]
/third_party/node/deps/npm/node_modules/lockfile/
DREADME.md1 # lockfile chapter
9 var lockFile = require('lockfile')
44 Close and unlink the lockfile.
48 Close and unlink the lockfile.
52 Check if the lockfile is locked and not stale.
58 Check if the lockfile is locked and not stale.
DCHANGELOG.md97 * Rename to 'lockfile'
/third_party/node/deps/npm/lib/utils/
Dlocker.js4 var lockfile = require('lockfile') variable
32 lockfile.lock(lf, opts, function (er) {
51 lockfile.unlock(lf, function (er) {
/third_party/node/deps/npm/lib/install/
Dread-shrinkwrap.js22 (shrinkwrap, lockfile) => {
23 if (shrinkwrap && lockfile) {
27 const parsed = parsePkgLock(shrinkwrap || lockfile, name)
/third_party/node/deps/npm/lib/
Dversion.js168 (shrinkwrap, lockfile) => {
169 if (!shrinkwrap && !lockfile) {
177 data = parseJSON(shrinkwrap || lockfile)
178 indent = detectIndent(shrinkwrap || lockfile).indent
179 newline = detectNewline(shrinkwrap || lockfile)
190 return cb(null, !!shrinkwrap, !!lockfile)
Dshrinkwrap.js209 (shrinkwrap, lockfile, pkg) => {
212 lockfile ||
231 if (!shrinkwrap && !lockfile) {
Daudit.js161 ]).spread((shrinkwrap, lockfile, pkgJson) => {
162 const sw = shrinkwrap || lockfile
172 } else if (shrinkwrap && lockfile) {
/third_party/node/tools/gyp/pylib/gyp/
Dflock_tool.py36 def ExecFlock(self, lockfile, *cmd_list): argument
43 fd = os.open(lockfile, os.O_WRONLY | os.O_NOCTTY | os.O_CREAT, 0o666)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dflock_tool.py35 def ExecFlock(self, lockfile, *cmd_list): argument
42 fd = os.open(lockfile, os.O_WRONLY|os.O_NOCTTY|os.O_CREAT, 0o666)
/third_party/node/deps/npm/test/tap/
Dinstall-test-cli-with-broken-package-lock.js86 var lockfile = JSON.parse(fs.readFileSync(path.join(pkg, 'package-lock.json')))
88 lockfile,
Dshrinkwrap-resolve-conflict.js92 (lockfile, A, B, C) => {
93 t.deepEqual(lockfile, {
/third_party/node/deps/npm/docs/content/configuring-npm/
Dshrinkwrap-json.md4 description: A publishable lockfile
9 ## A publishable lockfile
/third_party/curl/tests/server/
Dutil.c314 FILE *lockfile; in set_advisor_read_lock() local
319 lockfile = fopen(filename, "wb"); in set_advisor_read_lock()
320 } while(!lockfile && ((error = errno) == EINTR)); in set_advisor_read_lock()
321 if(!lockfile) { in set_advisor_read_lock()
328 res = fclose(lockfile); in set_advisor_read_lock()
/third_party/typescript/
D.yarnrc1 --install.no-lockfile true
/third_party/libuv/docs/
Drequirements.txt21 lockfile==0.12.2
/third_party/typescript_eslint/tests/performance/fixtures/lint-real-repo/
DDockerfile11 RUN yarn install --frozen-lockfile && yarn cache clean
/third_party/gettext/gettext-tools/examples/hello-c++-kde/admin/
Dltmain.sh579 lockfile="$output_obj.lock"
580 removelist="$removelist $output_obj $lockfile"
585 lockfile=
591 until $run ln "$0" "$lockfile" 2>/dev/null; do
592 $show "Waiting for $lockfile to be removed"
596 if test -f "$lockfile"; then
598 *** ERROR, $lockfile exists and contains:
599 `cat $lockfile 2>/dev/null`
611 echo $srcfile > "$lockfile"
668 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
[all …]
/third_party/node/deps/npm/node_modules/lock-verify/
DREADME.md21 may exist). If there's no `package.json` or no lockfile in `moduleDir` or they're
/third_party/alsa-utils/alsactl/
Dlock.c39 char *nfile = lockfile; in state_lock_()
Dalsactl.c54 char *lockfile = SYS_LOCKFILE; variable
310 lockfile = optarg; in main()
Dalsactl.h11 extern char *lockfile;
/third_party/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c231 int lockfile = 0; /* if set, do file locking */ variable
598 lockfile++; in main()
599 if (lockfile > 2) in main()
600 lockfile = 2; /* lockfile can only be 1 or 2 */ in main()
1059 Progname, Pid, Maxerrs, pre_alloc_space, lockfile); in main()
2285 if (Debug > 0 && lockfile) { in growfile()
2674 lockfile, (long)Woffset, Grow_incr, in check_write()
2949 if (lockfile == lklevel) { in lkfile()
/third_party/skia/third_party/externals/microhttpd/
Dltmain.sh2139 lockfile="$output_obj.lock"
2143 lockfile=
2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
2150 func_echo "Waiting for $lockfile to be removed"
2154 if test -f "$lockfile"; then
2156 *** ERROR, $lockfile exists and contains:
2157 `cat $lockfile 2>/dev/null`
2170 $ECHO "$srcfile" > "$lockfile"
2174 func_append removelist " $lockfile"
2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dcache_test.dart57 when(mockFileSystem.file(argThat(endsWith('lockfile')))).thenReturn(mockFile);
66 testUsingContext('throws tool exit when lockfile open fails', () async {
67 when(mockFileSystem.file(argThat(endsWith('lockfile')))).thenReturn(mockFile);

123