Lines Matching refs:entry

142 			void			LiveUpdate(Entry* entry, Node* node,
146 void LiveUpdateRenameMove(Entry* entry, Node* node,
159 void _SendEntryNotification(Entry* entry,
199 virtual status_t Match(Entry* entry, Node* node,
250 virtual status_t Match(Entry* entry, Node* node,
312 virtual status_t Match(Entry* entry, Node* node,
711 Equation<QueryPolicy>::Match(Entry* entry, Node* node,
730 if (entry == NULL)
732 buffer = (uint8*)QueryPolicy::EntryGetNameNoCopy(entry, buffer,
892 Entry* entry = NULL;
895 &indexValue, &keyLength, (size_t)sizeof(indexValue), &entry);
899 // only compare against the index entry when this is the correct
904 // position), only some needs to be stopped if the entry doesn't
930 status = Match(entry, QueryPolicy::EntryGetNode(entry));
949 status = other->Match(entry, QueryPolicy::EntryGetNode(entry));
959 ssize_t nameLength = QueryPolicy::EntryGetName(entry,
966 dirent->d_ino = QueryPolicy::EntryGetNodeID(entry);
968 dirent->d_pino = QueryPolicy::EntryGetParentID(entry);
1015 Operator<QueryPolicy>::Match(Entry* entry, Node* node, const char* attribute,
1019 status_t status = fLeft->Match(entry, node, attribute, type, key,
1024 return fRight->Match(entry, node, attribute, type, key, size);
1037 status_t status = first->Match(entry, node, attribute, type, key,
1042 return second->Match(entry, node, attribute, type, key, size);
1447 Query<QueryPolicy>::LiveUpdate(Entry* entry, Node* node, const char* attribute,
1456 // If no entry has been supplied, but the we need one for the evaluation
1459 if (entry == NULL && fNeedsEntry) {
1460 entry = QueryPolicy::NodeGetFirstReferrer(node);
1461 while (entry) {
1462 LiveUpdate(entry, node, attribute, type, oldKey, oldLength, newKey,
1464 entry = QueryPolicy::NodeGetNextReferrer(node, entry);
1469 status_t oldStatus = fExpression->Root()->Match(entry, node, attribute,
1471 status_t newStatus = fExpression->Root()->Match(entry, node, attribute,
1484 // entry got removed
1487 // The entry stays in the query
1502 if (entry != NULL) {
1503 _SendEntryNotification(entry, notify);
1505 entry = QueryPolicy::NodeGetFirstReferrer(node);
1506 while (entry) {
1507 _SendEntryNotification(entry, notify);
1508 entry = QueryPolicy::NodeGetNextReferrer(node, entry);
1516 Query<QueryPolicy>::LiveUpdateRenameMove(Entry* entry, Node* node,
1525 status_t oldStatus = fExpression->Root()->Match(entry, node, "name",
1527 status_t newStatus = fExpression->Root()->Match(entry, node, "name",
1533 // The entry stays in the query, notify query listeners about the rename
1536 // We send a notification for the given entry, if any, or otherwise for
1538 if (entry != NULL) {
1539 _SendEntryNotification(entry, notify_query_entry_removed);
1540 _SendEntryNotification(entry, notify_query_entry_created);
1542 entry = QueryPolicy::NodeGetFirstReferrer(node);
1543 while (entry) {
1544 _SendEntryNotification(entry, notify_query_entry_removed);
1545 _SendEntryNotification(entry, notify_query_entry_created);
1546 entry = QueryPolicy::NodeGetNextReferrer(node, entry);
1584 // only return if we have another entry
1593 Query<QueryPolicy>::_SendEntryNotification(Entry* entry,
1597 const char* name = QueryPolicy::EntryGetNameNoCopy(entry, nameBuffer,
1601 QueryPolicy::EntryGetParentID(entry), name,
1602 QueryPolicy::EntryGetNodeID(entry));