• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebKit-7600.1.25/mac/History/

Lines Matching refs:entries

75 - (void)_sendNotification:(NSString *)name entries:(NSArray *)entries;
94 - (BOOL)removeItems:(NSArray *)entries;
217 // The entries for each day are stored in a sorted array with the most recent entry first
218 // Check for the common cases of the entry being newer than all existing entries or the first entry of the day
223 // .. or older than all existing entries
255 // remove this date entirely if there are no other entries on it
291 // other entries already exist for this date
294 // no other entries exist for this date
295 NSMutableArray *entries = [[NSMutableArray alloc] initWithObjects:&entry count:1];
296 _entriesByDate->set(dateKey, entries);
297 [entries release];
316 // Remove the item from date caches before changing its last visited date. Otherwise we might get duplicate entries
372 return NO; // Special case for merges when new items may be older than pre-existing entries.
385 // We keep a reference to the entries for rebuilding the history after the notification.
397 [webHistory _sendNotification:WebHistoryAllItemsRemovedNotification entries:allEntries];
405 [webHistory _sendNotification:WebHistoryItemsAddedNotification entries:allEntries];
424 - (BOOL)removeItems:(NSArray *)entries
426 NSUInteger count = [entries count];
431 [self removeItem:[entries objectAtIndex:index]];
455 // There is no guarantee that the incoming entries are in any particular
456 // order, but if this is called with a set of entries that were created by
555 // Return a date that marks the age limit for history entries saved to or
660 LOG(Timing, "loading %d history entries from %@ took %f seconds", numberOfItems, URL, duration);
770 - (void)_sendNotification:(NSString *)name entries:(NSArray *)entries
772 NSDictionary *userInfo = [NSDictionary dictionaryWithObjectsAndKeys:entries, WebHistoryItemsKey, nil];
781 - (void)removeItems:(NSArray *)entries
783 if ([_historyPrivate removeItems:entries]) {
785 entries:entries];
791 NSArray *entries = [_historyPrivate allItems];
793 [self _sendNotification:WebHistoryAllItemsRemovedNotification entries:entries];
800 entries:newEntries];
851 [self _sendNotification:WebHistoryItemsDiscardedWhileLoadingNotification entries:discardedItems];
933 NSArray *entries = [[NSArray alloc] initWithObjects:entry, nil];
934 [self _sendNotification:WebHistoryItemsAddedNotification entries:entries];
935 [entries release];
958 NSArray *entries = m_entriesByDate->get(m_dateKeys[dateIndex]).get();
959 NSUInteger entryCount = [entries count];
961 writeHistoryItem(stream, [entries objectAtIndex:entryIndex]);