/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 | 51 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/ |
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/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/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/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/python/cpython3/Lib/test/ |
D | test_support.py | 113 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))
|
D | test_venv.py | 75 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/ |
D | pass4.c | 133 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/ |
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/ |
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/libcxx/test/support/ |
D | filesystem_dynamic_test_helper.py | 13 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/ |
D | zygote_unittest.py | 63 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/ |
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/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/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):
|
/external/skqp/gn/ |
D | cp.py | 15 if os.path.isdir(dst): 20 if os.path.isdir(src):
|