Home
last modified time | relevance | path

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

12345678910>>...13

/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/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dexample_test.py64 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/
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/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/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/
Dtest_zipio.py107 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/
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/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/bin/
Dlocal_host.py119 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):
Dos_dep.py37 if os.path.isdir(conf_file_line):
40 if os.path.isdir(line):
/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/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/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/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):
Dupdate_tree_in_svn.py36 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/
Dgwt_dir12 if os.path.isdir(site_gwt):
16 if not os.path.isdir(DEFAULT_GWT):
/external/skia/gn/
Dcp.py15 if os.path.isdir(dst):
20 if os.path.isdir(src):
/external/mesa3d/scons/
Dllvm.py49 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/
Dtest_libear.py16 self.assertTrue(os.path.isdir(tmpdir))
25 self.assertTrue(os.path.isdir(tmpdir))
/external/autotest/site_utils/
Drestart_latest.py76 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/
Dgraphics_Idle.py199 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/
Ddoxybuild.py88 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/
Dnew_scenario.py49 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/
Dutils.py31 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/
Dzip_utils.py27 if not os.path.isdir(target_dir):
50 if not os.path.isdir(target_dir):

12345678910>>...13