Searched refs:lstat (Results 1 – 16 of 16) sorted by relevance
/system/core/adb/sysdeps/ |
D | stat.h | 44 #define lstat adb_stat macro
|
/system/update_engine/common/ |
D | utils.cc | 484 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/ |
D | file_sync_service.cpp | 147 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/ |
D | run-as.cpp | 75 if (TEMP_FAILURE_RETRY(lstat(path, &st)) == -1) { in check_directory()
|
/system/incremental_delivery/incfs/ |
D | path.cpp | 128 if (::lstat(fdNameBuffer, &st) || st.st_size == 0) { in fromFd()
|
/system/core/libcutils/ |
D | fs.cpp | 52 if (TEMP_FAILURE_RETRY(lstat(path, &sb)) == -1) { in fs_prepare_path_impl()
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 90 if (lstat(filename, &p_statbuf) < 0) { in is_symlink()
|
/system/core/cpio/ |
D | mkbootfs.c | 242 if(lstat(in, &s)) die("could not stat '%s'\n", in); in _archive()
|
/system/libbase/ |
D | file.cpp | 372 int result = lstat(path.c_str(), &st); in RemoveFileIfExists()
|
/system/core/init/ |
D | builtins.cpp | 377 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/ |
D | Utils.cpp | 739 if (lstat(legacy.c_str(), &sb) == 0 && S_ISDIR(sb.st_mode)) { in BuildDataUserCePath()
|
/system/incremental_delivery/libdataloader/ |
D | DataLoaderConnector.cpp | 590 if (::lstat(fdNameBuffer, &st) || st.st_size == 0) { in pathFromFd()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 247 if (!lstat(file.c_str(), &st) && (st.st_mode & S_IFDIR)) entry->d_type = DT_DIR; in fs_mgr_rm_all()
|
D | fs_mgr.cpp | 760 if (lstat(target.c_str(), &info) == 0 && (info.st_mode & S_IFMT) == S_IFLNK) { in __mount()
|
/system/core/llkd/ |
D | libllkd.cpp | 770 return (lstat(piddir->c_str(), &st) == 0) && (st.st_mode & S_IFDIR); in getValidTidDir()
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 1290 if (lstat(stat_path.c_str(), &st) == -1) { in local_build_list()
|