Searched defs:dir (Results 1 - 25 of 447) 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/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/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/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/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/openfst/src/script/
H A Dpush.cc25 void Push(MutableFstClass *ofst, ReweightType dir, float delta, argument
27 PushArgs1 args(ofst, dir, delta, remove_total_weight);
33 ReweightType dir, float delta) {
36 PushArgs2 args(ifst, ofst, flags, dir, delta);
32 Push(const FstClass &ifst, MutableFstClass *ofst, uint32 flags, ReweightType dir, float delta) argument
/external/tcpdump/
H A Dgmt2local.c48 register int dt, dir; local
65 dir = loc->tm_year - gmt->tm_year;
66 if (dir == 0)
67 dir = loc->tm_yday - gmt->tm_yday;
68 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))) {
42 fprintf(stderr, "rm %s%s", or ? "ro " : "", dir ? "dir " : "");
49 if (dir) {
70 if (!dir || try->symlink != (char *)2) perror_msg("%s", 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);
/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/e2fsprogs/lib/ext2fs/
H A Dlookup.c49 errcode_t ext2fs_lookup(ext2_filsys fs, ext2_ino_t dir, const char *name, argument
62 retval = ext2fs_dir_iterate(fs, dir, 0, buf, lookup_proc, &ls);
H A Dnewdir.c31 struct ext2_dir_entry *dir = NULL; local
43 dir = (struct ext2_dir_entry *) buf;
45 retval = ext2fs_set_rec_len(fs, fs->blocksize, dir);
58 dir->inode = dir_ino;
59 dir->name_len = 1 | filetype;
60 dir->name[0] = '.';
62 dir->rec_len = EXT2_DIR_REC_LEN(1);
67 dir = (struct ext2_dir_entry *) (buf + dir->rec_len);
68 retval = ext2fs_set_rec_len(fs, rec_len, dir);
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
H A DVersionNumberStripper.java32 public void setDirectory(String dir){directory=dir;} argument
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
H A DUtil.java49 * Deletes the contents of {@code dir}. Throws an IOException if any file
50 * could not be deleted, or if {@code dir} is not a readable directory.
52 static void deleteContents(File dir) throws IOException { argument
53 File[] files = dir.listFiles();
55 throw new IOException("not a readable directory: " + dir);
/external/google-breakpad/src/common/tests/
H A Dauto_tempdir.h70 // First remove any files in the dir
71 DIR* dir = opendir(path.c_str()); local
72 if (!dir)
76 while ((entry = readdir(dir)) != NULL) {
87 EXPECT_TRUE(closedir(dir) == 0);
/external/icu/icu4c/source/layout/
H A DStateTableProcessor2.h42 le_int32 dir; member in class:StateTableProcessor2
/external/jmonkeyengine/engine/src/core/com/jme3/light/
H A DDirectionalLight.java76 * @param dir the direction of the light.
78 public void setDirection(Vector3f dir){ argument
79 direction.set(dir);

Completed in 2050 milliseconds

1234567891011>>