Home
last modified time | relevance | path

Searched refs:lstat (Results 1 - 25 of 165) sorted by relevance

1234567

/third_party/node/deps/npm/node_modules/bin-links/lib/
H A Dlink-gently.js8 const { lstat, mkdir, readlink, rm, symlink } = require('fs/promises')
40 lstat(absFrom).catch(throwNonEnoent),
41 lstat(to).catch(throwNonEnoent),
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dlstat.c42 int32_t back = lstat(ptr, &statbuff); in lstat_0100()
79 int32_t back = lstat(STR_TEST_TXT, &statbuff); in lstat_0200()
101 int32_t back = lstat(ptrlink, &statbuff); in lstat_0300()
/third_party/musl/src/stat/
H A Dlstat.c4 int lstat(const char *restrict path, struct stat *restrict buf) in lstat() function
10 weak_alias(lstat, lstat64);
/third_party/musl/compat/time32/
H A Dlstat_time32.c12 int r = lstat(path, &st); in __lstat_time32()
17 weak_alias(lstat, lstat64);
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/
H A Dstat_lstat_test.cpp14 * @tc.desc: Verify that the "lstat" function correctly retrieves file-related information such as file size,
27 EXPECT_NE(-1, lstat(path, &fileStat)); in HWTEST_F()
33 * @tc.desc: Verify the functionality of the lstat() function by checking if it correctly returns an error when
41 EXPECT_EQ(-1, lstat(filename, &fileStat)); in HWTEST_F()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dstat.h75 int lstat(const char *__restrict, struct stat *__restrict);
104 #define lstat64 lstat
116 __REDIR(lstat, __lstat_time64);
/third_party/musl/porting/linux/user/include/sys/
H A Dstat.h75 int lstat(const char *__restrict, struct stat *__restrict);
104 #define lstat64 lstat
116 __REDIR(lstat, __lstat_time64);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dstat.h75 int lstat(const char *__restrict, struct stat *__restrict);
104 #define lstat64 lstat
116 __REDIR(lstat, __lstat_time64);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dstat.h75 int lstat(const char *__restrict, struct stat *__restrict);
104 #define lstat64 lstat
115 __REDIR(lstat, __lstat_time64);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dstat.h75 int lstat(const char *__restrict, struct stat *__restrict);
104 #define lstat64 lstat
116 __REDIR(lstat, __lstat_time64);
/third_party/python/Lib/test/
H A Dtest_stat.py91 def get_mode(self, fname=TESTFN, lstat=True):
92 if lstat:
93 st_mode = os.lstat(fname).st_mode
195 st_mode, modestr = self.get_mode(os.devnull, lstat=False)
201 st_mode, modestr = self.get_mode(blockdev, lstat=False)
/third_party/musl/include/sys/
H A Dstat.h82 int lstat(const char *__restrict, struct stat *__restrict);
161 #define lstat64 lstat
173 __REDIR(lstat, __lstat_time64);
/third_party/libfuse/test/
H A Dtest_examples.py561 fstat = os.lstat(fullname)
579 fstat = os.lstat(fullname)
587 fstat = os.lstat(filename)
593 fstat = os.lstat(filename)
599 fstat = os.lstat(filename)
672 fstat1 = os.lstat(name1)
677 fstat1 = os.lstat(name1)
678 fstat2 = os.lstat(name2)
687 # deleting it. In that case, the following lstat() call will
693 os.lstat(name
[all...]
/third_party/node/test/parallel/
H A Dtest-trace-events-fs-async.js150 function lstat() { function
153 fs.lstat('fs15.txt', () => {
285 tests.lstat = wrapper(lstat);
H A Dtest-fs-null-bytes.js64 check(fs.lstat, fs.lstatSync, 'foo\u0000bar');
99 check(fs.lstat, fs.lstatSync, fileUrl);
131 check(fs.lstat, fs.lstatSync, fileUrl2);
H A Dtest-fs-promises.js18 lstat,
297 stats = await lstat(newLink);
309 stats = await lstat(newLink);
332 const stats = await lstat(dir);
/third_party/node/deps/npm/node_modules/@npmcli/installed-package-contents/lib/
H A Dindex.js27 const lstat = promisify(fs.lstat)
146 const st = await lstat(p)
/third_party/python/Lib/
H A Dposixpath.py162 # This will always return false on systems where os.lstat doesn't exist.
167 st = os.lstat(path)
177 os.lstat(path)
189 s1 = os.lstat(path)
205 s2 = os.lstat(parent)
451 st = os.lstat(newpath)
/third_party/node/deps/npm/node_modules/read-package-json-fast/lib/
H A Dindex.js1 const { readFile, lstat, readdir } = require('fs/promises')
40 const st = await lstat(f).catch(() => null)
/third_party/musl/src/misc/
H A Dnftw.c40 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw()
41 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st)) in do_nftw()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dnftw.c31 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw()
32 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st)) in do_nftw()
/third_party/protobuf/src/google/protobuf/testing/
H A Dfile.cc56 #define lstat stat macro
181 // lstat = Don't follow symbolic links. in DeleteRecursively()
183 if (lstat(name.c_str(), &stats) != 0) return; in DeleteRecursively()
/third_party/backends/sanei/
H A Dsanei_ab306.c85 u_int lstat; member
369 /* If this is a READ_SCANNED_DATA command, reset lstat: */ in sanei_ab306_cmd()
373 /* Initialize lstat to the current status, because we need bit 4 in sanei_ab306_cmd()
375 p->lstat = 0x34; in sanei_ab306_cmd()
440 /* lstat should be set by a call to sanei_ab306_init_toggle before ! */ in sanei_ab306_rdata()
451 while (((p->lstat ^ nstat) & 0x10) == 0); in sanei_ab306_rdata()
474 p->lstat = nstat; in sanei_ab306_rdata()
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/
H A Dindex.js44 lstat: promises_1.lstat,
79 // set after a successful lstat()
84 // (can also be set on lstat errors like EACCES or ENAMETOOLONG)
169 * lstat, readlink, and readdir, and caches all information to the greatest
590 * Return the entry if it has been subject of a successful lstat, or
594 * mean that we haven't called lstat on it.
659 * Returns true if the path is known to not exist. That is, a previous lstat
883 * Call lstat() on this Path, and update all known information that can be
886 * Note that unlike `fs.lstat()`, th
[all...]
/third_party/node/deps/npm/node_modules/path-scurry/dist/mjs/
H A Dindex.js9 import { lstat, readdir, readlink, realpath } from 'fs/promises';
18 lstat,
53 // set after a successful lstat()
58 // (can also be set on lstat errors like EACCES or ENAMETOOLONG)
141 * lstat, readlink, and readdir, and caches all information to the greatest
562 * Return the entry if it has been subject of a successful lstat, or
566 * mean that we haven't called lstat on it.
631 * Returns true if the path is known to not exist. That is, a previous lstat
855 * Call lstat() on this Path, and update all known information that can be
858 * Note that unlike `fs.lstat()`, th
[all...]

Completed in 11 milliseconds

1234567