Lines Matching refs:entry

85 set_entry(node_ref& nodeRef, const char* name, BEntry& entry)
95 return entry.SetTo(&ref);
170 BEntry entry;
171 if (set_entry(nodeRef, name, entry) != B_OK)
174 if (entry.IsDirectory()) {
176 _AddPath(entry);
185 _AddFont(*directory, entry);
192 // has the entry been moved into a monitored directory or has
207 BEntry entry;
208 if (set_entry(nodeRef, name, entry) != B_OK)
218 if (entry.IsDirectory()) {
221 _AddPath(entry);
251 _AddFont(*directory, entry);
255 // and entry has been removed from our font directories
256 if (entry.IsDirectory()) {
257 if (entry.GetNodeRef(&nodeRef) == B_OK
336 BEntry entry(path);
338 if (entry.GetRef(&mapping->ref) != B_OK
339 || !entry.Exists()
387 BEntry entry(&mapping->ref);
388 if (entry.InitCheck() != B_OK)
400 BPath path(&entry);
407 return _AddFont(*directory, entry);
703 GlobalFontManager::_AddFont(font_directory& directory, BEntry& entry)
706 status_t status = entry.GetNodeRef(&nodeRef);
711 status = entry.GetPath(&path);
789 BEntry entry;
790 status_t status = entry.SetTo(path);
794 return _AddPath(entry);
799 GlobalFontManager::_AddPath(BEntry& entry, font_directory** _newDirectory)
802 status_t status = entry.GetNodeRef(&nodeRef);
822 status = entry.GetStat(&stat);
841 BPath path(&entry);
873 BEntry entry;
874 status_t status = entry.SetTo(path);
879 status = entry.GetNodeRef(&nodeRef);
913 // This bad boy does all the real work. It loads each entry in the
921 BEntry entry;
922 while (directory.GetNextEntry(&entry) == B_OK) {
923 if (entry.IsDirectory()) {
926 if (_AddPath(entry, &newDirectory) == B_OK && newDirectory != NULL)
948 _AddFont(fontDirectory, entry);