Home
last modified time | relevance | path

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

/system/core/adb/sysdeps/
Dstat.h44 #define lstat adb_stat macro
/system/core/adb/daemon/
Dfile_sync_service.cpp139 lstat(path, &st); in do_lstat_v1()
154 stat_fn = lstat; in do_stat_v2()
190 if (lstat(filename.c_str(), &st) == 0) { in do_list()
416 bool do_unlink = (lstat(path.c_str(), &st) == -1) || S_ISREG(st.st_mode) || in do_send()
/system/update_engine/common/
Dutils.cc561 return 0 == lstat(path, &stbuf); in FileExists()
566 return lstat(path, &stbuf) == 0 && S_ISLNK(stbuf.st_mode) != 0; in IsSymlink()
706 if (lstat(mountpoint.c_str(), &stdir) != 0) { in IsMountpoint()
715 if (lstat(parent.value().c_str(), &stparent) != 0) { in IsMountpoint()
/system/core/run-as/
Drun-as.cpp75 if (TEMP_FAILURE_RETRY(lstat(path, &st)) == -1) { in check_directory()
/system/core/libcutils/
Dfs.cpp52 if (TEMP_FAILURE_RETRY(lstat(path, &sb)) == -1) { in fs_prepare_path_impl()
/system/core/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp90 if (lstat(filename, &p_statbuf) < 0) { in is_symlink()
/system/core/cpio/
Dmkbootfs.c241 if(lstat(in, &s)) die("could not stat '%s'\n", in); in _archive()
/system/core/base/
Dfile.cpp334 int result = lstat(path.c_str(), &st); in RemoveFileIfExists()
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp200 if (!lstat(file.c_str(), &st) && (st.st_mode & S_IFDIR)) entry->d_type = DT_DIR; in fs_mgr_rm_all()
Dfs_mgr.cpp626 if (lstat(target.c_str(), &info) == 0 && (info.st_mode & S_IFMT) == S_IFLNK) { in __mount()
/system/vold/
DUtils.cpp737 if (lstat(legacy.c_str(), &sb) == 0 && S_ISDIR(sb.st_mode)) { in BuildDataUserCePath()
/system/core/adb/client/
Dfile_sync_client.cpp821 if (lstat(stat_path.c_str(), &st) == -1) { in local_build_list()
/system/core/llkd/
Dlibllkd.cpp762 return (lstat(piddir->c_str(), &st) == 0) && (st.st_mode & S_IFDIR); in getValidTidDir()