Lines Matching defs:node
27 LastModifiedIndexPrimaryKey(Node* node, time_t modified)
29 node(node),
34 LastModifiedIndexPrimaryKey(Node* node)
36 node(node),
37 modified(node->ModifiedTime().tv_sec)
43 node(NULL),
48 Node* node;
78 if (a.node != NULL && a.node == b.node)
118 static void GetNodeValue(Node* node, void* buffer, size_t* _keyLength)
120 *(time_t*)buffer = node->ModifiedTime().tv_sec;
129 virtual void NodeChanged(Node* node, uint32 statFields,
185 LastModifiedIndex::NodeAdded(Node* node)
187 fNodes->Insert(node);
192 LastModifiedIndex::NodeRemoved(Node* node)
194 fNodes->Remove(node, node);
199 LastModifiedIndex::NodeChanged(Node* node, uint32 statFields,
206 time_t newLastModified = node->ModifiedTime().tv_sec;
212 LastModifiedIndexPrimaryKey(node, oldLastModified), node,
215 if (foundNode == NULL || *foundNode != node)
218 // move the iterators that point to the node to the previous node
221 iterator->NodeChangeBegin(node);
224 // remove and re-insert the node
226 if (fNodes->Insert(node) != B_OK) {
231 // Move the iterators to the next node again. If the node hasn't changed
232 // its place, they will point to it again, otherwise to the node originally
236 iterator->NodeChangeEnd(node);
240 fVolume->UpdateLiveQueries(node, Name(), Type(),
287 LastModifiedIndex::Iterator::NodeChanged(Node* node, uint32 statFields,