Home | History | Annotate | Download | only in Misc

Lines Matching refs:databaseDirectory

292     NSString *databaseDirectory = [self _databaseDirectory];
296 NSString *legacyDB = [databaseDirectory stringByAppendingPathComponent:@"icon.db"];
299 NSString *newDB = [databaseDirectory stringByAppendingPathComponent:IconDatabase::defaultDatabaseFilename()];
306 if (!iconDatabase().open(databaseDirectory, IconDatabase::defaultDatabaseFilename()))
548 NSString *databaseDirectory = [defaults objectForKey:WebIconDatabaseDirectoryDefaultsKey];
549 if (!databaseDirectory) {
550 databaseDirectory = WebIconDatabasePath;
551 [defaults setObject:databaseDirectory forKey:WebIconDatabaseDirectoryDefaultsKey];
554 return [[databaseDirectory stringByExpandingTildeInPath] stringByStandardizingPath];
595 NSString *databaseDirectory = [defaults objectForKey:WebIconDatabaseImportDirectoryDefaultsKey];
597 if (!databaseDirectory)
598 databaseDirectory = [defaults objectForKey:WebIconDatabaseDirectoryDefaultsKey];
600 if (!databaseDirectory) {
601 databaseDirectory = WebIconDatabasePath;
602 [defaults setObject:databaseDirectory forKey:WebIconDatabaseDirectoryDefaultsKey];
604 databaseDirectory = [databaseDirectory stringByExpandingTildeInPath];
607 NSMutableDictionary *pageURLToIconURL = objectFromPathForKey(databaseDirectory, WebURLToIconURLKey);
641 iconData = iconDataFromPathForIconURL(databaseDirectory, url);
657 enumerator = [[fileManager contentsOfDirectoryAtPath:databaseDirectory error:NULL] objectEnumerator];
668 NSString *filePath = [databaseDirectory stringByAppendingPathComponent:file];
675 rmdir([databaseDirectory fileSystemRepresentation]);