Home
last modified time | relevance | path

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

12345678910>>...27

/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.py51 original_isdir = os.path.isdir
53 os.path.isdir = original_isdir
61 def isdir(path): function
63 os.path.isdir = isdir
104 original_isdir = os.path.isdir
106 os.path.isdir = original_isdir
112 os.path.isdir = lambda path: False
142 original_isdir = os.path.isdir
144 os.path.isdir = original_isdir
151 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/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/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/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/python/cpython3/Lib/test/
Dtest_support.py113 self.assertFalse(os.path.isdir(path))
116 self.assertTrue(os.path.isdir(path))
117 self.assertFalse(os.path.isdir(path))
124 self.assertTrue(os.path.isdir(temp_path))
125 self.assertFalse(os.path.isdir(temp_path))
136 self.assertTrue(os.path.isdir(path))
139 self.assertTrue(os.path.isdir(path))
154 self.assertTrue(os.path.isdir(path))
229 self.assertTrue(os.path.isdir(new_cwd))
Dtest_venv.py75 def isdir(self, *args): member in BasicTest
77 self.assertTrue(os.path.isdir(fn))
85 self.isdir(self.bindir)
86 self.isdir(self.include)
87 self.isdir(*self.lib)
198 elif os.path.isdir(fn):
220 self.isdir(self.bindir)
221 self.isdir(self.include)
222 self.isdir(*self.lib)
/external/e2fsprogs/e2fsck/
Dpass4.c133 int isdir; in e2fsck_pass4() local
168 isdir = ext2fs_test_inode_bitmap2(ctx->inode_dir_map, i); in e2fsck_pass4()
169 if (isdir && (link_counted > EXT2_LINK_MAX)) in e2fsck_pass4()
176 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
185 if ((isdir && link_counted > 1 && in e2fsck_pass4()
/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/
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/libcxx/test/support/
Dfilesystem_dynamic_test_helper.py13 assert os.path.isdir(ep)
36 if os.path.islink(p) or not os.path.isdir(p):
39 assert os.path.isdir(p)
/external/autotest/site_utils/lxc/
Dzygote_unittest.py63 self.assertTrue(os.path.isdir(host_path))
71 self.assertFalse(os.path.isdir(host_path))
79 self.assertTrue(os.path.isdir(host_path))
84 self.assertFalse(os.path.isdir(host_path))
93 self.assertFalse(os.path.isdir(host_path))
103 self.assertTrue(os.path.isdir(zygote.host_path))
/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/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/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):
/external/skqp/gn/
Dcp.py15 if os.path.isdir(dst):
20 if os.path.isdir(src):

12345678910>>...27