Home
last modified time | relevance | path

Searched refs:EntryKernel (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/sync/syncable/
Dparent_child_index_unittest.cc45 EntryKernel* MakeRoot() { in MakeRoot()
47 EntryKernel* root = new EntryKernel(); in MakeRoot()
60 EntryKernel* MakeBookmarkRoot() { in MakeBookmarkRoot()
62 EntryKernel* folder = new EntryKernel; in MakeBookmarkRoot()
76 EntryKernel* MakeBookmark(int n, int pos, bool is_dir) { in MakeBookmark()
78 EntryKernel* bm = new EntryKernel(); in MakeBookmark()
100 EntryKernel* MakeUniqueClientItem(int n) { in MakeUniqueClientItem()
101 EntryKernel* item = new EntryKernel(); in MakeUniqueClientItem()
118 std::list<EntryKernel*> owned_entry_kernels_;
122 EntryKernel* root = MakeRoot(); in TEST_F()
[all …]
Dparent_child_index.h17 struct EntryKernel;
23 bool operator() (const EntryKernel* a, const EntryKernel* b) const;
27 typedef std::set<EntryKernel*, ChildComparator> OrderedChildSet;
38 static bool ShouldInclude(const EntryKernel* e);
41 bool Insert(EntryKernel* e);
44 void Remove(EntryKernel* e);
47 bool Contains(EntryKernel* e) const;
Ddirectory.h84 typedef base::hash_map<int64, EntryKernel*> MetahandlesMap;
85 typedef base::hash_map<std::string, EntryKernel*> IdsMap;
86 typedef base::hash_map<std::string, EntryKernel*> TagsMap;
272 int GetTotalNodeCount(BaseTransaction*, EntryKernel* kernel_) const;
276 int GetPositionIndex(BaseTransaction*, EntryKernel* kernel_) const;
285 Id GetFirstChildId(BaseTransaction* trans, const EntryKernel* parent);
293 syncable::Id GetPredecessorId(EntryKernel*);
294 syncable::Id GetSuccessorId(EntryKernel*);
305 void PutPredecessor(EntryKernel* e, EntryKernel* predecessor);
414 virtual EntryKernel* GetEntryByHandle(int64 handle);
[all …]
Dentry_kernel.cc15 EntryKernel::EntryKernel() : dirty_(false) { in EntryKernel() function in syncer::syncable::EntryKernel
22 EntryKernel::~EntryKernel() {} in ~EntryKernel()
24 ModelType EntryKernel::GetModelType() const { in GetModelType()
38 ModelType EntryKernel::GetServerModelType() const { in GetServerModelType()
52 bool EntryKernel::ShouldMaintainPosition() const { in ShouldMaintainPosition()
66 void SetFieldValues(const EntryKernel& kernel, in SetFieldValues()
81 const EntryKernel& kernel, in SetEncryptableProtoValues()
139 base::DictionaryValue* EntryKernel::ToValue( in ToValue()
Dparent_child_index.cc16 const syncable::EntryKernel* a, in operator ()()
17 const syncable::EntryKernel* b) const { in operator ()()
50 bool ParentChildIndex::ShouldInclude(const EntryKernel* entry) { in ShouldInclude()
56 bool ParentChildIndex::Insert(EntryKernel* entry) { in Insert()
75 void ParentChildIndex::Remove(EntryKernel* e) { in Remove()
91 bool ParentChildIndex::Contains(EntryKernel *e) const { in Contains()
Dscoped_parent_child_index_updater.h16 struct EntryKernel;
23 EntryKernel* entry,
28 EntryKernel* entry_;
Ddirectory.cc131 EntryKernel* entry = it->second; in InitializeIndices()
218 EntryKernel* Directory::GetEntryById(const Id& id) { in GetEntryById()
223 EntryKernel* Directory::GetEntryById(const Id& id, in GetEntryById()
234 EntryKernel* Directory::GetEntryByClientTag(const string& tag) { in GetEntryByClientTag()
245 EntryKernel* Directory::GetEntryByServerTag(const string& tag) { in GetEntryByServerTag()
255 EntryKernel* Directory::GetEntryByHandle(int64 metahandle) { in GetEntryByHandle()
260 EntryKernel* Directory::GetEntryByHandle(int64 metahandle, in GetEntryByHandle()
287 EntryKernel* kernel) const { in GetTotalNodeCount()
311 EntryKernel* kernel, in GetChildSetForKernel()
327 EntryKernel* kernel) const { in GetPositionIndex()
[all …]
Dsyncable_delete_journal.cc28 BaseTransaction* trans, bool was_deleted, const EntryKernel& entry) { in UpdateDeleteJournalForServerDelete()
44 EntryKernel* t = new EntryKernel(entry); in UpdateDeleteJournalForServerDelete()
121 EntryKernel needle; in AddJournalBatch()
126 delete_journals_.insert(new EntryKernel(**i)); in AddJournalBatch()
Dsyncable_delete_journal.h20 struct EntryKernel;
22 typedef std::set<const EntryKernel*, LessField<IdField, ID> > JournalIndex;
45 const EntryKernel& entry);
Dentry_kernel.h192 struct SYNC_EXPORT_PRIVATE EntryKernel { struct
206 EntryKernel(); argument
207 ~EntryKernel();
359 inline bool operator()(const EntryKernel* a, in operator() argument
360 const EntryKernel* b) const { in operator()
365 typedef std::set<const EntryKernel*, EntryKernelLessByMetaHandle>
369 EntryKernel original, mutated;
Dsyncable-inl.h16 inline bool operator() (const syncable::EntryKernel* a, in operator()
17 const syncable::EntryKernel* b) const { in operator()
Dsyncable_id.h29 struct EntryKernel;
116 friend scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement);
117 friend void BindFields(const EntryKernel& entry,
Ddirectory_backing_store.h106 const EntryKernel& entry);
107 bool SaveNewEntryToDB(const EntryKernel& entry);
108 bool UpdateEntryToDB(const EntryKernel& entry);
Ddirectory_backing_store.cc42 void BindFields(const EntryKernel& entry, in BindFields()
83 scoped_ptr<EntryKernel> UnpackEntry(sql::Statement* statement) { in UnpackEntry()
84 scoped_ptr<EntryKernel> kernel(new EntryKernel()); in UnpackEntry()
116 return scoped_ptr<EntryKernel>(); in UnpackEntry()
133 return scoped_ptr<EntryKernel>(); in UnpackEntry()
546 scoped_ptr<EntryKernel> kernel = UnpackEntry(&s); in LoadEntries()
568 scoped_ptr<EntryKernel> kernel = UnpackEntry(&s); in LoadDeleteJournals()
634 const EntryKernel& entry) { in SaveEntryToDB()
1524 EntryKernel* entry = it->second; in VerifyReferenceIntegrity()
1532 EntryKernel* entry = it->second; in VerifyReferenceIntegrity()
Dentry_kernel_unittest.cc16 EntryKernel kernel; in TEST_F()
Dscoped_parent_child_index_updater.cc14 EntryKernel* entry, in ScopedParentChildIndexUpdater()
Dsyncable_base_write_transaction.h18 virtual void TrackChangesTo(const EntryKernel* entry) = 0;
Dsyncable_model_neutral_write_transaction.cc28 void ModelNeutralWriteTransaction::TrackChangesTo(const EntryKernel* entry) { in TrackChangesTo()
Dsyncable_model_neutral_write_transaction.h33 virtual void TrackChangesTo(const EntryKernel* entry) OVERRIDE;
Dsyncable_write_transaction.cc35 void WriteTransaction::TrackChangesTo(const EntryKernel* entry) { in TrackChangesTo()
51 EntryKernel* kernel = directory()->GetEntryByHandle(it->first); in RecordMutations()
Dsyncable_write_transaction.h33 virtual void TrackChangesTo(const EntryKernel* entry) OVERRIDE;
Dentry.h250 const EntryKernel GetKernelCopy() const { in GetKernelCopy()
268 EntryKernel* kernel_;
Dmutable_entry.cc26 scoped_ptr<EntryKernel> kernel(new EntryKernel); in Init()
/external/chromium_org/sync/protocol/
Dattachments.proto31 // A collection of attachment metadata. This proto is part of EntryKernel's "on
/external/chromium_org/sync/internal_api/
Dsync_manager_impl.cc198 const syncable::EntryKernel& a = mutation.original; in VisiblePositionsDiffer()
199 const syncable::EntryKernel& b = mutation.mutated; in VisiblePositionsDiffer()
212 const syncable::EntryKernel& a = mutation.original; in VisiblePropertiesDiffer()
213 const syncable::EntryKernel& b = mutation.mutated; in VisiblePropertiesDiffer()
796 Cryptographer* cryptographer, const syncable::EntryKernel& original, in SetExtraChangeRecordData()

12