Lines Matching refs:ref

240 CopyLoopControl::UpdateStatus(const char* name, const entry_ref& ref,
561 FSDelete(entry_ref* ref, bool async, bool confirm)
564 list->AddItem(ref);
821 ShouldEditRefName(const entry_ref* ref, const char* name, size_t length)
823 if (ref == NULL || name == NULL || name[0] == '\0' || length <= 0)
826 BEntry entry(ref);
847 if (strcmp(name, ref->name) == 0)
984 delete_ref(void* ref)
986 delete (entry_ref*)ref;
1273 entry_ref ref;
1274 srcFile->GetRef(&ref);
1276 loopControl->UpdateStatus(destName, ref, 1024, true);
1340 loopControl->UpdateStatus(NULL, ref, (int32)srcStat->st_size);
1390 entry_ref ref;
1391 ThrowOnError(srcEntry->GetRef(&ref));
1408 SetupPoseLocation(ref.directory, destNodeRef.node, &srcLink,
1463 SetupPoseLocation(ref.directory, destNodeRef.node, &srcFile,
1490 loopControl->UpdateStatus(NULL, ref, updateBytes, true);
1506 loopControl->UpdateStatus(NULL, ref, bytes - updateBytes,
1531 if (!loopControl->ChecksumFile(&ref)) {
1614 entry_ref ref;
1615 srcEntry->GetRef(&ref);
1618 strlcpy(destName, ref.name, sizeof(destName));
1620 loopControl->UpdateStatus(ref.name, ref, 1024, true);
1697 SetupPoseLocation(ref.directory, destNodeRef.node, &srcDir,
1744 entry_ref ref;
1745 entry->GetRef(&ref);
1746 BDirectory source(&ref);
1776 entry_ref ref;
1781 MoveError::FailOnError(entry->GetRef(&ref));
1787 strlcpy(name, ref.name, sizeof(name));
1880 ref.name);
1898 loopControl->UpdateStatus(ref.name, ref, 1);
1920 errorString.ReplaceFirst("%name", ref.name);
2042 entry_ref ref;
2043 status_t result = entry->GetRef(&ref);
2124 strlcpy(name, ref.name, sizeof(name));
2428 entry_ref ref;
2429 entry.GetRef(&ref);
2442 loopControl->UpdateStatus(upateFileNameInStatus ? ref.name
2443 : "", ref, 1, true);
2452 kFileDeleteErrorString), ref.name, status, false);
2459 entry_ref ref;
2460 dirEntry->GetRef(&ref);
2463 loopControl->UpdateStatus(NULL, ref, 1);
2626 if (entry_ref* ref = refList->ItemAt(0)) {
2629 BVolume volume(ref->device);
2641 entry_ref* ref = refList->ItemAt(i);
2642 BEntry entry(ref);
2949 FSInTrashDir(const entry_ref* ref)
2951 BEntry entry(ref);
2956 if (FSGetTrashDir(&trashDir, ref->device) != B_OK)
2999 entry_ref ref;
3000 entry.GetRef(&ref);
3001 srcList.AddItem(&ref);
3085 entry_ref ref(*list->ItemAt(index));
3086 BEntry entry(&ref);
3087 loopControl.UpdateStatus(ref.name, ref, 1, true);
3151 entry_ref ref(*list->ItemAt(index));
3152 BEntry entry(&ref);
3155 loopControl.UpdateStatus(ref.name, ref, 1, true);
3216 FSCreateNewFolder(const entry_ref* ref)
3219 node.device = ref->device;
3220 node.node = ref->directory;
3228 BString name(ref->name);
3396 entry_ref ref;
3397 status_t error = FSGetParentVirtualDirectoryAware(entry, ref);
3399 error = _node.SetTo(&ref);
3440 SniffIfGeneric(const entry_ref* ref)
3442 BNode node(ref);
3451 BPath path(ref);
3465 entry_ref ref;
3467 if (refs->FindRef("refs", index, &ref) != B_OK)
3469 SniffIfGeneric(&ref);
3679 entry_ref ref;
3680 if (copyOfRefs.FindRef("refs", index, &ref) != B_OK)
3684 BEntry documentEntry(&ref, true);
3686 PRINT(("stripping %s, app %s \n", ref.name, app.name));
3689 PRINT(("leaving %s, app %s \n", ref.name, app.name));
3946 FSLaunchUsing(const entry_ref* ref, BMessage* listOfRefs)
3950 ASSERT(ref != NULL);
3951 temp.AddRef("refs", ref);
3985 entry_ref ref;
3986 err = entry->GetRef(&ref);
3991 if (!FSInTrashDir(&ref))