Searched refs:trash (Results 1 - 12 of 12) sorted by relevance

/haiku-fatelf/src/apps/showimage/
H A DImageFileNavigator.cpp597 /*! Moves the current file into the trash.
609 BMessage trash(BPrivate::kMoveToTrash);
610 trash.AddRef("refs", &fCurrentRef);
615 if (tracker.SendMessage(&trash) != B_OK)
/haiku-fatelf/src/apps/people/
H A DPersonWindow.cpp260 BPath trash; local
261 find_directory(B_TRASH_DIRECTORY, &trash, false,
265 if (folder == trash)
/haiku-fatelf/src/bin/
H A Dtrash.cpp2 * [un]trash command for Haiku
26 printf("\nSend files to trash, or restore them.\nUsage:\n");
27 printf("trash [--restore|--empty|--list] file ...\n");
55 status_t trash(const char *f) function
203 /* or trash them */
205 err = trash(argv[i]);
/haiku-fatelf/src/bin/zip/
H A Dzip.h141 int trash; /* Marker for files to delete */ member in struct:zlist
405 int trash OF((void));
H A Dzipfile.c441 z->trash = 0;
907 z->trash = 0;
1428 int trash()
1441 if (z->mark == 1 || z->trash)
H A Dzip.c163 int r; /* return value from trash() */
224 if ((r = trash()) != ZE_OK)
1802 z->trash = t && t >= before &&
1806 z->trash ? "up to date" : "missing or early");
/haiku-fatelf/src/servers/mail/
H A DDeskbarView.cpp143 BDirectory trash(path.Path());
144 return trash.Contains(&entry);
H A DMailDaemon.cpp842 BDirectory trash(path.Path());
843 return trash.Contains(&entry);
/haiku-fatelf/src/libs/print/libgutenprint/src/cups/
H A Drastertoprinter.c1237 unsigned char trash[4096]; /* Throwaway */ local
1242 cupsRasterReadPixels(cups->ras, trash, 4096);
1246 cupsRasterReadPixels(cups->ras, trash, leftover);
/haiku-fatelf/src/libs/print/libgutenprint/src/ghost/
H A Dijsgutenprint.c928 char trash[4096]; /* Throwaway */ local
933 ijs_server_get_data(img->ctx, trash, 4096);
937 ijs_server_get_data(img->ctx, trash, leftover);
/haiku-fatelf/src/kits/tracker/
H A DContainerWindow.cpp2476 BMenuItem* trash = parent->FindItem(kMoveToTrash); local
2477 if (trash)
2478 index = parent->IndexOf(trash) + 2;
2616 // selected item was trash, show the trash context menu instead
2636 // don't show a popup for the trash or printers
2637 // trash is handled in DeskWindow
2908 // setup special trash context menu
H A DPoseView.cpp802 // and trash pose on desktop dir
1558 // the trash window needs to display a union of all the
1559 // trash folders from all the mounted volumes
1647 BDirectory trash; local
1650 if (FSGetTrashDir(&trash, volume.Device()) == B_OK
1651 && trash.GetEntry(&entry) == B_OK && entry.GetNodeRef(&ref) == B_OK) {
2316 // if trash delete instantly
2826 // as well as the trash on desktop
4882 // can't copy items into the trash
4893 // can't create symlinks into the trash
[all...]

Completed in 715 milliseconds