Lines Matching defs: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);
1450 Query<QueryPolicy>::LiveUpdate(Entry* entry, Node* node, const char* attribute,
1459 // If no entry has been supplied, but the we need one for the evaluation
1462 if (entry == NULL && fNeedsEntry) {
1463 entry = QueryPolicy::NodeGetFirstReferrer(node);
1464 while (entry) {
1465 LiveUpdate(entry, node, attribute, type, oldKey, oldLength, newKey,
1467 entry = QueryPolicy::NodeGetNextReferrer(node, entry);
1472 status_t oldStatus = fExpression->Root()->Match(entry, node, attribute,
1474 status_t newStatus = fExpression->Root()->Match(entry, node, attribute,
1487 // entry got removed
1490 // The entry stays in the query
1505 if (entry != NULL) {
1506 _SendEntryNotification(entry, notify);
1508 entry = QueryPolicy::NodeGetFirstReferrer(node);
1509 while (entry) {
1510 _SendEntryNotification(entry, notify);
1511 entry = QueryPolicy::NodeGetNextReferrer(node, entry);
1519 Query<QueryPolicy>::LiveUpdateRenameMove(Entry* entry, Node* node,
1528 status_t oldStatus = fExpression->Root()->Match(entry, node, "name",
1530 status_t newStatus = fExpression->Root()->Match(entry, node, "name",
1536 // The entry stays in the query, notify query listeners about the rename
1539 // We send a notification for the given entry, if any, or otherwise for
1541 if (entry != NULL) {
1542 _SendEntryNotification(entry, notify_query_entry_removed);
1543 _SendEntryNotification(entry, notify_query_entry_created);
1545 entry = QueryPolicy::NodeGetFirstReferrer(node);
1546 while (entry) {
1547 _SendEntryNotification(entry, notify_query_entry_removed);
1548 _SendEntryNotification(entry, notify_query_entry_created);
1549 entry = QueryPolicy::NodeGetNextReferrer(node, entry);
1587 // only return if we have another entry
1596 Query<QueryPolicy>::_SendEntryNotification(Entry* entry,
1600 const char* name = QueryPolicy::EntryGetNameNoCopy(entry, nameBuffer,
1604 QueryPolicy::EntryGetParentID(entry), name,
1605 QueryPolicy::EntryGetNodeID(entry));