Home
last modified time | relevance | path

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

12

/third_party/typescript/tests/ts_extra_tests/tool/
Dtest_helper.py42 def is_root_dir(dir_path, file_or_dir, file_or_dir_results, limit_version): argument
44 root_folder = os.path.basename(dir_path)
62 return dir_path, file_or_dir, file_or_dir_results, limit_version
65 def get_path_file(dir_path, all_file_path=None, is_root=False, limit_version=None): argument
68 file_or_dir = os.listdir(dir_path)
70 if dir_path.endswith("test_ts_cases") or dir_path.endswith("test_ts_cases/"):
75dir_path, file_or_dir, file_or_dir_results, limit_version = is_root_dir(dir_path, file_or_dir,
80 file_or_dir_path = os.path.join(dir_path, file_dir)
/third_party/jsoncpp/devtools/
Dantglob.py99 def glob(dir_path, argument
108 dir_path = dir_path.replace('/',os.path.sep)
127 dir_path = child_dirs.pop()
128 for entry in listdir(dir_path):
129 full_path = os.path.join(dir_path, entry)
152 yield os.path.join(dir_path, entry)
155 return list(glob_impl(dir_path))
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dswapon.c30 char dir_path[PATH_MAX] = {0}; in swapon_0100() local
31 FILE_ABSOLUTE_DIR(dir_path); in swapon_0100()
34 …f(cmd, sizeof(cmd), "cd %s; dd if=/dev/zero of=swapfile count=1 bs=1k; mkswap swapfile", dir_path); in swapon_0100()
Dswapoff.c30 char dir_path[PATH_MAX] = {0}; in swapoff_0100() local
31 FILE_ABSOLUTE_DIR(dir_path); in swapoff_0100()
34 …f(cmd, sizeof(cmd), "cd %s; dd if=/dev/zero of=swapfile count=1 bs=1k; mkswap swapfile", dir_path); in swapoff_0100()
/third_party/ninja/misc/
Dwrite_fake_manifests.py94 self.dir_path = gen.path()
96 'obj', self.dir_path, self.name + '.ninja')
97 self.src_obj_pairs = gen.src_obj_pairs(self.dir_path, self.name)
112 'obj', target.dir_path, target.name + '.stamp')
151 includes.append("%s/%s" % (dep.dir_path, h_filename))
156 namespace = os.path.basename(target.dir_path)
/third_party/mesa3d/src/util/
Ddisk_cache_os.c194 choose_lru_file_matching(const char *dir_path, in choose_lru_file_matching() argument
195 bool (*predicate)(const char *dir_path, in choose_lru_file_matching() argument
202 dir = opendir(dir_path); in choose_lru_file_matching()
238 if (!predicate(dir_path, &sb, dir_ent->d_name, len)) in choose_lru_file_matching()
292 if (asprintf(&e->lru_name, "%s/%s", dir_path, filename) < 0) in choose_lru_file_matching()
434 char *dir_path; in disk_cache_evict_lru_item() local
442 if (asprintf(&dir_path, "%s/%02" PRIx64 , cache->path, rand64 & 0xff) < 0) in disk_cache_evict_lru_item()
445 size_t size = unlink_lru_file_from_directory(dir_path); in disk_cache_evict_lru_item()
447 free(dir_path); in disk_cache_evict_lru_item()
/third_party/libuv/src/win/
Dprocess.c349 const WCHAR *dir_start, *dir_end, *dir_path; in search_path() local
427 dir_path = dir_start; in search_path()
431 if (dir_path[0] == '"' || dir_path[0] == '\'') { in search_path()
432 ++dir_path; in search_path()
436 if (dir_path[dir_len - 1] == '"' || dir_path[dir_len - 1] == '\'') { in search_path()
440 result = path_search_walk_ext(dir_path, dir_len, in search_path()
/third_party/f2fs-tools/fsck/
Dsload.c204 const char *dir_path, const char *target_out_dir, in build_directory() argument
230 dir_path, namelist[i]->d_name); in build_directory()
301 const char *dir_path, const char *target_out_dir, in build_directory() argument
/third_party/gn/src/base/files/
Dfile_util.cc180 bool IsDirectoryEmpty(const FilePath& dir_path) { in IsDirectoryEmpty() argument
181 FileEnumerator files(dir_path, false, in IsDirectoryEmpty()
Dfile_util.h171 bool IsDirectoryEmpty(const FilePath& dir_path);
/third_party/cef/libcef/browser/
Ddownload_manager_delegate.cc92 base::FilePath dir_path = suggested_path.DirName(); in GenerateFilename() local
93 if (!base::DirectoryExists(dir_path) && in GenerateFilename()
94 !base::CreateDirectory(dir_path)) { in GenerateFilename()
/third_party/toybox/toys/pending/
Dbootchartd.c122 char *dir, dir_path[] = "/tmp/bootchart.XXXXXX"; in create_tmp_dir() local
124 if ((dir = mkdtemp(dir_path))) { in create_tmp_dir()
/third_party/skia/buildtools/checkdeps/
Dbuilddeps.py67 dir_path = os.path.join(base_directory, os.path.dirname(line))
68 dir_path_norm = NormalizePath(dir_path)
/third_party/libphonenumber/tools/cpp/src/cpp-build/
Dgenerate_geocoding_data.cc584 const string dir_path = data_path + "/" + it->name(); in WriteSource() local
586 if (!ListDirectory(dir_path, &files)) { in WriteSource()
601 const string path = dir_path + "/" + fname; in WriteSource()
/third_party/skia/third_party/externals/angle2/scripts/
Droll_chromium_deps.py269 def GetMatchingDepsEntries(depsentry_dict, dir_path): argument
283 if path == dir_path:
287 if all(part == parts[i] for i, part in enumerate(dir_path.split('/'))):
/third_party/python/Tools/unittestgui/
Dunittestgui.py236 dir_path = filedialog.askdirectory(parent=master)
237 if dir_path:
238 self.dirVar.set(dir_path)
/third_party/skia/third_party/externals/zlib/google/
Dzip.h47 const base::FilePath& dir_path) = 0;
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip.h47 const base::FilePath& dir_path) = 0;
/third_party/node/deps/zlib/google/
Dzip.h47 const base::FilePath& dir_path) = 0;
/third_party/flutter/skia/infra/bots/recipe_modules/checkout/
Dapi.py24 self.m.properties['repository'], dir_path=skia_dir,
/third_party/skia/infra/bots/recipe_modules/checkout/
Dapi.py40 self.m.properties['repository'], dir_path=skia_dir,
/third_party/rust/crates/tracing/tracing-appender/src/
Drolling.rs713 fn find_str_in_log(dir_path: &Path, expected_value: &str) -> bool { in find_str_in_log()
714 let dir_contents = fs::read_dir(dir_path).expect("Failed to read directory"); in find_str_in_log()
/third_party/nghttp2/src/
Dshrpx_config.cc1544 const StringRef &dir_path) { in read_tls_sct_from_dir() argument
1547 auto dir = opendir(dir_path.c_str()); in read_tls_sct_from_dir()
1550 LOG(ERROR) << opt << ": " << dir_path << ": " in read_tls_sct_from_dir()
1567 LOG(ERROR) << opt << ": failed to read directory " << dir_path << ": " in read_tls_sct_from_dir()
1581 path.resize(dir_path.size() + 1 + name.size()); in read_tls_sct_from_dir()
1584 p = std::copy(std::begin(dir_path), std::end(dir_path), p); in read_tls_sct_from_dir()
1624 LOG(ERROR) << opt << ": the concatenated SCT data from " << dir_path in read_tls_sct_from_dir()
/third_party/libabigail/src/
Dabg-tools-utils.cc763 ensure_dir_path_created(const string& dir_path) in ensure_dir_path_created() argument
770 stat_result = stat(dir_path.c_str(), &st); in ensure_dir_path_created()
780 cmd = "mkdir -p " + dir_path; in ensure_dir_path_created()
/third_party/ntfs-3g/src/
Dntfs-3g.c2064 char *dir_path; in ntfs_fuse_create() local
2076 dir_path = strdup(org_path); in ntfs_fuse_create()
2077 if (!dir_path) in ntfs_fuse_create()
2080 name = strrchr(dir_path, '/'); in ntfs_fuse_create()
2098 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, dir_path); in ntfs_fuse_create()
2247 free(dir_path); in ntfs_fuse_create()

12