/external/e2fsprogs/tests/progs/ |
D | random_exercise.c | 28 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/ |
D | test_discovery.py | 52 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/ |
D | test_discovery.py | 35 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/ |
D | test_from_cmd.py | 28 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))
|
D | test_from_cdb.py | 42 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/ |
D | dir_util.py | 44 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):
|
D | file_util.py | 112 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/ |
D | dir_util.py | 42 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):
|
D | file_util.py | 107 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/ |
D | pyauto_utils.py | 47 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/ |
D | platform_ChromeCgroups.py | 40 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/ |
D | test_test_support.py | 131 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/ |
D | test_venv.py | 78 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/ |
D | compileall.py | 49 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/ |
D | run_dejagnu.py | 149 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/ |
D | pass4.c | 184 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/ |
D | zygote_unittest.py | 64 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))
|
D | shared_host_dir_unittest.py | 36 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/ |
D | compile_gwt_clients.py | 49 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/ |
D | local_host.py | 123 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/ |
D | cut_release.py | 56 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/ |
D | filesystem_dynamic_test_helper.py | 15 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/ |
D | create.py | 42 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/ |
D | create.py | 42 if os.path.isdir(VALGRIND): 48 if os.path.isdir(INSTALL_DIR): 88 if not os.path.isdir(TEMP_DIR):
|
/external/autotest/frontend/client/ |
D | gwt_dir | 12 if os.path.isdir(site_gwt): 16 if not os.path.isdir(DEFAULT_GWT):
|