Searched defs:dir (Results 1 - 25 of 591) sorted by relevance

1234567891011>>

/external/compiler-rt/test/msan/
H A Dreaddir64.cc19 DIR *dir = opendir("."); local
20 struct dirent *d = readdir(dir);
22 closedir(dir);
25 closedir(dir);
/external/dbus/dbus/
H A Ddbus-nonce.h38 DBusString dir; member in struct:DBusNonceFile
/external/squashfs-tools/squashfs-tools/
H A Dsort.h28 struct dir_ent *dir; member in struct:priority_entry
/external/bison/lib/
H A Ddirname-lgpl.c78 char *dir = malloc (length + append_dot + 1); local
79 if (!dir)
81 memcpy (dir, file, length);
83 dir[length++] = '.';
84 dir[length] = '\0';
85 return dir;
/external/icu/android_icu4j/src/main/java/android/icu/lang/
H A DUCharacterDirection.java36 * @param dir direction type to retrieve name
39 public static String toString(int dir) { argument
40 switch(dir)
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
H A DUCharacterDirection.java36 * @param dir direction type to retrieve name
40 public static String toString(int dir) { argument
41 switch(dir)
/external/skia/gm/
H A Demboss.cpp45 const SkScalar dir[] = { 1, 1, 1 }; variable
46 paint.setMaskFilter(SkBlurMaskFilter::CreateEmboss(3, dir, 0.3f, 0.1f))->unref();
/external/vogar/src/vogar/tasks/
H A DMkdirTask.java25 private final File dir; field in class:MkdirTask
26 public MkdirTask(Mkdir mkdir, File dir) { argument
27 super("mkdir " + dir);
29 this.dir = dir;
32 mkdir.mkdirs(dir);
/external/autotest/client/profilers/powertop/src/
H A Dcpufreq.c37 DIR *dir; local
45 dir = opendir("/sys/devices/system/cpu");
46 if (!dir)
49 while ((dirent = readdir(dir))) {
60 closedir(dir);
65 DIR *dir; local
78 dir = opendir("/sys/devices/system/cpu");
79 if (!dir)
82 while ((dirent = readdir(dir))) {
103 closedir(dir);
[all...]
H A Dsata.c39 DIR *dir; local
44 dir = opendir("/sys/class/scsi_host");
45 if (!dir)
48 while ((dirent = readdir(dir))) {
59 closedir(dir);
65 DIR *dir; local
76 dir = opendir("/sys/class/scsi_host/");
77 if (!dir)
80 while ((dirent = readdir(dir))) {
98 closedir(dir);
[all...]
H A Dusb.c37 DIR *dir; local
42 dir = opendir("/sys/bus/usb/devices");
43 if (!dir)
46 while ((dirent = readdir(dir))) {
63 closedir(dir);
68 DIR *dir; local
76 dir = opendir("/sys/bus/usb/devices");
77 if (!dir)
80 while ((dirent = readdir(dir))) {
115 closedir(dir);
[all...]
/external/clang/test/Sema/
H A Dusual-float.c6 void foo(int dir, int n, int tindex) { argument
10 float ang = (float) tindex * (-dir*2.0f*PI/n);
/external/dbus/bus/
H A Ddir-watch-dnotify.c2 /* dir-watch-dnotify.c OS specific directory change notification for message bus
35 #include "dir-watch.h"
44 bus_watch_directory (const char *dir, BusContext *context) argument
48 _dbus_assert (dir != NULL);
52 _dbus_warn ("Cannot watch config directory '%s'. Already watching %d directories\n", dir, MAX_DIRS_TO_WATCH);
56 fd = open (dir, O_RDONLY);
59 _dbus_warn ("Cannot open directory '%s'; error '%s'\n", dir, _dbus_strerror (errno));
65 _dbus_warn ("Cannot setup D_NOTIFY for '%s' error '%s'\n", dir, _dbus_strerror (errno));
71 _dbus_verbose ("Added watch on config directory '%s'\n", dir);
/external/droiddriver/src/io/appium/droiddriver/util/
H A DFileUtils.java55 * instead of "user.dir".
69 private static void mkdirs(File dir) { argument
70 if (dir == null || dir.exists()) {
74 mkdirs(dir.getParentFile());
75 if (!dir.mkdir()) {
76 throw new DroidDriverException("failed to mkdir " + dir);
79 dir.setReadable(true /* readable */, false/* ownerOnly */);
80 dir.setWritable(true /* readable */, false/* ownerOnly */);
81 dir
[all...]
/external/e2fsprogs/lib/e2p/
H A Diod.c30 DIR * dir; local
55 dir = opendir (dir_name);
56 if (dir == NULL) {
60 while ((dep = readdir (dir))) {
73 closedir(dir);
/external/fio/lib/
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%s", path, FIO_OS_PATH_SEPARATOR, 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/libchrome/base/files/
H A Ddir_reader_posix_unittest.cc32 const char* dir = temp_dir.path().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/pdfium/core/src/fxcrt/
H A Dfx_bidi_unittest.cpp20 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(nullptr, nullptr); local
21 EXPECT_EQ(CFX_BidiChar::NEUTRAL, dir);
23 dir = bidi.GetBidiInfo(&start, nullptr);
24 EXPECT_EQ(CFX_BidiChar::NEUTRAL, dir);
27 dir = bidi.GetBidiInfo(nullptr, &count);
28 EXPECT_EQ(CFX_BidiChar::NEUTRAL, dir);
33 dir = bidi.GetBidiInfo(&start, &count);
34 EXPECT_EQ(CFX_BidiChar::NEUTRAL, dir);
47 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(&start, &count); local
54 dir
74 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(&start, &count); local
109 CFX_BidiChar::Direction dir = bidi.GetBidiInfo(&start, &count); local
[all...]
/external/tcpdump/
H A Dgmt2local.c44 register int dt, dir; local
61 dir = loc->tm_year - gmt->tm_year;
62 if (dir == 0)
63 dir = loc->tm_yday - gmt->tm_yday;
64 dt += dir * 24 * 60 * 60;
/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/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/boringssl/src/crypto/
H A Ddirectory_posix.c57 DIR *dir; member in struct:OPENSSL_dir_context_st
78 (*ctx)->dir = opendir(directory);
79 if ((*ctx)->dir == NULL) {
88 if (readdir_r((*ctx)->dir, &(*ctx)->dirent, &dirent) != 0 ||
98 int r = closedir((*ctx)->dir);

Completed in 1508 milliseconds

1234567891011>>