Home
last modified time | relevance | path

Searched refs:kernel_ (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/sync/syncable/
Dmodel_neutral_mutable_entry.cc27 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 …]
Dentry.h54 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 …]
Dmutable_entry.cc27 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 …]
Ddirectory.cc93 : 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 …]
Dentry.cc23 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 …]
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()
Ddirectory.h178 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
Dsyncable_base_transaction.cc27 directory_->kernel_->transaction_mutex.Acquire(); in Lock()
31 directory_->kernel_->transaction_mutex.Release(); in Unlock()
Dscoped_kernel_lock.cc13 : scoped_lock_(dir->kernel_->mutex), dir_(const_cast<Directory*>(dir)) { in ScopedKernelLock()
Dsyncable_unittest.cc475 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/
Dsyncable.cc274 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 …]
Dsyncable.h359 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 …]
Dsyncable_unittest.cc352 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/
Dwaitable_event_posix.cc38 : 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 …]
Dwaitable_event_watcher_posix.cc159 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()
Dwaitable_event_watcher.h154 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
Dwaitable_event.h173 scoped_refptr<WaitableEventKernel> kernel_; variable
/external/chromium_org/base/synchronization/
Dwaitable_event_posix.cc41 : 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 …]
Dwaitable_event_watcher_posix.cc151 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()
Dwaitable_event_watcher.h105 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
Dwaitable_event.h174 scoped_refptr<WaitableEventKernel> kernel_; variable
/external/mesa3d/include/CL/
Dcl.hpp3128 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/
Dcl.hpp3128 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 …]