Home
last modified time | relevance | path

Searched refs:directory_ (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/content/browser/appcache/
Dappcache_disk_cache_unittest.cc26 ASSERT_TRUE(directory_.CreateUniqueTempDir()); in SetUp()
45 base::ScopedTempDir directory_; member in content::AppCacheDiskCacheTest
62 directory_.path(), k10MBytes, false, cache_thread_, completion_callback_); in TEST_F()
82 EXPECT_TRUE(base::DirectoryExists(directory_.path())); in TEST_F()
83 EXPECT_FALSE(base::IsDirectoryEmpty(directory_.path())); in TEST_F()
84 EXPECT_TRUE(base::DeleteFile(directory_.path(), true)); in TEST_F()
85 EXPECT_FALSE(base::DirectoryExists(directory_.path())); in TEST_F()
93 directory_.path(), k10MBytes, false, cache_thread_, completion_callback_); in TEST_F()
103 EXPECT_TRUE(base::DirectoryExists(directory_.path())); in TEST_F()
104 EXPECT_FALSE(base::IsDirectoryEmpty(directory_.path())); in TEST_F()
[all …]
/external/chromium_org/sync/internal_api/test/
Dtest_entry_factory.cc26 : directory_(dir), next_revision_(1) { in TestEntryFactory()
35 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedNewItemWithParent()
53 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedNewBookmarkItemWithParent()
72 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedNewItem()
100 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnsyncedItem()
132 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateUnappliedAndUnsyncedBookmarkItem()
147 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in CreateSyncedItem()
180 syncable::WriteTransaction trans(FROM_HERE, syncable::UNITTEST, directory_); in CreateUnappliedRootNode()
203 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in SetServerSpecificsForItem()
216 WriteTransaction trans(FROM_HERE, UNITTEST, directory_); in SetLocalSpecificsForItem()
[all …]
/external/chromium_org/sync/syncable/
Dsyncable_write_transaction.cc48 directory_->kernel_->transaction_mutex.AssertAcquired(); in RecordMutations()
86 directory_->kernel_->transaction_mutex.AssertAcquired(); in NotifyTransactionChangingAndEnding()
90 directory_->kernel_->next_write_transaction_id, in NotifyTransactionChangingAndEnding()
92 ++directory_->kernel_->next_write_transaction_id; in NotifyTransactionChangingAndEnding()
96 DirectoryChangeDelegate* const delegate = directory_->kernel_->delegate; in NotifyTransactionChangingAndEnding()
111 directory_->kernel_->transaction_observer.Call(FROM_HERE, in NotifyTransactionChangingAndEnding()
120 directory_->kernel_->delegate->HandleTransactionCompleteChangeEvent( in NotifyTransactionComplete()
134 directory_->IncrementTransactionVersion(type); in UpdateTransactionVersion()
137 entry.UpdateTransactionVersion(directory_->GetTransactionVersion(type)); in UpdateTransactionVersion()
143 *transaction_version_ = directory_->GetTransactionVersion( in UpdateTransactionVersion()
Dsyncable_base_transaction.cc19 return directory_; in directory()
27 directory_->kernel_->transaction_mutex.Acquire(); in Lock()
31 directory_->kernel_->transaction_mutex.Release(); in Unlock()
65 directory_(directory), unrecoverable_error_set_(false) { in BaseTransaction()
Dmutable_entry.cc29 kernel->put(ID, trans->directory_->NextId()); in Init()
30 kernel->put(META_HANDLE, trans->directory_->NextMetahandle()); in Init()
31 kernel->mark_dirty(&trans->directory_->kernel_->dirty_metahandles); in Init()
Dsyncable_base_transaction.h70 Directory* const directory_; variable
/external/chromium_org/sync/sessions/
Ddirectory_type_debug_info_emitter.cc18 : directory_(directory), in DirectoryTypeDebugInfoEmitter()
25 : directory_(NULL), in DirectoryTypeDebugInfoEmitter()
32 syncable::ReadTransaction trans(FROM_HERE, directory_); in GetAllNodes()
34 directory_->GetNodeDetailsForType(&trans, type_)); in GetAllNodes()
69 syncable::ReadTransaction trans(FROM_HERE, directory_); in EmitStatusCountersUpdate()
71 directory_->GetMetaHandlesOfType(&trans, type_, &result); in EmitStatusCountersUpdate()
Dsync_session_context.h60 return directory_; in directory()
135 syncable::Directory* const directory_; variable
Dmodel_type_registry.cc113 : directory_(directory), in ModelTypeRegistry()
160 emitter = new DirectoryTypeDebugInfoEmitter(directory_, type, in SetEnabledDirectoryTypes()
168 new DirectoryCommitContributor(directory_, type, emitter); in SetEnabledDirectoryTypes()
170 new DirectoryUpdateHandler(directory_, type, worker, emitter); in SetEnabledDirectoryTypes()
Ddirectory_type_debug_info_emitter.h80 syncable::Directory* directory_;
Dsync_session_context.cc24 directory_(directory), in SyncSessionContext()
Dmodel_type_registry.h134 syncable::Directory* directory_; variable
/external/chromium_org/sync/test/engine/
Dtest_directory_setter_upper.cc30 directory_.reset( in SetUp()
37 ASSERT_EQ(syncable::OPENED, directory_->Open( in SetUp()
48 directory_.reset( in SetUpWith()
54 ASSERT_EQ(syncable::OPENED, directory_->Open( in SetUpWith()
67 directory_.reset(); in TearDown()
Dtest_directory_setter_upper.h68 syncable::Directory* directory() { return directory_.get(); } in directory()
84 scoped_ptr<syncable::Directory> directory_; variable
Dmock_connection_manager.cc47 directory_(directory), in MockConnectionManager()
92 if (directory_) { in PostBufferToPath()
97 CHECK(directory_->good()); in PostBufferToPath()
98 WriteTransaction wt(FROM_HERE, syncable::UNITTEST, directory_); in PostBufferToPath()
/external/chromium_org/third_party/webrtc/base/
Dfileutils.cc62 directory_ = dir.pathname(); in DirectoryIterator()
73 dir_ = ::opendir(directory_.c_str()); in DirectoryIterator()
80 if (::stat(std::string(directory_ + Name()).c_str(), &stat_) != 0) in DirectoryIterator()
96 return ::stat(std::string(directory_ + Name()).c_str(), &stat_) == 0; in DirectoryIterator()
/external/chromium_org/chrome/installer/test/
Dalternate_version_generator.cc80 if (!directory_.empty() && !base::DeleteFile(directory_, true)) { in ~ScopedTempDirectory()
82 << directory_.value() << "\""; in ~ScopedTempDirectory()
87 DCHECK(directory_.empty()); in Initialize()
88 if (!base::CreateNewTempDirectory(&kTempDirPrefix[0], &directory_)) { in Initialize()
95 DCHECK(!directory_.empty()); in directory()
96 return directory_; in directory()
100 base::FilePath directory_; member in __anon7323083a0111::ScopedTempDirectory
/external/chromium_org/content/browser/dom_storage/
Ddom_storage_namespace.cc34 directory_(directory), in DOMStorageNamespace()
74 area = new DOMStorageArea(origin, directory_, task_runner_.get()); in OpenStorageArea()
174 if (!directory_.empty()) { in DeleteLocalStorageOrigin()
176 new DOMStorageArea(origin, directory_, task_runner_.get()); in DeleteLocalStorageOrigin()
196 if (directory_.empty()) in PurgeMemory()
Ddom_storage_area.h125 base::FilePath directory_; variable
Ddom_storage_namespace.h160 base::FilePath directory_; variable
Ddom_storage_area.cc62 directory_(directory), in DOMStorageArea()
/external/chromium_org/chrome/browser/
Dchrome_select_file_dialog_factory_win.cc61 const base::FilePath& directory() const { return directory_; } in directory()
80 base::FilePath directory_; member in __anonfdda8b050111::GetOpenFileNameClient
119 directory_ = directory; in OnResult()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc270 MemoryOutputDirectory* directory_; member in google::protobuf::compiler::CommandLineInterface::MemoryOutputStream
431 : directory_(directory), in MemoryOutputStream()
439 : directory_(directory), in MemoryOutputStream()
450 string** map_slot = &directory_->files_[filename_]; in ~MemoryOutputStream()
456 directory_->had_error_ = true; in ~MemoryOutputStream()
474 directory_->had_error_ = true; in ~MemoryOutputStream()
487 directory_->had_error_ = true; in ~MemoryOutputStream()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc286 GeneratorContextImpl* directory_; member in google::protobuf::compiler::CommandLineInterface::MemoryOutputStream
450 : directory_(directory), in MemoryOutputStream()
458 : directory_(directory), in MemoryOutputStream()
469 string** map_slot = &directory_->files_[filename_]; in ~MemoryOutputStream()
475 directory_->had_error_ = true; in ~MemoryOutputStream()
493 directory_->had_error_ = true; in ~MemoryOutputStream()
506 directory_->had_error_ = true; in ~MemoryOutputStream()
/external/chromium_org/sync/internal_api/public/test/
Dtest_entry_factory.h125 syncable::Directory* directory_;

12