Lines Matching full:quantity
44 /// Constructs a zero bytes quantity.
51 /// Constructs an arbitrary bytes quantity.
53 /// \param count_ The amount of bytes in the quantity.
60 /// Parses a string into a bytes quantity.
64 /// \return The converted bytes quantity.
71 throw std::runtime_error("Bytes quantity cannot be empty"); in parse()
89 throw std::runtime_error("Bytes quantity cannot be empty"); in parse()
95 throw std::runtime_error(F("Invalid bytes quantity '%s'") % in_str); in parse()
102 throw std::runtime_error(F("Invalid bytes quantity '%s'") % in_str); in parse()
109 /// Formats a bytes quantity for user consumption.
136 /// Extracts a bytes quantity from a stream.
139 /// bytes quantity.
161 /// Injects a bytes quantity into a stream.
163 /// \param output The stream into which to inject the bytes quantity as a
165 /// \param rhs The bytes quantity to format.