/prebuilts/go/linux-x86/src/os/ |
stat_windows.go | 66 fi, err = Lstat(name) 81 // Lstat returns the FileInfo structure describing the named file. 83 // describes the symbolic link. Lstat makes no attempt to follow the link. 85 func Lstat(name string) (FileInfo, error) { 87 return nil, &PathError{"Lstat", name, syscall.Errno(syscall.ERROR_PATH_NOT_FOUND)} 95 return nil, &PathError{"Lstat", name, e}
|
types_unix.go | 15 // A fileStat is the implementation of FileInfo returned by Stat and Lstat.
|
path_test.go | 97 if _, err = Lstat(path); err == nil { 98 t.Fatalf("Lstat %q succeeded after RemoveAll (first)", path) 118 if _, err := Lstat(path); err == nil { 119 t.Fatalf("Lstat %q succeeded after RemoveAll (second)", path) 159 if _, err = Lstat(s); err == nil { 160 t.Fatalf("Lstat %q succeeded after partial RemoveAll", s) 167 if _, err = Lstat(path); err == nil { 168 t.Fatalf("Lstat %q succeeded after RemoveAll (final)", path)
|
path.go | 53 dir, err1 := Lstat(path) 74 dir, serr := Lstat(path) 90 // Race. It was deleted between the Lstat and Open.
|
stat_plan9.go | 99 // Lstat returns a FileInfo describing the named file. 101 // describes the symbolic link. Lstat makes no attempt to follow the link. 103 func Lstat(name string) (FileInfo, error) {
|
/bionic/libc/bionic/ |
lstat.cpp | 34 int lstat(const char* path, struct stat* sb) { function 37 __strong_alias(lstat64, lstat);
|
/external/fio/oslib/ |
linux-dev-lookup.c | 29 if (lstat(full_path, &st) == -1) { 30 perror("lstat");
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
lstat01.c | 42 * TEST TITLE : Basic test for lstat(2) 62 * 1.) lstat(2) returns...(See Description) 90 * This is a Phase I test for the lstat(2) system call. It is intended 93 * lstat(2). 152 * Call lstat(2) 154 TEST(lstat(symlnk, &statter)); 159 "lstat(%s, &statter) Failed, errno=%d : %s", 163 "lstat(%s, &statter) returned %ld",
|
/external/strace/linux/aarch64/ |
syscallent.h | 31 [1039] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" }, 42 [1050] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" },
|
/prebuilts/go/darwin-x86/src/os/ |
types_unix.go | 15 // A fileStat is the implementation of FileInfo returned by Stat and Lstat.
|
path_test.go | 97 if _, err = Lstat(path); err == nil { 98 t.Fatalf("Lstat %q succeeded after RemoveAll (first)", path) 118 if _, err := Lstat(path); err == nil { 119 t.Fatalf("Lstat %q succeeded after RemoveAll (second)", path) 159 if _, err = Lstat(s); err == nil { 160 t.Fatalf("Lstat %q succeeded after partial RemoveAll", s) 167 if _, err = Lstat(path); err == nil { 168 t.Fatalf("Lstat %q succeeded after RemoveAll (final)", path)
|
path.go | 53 dir, err1 := Lstat(path) 74 dir, serr := Lstat(path) 90 // Race. It was deleted between the Lstat and Open.
|
stat_plan9.go | 99 // Lstat returns a FileInfo describing the named file. 101 // describes the symbolic link. Lstat makes no attempt to follow the link. 103 func Lstat(name string) (FileInfo, error) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
byteyears.py | 14 # Use lstat() to stat files if it exists, else stat()
16 statfunc = os.lstat
|
/external/ltp/testcases/kernel/fs/mongo/ |
mongo_slinks.c | 52 if (lstat(new_path, &statbuf) == -1) { 53 perror("checklink: lstat failed");
|
/external/python/cpython2/Tools/scripts/ |
byteyears.py | 14 # Use lstat() to stat files if it exists, else stat() 16 statfunc = os.lstat
|
/external/e2fsprogs/misc/ |
lsattr.c | 15 * 93/11/13 - Replace stat() calls by lstat() to avoid loops 66 #define LSTAT lstat64 69 #define LSTAT lstat 126 if (LSTAT (name, &st) == -1) { 152 if (LSTAT (path, &st) == -1)
|
/external/python/cpython2/Lib/test/ |
test_stat.py | 61 def get_mode(self, fname=TESTFN, lstat=True): 62 if lstat: 63 st_mode = os.lstat(fname).st_mode 143 st_mode = self.get_mode(os.devnull, lstat=False) 148 st_mode = self.get_mode(blockdev, lstat=False)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/ |
systemtest.py | 25 # Note: can't test for presence of lstat -- it's always there
52 mode = os.lstat(name)[ST_MODE]
|
/external/bison/m4/ |
open.m4 | 17 AC_CHECK_FUNCS_ONCE([lstat]) 20 [# Assume that if we have lstat, we can also check symlinks.
|
stat.m4 | 13 AC_CHECK_FUNCS_ONCE([lstat]) 32 # Assume that if we have lstat, we can also check symlinks.
|
/external/compiler-rt/test/msan/Linux/ |
glob_altdirfunc.cc | 42 return lstat(s, st); 49 return lstat(s, st);
|
/external/python/cpython2/Demo/comparisons/ |
systemtest.py | 25 # Note: can't test for presence of lstat -- it's always there 52 mode = os.lstat(name)[ST_MODE]
|
/system/core/adb/sysdeps/ |
stat.h | 43 // Windows doesn't have lstat. 44 #define lstat adb_stat macro
|
/toolchain/binutils/binutils-2.25/libiberty/ |
unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0
|