/third_party/typescript/tests/ts_extra_tests/tool/ |
H A D | test_helper.py | 63 def list_all_test_files_in_dir(dir_path, all_file_path=None, limit_version=None): 67 if dir_path.endswith("test_ts_cases") or dir_path.endswith("test_ts_cases/"): 72 items_in_dir = os.listdir(dir_path) 81 file_or_dir_path = os.path.join(dir_path, file_dir)
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | swapoff.c | 30 char dir_path[PATH_MAX] = {0}; in swapoff_0100() local 31 FILE_ABSOLUTE_DIR(dir_path); in swapoff_0100() 34 snprintf(cmd, sizeof(cmd), "cd %s; dd if=/dev/zero of=swapfile count=1 bs=1k; mkswap swapfile", dir_path); in swapoff_0100()
|
H A D | swapon.c | 30 char dir_path[PATH_MAX] = {0}; in swapon_0100() local 31 FILE_ABSOLUTE_DIR(dir_path); in swapon_0100() 34 snprintf(cmd, sizeof(cmd), "cd %s; dd if=/dev/zero of=swapfile count=1 bs=1k; mkswap swapfile", dir_path); in swapon_0100()
|
/third_party/ninja/misc/ |
H A D | write_fake_manifests.py | 94 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/ |
H A D | disk_cache_os.c | 194 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() 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/f2fs-tools/fsck/ |
H A D | sload.c | 204 const char *dir_path, const char *target_out_dir, in build_directory() 230 dir_path, namelist[i]->d_name); in build_directory() 301 const char *dir_path, const char *target_out_dir, in build_directory() 203 build_directory(struct f2fs_sb_info *sbi, const char *full_path, const char *dir_path, const char *target_out_dir, nid_t dir_ino) build_directory() argument 300 build_directory(struct f2fs_sb_info *sbi, const char *full_path, const char *dir_path, const char *target_out_dir, nid_t dir_ino) build_directory() argument
|
/third_party/gn/src/base/files/ |
H A D | file_util.cc | 180 bool IsDirectoryEmpty(const FilePath& dir_path) { in IsDirectoryEmpty() argument 181 FileEnumerator files(dir_path, false, in IsDirectoryEmpty()
|
H A D | file_util.h | 180 bool IsDirectoryEmpty(const FilePath& dir_path);
|
/third_party/toybox/toys/pending/ |
H A D | bootchartd.c | 122 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/ |
H A D | builddeps.py | 67 dir_path = os.path.join(base_directory, os.path.dirname(line)) 68 dir_path_norm = NormalizePath(dir_path) 370 # We need to check for an entry for our dir_path again, since 373 # For example, if dir_path == 'A/B/C' and A/B/DEPS specifies that the C
|
/third_party/libuv/src/win/ |
H A D | process.c | 341 const WCHAR *dir_start, *dir_end, *dir_path; in search_path() local 421 dir_path = dir_start; in search_path() 425 if (dir_path[0] == '"' || dir_path[0] == '\'') { in search_path() 426 ++dir_path; in search_path() 430 if (dir_path[dir_len - 1] == '"' || dir_path[dir_len - 1] == '\'') { in search_path() 434 result = path_search_walk_ext(dir_path, dir_len, in search_path()
|
/third_party/node/deps/uv/src/win/ |
H A D | process.c | 349 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/python/Tools/unittestgui/ |
H A D | unittestgui.py | 236 dir_path = filedialog.askdirectory(parent=master) 237 if dir_path: 238 self.dirVar.set(dir_path)
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | roll_chromium_deps.py | 269 def GetMatchingDepsEntries(depsentry_dict, dir_path): 273 Example: dir_path='src/testing' would give results containing both 275 Example 2: dir_path='src/build' should return 'src/build' but not 283 if path == dir_path: 287 if all(part == parts[i] for i, part in enumerate(dir_path.split('/'))):
|
/third_party/skia/third_party/externals/zlib/google/ |
H A D | zip.h | 47 const base::FilePath& dir_path) = 0;
|
/third_party/skia/infra/bots/recipe_modules/checkout/ |
H A D | api.py | 40 self.m.properties['repository'], dir_path=skia_dir,
|
/third_party/nghttp2/src/ |
H A D | shrpx_config.cc | 1541 // Reads *.sct files from directory denoted by |dir_path|. |dir_path| 1544 const StringRef &dir_path) { in read_tls_sct_from_dir() 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() 1543 read_tls_sct_from_dir(std::vector<uint8_t> &dst, const StringRef &opt, const StringRef &dir_path) read_tls_sct_from_dir() argument [all...] |
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 2065 char *dir_path; in ntfs_fuse_create() local 2077 dir_path = strdup(org_path); in ntfs_fuse_create() 2078 if (!dir_path) in ntfs_fuse_create() 2081 name = strrchr(dir_path, '/'); in ntfs_fuse_create() 2099 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, dir_path); in ntfs_fuse_create() 2248 free(dir_path); in ntfs_fuse_create()
|
/third_party/libabigail/src/ |
H A D | abg-tools-utils.cc | 757 /// Ensures #dir_path is a directory and is created. If #dir_path is 760 /// \return true if #dir_path is a directory that is already present, 763 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/node/tools/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 3006 dir_path = project_ref._properties["path"] 3007 product_group._hashables.extend(dir_path)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 3007 dir_path = project_ref._properties["path"] 3008 product_group._hashables.extend(dir_path)
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 11562 wchar_t *dir_path = NULL; in os__getdiskusage_impl() local 11564 dir_path = PyMem_New(wchar_t, path->length + 1); in os__getdiskusage_impl() 11565 if (dir_path == NULL) { in os__getdiskusage_impl() 11569 wcscpy_s(dir_path, path->length + 1, path->wide); in os__getdiskusage_impl() 11571 if (_dirnameW(dir_path) != -1) { in os__getdiskusage_impl() 11573 retval = GetDiskFreeSpaceExW(dir_path, &_, &total, &free); in os__getdiskusage_impl() 11578 PyMem_Free(dir_path); in os__getdiskusage_impl()
|
/third_party/python/Lib/test/ |
H A D | test_socket.py | 690 self.dir_path = tempfile.mkdtemp() 691 self.addCleanup(os.rmdir, self.dir_path) 695 path = tempfile.mktemp(dir=self.dir_path)
|
H A D | test_os.py | 2578 dir_path = os.path.join(os_helper.TESTFN, dir_name) 2581 os.makedirs(dir_path)
|