/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/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | example_test.py | 64 self.assertFalse(os.path.isdir('/test')) 66 self.assertTrue(os.path.isdir('/test')) 108 self.assertFalse(os.path.isdir('/test')) 110 self.assertTrue(os.path.isdir('/test/dir1/dir2a')) 113 self.assertTrue(os.path.isdir('/test/dir1/dir2b')) 130 self.assertTrue(os.path.isdir('/test/dir1/dir2b')) 131 self.assertTrue(os.path.isdir('/test/dir1/dir2a'))
|
/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/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/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/ |
D | test_zipio.py | 107 self.assertTrue(zipio.isdir(TESTDATA)) 108 self.assertFalse(zipio.isdir(os.path.join(TESTDATA, 'test.txt'))) 109 self.assertTrue(zipio.isdir(os.path.join(TESTDATA, 'zipped.egg'))) 110 self.assertTrue(zipio.isdir(os.path.join(TESTDATA, 'zipped.egg', 'subdir'))) 111 self.assertTrue(zipio.isdir(os.path.join(TESTDATA, 'zipped.egg', 'subdir2/subdir'))) 112 self.assertTrue(zipio.isdir(os.path.join(TESTDATA, 'zipped.egg', 'subdir4'))) 113 self.assertFalse(zipio.isdir(os.path.join(TESTDATA, 'zipped.egg', 'subdir4', 'file.txt'))) 114 self.assertRaises(IOError, zipio.isdir, os.path.join(TESTDATA, 'no-such-file')) 115 … self.assertRaises(IOError, zipio.isdir, os.path.join(TESTDATA, 'zipped.egg', 'no-such-file')) 116 …self.assertRaises(IOError, zipio.isdir, os.path.join(TESTDATA, 'zipped.egg', 'subdir', 'no-such-fi…
|
/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/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/bin/ |
D | local_host.py | 119 source_is_dir = os.path.isdir(source) 121 (not source_is_dir and os.path.isdir(dest))): 126 if os.path.isdir(dest): 136 elif os.path.isdir(source):
|
D | os_dep.py | 37 if os.path.isdir(conf_file_line): 40 if os.path.isdir(line):
|
/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/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/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/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):
|
D | update_tree_in_svn.py | 36 if os.path.isdir(path): return DIR 67 if os.path.isdir(src): children.update(os.listdir(src)) 68 if os.path.isdir(dst):
|
/external/autotest/frontend/client/ |
D | gwt_dir | 12 if os.path.isdir(site_gwt): 16 if not os.path.isdir(DEFAULT_GWT):
|
/external/skia/gn/ |
D | cp.py | 15 if os.path.isdir(dst): 20 if os.path.isdir(src):
|
/external/mesa3d/scons/ |
D | llvm.py | 49 if not os.path.isdir(llvm_dir): 58 if not os.path.isdir(llvm_bin_dir): 60 if not os.path.isdir(llvm_bin_dir):
|
/external/clang/tools/scan-build-py/tests/unit/ |
D | test_libear.py | 16 self.assertTrue(os.path.isdir(tmpdir)) 25 self.assertTrue(os.path.isdir(tmpdir))
|
/external/autotest/site_utils/ |
D | restart_latest.py | 76 boards = [board for board in os.listdir('.') if os.path.isdir(board)] 96 if not os.path.isdir(test_path) or not test.startswith('netbook_'):
|
/external/autotest/client/site_tests/graphics_Idle/ |
D | graphics_Idle.py | 199 if os.path.isdir(exynos_node): 208 if os.path.isdir(rk3288_node): 213 elif os.path.isdir(rk3399_node): 220 if os.path.isdir(mt8173_node):
|
/external/jsoncpp/ |
D | doxybuild.py | 88 if not os.path.isdir( output_dir ): 109 if os.path.isdir( output_dir ): 112 if not os.path.isdir( output_dir ):
|
/external/autotest/tko/parsers/test/ |
D | new_scenario.py | 49 if not path.exists(results_dirpath) or not path.isdir(results_dirpath): 55 if not path.exists(scenarios_dirpath) or not path.isdir(scenarios_dirpath):
|
/external/v8/tools/testrunner/local/ |
D | utils.py | 31 from os.path import isdir 40 return [ f for f in os.listdir(test_root) if isdir(join(test_root, f)) ]
|
/external/skia/infra/bots/ |
D | zip_utils.py | 27 if not os.path.isdir(target_dir): 50 if not os.path.isdir(target_dir):
|