Home
last modified time | relevance | path

Searched full:quantity (Results 1 – 25 of 166) sorted by relevance

1234567

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h24 /// Instances of this type represent a quantity as a multiple of the size
31 /// the same quantity of storage. However, we use the term 'character unit'
43 QuantityType Quantity = 0;
45 explicit CharUnits(QuantityType C) : Quantity(C) {} in CharUnits()
52 /// Zero - Construct a CharUnits quantity of zero.
57 /// One - Construct a CharUnits quantity of one.
62 /// fromQuantity - Construct a CharUnits quantity from a raw integer type.
63 static CharUnits fromQuantity(QuantityType Quantity) { in fromQuantity() argument
64 return CharUnits(Quantity); in fromQuantity()
67 /// fromQuantity - Construct a CharUnits quantity from an llvm::Align
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h93 ScalarTy Quantity = 0;
97 constexpr FixedOrScalableQuantity(ScalarTy Quantity, bool Scalable) in FixedOrScalableQuantity() argument
98 : Quantity(Quantity), Scalable(Scalable) {} in FixedOrScalableQuantity()
101 assert((LHS.Quantity == 0 || RHS.Quantity == 0 ||
104 LHS.Quantity += RHS.Quantity;
111 assert((LHS.Quantity == 0 || RHS.Quantity == 0 ||
114 LHS.Quantity -= RHS.Quantity;
121 LHS.Quantity *= RHS;
149 return Quantity == RHS.Quantity && Scalable == RHS.Scalable;
153 return Quantity != RHS.Quantity || Scalable != RHS.Scalable;
[all …]
/freebsd/contrib/kyua/utils/
H A Dunits.cpp44 /// 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.
[all …]
H A Dunits.hpp66 /// Representation of a bytes quantity.
75 /// Raw representation, in bytes, of the quantity.
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DRetireControlUnit.h65 unsigned normalizeQuantity(unsigned Quantity) const { in normalizeQuantity()
69 Quantity = std::min(Quantity, NumROBEntries); in normalizeQuantity()
74 return std::max(Quantity, 1U); in normalizeQuantity()
84 bool isAvailable(unsigned Quantity = 1) const {
85 return AvailableEntries >= normalizeQuantity(Quantity);
/freebsd/contrib/elftoolchain/libelf/
H A Dgelf.357 An unsigned 16 bit quantity.
72 A signed 32 bit quantity.
74 A signed 64 bit quantity.
78 An unsigned 32 bit quantity.
80 An unsigned 64 bit quantity.
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.h202 /// exactly known, returns \p X converted to a fixed quantity. Otherwise
204 template <typename Quantity> Quantity expandVScale(Quantity X) const { in expandVScale()
207 X = Quantity::getFixed(X.getKnownMinValue() * VScale); in expandVScale()
/freebsd/usr.bin/units/
H A Dunits.c57 int quantity; member
79 static int addunit(struct unittype *theunit, const char *toadd, int flip, int quantity);
225 theunit->quantity = 0; in initializeunit()
303 Quantity is 1 if this is a quantity to be converted rather than a pure unit.
309 addunit(struct unittype * theunit, const char *toadd, int flip, int quantity) in addunit() argument
335 if (quantity) in addunit()
336 theunit->quantity = 1; in addunit()
673 if (want->quantity) in showanswer()
675 if (have->quantity) { in showanswer()
[all...]
H A Dunits.180 a quantity
82 or a quantity with a unit
392 The warning is printed when a quantity is a part of the
/freebsd/lib/libc/net/
H A Dinet_net.3110 integer quantity on a system that uses little-endian
120 part is interpreted as a 16-bit quantity and placed
124 is interpreted as a 24-bit quantity and placed in
H A Dresolver.3371 function gets a 16-bit quantity from a buffer pointed to by
376 function gets a 32-bit quantity from a buffer pointed to by
381 function puts a 16-bit quantity
388 function puts a 32-bit quantity
H A Dinet.3198 part is interpreted as a 16-bit quantity and placed
202 is interpreted as a 24-bit quantity and placed in
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZOperands.td221 // Truncate an immediate to a 8-bit signed quantity.
227 // Truncate an immediate to a 8-bit unsigned quantity.
233 // Truncate an immediate to a 8-bit unsigned quantity and mask off low bit.
239 // Truncate an immediate to a 12-bit unsigned quantity.
245 // Truncate an immediate to a 16-bit signed quantity.
251 // Negate and then truncate an immediate to a 16-bit signed quantity.
257 // Truncate an immediate to a 16-bit unsigned quantity.
263 // Truncate an immediate to a 32-bit signed quantity.
269 // Negate and then truncate an immediate to a 32-bit unsigned quantity.
275 // Truncate an immediate to a 32-bit unsigned quantity
[all...]
/freebsd/share/doc/psd/21.ipc/
H A D3.t328 htonl(val) convert 32-bit quantity from host to network byte order
329 htons(val) convert 16-bit quantity from host to network byte order
330 ntohl(val) convert 32-bit quantity from network to host byte order
331 ntohs(val) convert 16-bit quantity from network to host byte order
/freebsd/sys/contrib/device-tree/Bindings/iio/afe/
H A Dtemperature-transducer.yaml13 A temperature transducer is a device that converts a thermal quantity
14 into any other physical quantity. This binding applies to temperature to
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_attrval_signed.3116 The attribute's value is treated as a signed integral quantity and is
148 The attribute's value is treated as an unsigned integral quantity, and
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c35 * a secret and seed into an arbitrary quantity of output:
42 * is necessary to produce the required quantity of data.
274 * a secret and seed into an arbitrary quantity of output:
281 * is necessary to produce the required quantity of data.
/freebsd/lib/libc/stdlib/
H A Dstrfmon.c293 * for a monetary quantity with a non-negative value in vstrfmon_l()
299 * from the value for a monetary quantity with a in vstrfmon_l()
308 * = 0 - parentheses enclose the quantity and the in vstrfmon_l()
310 * = 1 - the sign string precedes the quantity and the in vstrfmon_l()
312 * = 2 - the sign string succeeds the quantity and the in vstrfmon_l()
/freebsd/sys/compat/linux/
H A Dlinux.h39 * As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit quantity
46 * In glibc dev_t is a 64-bit quantity, with 32-bit major and minor numbers,
50 * In the FreeBSD dev_t is a 64-bit quantity. The major and minor numbers
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DScheduleHazardRecognizer.h120 virtual void EmitNoops(unsigned Quantity) { in EmitNoops() argument
122 for (unsigned i = 0; i < Quantity; ++i) in EmitNoops()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Derr.D_LQUANT_BASEVAL.bad.d33 * lquantize() lower bound must be a 32-bit quantity
H A Derr.D_LQUANT_STEPSMALL.bad.d31 * Number of quantization levels must be a 16-bit quantity
H A Derr.D_LQUANT_STEPVAL.bad.d32 * lquantize() step value should be a 16-bit quantity
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dsmsc911x.txt14 - reg-shift : Specify the quantity to shift the register offsets by
/freebsd/lib/libutil/
H A Dexpand_number.345 string and stores a unsigned 64-bit quantity at

1234567