Lines Matching refs:volume

35 // Creates a BVolume and initializes it to the volume specified by the
46 BVolume::BVolume(const BVolume &volume)
47 : fDevice(volume.fDevice),
48 fCStatus(volume.fCStatus)
67 // Initializes the object to refer to the volume specified by the supplied
99 // Returns the device ID of the volume the object refers to.
107 // Writes the root directory of the volume referred to by this object into
129 // Returns the total storage capacity of the volume.
143 // Returns the amount of unused space on the volume (in bytes).
174 // Copies the name of the volume into the provided buffer.
191 // Sets the name of the volume.
206 // set the volume name
216 // R5 implementation checks if an entry with the volume's old name
218 // the mount point of the volume (or a link referring to it). In all other
220 // volume, but lives in a different directory).
222 // NOTE: If the volume name itself is actually "boot", then this code
244 // Writes the volume's icon into icon.
279 // Returns whether or not the volume is removable.
293 // Returns whether or not the volume is read-only.
307 // Returns whether or not the volume is persistent.
321 // Returns whether or not the volume is shared.
335 // Returns whether or not the volume supports MIME-types.
349 // Returns whether or not the volume supports attributes.
363 // Returns whether or not the volume supports queries.
380 BVolume::operator==(const BVolume &volume) const
382 return ((InitCheck() != B_OK && volume.InitCheck() != B_OK)
383 || fDevice == volume.fDevice);
389 BVolume::operator!=(const BVolume &volume) const
391 return !(*this == volume);
395 // Assigns the supplied BVolume object to this volume.
397 BVolume::operator=(const BVolume &volume)
399 if (&volume != this) {
400 this->fDevice = volume.fDevice;
401 this->fCStatus = volume.fCStatus;