Home
last modified time | relevance | path

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

12345678910>>...13

/external/e2fsprogs/tests/progs/
Drandom_exercise.c27 int isdir; member
75 int isdir = 0; in create_random_file() local
79 isdir = random() & 1; in create_random_file()
80 if (isdir) { in create_random_file()
93 state_array[fd].isdir = isdir; in create_random_file()
96 state_array[fd].isdir = isdir; in create_random_file()
107 if (state_array[fd].isdir) in truncate_file()
123 if (state_array[fd].isdir) in unlink_file()
157 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/skia/tools/
Dbuild_command_buffer.py58 elif not os.path.isdir(chrome_src_dir):
60 if os.path.isdir(args.chrome_dir):
68 if not os.path.isdir(args.chrome_dir):
76 if not os.path.isdir(chrome_src_dir):
81 elif not os.path.isdir(args.output_dir):
145 if shared_lib_subdir and not os.path.isdir(shared_lib_dst_dir):
/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/e2fsprogs/e2fsck/
Dpass4.c125 int isdir; in e2fsck_pass4() local
159 isdir = ext2fs_test_inode_bitmap2(ctx->inode_dir_map, i); in e2fsck_pass4()
160 if (isdir && (link_counted > EXT2_LINK_MAX)) in e2fsck_pass4()
166 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
175 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/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_gce.py101 ORIGINAL_ISDIR = os.path.isdir
103 os.path.isdir = lambda path: True
108 os.path.isdir = ORIGINAL_ISDIR
Dtest_devshell.py128 ORIGINAL_ISDIR = os.path.isdir
130 os.path.isdir = lambda path: True
135 os.path.isdir = ORIGINAL_ISDIR
/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/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/opencv3/platforms/ios/
Dbuild_framework.py47 if not os.path.isdir(builddir):
98 if os.path.isdir(framework_dir):
151 if os.path.isdir(args.contrib + "/modules"):
/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/chromium-trace/catapult/third_party/typ/typ/tests/
Dhost_test.py67 self.assertTrue(h.isdir(dirpath))
73 self.assertTrue(h.isdir(dirpath, 'bar'))
84 self.assertFalse(h.isdir(dirpath, 'bar', 'foo.txt'))
102 self.assertFalse(h.isdir(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/libcxxabi/test/libcxxabi/test/
Dconfig.py37 if not os.path.isdir(cxx_headers):
45 if not os.path.isdir(libcxxabi_headers):
/external/autotest/client/bin/
Dos_dep.py37 if os.path.isdir(conf_file_line):
40 if os.path.isdir(line):
/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/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util.py23 if os.path.isdir(dir_path):
93 if unzip_path and os.path.isdir(unzip_path):
/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/autotest/client/common_lib/
Dbase_job_unittest.py267 self.assert_(os.path.isdir('testing'))
269 self.assert_(os.path.isdir('testing'))
273 self.assert_(not os.path.isdir('testing2'))
287 self.assert_(os.path.isdir('testing4'))
289 self.assert_(os.path.isdir('testing4'))
293 self.assert_(not os.path.isdir('testing5'))
295 self.assert_(os.path.isdir('testing5'))
299 self.assert_(not os.path.isdir('testing6'))
301 self.assert_(os.path.isdir('testing6/subdir'))
307 self.assert_(not os.path.isdir('testing7'))
[all …]
/external/v8/build/
Dlandmines.py171 if (os.path.isdir(path) and
182 elif os.path.isdir(path):
188 if os.path.exists(project_dir) and os.path.isdir(project_dir):

12345678910>>...13