Lines Matching full:c_str
79 create_data_app_path(volume_uuid).c_str(), package_name);
91 create_data_user_ce_path(volume_uuid, user).c_str(), package_name);
101 DIR* dir = opendir(user_path.c_str());
110 auto resolved = StringPrintf("%s/%s", user_path.c_str(), ent->d_name);
133 create_data_user_de_path(volume_uuid, user).c_str(), package_name);
144 const char* tmp = _tmp.c_str();
167 return StringPrintf("%s/app", create_data_path(volume_uuid).c_str());
177 return StringPrintf("%s/data", data.c_str());
179 return StringPrintf("%s/user/%u", data.c_str(), userid);
182 return StringPrintf("%s/user/%u", data.c_str(), userid);
191 return StringPrintf("%s/user_de/%u", data.c_str(), userid);
198 return StringPrintf("%s/media/%u", create_data_path(volume_uuid).c_str(), userid);
202 return StringPrintf("%s/misc/user/%u", create_data_path(nullptr).c_str(), userid);
211 return StringPrintf("%s/%s",create_data_user_profiles_path(user).c_str(), package_name);
226 DIR* dir = opendir(path.c_str());
376 return delete_dir_contents(pathname.c_str(), 0, NULL, ignore_if_missing);
380 return delete_dir_contents(pathname.c_str(), 1, NULL, ignore_if_missing);
532 if (statfs(data_path.c_str(), &sfs) == 0) {
790 if (stat(path.c_str(), &buf) != 0) {
807 auto path = StringPrintf("%s/%s", parent.c_str(), name);
815 if (getxattr(parent.c_str(), inode_xattr, &inode_raw, sizeof(inode_raw)) == sizeof(inode_raw)) {
826 if (setxattr(parent.c_str(), inode_xattr, &inode_raw, sizeof(inode_raw), 0) != 0 && errno != EOPNOTSUPP) {
842 auto fallback = StringPrintf("%s/%s", parent.c_str(), name);
845 if (getxattr(parent.c_str(), inode_xattr, &inode_raw, sizeof(inode_raw)) == sizeof(inode_raw)) {
852 DIR* dir = opendir(parent.c_str());
861 auto resolved = StringPrintf("%s/%s", parent.c_str(), ent->d_name);
885 const char* basepath = data_path.c_str();
906 strcpy(dirname, resolved.c_str());
1260 return fs_prepare_dir(path.c_str(), 0750, uid, gid);