Lines Matching refs:file
100 HaikuMailFormatFilter::HeaderFetched(entry_ref& ref, BFile& file,
103 file.Seek(0, SEEK_SET);
111 if (file.GetSize(&size) == B_OK) {
116 ssize_t bytesRead = file.Read(buffer, size);
154 // Generate a file name for the incoming message. See also
163 // sorting by file name will give all the messages with the same subject in
210 HaikuMailFormatFilter::BodyFetched(const entry_ref& ref, BFile& file,
218 HaikuMailFormatFilter::MessageSent(const entry_ref& ref, BFile& file)
221 file.WriteAttr(B_MAIL_ATTR_FLAGS, B_INT32_TYPE, 0, &flags, sizeof(int32));
222 file.WriteAttr(B_MAIL_ATTR_STATUS, B_STRING_TYPE, 0, "Sent", 5);