Home
last modified time | relevance | path

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

/system/core/adb/sysdeps/
Dstat.h44 #define lstat adb_stat macro
/system/update_engine/common/
Dutils.cc484 return 0 == lstat(path, &stbuf); in FileExists()
489 return lstat(path, &stbuf) == 0 && S_ISLNK(stbuf.st_mode) != 0; in IsSymlink()
602 if (lstat(mountpoint.c_str(), &stdir) != 0) { in IsMountpoint()
611 if (lstat(parent.value().c_str(), &stparent) != 0) { in IsMountpoint()
/system/core/adb/daemon/
Dfile_sync_service.cpp147 lstat(path, &st); in do_lstat_v1()
162 stat_fn = lstat; in do_stat_v2()
209 if (lstat(filename.c_str(), &st) == 0) { in do_list()
504 do_unlink = (lstat(path.c_str(), &st) == -1) || S_ISREG(st.st_mode) || in send_impl()
/system/core/run-as/
Drun-as.cpp75 if (TEMP_FAILURE_RETRY(lstat(path, &st)) == -1) { in check_directory()
/system/incremental_delivery/incfs/
Dpath.cpp128 if (::lstat(fdNameBuffer, &st) || st.st_size == 0) { in fromFd()
/system/core/libcutils/
Dfs.cpp52 if (TEMP_FAILURE_RETRY(lstat(path, &sb)) == -1) { in fs_prepare_path_impl()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp90 if (lstat(filename, &p_statbuf) < 0) { in is_symlink()
/system/core/cpio/
Dmkbootfs.c242 if(lstat(in, &s)) die("could not stat '%s'\n", in); in _archive()
/system/libbase/
Dfile.cpp372 int result = lstat(path.c_str(), &st); in RemoveFileIfExists()
/system/core/init/
Dbuiltins.cpp377 if (lstat(options.target.c_str(), &mstat) != 0) { in make_dir_with_options()
384 if (lstat(options.target.c_str(), &mstat) != 0) { in make_dir_with_options()
/system/vold/
DUtils.cpp739 if (lstat(legacy.c_str(), &sb) == 0 && S_ISDIR(sb.st_mode)) { in BuildDataUserCePath()
/system/incremental_delivery/libdataloader/
DDataLoaderConnector.cpp590 if (::lstat(fdNameBuffer, &st) || st.st_size == 0) { in pathFromFd()
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp247 if (!lstat(file.c_str(), &st) && (st.st_mode & S_IFDIR)) entry->d_type = DT_DIR; in fs_mgr_rm_all()
Dfs_mgr.cpp760 if (lstat(target.c_str(), &info) == 0 && (info.st_mode & S_IFMT) == S_IFLNK) { in __mount()
/system/core/llkd/
Dlibllkd.cpp770 return (lstat(piddir->c_str(), &st) == 0) && (st.st_mode & S_IFDIR); in getValidTidDir()
/system/core/adb/client/
Dfile_sync_client.cpp1290 if (lstat(stat_path.c_str(), &st) == -1) { in local_build_list()