Lines Matching +defs:path +defs:root
97 static std::string indexPath(std::string_view root, IncFsFileId fileId) { in indexPath()
304 bool isIncFsPathImpl(const char* path) { in isIncFsPathImpl()
314 static int isDir(const char* path) { in isDir()
325 static bool isAbsolute(const char* path) { in isAbsolute()
329 static int isValidMountTarget(const char* path) { in isValidMountTarget()
379 static int rmDirContent(const char* path) { in rmDirContent()
435 static std::string makeCommandPath(std::string_view root, std::string_view item) { in makeCommandPath()
608 auto root = registry().rootFor(dir); in IncFs_Open() local
676 auto root = rootForCmd(control->cmd); in IncFs_SetOptions() local
795 IncFsErrorCode IncFs_MakeFile(const IncFsControl* control, const char* path, int32_t mode, in IncFs_MakeFile()
842 IncFsErrorCode IncFs_MakeMappedFile(const IncFsControl* control, const char* path, int32_t mode, in IncFs_MakeMappedFile()
895 static IncFsErrorCode makeDirs(std::string_view commandPath, std::string_view path, in makeDirs()
896 std::string_view root, int32_t mode) { in makeDirs()
919 IncFsErrorCode IncFs_MakeDir(const IncFsControl* control, const char* path, int32_t mode) { in IncFs_MakeDir()
923 const auto root = rootForCmd(control->cmd); in IncFs_MakeDir() local
940 IncFsErrorCode IncFs_MakeDirs(const IncFsControl* control, const char* path, int32_t mode) { in IncFs_MakeDirs()
944 const auto root = rootForCmd(control->cmd); in IncFs_MakeDirs() local
957 static IncFsErrorCode getMetadata(const char* path, char buffer[], size_t* bufferSize) { in getMetadata()
979 const auto root = rootForCmd(control->cmd); in IncFs_GetMetadataById() local
987 IncFsErrorCode IncFs_GetMetadataByPath(const IncFsControl* control, const char* path, char buffer[], in IncFs_GetMetadataByPath()
993 const auto root = rootForCmd(control->cmd); in IncFs_GetMetadataByPath() local
1011 IncFsFileId IncFs_GetId(const IncFsControl* control, const char* path) { in IncFs_GetId()
1016 const auto root = rootForCmd(control->cmd); in IncFs_GetId() local
1047 const auto root = rootForCmd(control->cmd); in IncFs_GetSignatureById() local
1059 IncFsErrorCode IncFs_GetSignatureByPath(const IncFsControl* control, const char* path, in IncFs_GetSignatureByPath()
1066 const auto root = rootForCmd(control->cmd); in IncFs_GetSignatureByPath() local
1073 IncFsErrorCode IncFs_UnsafeGetSignatureByPath(const char* path, char buffer[], size_t* bufferSize) { in IncFs_UnsafeGetSignatureByPath()
1090 auto root = rootForCmd(control->cmd); in IncFs_Link() local
1108 IncFsErrorCode IncFs_Unlink(const IncFsControl* control, const char* path) { in IncFs_Unlink()
1113 auto root = rootForCmd(control->cmd); in IncFs_Unlink() local
1259 static IncFsFd openForSpecialOps(int cmd, const char* path) { in openForSpecialOps()
1272 IncFsFd IncFs_OpenForSpecialOpsByPath(const IncFsControl* control, const char* path) { in IncFs_OpenForSpecialOpsByPath()
1279 const auto root = rootForCmd(cmd); in IncFs_OpenForSpecialOpsByPath() local
1292 const auto root = rootForCmd(cmd); in IncFs_OpenForSpecialOpsById() local
1429 bool IncFs_IsIncFsPath(const char* path) { in IncFs_IsIncFsPath()
1539 static IncFsErrorCode isFullyLoadedV2(std::string_view root, IncFsFileId id) { in isFullyLoadedV2()
1601 IncFsErrorCode IncFs_IsFullyLoadedByPath(const IncFsControl* control, const char* path) { in IncFs_IsFullyLoadedByPath()
1605 const auto root = rootForCmd(control->cmd); in IncFs_IsFullyLoadedByPath() local
1627 const auto root = rootForCmd(control->cmd); in IncFs_IsFullyLoadedById() local
1641 const auto root = rootForCmd(control->cmd); in isEverythingLoadedV2() local
1650 const auto root = rootForCmd(control->cmd); in isEverythingLoadedSlow() local
1791 const auto root = rootForCmd(control->cmd); in IncFs_GetFileBlockCountById() local
1803 IncFsErrorCode IncFs_GetFileBlockCountByPath(const IncFsControl* control, const char* path, in IncFs_GetFileBlockCountByPath()
1812 const auto root = rootForCmd(control->cmd); in IncFs_GetFileBlockCountByPath() local
1831 const auto root = rootForCmd(control->cmd); in IncFs_ListIncompleteFiles() local
1857 const auto root = rootForCmd(control->cmd); in IncFs_ForEachFile() local
1874 const auto root = rootForCmd(control->cmd); in IncFs_ForEachIncompleteFile() local
1894 const auto root = rootForCmd(control->cmd); in IncFs_WaitForLoadingComplete() local
2038 IncFsErrorCode IncFs_ReserveSpaceByPath(const IncFsControl* control, const char* path, in IncFs_ReserveSpaceByPath()
2044 const auto root = rootForCmd(control->cmd); in IncFs_ReserveSpaceByPath() local
2055 const auto root = rootForCmd(control->cmd); in IncFs_ReserveSpaceById() local
2059 auto path = indexPath(root, id); in IncFs_ReserveSpaceById() local