Searched defs:dir (Results 201 - 225 of 629) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/themes/
H A Dbrowser_theme_pack_unittest.cc393 ScopedTempDir dir; local
394 ASSERT_TRUE(dir.CreateUniqueTempDir());
395 FilePath file = dir.path().Append(FILE_PATH_LITERAL("data.pak"));
/external/chromium/chrome/common/
H A Dzip.cc68 FilePath dir = dest_file.DirName(); local
69 if (!file_util::CreateDirectory(dir))
/external/chromium/testing/gtest/src/
H A Dgtest-filepath.cc115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
116 // FilePath("dir/file"). If a case-insensitive extension is not
157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
161 String dir; local
163 dir = String(c_str(), last_sep + 1 - c_str());
165 dir = kCurrentDirectoryString;
167 return FilePath(dir);
172 // Given directory = "dir", base_name = "test", number = 0,
173 // extension = "xml", returns "dir/test.xml". If number is greater
174 // than zero (e.g., 12), returns "dir/test_1
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dfileutils.cc77 // dir is the directory to traverse
79 bool DirectoryIterator::Iterate(const Pathname &dir) { argument
80 directory_ = dir.pathname();
84 std::string d = dir.pathname() + '*';
H A Dunixfilesystem.cc66 // Android does not have a concept of a single temp dir shared by all
204 std::string UnixFilesystem::TempFilename(const Pathname &dir, argument
206 int len = dir.pathname().size() + prefix.size() + 2 + 6;
209 snprintf(tempname, len, "%s/%sXXXXXX", dir.pathname().c_str(),
408 // GetAppDataFolder() does not distinguish. We just return the config dir
H A Dwin32filesystem.cc237 std::string Win32Filesystem::TempFilename(const Pathname &dir, argument
240 if (::GetTempFileName(ToUtf16(dir.pathname()).c_str(),
/external/chromium_org/base/memory/
H A Dshared_memory_posix.cc214 FilePath dir = path.DirName(); local
215 if (access(dir.value().c_str(), W_OK | X_OK) < 0) {
216 PLOG(ERROR) << "Unable to access(W_OK|X_OK) " << dir.value();
217 if (dir.value() == "/dev/shm") {
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Ddownload_operation.cc137 // Creates a file with unique name in |dir| and stores the path to |temp_file|.
142 bool CreateTemporaryReadableFileInDir(const base::FilePath& dir, argument
144 if (!file_util::CreateTemporaryFileInDir(dir, temp_file))
/external/chromium_org/chrome/browser/extensions/
H A Dextension_messages_apitest.cc247 const Extension* LoadExtensionIntoDir(TestExtensionDir* dir, argument
249 dir->WriteManifest(manifest);
250 dir->WriteFile(FILE_PATH_LITERAL("background.js"),
260 return LoadExtension(dir->unpacked_path());
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dnative_media_file_util_unittest.cc97 void PopulateDirectoryWithTestCases(const base::FilePath& dir, argument
101 base::FilePath path = dir.Append(test_cases[i].path);
/external/chromium_org/chrome/browser/net/
H A Dsqlite_server_bound_cert_store.cc202 const base::FilePath dir = path_.DirName(); local
203 if (!base::PathExists(dir) && !file_util::CreateDirectory(dir))
/external/chromium_org/chrome/common/net/
H A Durl_fixer_upper_unittest.cc222 // dir = "c:\foo"
224 static bool MakeTempFile(const base::FilePath& dir, argument
227 *full_path = dir.Append(file_name);
369 base::FilePath dir; local
371 ASSERT_TRUE(PathService::Get(chrome::DIR_APP, &dir));
373 dir,
466 base::FilePath full_path, dir; local
469 ASSERT_TRUE(PathService::Get(chrome::DIR_APP, &dir));
470 ASSERT_TRUE(MakeTempFile(dir, file_part, &full_path));
479 URLFixerUpper::FixupRelativeFile(dir, inpu
[all...]
/external/chromium_org/chrome/installer/util/
H A Dlzma_util.cc242 bool LzmaUtil::CreateDirectory(const base::FilePath& dir) { argument
244 if (directories_created_.find(dir.value()) == directories_created_.end()) {
245 ret = file_util::CreateDirectory(dir);
247 directories_created_.insert(dir.value());
/external/chromium_org/chrome/test/mini_installer_test/
H A Dinstaller_path_provider.cc210 std::vector<base::FilePath>::const_iterator dir; local
211 for (dir = paths.begin(); dir != paths.end(); ++dir) {
212 base::FilePath windir = dir->Append(
/external/chromium_org/content/browser/media/
H A Dwebrtc_identity_store_backend.cc336 const base::FilePath dir = path_.DirName(); local
337 if (!base::PathExists(dir) && !file_util::CreateDirectory(dir)) {
/external/chromium_org/content/browser/
H A Dutility_process_host_impl.cc153 void UtilityProcessHostImpl::SetExposedDir(const base::FilePath& dir) { argument
154 exposed_dir_ = dir;
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/
H A Dhandlers.c140 * Add the dir to the g_OpenDirs map.
141 * @param[in] dir The dir to add to g_OpenDirs.
144 static int AddDirToMap(DIR* dir) { argument
145 return AddToMap((void**)g_OpenDirs, MAX_OPEN_DIRS, dir);
149 * Remove the dir from the g_OpenDirs map.
150 * @param[in] i The index of the dir handle to remove. */
156 * Get a dir, given a string containing the index.
157 * @param[in] s The string containing the dir index.
158 * @param[out] dir_index The index of this dir
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/
H A Dmount_http_test.cc140 ScopedMountNode dir; local
141 EXPECT_EQ(0, mnt_->FindOrCreateDir(Path("/mydir"), &dir));
142 ASSERT_NE((MountNode*)NULL, dir.get());
143 EXPECT_EQ(1, dir->ChildCount());
/external/chromium_org/ppapi/tests/
H A Dtest_file_ref.cc74 int32_t TestFileRef::DeleteDirectoryRecursively(pp::FileRef* dir) { argument
75 if (!dir)
83 dir->ReadDirectoryEntries(output_callback.GetCallback()));
104 callback.WaitForResult(dir->Delete(callback.GetCallback()));
/external/chromium_org/sandbox/win/src/
H A Dfile_policy_test.cc571 HANDLE dir = ::CreateFile(subfolder.c_str(), FILE_ALL_ACCESS, local
574 EXPECT_TRUE(INVALID_HANDLE_VALUE != dir);
579 EXPECT_TRUE(SetReparsePoint(dir, temp_dir_nt.c_str()));
580 EXPECT_TRUE(::CloseHandle(dir));
586 dir = ::CreateFile(subfolder.c_str(), FILE_ALL_ACCESS,
590 EXPECT_TRUE(INVALID_HANDLE_VALUE != dir);
591 EXPECT_TRUE(DeleteReparsePoint(dir));
592 EXPECT_TRUE(::CloseHandle(dir));
/external/chromium_org/sync/engine/
H A Dprocess_commit_response_command.cc68 syncable::Directory* dir = session.context()->directory(); local
69 syncable::ReadTransaction trans(FROM_HERE, dir);
82 syncable::Directory* dir = session->context()->directory(); local
97 WriteTransaction trans(FROM_HERE, SYNCER, dir);
132 MarkDeletedChildrenSynced(dir, &deleted_folders);
H A Dprocess_updates_command.cc107 syncable::Directory* dir = session->context()->directory(); local
109 syncable::WriteTransaction trans(FROM_HERE, syncable::SYNCER, dir);
147 ProcessUpdate(update, dir->GetCryptographer(&trans), &trans);
H A Dsyncer_proto_util.cc205 syncable::Directory* dir) {
207 std::string local_birthday = dir->store_birthday();
216 dir->set_store_birthday(response.store_birthday());
242 void SyncerProtoUtil::AddRequestBirthday(syncable::Directory* dir, argument
244 if (!dir->store_birthday().empty())
245 msg->set_store_birthday(dir->store_birthday());
249 void SyncerProtoUtil::AddBagOfChips(syncable::Directory* dir, argument
251 msg->mutable_bag_of_chips()->ParseFromString(dir->bag_of_chips());
365 syncable::Directory* dir = session->context()->directory(); local
387 PersistBagOfChips(dir, *respons
203 VerifyResponseBirthday( const ClientToServerResponse& response, syncable::Directory* dir) argument
581 PersistBagOfChips(syncable::Directory* dir, const sync_pb::ClientToServerResponse& response) argument
[all...]
H A Dsyncer_util.cc484 syncable::Directory* dir,
497 syncable::ReadTransaction trans(FROM_HERE, dir);
498 dir->GetUnsyncedMetaHandles(&trans, &handles);
505 WriteTransaction trans(FROM_HERE, SYNCER, dir);
483 MarkDeletedChildrenSynced( syncable::Directory* dir, std::set<syncable::Id>* deleted_folders) argument
/external/chromium_org/testing/gtest/src/
H A Dgtest-filepath.cc115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
116 // FilePath("dir/file"). If a case-insensitive extension is not
158 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
162 std::string dir; local
164 dir = std::string(c_str(), last_sep + 1 - c_str());
166 dir = kCurrentDirectoryString;
168 return FilePath(dir);
173 // Given directory = "dir", base_name = "test", number = 0,
174 // extension = "xml", returns "dir/test.xml". If number is greater
175 // than zero (e.g., 12), returns "dir/test_1
[all...]

Completed in 1786 milliseconds

1234567891011>>