Home
last modified time | relevance | path

Searched refs:lstat (Results 1 – 20 of 20) sorted by relevance

/system/core/toolbox/upstream-netbsd/bin/ln/
Dln.c131 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/
Dls.c117 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()
Dwipe.c118 ret = lstat (nameBuffer, &statBuffer); in wipe()
/system/core/toolbox/upstream-netbsd/bin/cp/
Dcp.c238 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()
Dutils.c147 lstat(to.p_path, &sb) : stat(to.p_path, &sb); in copy_file()
/system/core/adb/
Dremount_service.c74 if (!lstat("/vendor", &info)) in hasVendorPartition()
Dfile_sync_service.c90 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);
Dsysdeps.h87 #define lstat stat /* no symlinks on Win32 */ macro
Dfile_sync_client.c644 if(!lstat(stat_path, &st)) { in local_build_list()
651 if(lstat(ci->src, &st)) { in local_build_list()
Dcommandline.c1797 if (lstat(vendor_srcdir, &st) || !S_ISDIR(st.st_mode)) in find_sync_dirs()
/system/core/toolbox/upstream-netbsd/bin/mv/
Dmv.c235 if (!lstat(to, &sb)) { in do_move()
246 if (lstat(from, &sb)) { in do_move()
/system/core/toolbox/upstream-netbsd/bin/rm/
Drm.c295 if (lstat(f, &sb)) { in rm_file()
409 if (lstat(file, &sb)) in rm_overwrite()
/system/core/libcutils/
Dfs.c43 if (TEMP_FAILURE_RETRY(lstat(path, &sb)) == -1) { in fs_prepare_dir()
/system/vold/
DProcess.cpp39 if (lstat(path, &s) < 0) in readSymLink()
/system/core/run-as/
Dpackage.c176 ret = lstat(path, &st); in check_directory_ownership()
/system/core/cpio/
Dmkbootfs.c237 if(lstat(in, &s)) die("could not stat '%s'\n", in); in _archive()
/system/extras/tests/fstest/
Dperm_checker.c369 err = lstat(name, &s); in check_path()
/system/core/fs_mgr/
Dfs_mgr.c205 if (!lstat(target, &info)) in __mount()
/system/extras/ext4_utils/
Dmake_ext4fs.c174 ret = lstat(dentries[i].full_path, &stat); in build_directory_structure()
/system/core/sdcard/
Dsdcard.c784 if (lstat(path, &s) < 0) { in fuse_reply_entry()
811 if (lstat(path, &s) < 0) { in fuse_reply_attr()