Home
last modified time | relevance | path

Searched refs:isdir (Results 1 – 25 of 694) sorted by relevance

12345678910>>...28

/external/e2fsprogs/tests/progs/
Drandom_exercise.c28 int isdir; member
76 int isdir = 0; in create_random_file() local
80 isdir = random() & 1; in create_random_file()
81 if (isdir) { in create_random_file()
94 state_array[fd].isdir = isdir; in create_random_file()
97 state_array[fd].isdir = isdir; in create_random_file()
108 if (state_array[fd].isdir) in truncate_file()
124 if (state_array[fd].isdir) in unlink_file()
158 if ((state_array[fd].isdir == 0) && in main()
/external/python/cpython3/Lib/unittest/test/
Dtest_discovery.py52 original_isdir = os.path.isdir
54 os.path.isdir = original_isdir
62 def isdir(path): function
64 os.path.isdir = isdir
105 original_isdir = os.path.isdir
107 os.path.isdir = original_isdir
113 os.path.isdir = lambda path: False
143 original_isdir = os.path.isdir
145 os.path.isdir = original_isdir
152 os.path.isdir = lambda path: True
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_discovery.py35 original_isdir = os.path.isdir
37 os.path.isdir = original_isdir
45 def isdir(path): function
47 os.path.isdir = isdir
78 original_isdir = os.path.isdir
80 os.path.isdir = original_isdir
87 os.path.isdir = lambda path: True
138 original_isdir = os.path.isdir
158 os.path.isdir = lambda path: True
161 os.path.isdir = original_isdir
[all …]
/external/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cmd.py28 self.assertTrue(os.path.isdir(outdir))
34 self.assertFalse(os.path.isdir(outdir))
40 self.assertTrue(os.path.isdir(outdir))
56 self.assertTrue(os.path.isdir(outdir))
67 self.assertTrue(os.path.isdir(outdir))
77 self.assertTrue(os.path.isdir(outdir))
Dtest_from_cdb.py42 self.assertTrue(os.path.isdir(reportdir))
48 self.assertFalse(os.path.isdir(reportdir))
54 self.assertTrue(os.path.isdir(reportdir))
140 os.path.isdir(os.path.join(reportdir, 'failures')))
148 os.path.isdir(os.path.join(reportdir, 'failures')))
/external/python/cpython2/Lib/distutils/
Ddir_util.py44 if os.path.isdir(name) or name == '':
52 while head and tail and not os.path.isdir(head):
74 if not (exc.errno == errno.EEXIST and os.path.isdir(head)):
126 if not dry_run and not os.path.isdir(src):
159 elif os.path.isdir(src_name):
176 if os.path.isdir(real_f) and not os.path.islink(real_f):
Dfile_util.py112 if os.path.isdir(dst):
180 from os.path import exists, isfile, isdir, basename, dirname
192 if isdir(dst):
199 if not isdir(dirname(dst)):
/external/python/cpython3/Lib/distutils/
Ddir_util.py42 if os.path.isdir(name) or name == '':
50 while head and tail and not os.path.isdir(head):
72 if not (exc.errno == errno.EEXIST and os.path.isdir(head)):
122 if not dry_run and not os.path.isdir(src):
155 elif os.path.isdir(src_name):
172 if os.path.isdir(real_f) and not os.path.islink(real_f):
Dfile_util.py107 if os.path.isdir(dst):
177 from os.path import exists, isfile, isdir, basename, dirname
189 if isdir(dst):
196 if not isdir(dirname(dst)):
/external/autotest/server/cros/ap_configurators/
Dpyauto_utils.py47 assert os.path.isdir(self._path), '%s is not a directory' % self._path
79 if os.path.isdir(self._path):
85 if self._backup_dir and os.path.isdir(self._backup_dir):
91 if os.path.isdir(path):
107 if not os.path.isdir(dir):
114 if not os.path.isdir(name):
118 if not os.path.isdir(dir):
/external/autotest/client/site_tests/platform_ChromeCgroups/
Dplatform_ChromeCgroups.py40 if not os.path.isdir(CGROUP_DIR):
42 if not os.path.isdir(FG_CGROUP_DIR):
44 if not os.path.isdir(BG_CGROUP_DIR):
/external/python/cpython2/Lib/test/
Dtest_test_support.py131 self.assertFalse(os.path.isdir(path))
134 self.assertTrue(os.path.isdir(path))
135 self.assertFalse(os.path.isdir(path))
142 self.assertTrue(os.path.isdir(temp_path))
143 self.assertFalse(os.path.isdir(temp_path))
154 self.assertTrue(os.path.isdir(path))
159 self.assertTrue(os.path.isdir(path))
174 self.assertTrue(os.path.isdir(path))
278 self.assertTrue(os.path.isdir(new_cwd))
/external/python/cpython3/Lib/test/
Dtest_venv.py78 def isdir(self, *args): member in BasicTest
80 self.assertTrue(os.path.isdir(fn))
88 self.isdir(self.bindir)
89 self.isdir(self.include)
90 self.isdir(*self.lib)
195 elif os.path.isdir(fn):
217 self.isdir(self.bindir)
218 self.isdir(self.include)
219 self.isdir(*self.lib)
/external/python/cpython2/Lib/
Dcompileall.py49 if not os.path.isdir(fullname):
54 os.path.isdir(fullname) and \
198 if len(args) != 1 and not os.path.isdir(args[0]):
211 if os.path.isdir(arg):
/external/toolchain-utils/dejagnu/
Drun_dejagnu.py149 if self._tmp_abs and path.isdir(self._tmp_abs):
250 if not path.isdir(self._gcc_source_dir_abs) and \
255 if not (path.isdir(self._gcc_source_dir_to_mount) and
256 path.isdir(path.join(self._gcc_source_dir_to_mount, 'gcc'))):
277 if not path.isdir(self._gcc_top_build_dir_abs) and \
282 if not (path.isdir(self._gcc_build_dir_to_mount) and path.join(
314 if not path.isdir(gcc_build_dir_abs):
/external/e2fsprogs/e2fsck/
Dpass4.c184 int isdir; in e2fsck_pass4() local
229 isdir = ext2fs_test_inode_bitmap2(ctx->inode_dir_map, i); in e2fsck_pass4()
230 if (isdir && (link_counted > EXT2_LINK_MAX)) { in e2fsck_pass4()
244 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
253 if ((isdir && link_counted > 1 && in e2fsck_pass4()
/external/autotest/site_utils/lxc/
Dzygote_unittest.py64 self.assertTrue(os.path.isdir(host_path))
72 self.assertFalse(os.path.isdir(host_path))
80 self.assertTrue(os.path.isdir(host_path))
85 self.assertFalse(os.path.isdir(host_path))
94 self.assertFalse(os.path.isdir(host_path))
104 self.assertTrue(os.path.isdir(zygote.host_path))
Dshared_host_dir_unittest.py36 self.assertFalse(os.path.isdir(self.shared_host_path))
43 self.assertTrue(os.path.isdir(self.shared_host_path))
47 self.assertFalse(os.path.isdir(self.shared_host_path))
/external/autotest/utils/
Dcompile_gwt_clients.py49 if os.path.isdir(gwt_dir):
71 if os.path.isdir(tmp_client_dir):
72 if os.path.isdir(old_install_dir):
74 if os.path.isdir(install_dir):
/external/autotest/client/bin/
Dlocal_host.py123 source_is_dir = os.path.isdir(source)
125 (not source_is_dir and os.path.isdir(dest))):
130 if os.path.isdir(dest):
140 elif os.path.isdir(source):
/external/owasp/sanitizer/tools/
Dcut_release.py56 assert os.path.isdir(maven_directory_path), maven_directory_path
57 assert os.path.isdir(trunk_directory_path), trunk_directory_path
59 assert os.path.isdir(version_template_directory_path), (
104 if os.path.isdir(src_path):
/external/libcxx/test/support/
Dfilesystem_dynamic_test_helper.py15 assert os.path.isdir(ep)
38 if os.path.islink(p) or not os.path.isdir(p):
41 assert os.path.isdir(p)
/external/skqp/infra/bots/assets/valgrind/
Dcreate.py42 if os.path.isdir(VALGRIND):
48 if os.path.isdir(INSTALL_DIR):
88 if not os.path.isdir(TEMP_DIR):
/external/skia/infra/bots/assets/valgrind/
Dcreate.py42 if os.path.isdir(VALGRIND):
48 if os.path.isdir(INSTALL_DIR):
88 if not os.path.isdir(TEMP_DIR):
/external/autotest/frontend/client/
Dgwt_dir12 if os.path.isdir(site_gwt):
16 if not os.path.isdir(DEFAULT_GWT):

12345678910>>...28