Lines Matching refs:Index
96 // A ScopedIndexUpdater temporarily removes an entry from an index,
97 // and restores it to the index when the scope exits. This simplifies
98 // the common pattern where items need to be removed from an index
104 // in the index.
110 typename Index<Indexer>::Set* index)
112 index_(index) {
126 // The entry that was temporarily removed from the index.
128 // The index which we are updating.
129 typename Index<Indexer>::Set* const index_;
132 // Helper function to add an item to the index, if it ought to be added.
135 typename Index<Indexer>::Set* index) {
137 index->insert(entry);
169 // This index excludes deleted items and the root item. The root
426 // Find it in the in memory ID index.
451 // We don't currently keep a separate index for the tags. Since tags
527 static const char error[] = "Entry already in memory index.";
603 // We don't bother removing from the index here as we blow the entire thing
1448 PutPredecessor(Id()); // Restores position to the 0th index.
1573 MetahandleSet* index;
1575 index = dir()->kernel_->unsynced_metahandles;
1577 index = dir()->kernel_->unapplied_update_metahandles;
1581 CHECK(index->insert(kernel_->ref(META_HANDLE)).second);
1583 CHECK_EQ(1U, index->erase(kernel_->ref(META_HANDLE)));
1710 // index on it.
1739 // index on it.
1890 // index variables.