Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 9 of 9) sorted by relevance

/system/extras/simpleperf/
Dutils.cpp168 std::string dir_path = path.substr(0, next_end); in MkdirWithParents() local
169 if (!IsDir(dir_path)) { in MkdirWithParents()
171 int ret = mkdir(dir_path.c_str()); in MkdirWithParents()
173 int ret = mkdir(dir_path.c_str(), 0755); in MkdirWithParents()
176 PLOG(ERROR) << "failed to create dir " << dir_path; in MkdirWithParents()
/system/media/camera/docs/
Dmetadata-generate94 local dir_path="$(dirname "$file")"
95 echo "Trying to cd into $dir_path" >& /dev/null
97 local git_path="$(cd "$dir_path";
101 local diff_result="$(cd "$dir_path";
/system/update_engine/common/
Dtest_utils.cc115 bool IsXAttrSupported(const base::FilePath& dir_path) { in IsXAttrSupported() argument
116 char *path = strdup(dir_path.Append("xattr_test_XXXXXX").value().c_str()); in IsXAttrSupported()
120 PLOG(ERROR) << "Error creating temporary file in " << dir_path.value(); in IsXAttrSupported()
Dtest_utils.h99 bool IsXAttrSupported(const base::FilePath& dir_path);
/system/extras/puncture_fs/
Dpuncture_fs.c73 static bool create_unique_file(const char * const dir_path, const u64 size, in create_unique_file() argument
83 sprintf(file_path, "%s/file_%lu", dir_path, id); in create_unique_file()
/system/connectivity/shill/
Dconnection_info_reader_unittest.cc73 const FilePath& dir_path, FilePath* file_path) { in CreateConnectionInfoFile() argument
74 ASSERT_TRUE(base::CreateTemporaryFileInDir(dir_path, file_path)); in CreateConnectionInfoFile()
Dsocket_info_reader_unittest.cc89 const FilePath& dir_path, FilePath* file_path) { in CreateSocketInfoFile() argument
90 ASSERT_TRUE(base::CreateTemporaryFileInDir(dir_path, file_path)); in CreateSocketInfoFile()
/system/extras/ext4_utils/
Dmake_ext4fs.c100 static u32 build_default_directory_structure(const char *dir_path, in build_default_directory_structure() argument
124 asprintf(&path, "%slost+found", dir_path); in build_default_directory_structure()
146 static u32 build_directory_structure(const char *full_path, const char *dir_path, const char *targe… in build_directory_structure() argument
197 asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name); in build_directory_structure()
277 asprintf(&dentries[0].path, "%slost+found", dir_path); in build_directory_structure()
/system/core/adb/
Dfile_sync_client.cpp802 std::string dir_path = rpath; in remote_symlink_isdir() local
803 dir_path.push_back('/'); in remote_symlink_isdir()
804 if (!sync_stat(sc, dir_path.c_str(), nullptr, &mode, nullptr)) { in remote_symlink_isdir()
805 sc.Error("failed to stat remote symlink '%s'", dir_path.c_str()); in remote_symlink_isdir()