Home
last modified time | relevance | path

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

/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