Home
last modified time | relevance | path

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

/third_party/flutter/skia/infra/bots/assets/mips64el_toolchain_linux/
Dcreate.py57 parent_dir = os.path.join(target_dir, 'usr')
60 os.remove(os.path.join(parent_dir,
62 shutil.rmtree(os.path.join(parent_dir, 'share'))
64 for d in os.listdir(parent_dir):
65 os.rename(os.path.join(parent_dir, d), os.path.join(target_dir, d))
66 os.rmdir(parent_dir)
/third_party/glib/gio/inotify/
Dinotify-helper.c180 const char *parent_dir; in ih_event_callback() local
183 parent_dir = _ip_get_path_for_wd (event->pair->wd); in ih_event_callback()
184 fullpath = _ih_fullpath_from_event (event->pair, parent_dir, NULL); in ih_event_callback()
213 const gchar *parent_dir; in ih_event_callback() local
232 parent_dir = _ip_get_path_for_wd (event->wd); in ih_event_callback()
233 fullname = _ih_fullpath_from_event (event, parent_dir, NULL); in ih_event_callback()
/third_party/mindspore/mindspore/ccsrc/cxx_api/
Ddlutils.h40 std::string parent_dir = libmindspore_so.substr(0, pos) + "../"; in DLSoPath() local
43 DIR *dir = opendir(parent_dir.c_str()); in DLSoPath()
56 return Status(kMEFailed, "Could not open directory: " + parent_dir); in DLSoPath()
59 std::string unreal_path = parent_dir + c_dataengine_so; in DLSoPath()
/third_party/NuttX/fs/tmpfs/
Dfs_tmpfs.c1900 struct tmpfs_directory_s *parent_dir; in tmpfs_unlink() local
1935 parent_dir = (struct tmpfs_directory_s *)(parent->data); in tmpfs_unlink()
1936 if (parent_dir == NULL) in tmpfs_unlink()
1938 ret = tmpfs_find_file(fs, relpath, &tfo, &parent_dir); in tmpfs_unlink()
1949 if (tfo == NULL || parent_dir == NULL) in tmpfs_unlink()
1955 tmpfs_lock_directory(parent_dir); in tmpfs_unlink()
1959 ret = tmpfs_remove_dirent(parent_dir, (struct tmpfs_object_s *)tfo); in tmpfs_unlink()
1993 if (parent_dir->tdo_refs > 0) in tmpfs_unlink()
1995 parent_dir->tdo_refs--; in tmpfs_unlink()
1997 tmpfs_unlock_directory(parent_dir); in tmpfs_unlink()
[all …]
/third_party/cef/libcef_dll/wrapper/
Dcef_library_loader_mac.mm35 const char* parent_dir = dirname(exec_path.get());
36 if (!parent_dir) {
42 ss << parent_dir << "/" << (helper ? kPathFromHelperExe : kPathFromMainExe)
/third_party/boost/status/
Dboost_check_library.py87 parent_dir = os.path.dirname(self.library_dir)
92 and self.test_file_exists(os.path.join(parent_dir,'meta'),['libraries.json']):
187 parent_dir = os.path.dirname(self.library_dir)
198 and self.test_file_exists(os.path.join(parent_dir,'meta'),['libraries.json']):
199 with open(os.path.join(parent_dir,'meta','libraries.json'),'r') as f:
/third_party/python/Lib/test/
Dtest_support.py145 parent_dir = tempfile.mkdtemp()
146 parent_dir = os.path.realpath(parent_dir)
149 path = os.path.join(parent_dir, 'temp')
156 os_helper.rmtree(parent_dir)
246 with os_helper.temp_dir() as parent_dir:
247 non_existent_dir = os.path.join(parent_dir, 'does_not_exist')
257 with os_helper.temp_dir() as parent_dir:
258 bad_dir = os.path.join(parent_dir, 'does_not_exist')
Dtest_doctest.py731 with tempfile.TemporaryDirectory() as parent_dir:
732 pkg_dir = os.path.join(parent_dir, pkg_name)
734 sys.path.append(parent_dir)
Dtest_httpservers.py622 self.parent_dir = tempfile.mkdtemp()
623 self.cgi_dir = os.path.join(self.parent_dir, 'cgi-bin')
625 self.sub_dir_1 = os.path.join(self.parent_dir, 'sub')
644 self.pythonexe = os.path.join(self.parent_dir, 'python')
658 self.nocgi_path = os.path.join(self.parent_dir, 'nocgi.py')
693 os.chdir(self.parent_dir)
719 os.rmdir(self.parent_dir)
Dtest_runpy.py376 parent_dir = module_dir
383 uncle_dir = os.path.join(parent_dir, "uncle")
/third_party/flutter/engine/flutter/tools/fuchsia/
Dgen_package.py26 parent_dir = os.path.abspath(os.path.join(package_dir, os.pardir))
28 manifest_path = os.path.join(parent_dir, manifest_file_name)
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_utils.cc208 std::shared_ptr<std::string> parent_dir; in GetDatasetFiles() local
209 RETURN_IF_NOT_OK(GetParentDir(path, &parent_dir)); in GetDatasetFiles()
211 std::string abs_path = *parent_dir + std::string(p); in GetDatasetFiles()
/third_party/boost/tools/build/src/build/
Dproject.py545 parent_dir = os.path.join(os.getcwd(), parent_location)
548 os.path.relpath(our_dir, parent_dir))
/third_party/cef/tools/
Dmake_distrib.py82 def create_output_dir(name, parent_dir): argument
84 output_dir = os.path.abspath(os.path.join(parent_dir, name))
/third_party/mesa3d/src/intel/perf/
Dintel_perf.c57 is_dir_or_link(const struct dirent *entry, const char *parent_dir) in is_dir_or_link() argument
64 snprintf(path, sizeof(path), "%s/%s", parent_dir, entry->d_name); in is_dir_or_link()
/third_party/ntfs-3g/ntfsprogs/
Dmkntfs.c2006 static int add_attr_file_name(MFT_RECORD *m, const leMFT_REF parent_dir, in add_attr_file_name() argument
2041 fn->parent_directory = parent_dir; in add_attr_file_name()