/external/chromium_org/sync/syncable/ |
D | model_neutral_mutable_entry.cc | 27 kernel_ = NULL; in ModelNeutralMutableEntry() 35 kernel->mark_dirty(&trans->directory()->kernel_->dirty_metahandles); in ModelNeutralMutableEntry() 44 kernel_ = kernel.release(); in ModelNeutralMutableEntry() 68 DCHECK(kernel_); in PutBaseVersion() 69 base_write_transaction_->TrackChangesTo(kernel_); in PutBaseVersion() 70 if (kernel_->ref(BASE_VERSION) != value) { in PutBaseVersion() 71 kernel_->put(BASE_VERSION, value); in PutBaseVersion() 72 kernel_->mark_dirty(&dir()->kernel_->dirty_metahandles); in PutBaseVersion() 77 DCHECK(kernel_); in PutServerVersion() 78 base_write_transaction_->TrackChangesTo(kernel_); in PutServerVersion() [all …]
|
D | entry.h | 54 bool good() const { return 0 != kernel_; } in good() 60 DCHECK(kernel_); in GetMetahandle() 61 return kernel_->ref(META_HANDLE); in GetMetahandle() 65 DCHECK(kernel_); in GetBaseVersion() 66 return kernel_->ref(BASE_VERSION); in GetBaseVersion() 70 DCHECK(kernel_); in GetServerVersion() 71 return kernel_->ref(SERVER_VERSION); in GetServerVersion() 75 DCHECK(kernel_); in GetLocalExternalId() 76 return kernel_->ref(LOCAL_EXTERNAL_ID); in GetLocalExternalId() 80 DCHECK(kernel_); in GetTransactionVersion() [all …]
|
D | mutable_entry.cc | 27 kernel_ = NULL; in Init() 31 kernel->mark_dirty(&trans->directory_->kernel_->dirty_metahandles); in Init() 54 kernel_ = kernel.release(); in Init() 69 kernel_->put(UNIQUE_BOOKMARK_TAG, unique_tag); in MutableEntry() 70 kernel_->put(UNIQUE_POSITION, UniquePosition::InitialPosition(unique_tag)); in MutableEntry() 75 bool result = trans->directory()->InsertEntry(trans, kernel_); in MutableEntry() 108 DCHECK(kernel_); in PutLocalExternalId() 109 write_transaction()->TrackChangesTo(kernel_); in PutLocalExternalId() 110 if (kernel_->ref(LOCAL_EXTERNAL_ID) != value) { in PutLocalExternalId() 112 kernel_->put(LOCAL_EXTERNAL_ID, value); in PutLocalExternalId() [all …]
|
D | directory.cc | 93 : kernel_(NULL), in Directory() 123 kernel_->metahandles_map.swap(*handles_map); in InitializeIndices() 124 for (MetahandlesMap::const_iterator it = kernel_->metahandles_map.begin(); in InitializeIndices() 125 it != kernel_->metahandles_map.end(); ++it) { in InitializeIndices() 128 kernel_->parent_child_index.Insert(entry); in InitializeIndices() 131 kernel_->unsynced_metahandles.insert(metahandle); in InitializeIndices() 134 kernel_->unapplied_update_metahandles[type].insert(metahandle); in InitializeIndices() 137 DCHECK(kernel_->server_tags_map.find(entry->ref(UNIQUE_SERVER_TAG)) == in InitializeIndices() 138 kernel_->server_tags_map.end()) in InitializeIndices() 140 kernel_->server_tags_map[entry->ref(UNIQUE_SERVER_TAG)] = entry; in InitializeIndices() [all …]
|
D | entry.cc | 23 kernel_ = trans->directory()->GetEntryById(id); in Entry() 28 kernel_ = trans->directory()->GetEntryByClientTag(tag); in Entry() 33 kernel_ = trans->directory()->GetEntryByServerTag(tag); in Entry() 38 kernel_ = trans->directory()->GetEntryByHandle(metahandle); in Entry() 49 entry_info->Set("kernel", kernel_->ToValue(cryptographer)); in ToValue() 60 ModelType specifics_type = kernel_->GetServerModelType(); in GetServerModelType() 91 return dir()->GetPredecessorId(kernel_); in GetPredecessorId() 95 return dir()->GetSuccessorId(kernel_); in GetSuccessorId() 99 return dir()->GetFirstChildId(basetrans_, kernel_); in GetFirstChildId() 107 return dir()->GetTotalNodeCount(basetrans_, kernel_); in GetTotalNodeCount() [all …]
|
D | syncable_write_transaction.cc | 48 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()
|
D | directory.h | 178 bool good() const { return NULL != kernel_; } in good() 202 const std::string& name() const { return kernel_->name; } in name() 260 int GetTotalNodeCount(BaseTransaction*, EntryKernel* kernel_) const; 264 int GetPositionIndex(BaseTransaction*, EntryKernel* kernel_) const; 519 EntryKernel* kernel_, 533 Kernel* kernel_; variable
|
D | syncable_base_transaction.cc | 27 directory_->kernel_->transaction_mutex.Acquire(); in Lock() 31 directory_->kernel_->transaction_mutex.Release(); in Unlock()
|
D | scoped_kernel_lock.cc | 13 : scoped_lock_(dir->kernel_->mutex), dir_(const_cast<Directory*>(dir)) { in ScopedKernelLock()
|
D | syncable_unittest.cc | 475 return 1 == dir_->kernel_->dirty_metahandles.count(metahandle); in IsInDirtyMetahandles() 479 return 1 == dir_->kernel_->metahandles_to_purge.count(metahandle); in IsInMetahandlesToPurge() 491 EXPECT_EQ(6U, dir_->kernel_->metahandles_to_purge.size()); in CheckPurgeEntriesWithTypeInSucceeded() 592 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 621 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 654 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 717 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 743 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F()
|
/external/chromium/chrome/browser/sync/syncable/ |
D | syncable.cc | 274 DCHECK(kernel_ == NULL); in init_kernel() 275 kernel_ = new Kernel(FilePath(), name, KernelLoadInfo()); in init_kernel() 349 Directory::Directory() : kernel_(NULL), store_(NULL) { in Directory() 364 MetahandlesIndex::iterator it = kernel_->metahandles_index->begin(); in InitializeIndices() 365 for (; it != kernel_->metahandles_index->end(); ++it) { in InitializeIndices() 368 kernel_->parent_id_child_index); in InitializeIndices() 369 InitializeIndexEntry<IdIndexer>(entry, kernel_->ids_index); in InitializeIndices() 370 InitializeIndexEntry<ClientTagIndexer>(entry, kernel_->client_tag_index); in InitializeIndices() 372 kernel_->unsynced_metahandles->insert(entry->ref(META_HANDLE)); in InitializeIndices() 374 kernel_->unapplied_update_metahandles->insert(entry->ref(META_HANDLE)); in InitializeIndices() [all …]
|
D | syncable.h | 359 bool good() const { return 0 != kernel_; } in good() 365 DCHECK(kernel_); in Get() 366 return kernel_->ref(field); in Get() 369 DCHECK(kernel_); in Get() 370 return kernel_->ref(field); in Get() 373 DCHECK(kernel_); in Get() 374 return kernel_->ref(field); in Get() 377 DCHECK(kernel_); in Get() 378 return kernel_->ref(field); in Get() 381 DCHECK(kernel_); in Get() [all …]
|
D | syncable_unittest.cc | 352 return 1 == dir_->kernel_->dirty_metahandles->count(metahandle); in IsInDirtyMetahandles() 356 return 1 == dir_->kernel_->metahandles_to_purge->count(metahandle); in IsInMetahandlesToPurge() 368 EXPECT_EQ(4U, dir_->kernel_->metahandles_to_purge->size()); in CheckPurgeEntriesWithTypeInSucceeded() 441 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 470 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 503 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 639 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F() 665 base::AutoLock scoped_lock(dir_->kernel_->save_changes_mutex); in TEST_F()
|
/external/chromium/base/synchronization/ |
D | waitable_event_posix.cc | 38 : kernel_(new WaitableEventKernel(manual_reset, initially_signaled)) { in WaitableEvent() 45 base::AutoLock locked(kernel_->lock_); in Reset() 46 kernel_->signaled_ = false; in Reset() 50 base::AutoLock locked(kernel_->lock_); in Signal() 52 if (kernel_->signaled_) in Signal() 55 if (kernel_->manual_reset_) { in Signal() 57 kernel_->signaled_ = true; in Signal() 62 kernel_->signaled_ = true; in Signal() 67 base::AutoLock locked(kernel_->lock_); in IsSignaled() 69 const bool result = kernel_->signaled_; in IsSignaled() [all …]
|
D | waitable_event_watcher_posix.cc | 159 WaitableEvent::WaitableEventKernel* kernel = event->kernel_.get(); in StartWatching() 179 kernel_ = kernel; in StartWatching() 204 if (!kernel_.get()) { in StopWatching() 218 AutoLock locked(kernel_->lock_); in StopWatching() 234 if (kernel_->Dequeue(waiter_, cancel_flag_.get())) { in StopWatching()
|
D | waitable_event_watcher.h | 154 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
|
D | waitable_event.h | 173 scoped_refptr<WaitableEventKernel> kernel_; variable
|
/external/chromium_org/base/synchronization/ |
D | waitable_event_posix.cc | 41 : kernel_(new WaitableEventKernel(manual_reset, initially_signaled)) { in WaitableEvent() 48 base::AutoLock locked(kernel_->lock_); in Reset() 49 kernel_->signaled_ = false; in Reset() 53 base::AutoLock locked(kernel_->lock_); in Signal() 55 if (kernel_->signaled_) in Signal() 58 if (kernel_->manual_reset_) { in Signal() 60 kernel_->signaled_ = true; in Signal() 65 kernel_->signaled_ = true; in Signal() 70 base::AutoLock locked(kernel_->lock_); in IsSignaled() 72 const bool result = kernel_->signaled_; in IsSignaled() [all …]
|
D | waitable_event_watcher_posix.cc | 151 WaitableEvent::WaitableEventKernel* kernel = event->kernel_.get(); in StartWatching() 170 kernel_ = kernel; in StartWatching() 195 if (!kernel_.get()) { in StopWatching() 209 AutoLock locked(kernel_->lock_); in StopWatching() 225 if (kernel_->Dequeue(waiter_, cancel_flag_.get())) { in StopWatching()
|
D | waitable_event_watcher.h | 105 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
|
D | waitable_event.h | 174 scoped_refptr<WaitableEventKernel> kernel_; variable
|
/external/mesa3d/include/CL/ |
D | cl.hpp | 3128 Kernel kernel_; member in cl::KernelFunctor 3144 kernel_(kernel), in KernelFunctor() 3378 kernel_ = rhs.kernel_; in operator =() 3388 kernel_(rhs.kernel_), in KernelFunctor() 3401 kernel_, in operator ()() 3418 kernel_.setArg(0,a1); in operator ()() 3421 kernel_, in operator ()() 3439 kernel_.setArg(0,a1); in operator ()() 3440 kernel_.setArg(1,a2); in operator ()() 3443 kernel_, in operator ()() [all …]
|
/external/chromium_org/third_party/mesa/src/include/CL/ |
D | cl.hpp | 3128 Kernel kernel_; member in cl::KernelFunctor 3144 kernel_(kernel), in KernelFunctor() 3378 kernel_ = rhs.kernel_; in operator =() 3388 kernel_(rhs.kernel_), in KernelFunctor() 3401 kernel_, in operator ()() 3418 kernel_.setArg(0,a1); in operator ()() 3421 kernel_, in operator ()() 3439 kernel_.setArg(0,a1); in operator ()() 3440 kernel_.setArg(1,a2); in operator ()() 3443 kernel_, in operator ()() [all …]
|