/frameworks/base/core/java/android/net/ |
SSLSessionCache.java | 45 * @param dir to store session files in (created if necessary) 48 public SSLSessionCache(File dir) throws IOException { 49 mSessionCache = FileClientSessionCache.usingDirectory(dir); 59 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); local 62 cache = FileClientSessionCache.usingDirectory(dir); 64 Log.w(TAG, "Unable to create SSL session cache in " + dir, e);
|
/frameworks/base/media/java/android/media/videoeditor/ |
VideoEditorFactory.java | 49 final File dir = new File(projectPath); local 50 if (!dir.exists()) { 51 if (!dir.mkdirs()) { 59 if (!new File(dir, ".nomedia").createNewFile()) {
|
/system/extras/tests/storage/ |
opentest.c | 31 char *dir; local 41 dir = argv[1]; 49 if (stat(dir, &statbuf)) { 50 fprintf(stderr, "Cannot stat %s\n", dir); 55 fprintf(stderr, "%s is not a directory!\n", dir); 59 if (access(dir, R_OK | W_OK)) { 60 fprintf(stderr, "No access to %s\n", dir); 70 if (chdir(dir)) { 71 fprintf(stderr, "Cannot chdir to %s\n", dir);
|
/external/chromium/base/ |
dir_reader_posix_unittest.cc | 27 char kDirTemplate[] = "/tmp/org.chromium.dir-reader-posix-XXXXXX"; 28 const char* dir = mkdtemp(kDirTemplate); local 29 CHECK(dir); 34 PCHECK(chdir(dir) == 0); 46 DirReaderPosix reader(dir); 81 PCHECK(rmdir(dir) == 0);
|
/external/chromium/chrome/browser/download/ |
save_page_browsertest.cc | 67 FilePath dir = save_dir_.path().AppendASCII("a_files"); local 69 full_file_name, dir, SavePackage::SAVE_AS_ONLY_HTML)); 77 EXPECT_FALSE(file_util::PathExists(dir)); 95 FilePath dir = save_dir_.path().AppendASCII("a_files"); local 98 full_file_name, dir, SavePackage::SAVE_AS_ONLY_HTML)); 106 EXPECT_FALSE(file_util::PathExists(dir)); 122 FilePath dir = save_dir_.path().AppendASCII("b_files"); local 124 full_file_name, dir, SavePackage::SAVE_AS_COMPLETE_HTML)); 132 EXPECT_TRUE(file_util::PathExists(dir)); 138 dir.AppendASCII("1.png"))) 159 FilePath dir = save_dir_.path().AppendASCII( local [all...] |
save_page_uitest.cc | 73 FilePath dir = download_dir_.AppendASCII("test.exe_files"); local 91 EXPECT_TRUE(file_util::DieFileDie(dir, true));
|
/external/chromium/chrome/browser/ |
platform_util_chromeos.cc | 27 void OpenFileBrowserOnUIThread(const FilePath& dir) { 34 SelectFileDialog::SELECT_NONE, string16(), dir, NULL, 0, 40 FilePath dir = full_path.DirName(); local 41 if (!file_util::DirectoryExists(dir)) 45 OpenFileBrowserOnUIThread(dir); 49 NewRunnableFunction(&OpenFileBrowserOnUIThread, dir));
|
platform_util_linux.cc | 60 FilePath dir = full_path.DirName(); local 61 if (!file_util::DirectoryExists(dir)) 64 XDGOpen(dir.value());
|
/external/chromium_org/base/files/ |
dir_reader_posix_unittest.cc | 28 char kDirTemplate[] = "/tmp/org.chromium.dir-reader-posix-XXXXXX"; 29 const char* dir = mkdtemp(kDirTemplate); local 30 ASSERT_TRUE(dir); 35 PCHECK(chdir(dir) == 0); 47 DirReaderPosix reader(dir); 82 PCHECK(rmdir(dir) == 0);
|
scoped_temp_dir_unittest.cc | 19 // Against an existing dir, it should get destroyed when leaving scope. 22 ScopedTempDir dir; local 23 EXPECT_TRUE(dir.Set(test_path)); 24 EXPECT_TRUE(dir.IsValid()); 29 ScopedTempDir dir; local 30 EXPECT_TRUE(dir.Set(test_path)); 31 // Now the dir doesn't exist, so ensure that it gets created. 34 FilePath path = dir.Take(); 36 EXPECT_FALSE(dir.IsValid()); 42 ScopedTempDir dir; local 53 ScopedTempDir dir; local 72 ScopedTempDir dir; local 84 ScopedTempDir dir; local 99 ScopedTempDir dir; local [all...] |
/external/chromium_org/base/third_party/xdg_user_dirs/ |
xdg_user_dir_lookup.cc | 193 char *dir, *home_dir, *user_dir; local 195 dir = xdg_user_dir_lookup_with_fallback (type, NULL); 196 if (dir != NULL) 197 return dir; 225 fprintf (stderr, "Usage %s <dir-type>\n", argv[0]);
|
/external/chromium_org/chrome/browser/ |
platform_util_linux.cc | 56 base::FilePath dir = full_path.DirName(); local 57 if (!base::DirectoryExists(dir)) 60 XDGOpen(dir.value());
|
/external/chromium_org/components/autofill/core/browser/ |
data_driven_test.cc | 70 base::FilePath dir; local 71 dir = test_data_directory_.AppendASCII("autofill") 74 return dir; 79 base::FilePath dir; local 80 dir = test_data_directory_.AppendASCII("autofill") 83 return dir;
|
/external/chromium_org/mojo/public/bindings/generators/ |
run_cpp_generator.py | 21 dir = None variable 23 dir = sys.argv[2] variable 25 module, "mojo/public/bindings/generators/gen", dir)
|
/external/chromium_org/sandbox/win/src/ |
win_utils_unittest.cc | 38 HANDLE dir = ::CreateFile(my_folder, FILE_ALL_ACCESS, local 41 EXPECT_NE(INVALID_HANDLE_VALUE, dir); 44 EXPECT_TRUE(SetReparsePoint(dir, temp_dir_nt.c_str())); 49 EXPECT_TRUE(DeleteReparsePoint(dir)); 50 EXPECT_TRUE(::CloseHandle(dir));
|
/external/chromium_org/sync/sessions/ |
sync_session.cc | 40 syncable::Directory* dir = context_->directory(); local 45 dir->GetDownloadProgressAsString(type, &download_progress_markers[type]); 50 dir->CollectMetaHandleCounts(&num_entries_by_type, 61 dir->GetEntriesCount(),
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
BidiContext.h | 46 WTF::Unicode::Direction dir() const { return static_cast<WTF::Unicode::Direction>(m_direction); } function in class:WebCore::BidiContext
|
/external/chromium_org/tools/gn/ |
gyp_helper.cc | 27 const std::string& dir = target->label().dir().value(); local 28 size_t last_slash = dir.size() - 1; 31 size_t next_to_last_slash = dir.rfind('/', last_slash - 1); 33 dir_name = dir.substr(next_to_last_slash + 1, 44 return SourceFile(dir + dir_name + ".gyp"); 86 std::string GypHelper::GetDirReference(const SourceDir& dir, 89 if (dir.is_null()) 92 if (dir.is_system_absolute()) { 93 ret = FilePathToUTF8(dir.Resolve(base::FilePath())) [all...] |
input_file.h | 29 const SourceDir& dir() const { return dir_; } function in class:InputFile
|
/external/chromium_org/tools/gyp/test/module/src/ |
program.c | 33 char dir[_MAX_DIR]; local 35 if (_splitpath_s(bin_path, drive, _MAX_DRIVE, dir, _MAX_DIR, 40 if (_makepath_s(module_path, MAX_PATH, drive, dir, module, MODULE_SUFFIX)) {
|
/external/chromium_org/ui/base/resource/ |
data_pack_unittest.cc | 25 base::ScopedTempDir dir; local 26 ASSERT_TRUE(dir.CreateUniqueTempDir()); 27 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); 57 base::ScopedTempDir dir; local 58 ASSERT_TRUE(dir.CreateUniqueTempDir()); 59 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); 114 base::ScopedTempDir dir; local 115 ASSERT_TRUE(dir.CreateUniqueTempDir()); 116 base::FilePath file = dir.path().Append(FILE_PATH_LITERAL("data.pak"));
|
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_prioritized_origin_database_unittest.cc | 16 base::ScopedTempDir dir; local 18 ASSERT_TRUE(dir.CreateUniqueTempDir()); 23 SandboxPrioritizedOriginDatabase database(dir.path()); 70 base::ScopedTempDir dir; local 72 ASSERT_TRUE(dir.CreateUniqueTempDir()); 77 SandboxPrioritizedOriginDatabase database(dir.path()); 99 base::ScopedTempDir dir; local 101 ASSERT_TRUE(dir.CreateUniqueTempDir()); 106 SandboxPrioritizedOriginDatabase database(dir.path()); 138 base::ScopedTempDir dir; local [all...] |
/external/chromium_org/win8/test/ |
metro_registration_helper.cc | 40 base::FilePath dir; local 41 if (!PathService::Get(base::DIR_EXE, &dir)) 44 base::FilePath chrome_exe(dir.Append(kChromeExe)); 45 base::FilePath registrar(dir.Append(kRegistrar));
|
/external/e2fsprogs/e2fsck/ |
dx_dirinfo.c | 18 struct dx_dir_info *dir; local 61 dir = &ctx->dx_dir_info[i]; 62 if (dir->ino != ino) 66 dir = &ctx->dx_dir_info[ctx->dx_dir_info_count++]; 68 dir->ino = ino; 69 dir->numblocks = num_blocks; 70 dir->hashversion = 0; 71 dir->dx_block = e2fsck_allocate_memory(ctx, num_blocks 114 struct dx_dir_info *dir; local 117 dir = ctx->dx_dir_info [all...] |
/external/elfutils/libdwfl/ |
dwfl_build_id_find_elf.c | 98 char *dir; local 99 while (fd < 0 && (dir = strsep (&path, ":")) != NULL) 101 if (dir[0] == '+' || dir[0] == '-') 102 ++dir; 105 if (dir[0] != '/') 108 size_t dirlen = strlen (dir); 112 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name);
|