Lines Matching refs:name

25 Except as contained in this notice, the name of Be Incorporated shall not be
150 char* name;
337 return fRef.name;
344 // make a file name that is legal under bfs and hfs - possibly could
392 FindWindow::GetDefaultName(BString& name)
394 fBackground->GetDefaultName(name);
403 name << namebuf;
405 MakeValidFilename(name);
505 BString name(focusedItem->Name());
506 file->WriteAttrString("_trk/focusedView", &name);
602 // change the name of the old query per users request
615 // either use the user specified name, or go with the name
617 BString name;
619 GetDefaultName(name);
621 name << userSpecifiedName;
623 if (path.Append(name.String()) == B_OK) {
656 const char* name;
658 if (message->FindString("name", &name) == B_OK
665 BEntry entry(&directory, name);
743 fSearchModeMenu->AddItem(new BMenuItem(B_TRANSLATE("by name"),
787 fQueryName = new BTextControl("query name", B_TRANSLATE("Query name:"),
1046 // if more than two disks selected, don't use the disk name
1109 const char* name;
1192 // the query name was edited, make the query permanent
1237 // direct entry selected, convert to parent dir and name
1242 name = ref.name;
1245 // parent dir and name selected
1248 error = message->FindString("name", &name);
1252 SaveAsQueryOrTemplate(&dir, name, true);
1269 && message->FindString("name", &name) == B_OK
1294 SaveAsQueryOrTemplate(&dir, name, queryTemplate);
1308 FindPanel::SaveAsQueryOrTemplate(const entry_ref* dir, const char* name,
1312 BFile file(&directory, name, O_RDWR | O_CREAT | O_TRUNC);
1318 attach.AddString("name", name);
1325 FindPanel::FindAttrView(const char* name, int row) const
1337 view = view->FindView(name);
1377 if (message->FindString("name", &str) == B_OK)
1525 FindPanel::GetDefaultName(BString& name) const
1533 name.SetTo(B_TRANSLATE_COMMENT("Name = %name",
1535 name.ReplaceFirst("%name", textControl->Text());
1541 name.SetTo(B_TRANSLATE_COMMENT("Formula %formula",
1543 name.ReplaceFirst("%formula", textControl->Text());
1551 name << item->Label() << ": ";
1554 GetDefaultAttrName(name, i);
1556 name << ", ";
1587 query->PushAttr("name");
1808 // check to ensure previous item's name differs
1852 const char* name = (const char*)list.ItemAt(index);
1856 const ShortMimeInfo* info = mimeTypes->FindMimeType(name);
1863 MimeTypeMenu()->AddItem(new BMenuItem(name, message));
1984 BMenuItem* item = new IconMenuItem(ref->name, message, type);
2288 BString name(UserSpecifiedName());
2289 node->WriteAttrString(kAttrQueryTemplateName, &name);
2420 char name[256];
2421 volume.GetName(name);
2422 SelectItemWithLabel(fVolMenu, name);
2610 message->AddString("name", "name");
2631 message->AddString("name", "size");
2656 message->AddString("name", "last_modified");
2872 if (attributeMessage.FindString("attr:name", index, &attributeName)
2885 message->AddString("name", attributeName);
3220 DraggableQueryIcon::DraggableQueryIcon(BRect frame, const char* name,
3224 DraggableIcon(frame, name, B_QUERY_MIMETYPE, B_LARGE_ICON,
3233 // override to substitute the user-specified query name
3291 sprintf(line, "%" B_PRId32 " %s\n", entry->count, entry->name);
3302 free(entry->name);
3325 list->AddItem(entry->name);
3339 MostUsedNames::AddName(const char* name)
3355 // is this the name we want to add here?
3356 if (strcmp(name, entry->name)) {
3357 free(entry->name);
3367 if (strcmp(entry->name, name) == 0)
3374 entry->name = strdup(name);
3395 return strcasecmp(entryA->name,entryB->name);
3428 char* name = strchr(line, ' ');
3429 if (name == NULL || *(++name) == '\0')
3433 entry->name = strdup(name);