Searched refs:lstat (Results 1 – 20 of 20) sorted by relevance
/system/core/toolbox/upstream-netbsd/bin/ln/ |
D | ln.c | 131 if (hflag && lstat(sourcedir, &sb) == 0 && S_ISLNK(sb.st_mode)) { in main() 171 (!lstat(source, &sb) && S_ISDIR(sb.st_mode)) || in linkit() 181 exists = !lstat(source, &sb); in linkit()
|
/system/core/toolbox/ |
D | ls.c | 117 if (lstat(tmp, &s) < 0) { in show_total_size() 318 if(lstat(pathname, &s) < 0) { in listfile() 390 err = lstat(tmp, &s); in listdir() 426 err = lstat(name, &s); in listpath()
|
D | wipe.c | 118 ret = lstat (nameBuffer, &statBuffer); in wipe()
|
/system/core/toolbox/upstream-netbsd/bin/cp/ |
D | cp.c | 238 r = lstat(to.p_path, &to_stat); in main() 262 r = lstat(*argv, &tmp_stat); in main() 419 sval = Pflag ? lstat(to.p_path, &to_stat) : stat(to.p_path, &to_stat); in copy()
|
D | utils.c | 147 lstat(to.p_path, &sb) : stat(to.p_path, &sb); in copy_file()
|
/system/core/adb/ |
D | remount_service.c | 74 if (!lstat("/vendor", &info)) in hasVendorPartition()
|
D | file_sync_service.c | 90 if(lstat(path, &st)) { in do_stat() 132 if(lstat(tmp, &st) == 0) { in do_list() 352 do_unlink = lstat(path, &st) || S_ISREG(st.st_mode) || S_ISLNK(st.st_mode);
|
D | sysdeps.h | 87 #define lstat stat /* no symlinks on Win32 */ macro
|
D | file_sync_client.c | 644 if(!lstat(stat_path, &st)) { in local_build_list() 651 if(lstat(ci->src, &st)) { in local_build_list()
|
D | commandline.c | 1797 if (lstat(vendor_srcdir, &st) || !S_ISDIR(st.st_mode)) in find_sync_dirs()
|
/system/core/toolbox/upstream-netbsd/bin/mv/ |
D | mv.c | 235 if (!lstat(to, &sb)) { in do_move() 246 if (lstat(from, &sb)) { in do_move()
|
/system/core/toolbox/upstream-netbsd/bin/rm/ |
D | rm.c | 295 if (lstat(f, &sb)) { in rm_file() 409 if (lstat(file, &sb)) in rm_overwrite()
|
/system/core/libcutils/ |
D | fs.c | 43 if (TEMP_FAILURE_RETRY(lstat(path, &sb)) == -1) { in fs_prepare_dir()
|
/system/vold/ |
D | Process.cpp | 39 if (lstat(path, &s) < 0) in readSymLink()
|
/system/core/run-as/ |
D | package.c | 176 ret = lstat(path, &st); in check_directory_ownership()
|
/system/core/cpio/ |
D | mkbootfs.c | 237 if(lstat(in, &s)) die("could not stat '%s'\n", in); in _archive()
|
/system/extras/tests/fstest/ |
D | perm_checker.c | 369 err = lstat(name, &s); in check_path()
|
/system/core/fs_mgr/ |
D | fs_mgr.c | 205 if (!lstat(target, &info)) in __mount()
|
/system/extras/ext4_utils/ |
D | make_ext4fs.c | 174 ret = lstat(dentries[i].full_path, &stat); in build_directory_structure()
|
/system/core/sdcard/ |
D | sdcard.c | 784 if (lstat(path, &s) < 0) { in fuse_reply_entry() 811 if (lstat(path, &s) < 0) { in fuse_reply_attr()
|