/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
MediaStoreSaver.java | 43 File dir = new File(file_path); local 45 if (!dir.exists()) { 46 dir.mkdirs(); 57 file = File.createTempFile(imageName, suffix, dir);
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
MediaStoreSaver.java | 43 File dir = new File(file_path); local 45 if (!dir.exists()) { 46 dir.mkdirs(); 57 file = File.createTempFile(imageName, suffix, dir);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Storage.java | 115 File dir = new File(DIRECTORY); local 116 dir.mkdirs(); 117 if (!dir.isDirectory() || !dir.canWrite()) {
|
/build/kati/ |
pathutil_test.go | 38 fsCache.ids["."] = fs.dir(".").id 67 dir, name := filepath.Split(name) 68 dir = strings.TrimSuffix(dir, string(filepath.Separator)) 69 if dir == "" { 70 dir = "." 72 di, ok := fsCache.ids[dir] 74 if dir == "." { 77 de := m.add(m.dir, dir) 108 func (m *mockfs) dir(name string) dirent { return m.dirent(name, os.ModeDir) } func [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
MediaStoreSaver.java | 45 File dir = new File(picDir, folderName); local 46 if (!dir.exists() && !dir.mkdirs()) { 51 File file = File.createTempFile(imageName, ".png", dir);
|
/external/autotest/client/profilers/powertop/src/ |
intelcstates.c | 76 DIR *cpudir; 77 DIR *dir; local 103 dir = opendir(filename); 104 if (!dir) 109 while ((entry = readdir(dir))) { 130 closedir(dir);
|
/external/clang/test/SemaCXX/ |
constexpr-turing.cpp | 8 enum Dir { L, R }; 11 Dir dir; member in struct:Action 21 constexpr Tape(const Tape &old, Dir dir) : 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); [all...] |
/external/clang/unittests/Basic/ |
FileManagerTest.cpp | 83 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/foo")) 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/conscrypt/platform/src/main/java/org/conscrypt/ |
TrustedCertificateStore.java | 204 File dir = file.getParentFile(); local 205 dir.mkdirs(); 206 dir.setReadable(true, false); 207 dir.setExecutable(true, false); 252 private void addAliases(Set<String> result, String prefix, File dir) { 253 String[] files = dir.list(); 327 public File getCertificateFile(File dir, final X509Certificate x) { 335 return findCert(dir, x.getSubjectX500Principal(), selector, File.class); 508 File dir, X500Principal subject, CertSelector selector, Class<T> desiredReturnType) { 513 File file = file(dir, hash, index) [all...] |
/external/e2fsprogs/debugfs/ |
ncheck.c | 29 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/lib/ext2fs/ |
namei.c | 29 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, 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, 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/elfutils/libdwfl/ |
dwfl_build_id_find_elf.c | 75 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/fio/profiles/ |
tiobench.c | 10 static char *dir; variable 31 char *dir; member in struct:tiobench_options 66 .name = "dir", 69 .off1 = offsetof(struct tiobench_options, dir), 105 if (dir) 106 sprintf(dir_idx, "directory=%s", dir);
|
/external/libbrillo/brillo/http/ |
http_form_data_unittest.cc | 42 base::ScopedTempDir dir; local 43 ASSERT_TRUE(dir.CreateUniqueTempDir()); 45 base::FilePath file_name = dir.GetPath().Append("sample.txt"); 70 base::ScopedTempDir dir; local 71 ASSERT_TRUE(dir.CreateUniqueTempDir()); 73 base::FilePath filename1 = dir.GetPath().Append("sample.txt"); 78 base::FilePath filename2 = dir.GetPath().Append("test.bin"); 145 base::ScopedTempDir dir; local 146 ASSERT_TRUE(dir.CreateUniqueTempDir()); 148 base::FilePath filename1 = dir.GetPath().Append("sample.txt") [all...] |
/external/libchrome/base/files/ |
file_enumerator_posix.cc | 124 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/libcups/cups/ |
testarray.c | 23 #include "dir.h" 49 cups_dir_t *dir; /* Current directory */ local 281 if ((dir = cupsDirOpen(".")) == NULL) 288 while ((dent = cupsDirRead(dir)) != NULL) 298 cupsDirClose(dir);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.read_symlink/ |
read_symlink.pass.cpp | 63 env.create_dir("dir") 80 const path dir = env.create_dir("dir"); local 90 {env.create_symlink(dir, "dir_link"), dir},
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.rename/ |
rename.pass.cpp | 60 const path dir = env.create_dir("dir1"); local 66 {file, dir}, 67 {dir, file}
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.status/ |
status.pass.cpp | 61 const path dir = env.create_dir("dir"); local 62 const path file = env.create_file("dir/file", 42); 63 const path sym = env.create_symlink("dir/file", "sym"); 64 permissions(dir, perms::none); 113 {StaticEnv::Dir, file_type::directory},
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.symlink_status/ |
symlink_status.pass.cpp | 60 const path dir = env.create_dir("dir"); local 61 const path file_in_dir = env.create_file("dir/file", 42); 62 const path sym_in_dir = env.create_symlink("dir/file", "dir/bad_sym"); 63 const path sym_points_in_dir = env.create_symlink("dir/file", "sym"); 64 permissions(dir, perms::none); 121 {StaticEnv::Dir, file_type::directory},
|
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/ |
AlaLib.cpp | 175 static const char dir[] = "/data/ala/"; local 178 DIR *fd; 180 if ((fd = opendir(dir)) == NULL) 182 fprintf(stderr, "listdir: can't open %s\n", dir); 190 ALOGE("%s/%s\n", dir, dp->d_name);
|
/external/ltp/testcases/kernel/fs/fs_fill/ |
fs_fill.c | 40 char dir[PATH_MAX]; member in struct:worker 46 DIR *d; 51 tst_fill_fs(w->dir, 0); 55 d = SAFE_OPENDIR(w->dir); 63 w->dir, ent->d_name); 110 snprintf(workers[i].dir, sizeof(workers[i].dir), 112 SAFE_MKDIR(workers[i].dir, 0700);
|
/external/ltp/testcases/kernel/syscalls/chroot/ |
chroot03.c | 61 char *dir; member in struct:test_case_t 113 TEST(chroot(TC[i].dir)); 154 TC[3].dir = bad_addr;
|
/external/python/cpython2/PC/VS9.0/ |
build.bat | 19 set dir=%~dp0
variable 34 if '%1'=='-e' call "%dir%..\..\PCbuild\get_externals.bat" & (set build_tkinter=true) & shift & goto CheckOpts
40 set builddir=%dir%amd64\
42 set builddir=%dir%
51 call "%dir%env.bat" %vs_platf%
54 vcbuild "%dir%kill_python.vcproj" "%conf%|%platf%" && "%builddir%kill_python%dbg_ext%.exe"
57 set externals_dir=%dir%..\..\externals
107 vcbuild "%dir%pcbuild.sln" %target% "%conf%|%platf%" %1 %2 %3 %4 %5 %6 %7 %8 %9
|
/external/python/cpython2/PCbuild/ |
build.bat | 53 set dir=%~dp0
variable 90 if "%IncludeExternals%"=="true" call "%dir%get_externals.bat"
108 call "%dir%env.bat" %vs_platf% >nul
115 del /s "%dir%\*.pgc"
116 del /s "%dir%\..\Lib\*.pyc"
118 call "%dir%\..\python.bat" %pgo_job%
127 msbuild "%dir%\pythoncore.vcxproj" /t:KillPython %verbose%^
139 msbuild "%dir%pcbuild.proj" /t:%target% %parallel% %verbose%^
|