Lines Matching refs:file

1457 					// cache up the file type and preferred app
1474 // this handles the case of a file panel when the directory is
1696 // We never want to create poses for those volumes; the file
2641 // file panels as well
3418 // copy the data from the template file
3435 // copy the attributes from the template file
4213 // in order to handle a clipping file, the drag initiator must be able
4303 BFile file(&entry, O_RDONLY);
4304 BNodeInfo mime(&file);
4354 // build a file name
4364 // create a clipping file
4476 // tenatively figure out the pose we dropped the file onto
4514 // figure out if we dropped a file onto a directory and set
4599 BFile file;
4600 if (CreateClippingFile(poseView, file, name, &targetDirectory,
4606 // here is a file for the drag initiator, it is up to it now
4637 // copy over all the file types the drag initiator claimed to
4752 // text dropped, make into a clipping file
4767 BFile file;
4768 if (CreateClippingFile(poseView, file, name, &targetDirectory,
4774 // write out the file
4775 if (file.Seek(0, SEEK_SET) == B_ERROR
4776 || file.Write(text, (size_t)textLength) < 0
4777 || file.SetSize(textLength) != B_OK) {
4778 // failed to write file, remove file and bail
4779 file.Unset();
4782 PRINT(("error writing text into file %s\n", name));
4785 // pick up TextView styles if available and save them with the file
4794 file.WriteAttr("styles", B_RAW_TYPE, 0, data, (size_t)tmpSize);
4798 // mark as a clipping file
4800 file.WriteAttr(kAttrClippingFile, B_RAW_TYPE, 0, &tmp,
4803 // set the file type
4804 BNodeInfo info(&file);
4813 // bitmap, make into a clipping file
4831 BFile file;
4832 if (CreateClippingFile(poseView, file, name, &targetDirectory,
4847 // write out the file
4848 if (file.Seek(0, SEEK_SET) == B_ERROR
4849 || file.Write(buffer, (size_t)size) < 0
4850 || file.SetSize(size) != B_OK) {
4851 // failed to write file, remove file and bail
4852 file.Unset();
4855 PRINT(("error writing bitmap into file %s\n", name));
4858 // mark as a clipping file
4860 file.WriteAttr(kAttrClippingFile, B_RAW_TYPE, 0, &tmp,
4863 // set the file type
4864 BNodeInfo info(&file);
5471 // file has been deleted so we close the window
5607 // cache up the file type and preferred app
7569 // Make sure that every file added to the message has its
9049 // This happened most with file panels, when opening a parent - added