Searched defs:dir (Results 26 - 50 of 756) sorted by relevance

1234567891011>>

/external/fio/oslib/
H A Dlinux-dev-lookup.c13 struct dirent *dir; local
22 while ((dir = readdir(D)) != NULL) {
25 if (!strcmp(dir->d_name, ".") || !strcmp(dir->d_name, ".."))
28 sprintf(full_path, "%s/%s", path, dir->d_name);
/external/google-breakpad/src/client/linux/minidump_writer/
H A Ddirectory_reader_unittest.cc50 DIR *const dir = opendir("/proc/self"); local
51 ASSERT_TRUE(dir != NULL);
54 while ((dent = readdir(dir)))
57 closedir(dir);
/external/guava/guava/src/com/google/common/io/
H A DPatternFilenameFilter.java59 @Override public boolean accept(@Nullable File dir, String fileName) { argument
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/javadoc/
H A DJavadocExtractorTest.java58 private void processDir(File dir) throws FileNotFoundException { argument
59 for (File child : dir.listFiles()) {
/external/libchrome/base/files/
H A Ddir_reader_posix_unittest.cc32 const char* dir = temp_dir.GetPath().value().c_str(); local
33 ASSERT_TRUE(dir);
38 PCHECK(chdir(dir) == 0);
50 DirReaderPosix reader(dir);
85 PCHECK(rmdir(dir) == 0);
H A Dscoped_temp_dir_unittest.cc20 // Against an existing dir, it should get destroyed when leaving scope.
23 ScopedTempDir dir; local
24 EXPECT_TRUE(dir.Set(test_path));
25 EXPECT_TRUE(dir.IsValid());
30 ScopedTempDir dir; local
31 EXPECT_TRUE(dir.Set(test_path));
32 // Now the dir doesn't exist, so ensure that it gets created.
35 FilePath path = dir.Take();
37 EXPECT_FALSE(dir.IsValid());
43 ScopedTempDir dir; local
54 ScopedTempDir dir; local
73 ScopedTempDir dir; local
85 ScopedTempDir dir; local
100 ScopedTempDir dir; local
[all...]
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_directory_symlink/
H A Dcreate_directory_symlink.pass.cpp54 const path dir = env.create_dir("dir"); local
55 const path dir_sym = env.create_symlink(dir, "dir_sym");
62 TEST_CHECK(equivalent(dest, dir));
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.create_hard_link/
H A Dcreate_hard_link.pass.cpp67 const path dir = env.create_dir("dir"); local
71 fs::create_hard_link(dir, dest, ec);
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_empty/
H A Dis_empty.pass.cpp69 const path dir = env.create_dir("dir"); local
70 const path dir2 = env.create_dir("dir/dir2");
71 permissions(dir, perms::none);
83 const path dir = env.create_dir("dir"); local
84 const path file1 = env.create_file("dir/file", 42);
85 permissions(dir, perms::none);
88 TEST_CHECK(is_empty(dir, ec) == false);
92 TEST_CHECK_THROW(filesystem_error, is_empty(dir));
[all...]
/external/ltp/lib/
H A Dtst_dir_is_empty.c31 DIR *dir = SAFE_OPENDIR(cleanup_fn, name); local
34 while ((entry = SAFE_READDIR(cleanup_fn, dir)) != NULL) {
46 SAFE_CLOSEDIR(cleanup_fn, dir);
/external/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_utils.h29 DIR *dir; local
35 dir = SAFE_OPENDIR(NULL, name);
37 while ((dent = SAFE_READDIR(NULL, dir))) {
49 SAFE_CLOSEDIR(NULL, dir);
55 SAFE_CLOSEDIR(NULL, dir);
/external/ltp/testcases/kernel/syscalls/getcwd/
H A Dgetcwd03.c42 static char dir[BUFSIZ], dir_link[BUFSIZ]; variable
50 SAFE_CHDIR(dir);
94 sprintf(dir, "getcwd1.%d", getpid());
96 SAFE_MKDIR(dir, 0755);
97 SAFE_SYMLINK(dir, dir_link);
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
H A DDrawableResourceLoader.java33 private void listDrawableResources(FsFile dir, String type) { argument
34 FsFile[] files = dir.listFiles();
38 qualifiers = Qualifiers.fromParentDir(dir);
40 Logger.warn(dir + ": " + e.getMessage());
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowAndroidBidi.java10 public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) { argument
/external/strace/tests/
H A Dattach-p-cmd-p.c91 static const char dir[] = "attach-p-cmd.test -p"; local
93 int rc = chdir(dir);
97 pid, dir, sprintrc(rc), pid);
/external/strace/tests-m32/
H A Dattach-p-cmd-p.c91 static const char dir[] = "attach-p-cmd.test -p"; local
93 int rc = chdir(dir);
97 pid, dir, sprintrc(rc), pid);
/external/strace/tests-mx32/
H A Dattach-p-cmd-p.c91 static const char dir[] = "attach-p-cmd.test -p"; local
93 int rc = chdir(dir);
97 pid, dir, sprintrc(rc), pid);
/external/syslinux/core/fs/
H A Dreaddir.c33 __export struct dirent *readdir(DIR *dir) argument
36 struct file *dd_dir = (struct file *)dir;
51 __export int closedir(DIR *dir) argument
53 struct file *dd_dir = (struct file *)dir;
/external/tensorflow/tensorflow/stream_executor/lib/
H A Dprocess_state.cc39 bool GetCurrentDirectory(string* dir) { argument
45 *dir = p;
/external/toybox/toys/posix/
H A Drm.c28 int dir = S_ISDIR(try->st.st_mode), or = 0, using = 0; local
33 // Intentionally fail non-recursive attempts to remove even an empty dir
35 if (dir && !(flags & (FLAG_r|FLAG_R))) goto skip;
40 if (!(dir && try->again) && ((or && isatty(0)) || (flags & FLAG_i))) {
43 fprintf(stderr, "rm %s%s%s", or ? "ro " : "", dir ? "dir " : "", s);
50 if (dir) {
72 if (!dir || try->symlink != (char *)2) perror_msg_raw(try->name);
/external/adhd/cras/src/server/
H A Dcras_alsa_mixer_name.h25 enum CRAS_STREAM_DIRECTION dir; member in struct:mixer_name
35 * dir - The direction for this control.
44 enum CRAS_STREAM_DIRECTION dir,
53 * dir - The direction for these controls.
63 enum CRAS_STREAM_DIRECTION dir,
79 * dir - The direction to match.
89 enum CRAS_STREAM_DIRECTION dir,
H A Dcras_alsa_ucm_section.h20 enum CRAS_STREAM_DIRECTION dir; /* Output or Input. */ member in struct:ucm_section
35 * dir - Device direction: INPUT or OUTPUT.
44 enum CRAS_STREAM_DIRECTION dir,
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
H A DParserLoader.java52 File dir = new File(classDir);
53 if(dir.isDirectory()) {
56 File[] files = dir.listFiles(new ClassFilenameFilter(grammarName));
118 public boolean accept(File dir, String name) { argument
/external/compiler-rt/test/msan/Linux/
H A Dglob_altdirfunc.cc19 static void my_gl_closedir(void *dir) { argument
20 if (!dir)
22 closedir((DIR *)dir);
25 static struct dirent *my_gl_readdir(void *dir) { argument
26 if (!dir)
28 struct dirent *d = readdir((DIR *)dir);
/external/dtc/
H A Dsrcpos.h30 char *dir; member in struct:srcfile_state

Completed in 756 milliseconds

1234567891011>>