Searched defs:dir (Results 101 - 125 of 649) sorted by relevance

1234567891011>>

/external/skia/src/ports/
H A DSkFontMgr_custom_directory.cpp16 DirectorySystemFontLoader(const char* dir) : fBaseDirectory(dir) { } argument
102 SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Directory(const char* dir) { argument
103 return sk_make_sp<SkFontMgr_Custom>(DirectorySystemFontLoader(dir));
/external/skia/tools/
H A Dok_srcs.cpp63 std::string dir; member in struct:SKPStream
68 stream.dir = options("dir", "skps");
69 SkOSFile::Iter it{stream.dir.c_str(), ".skp"};
77 std::string dir, path; member in struct:SKPStream::SKPSrc
82 auto skp = SkData::MakeFromFileName((dir+"/"+path).c_str());
108 src.dir = dir;
/external/toybox/toys/lsb/
H A Dumount.c51 static void do_umount(char *dir, char *dev, int flags) argument
62 if (!strcmp(mt->dir, dir)) while ((s = comma_iterate(&mt->opts, &len))) {
78 if (!umount2(dir, flags)) {
79 if (toys.optflags & FLAG_v) xprintf("%s unmounted\n", dir);
98 if (!mount("", dir, "", MS_REMOUNT|MS_RDONLY, "")) {
99 if (toys.optflags & FLAG_v) xprintf("%s remounted ro\n", dir);
104 perror_msg_raw(dir);
131 if (mountlist_istype(ml, typestr)) do_umount(ml->dir, ml->device, flags);
141 if (!strcmp(ml->dir, ab
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Deapol_test.py17 dir = os.path.dirname(os.path.realpath(sys.modules[__name__].__file__)) variable
18 sys.path.append(os.path.join(dir, '..', 'wpaspy'))
/external/clang/include/clang/Lex/
H A DDirectoryLookup.h67 /// 'dir'.
68 DirectoryLookup(const DirectoryEntry *dir, SrcMgr::CharacteristicKind DT, argument
73 u.Dir = dir;
/external/clang/test/SemaCXX/
H A Dconstexpr-turing.cpp11 Dir dir; member in struct:Action
21 constexpr Tape(const Tape &old, Dir dir) : argument
22 l(dir == L ? old.l ? old.l->l : 0 : &old),
23 val(dir == L ? old.l ? old.l->val : false
25 r(dir == R ? old.r ? old.r->r : 0 : &old) {}
31 constexpr Tape move(const Tape &old, Dir dir) { return Tape(old, dir); } argument
38 tm[state][tape.val].dir),
/external/clang/unittests/Basic/
H A DFileManagerTest.cpp83 const DirectoryEntry *dir = file->getDir(); local
84 ASSERT_TRUE(dir != nullptr);
85 EXPECT_STREQ(".", dir->getName());
90 dir = file->getDir();
91 ASSERT_TRUE(dir != nullptr);
92 EXPECT_STREQ("x/y", dir->getName());
103 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir/foo"));
104 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir"));
113 manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
114 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir/fo
116 const DirectoryEntry *dir = manager.getDirectory("virtual/dir"); local
145 const DirectoryEntry *dir = file->getDir(); local
169 const DirectoryEntry *dir = file->getDir(); local
[all...]
/external/e2fsprogs/debugfs/
H A Dncheck.c29 ext2_ino_t dir; member in struct:inode_walk_struct
58 iw->dir,
62 "while calling ext2fs_get_pathname for inode #%u", iw->dir);
73 iw->dir,
173 iw.dir = ino;
/external/e2fsprogs/intl/
H A Dprintf-parse.h57 char_directive *dir; member in struct:__anon4996
H A Dwprintf-parse.h57 wchar_t_directive *dir; member in struct:__anon4998
/external/e2fsprogs/lib/ext2fs/
H A Dfinddev.c82 DIR *dir; local
89 if ((dir = opendir(dirname)) == NULL)
91 dp = readdir(dir);
107 closedir(dir);
115 dp = readdir(dir);
118 closedir(dir);
H A Dget_pathname.c14 * ext2fs_get_pathname(fs, dir, ino, name)
17 * string, placing the result in <name>. <dir> is the containing
20 * of the the directory <dir>.
71 static errcode_t ext2fs_get_pathname_int(ext2_filsys fs, ext2_ino_t dir, argument
79 if (dir == ino) {
83 strcpy(*name, (dir == EXT2_ROOT_INO) ? "/" : ".");
87 if (!dir || (maxdepth < 0)) {
100 retval = ext2fs_dir_iterate(fs, dir, 0, buf, get_pathname_proc, &gp);
105 snprintf(tmp, sizeof(tmp), "<%u>/<%u>", dir, ino);
107 snprintf(tmp, sizeof(tmp), "<%u>", dir);
154 ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, char **name) argument
[all...]
H A Dlink.c154 errcode_t ext2fs_link(ext2_filsys fs, ext2_ino_t dir, const char *name, argument
176 retval = ext2fs_dir_iterate(fs, dir, DIRENT_FLAG_INCLUDE_EMPTY,
186 if ((retval = ext2fs_read_inode(fs, dir, &inode)) != 0)
196 if ((retval = ext2fs_write_inode(fs, dir, &inode)) != 0)
H A Dnamei.c29 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, argument
40 printf("follow_link: root=%lu, dir=%lu, inode=%lu, lc=%d\n",
41 root, dir, inode, link_count);
70 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1,
83 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, argument
96 dir = root;
109 retval = ext2fs_lookup (fs, dir, thisname, len, buf, &inode);
111 retval = follow_link (fs, root, dir, inode,
112 link_count, buf, &dir);
117 *res_inode = dir;
127 ext2_ino_t dir, inode; local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/util/rss/
H A DRSSFeedUtil.java46 public ExecTask runExecTask(String executable, String commandline, String dir) argument
48 if (dir==null) {
49 dir = "."; //$NON-NLS-1$
55 exec.setDir((new File(dir)).getAbsoluteFile());
/external/elfutils/libdwfl/
H A Ddwfl_build_id_find_elf.c75 char *dir; local
77 while (fd < 0 && (dir = strsep (&paths, ":")) != NULL)
79 if (dir[0] == '+' || dir[0] == '-')
80 ++dir;
83 if (dir[0] != '/')
86 size_t dirlen = strlen (dir);
90 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name);
/external/emma/core/java12/com/vladium/emma/report/
H A DSourcePathCache.java44 final File dir = new File (sourcepath [i]);
46 if (! removeNonExistent || (dir.isDirectory () && dir.exists ()))
47 _sourcepath.add (dir);
66 final File dir = sourcepath [i];
68 if (! removeNonExistent || (dir.isDirectory () && dir.exists ()))
69 _sourcepath.add (dir);
193 private Set /* String */ faultListing (final File dir, final String packageVMName) argument
195 if ($assert.ENABLED) $assert.ASSERT (dir !
[all...]
/external/emma/core/java12/com/vladium/util/
H A DFiles.java199 * @param dir [null is ignored]
200 * @param file [absolute overrides 'dir']
203 public static File newFile (final File dir, final File file) argument
207 if ((dir == null) || file.isAbsolute ()) return file;
209 return new File (dir, file.getPath ());
214 * @param dir [null is ignored]
215 * @param file [absolute overrides 'dir']
218 public static File newFile (final File dir, final String file) argument
223 if ((dir == null) || fileFile.isAbsolute ()) return fileFile;
225 return new File (dir, fil
234 newFile(final String dir, final String file) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DReplaceableContextIterator.java40 dir=0;
52 dir=0;
63 dir=0;
160 this.dir=1;
164 this.dir=-1;
168 this.dir=0;
177 if(dir>0) {
186 } else if(dir<0 && index>contextStart) {
197 protected int dir; // 0=initial state >0=forward <0=backward field in class:ReplaceableContextIterator
/external/icu/icu4c/source/i18n/
H A Dcasetrn.cpp35 utrans_rep_caseContextIterator(void *context, int8_t dir) argument
43 if(dir<0) {
46 csc->dir=dir;
47 } else if(dir>0) {
50 csc->dir=dir;
53 dir=csc->dir;
58 if(dir<
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DReplaceableContextIterator.java39 dir=0;
51 dir=0;
62 dir=0;
159 this.dir=1;
163 this.dir=-1;
167 this.dir=0;
176 if(dir>0) {
185 } else if(dir<0 && index>contextStart) {
196 protected int dir; // 0=initial state >0=forward <0=backward field in class:ReplaceableContextIterator
/external/libchrome/base/files/
H A Dfile_enumerator_posix.cc124 DIR* dir = opendir(source.value().c_str()); local
125 if (!dir)
136 while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) {
158 closedir(dir);
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/
H A Dpermissions.pass.cpp82 const path dir = env.create_dir("dir1"); local
99 {dir, perms::none, perms::none},
100 {dir, perms::owner_all, perms::owner_all},
101 {dir, perms::group_all | AP, perms::owner_all | perms::group_all},
102 {dir, perms::group_all | RP, perms::owner_all},
108 // test non-symlink with symlink_nofollow. The last test on file/dir
111 {dir, perms::group_all | AP | NF, perms::owner_all | perms::group_all}
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.remove_all/
H A Dremove_all.pass.cpp58 const path non_empty_dir = env.create_dir("dir");
103 const path dir = env.create_dir("dir"); local
104 const path file = env.create_file(dir / "file", 42);
105 const path link = env.create_symlink(dir, "sym");
112 TEST_CHECK(exists(dir));
121 const path dir = env.create_dir("dir"); local
122 const path dir1 = env.create_dir(dir / "dir1");
125 dir, dir
[all...]
/external/libmicrohttpd/src/examples/
H A Dfileserver_example_dirs.c52 DIR *dir = cls; local
53 if (dir != NULL)
54 closedir (dir);
60 DIR *dir = cls; local
67 e = readdir (dir);
91 DIR *dir; local
111 dir = opendir (".");
112 if (dir == NULL)
133 dir,
137 closedir (dir);
[all...]

Completed in 485 milliseconds

1234567891011>>