/freebsd/contrib/kyua/utils/ |
H A D | units_test.cpp | 29 #include "utils/units.hpp" 36 namespace units = utils::units; 42 using units::TB; in ATF_TEST_CASE_BODY() 43 using units::GB; in ATF_TEST_CASE_BODY() 45 ATF_REQUIRE_EQ("2.00T", units::bytes(2 * TB).format()); in ATF_TEST_CASE_BODY() 46 ATF_REQUIRE_EQ("45.12T", units::bytes(45 * TB + 120 * GB).format()); in ATF_TEST_CASE_BODY() 53 using units::GB; in ATF_TEST_CASE_BODY() 54 using units::MB; in ATF_TEST_CASE_BODY() 56 ATF_REQUIRE_EQ("5.00G", units::bytes(5 * GB).format()); in ATF_TEST_CASE_BODY() 57 ATF_REQUIRE_EQ("745.96G", units::bytes(745 * GB + 980 * MB).format()); in ATF_TEST_CASE_BODY() [all …]
|
H A D | units.cpp | 29 #include "utils/units.hpp" 41 namespace units = utils::units; 45 units::bytes::bytes(void) : in bytes() 54 units::bytes::bytes(const uint64_t count_) : in bytes() 67 units::bytes 68 units::bytes::parse(const std::string& in_str) in parse() 113 units::bytes::format(void) const in format() 130 units::bytes::operator uint64_t(void) const in operator uint64_t() 146 units::operator>>(std::istream& input, bytes& rhs) in operator >>() 169 units::operator<<(std::ostream& output, const bytes& rhs) in operator <<()
|
/freebsd/usr.bin/units/ |
H A D | units.1 | 5 .Nm units 40 Specify the name of the units data file to load. 43 Ignored, for compatibility with GNU units. 51 Suppress prompting of the user for units and the display of statistics 52 about the number of units loaded. 61 .Dq Units data file not found . 64 .Pq which is fixed at Dq Fx units , 65 the path to the units data file and exit. 67 Print the units in the conversion output. 88 Powers of units can be specified using the [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | parse_units.c | 43 * Parse string in `s' according to `units' and return value. 48 parse_something (const char *s, const struct units *units, in parse_something() argument 59 const struct units *u; in parse_something() 61 for (u = units; u->name; ++u) { in parse_something() 75 const struct units *u, *partial_unit; in parse_something() 112 for (u = units; u->name; ++u) { in parse_something() 153 parse_units (const char *s, const struct units *units, in parse_units() argument 156 return parse_something (s, units, def_unit, acc_units, 0, 0); in parse_units() 179 parse_flags (const char *s, const struct units *units, in parse_flags() argument 182 return parse_something (s, units, NULL, acc_flags, orig, 1); in parse_flags() [all …]
|
H A D | parse_units.h | 52 struct units { struct 58 parse_units (const char *s, const struct units *units, argument 62 print_units_table (const struct units *units, FILE *f); 65 parse_flags (const char *s, const struct units *units, 69 unparse_units (int num, const struct units *units, char *s, size_t len); 72 unparse_units_approx (int num, const struct units *units, char *s, 76 unparse_flags (int num, const struct units *units, char *s, size_t len); 79 print_flags_table (const struct units *units, FILE *f);
|
H A D | parse_time.3 | 64 negative. Number without explicit units are taken as being 78 restricts the result to only include one units. 81 prints a descriptive list of available units on the passed file 84 The possible units include: 98 Units names can be arbitrarily abbreviated (as long as they are 168 Currently "s" at the end of units is ignored. This is a hack for
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveRegUnits.h | 10 /// A set of register units. It is intended for register liveness tracking. 29 /// A set of register units used to track register liveness. 32 BitVector Units; variable 43 /// For a machine instruction \p MI, adds all register units used in 75 Units.reset(); in init() 76 Units.resize(TRI.getNumRegUnits()); in init() 80 void clear() { Units.reset(); } in clear() 83 bool empty() const { return Units.none(); } in empty() 85 /// Adds register units covered by physical register \p Reg. 88 Units.set(Unit); in addReg() [all …]
|
/freebsd/contrib/ntp/include/ |
H A D | gps.h | 16 #define GREG1A 0x0021 /* Gen reg. 1 Word A (units microsec to 0.001 sec) */ 17 #define GREG1B 0x0040 /* Gen reg. 1 Word B (units 0.01 sec to tens sec ) */ 18 #define GREG1C 0x0041 /* Gen reg 1 Word C (units mins and hours) */ 19 #define GREG1D 0x0042 /* Gen reg. 1 Word D (units days and status) */ 20 #define GREG1E 0x0043 /* Gen reg. 1 Word E (units Years ) */ 23 #define MASKDAY 0x0FFF /* mask for units days */ 36 #define ELV2 0x004F /* Elev. (100, 10s, units, and .1) */ 46 #define PMS 0x0057 /* Gen. preset register units hundreds and tens ms */ 47 #define PSEC 0x0058 /* Gen. preset register units tens and unit seconds */ 48 #define PMIN 0x0059 /* Gen. preset register units tens and unit minutes */ [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | BEGEMOT-WIRELESS-MIB.txt | 655 frames. Accepted values are in units of one tenths of a dBm in 673 UNITS "bytes" 704 UNITS "milliseconds" 716 UNITS "seconds" 727 UNITS "frames" 906 UNITS "1/100ths-of-microsecond" 1035 UNITS "microseconds" 1142 UNITS "seconds" 1324 "The maximum tx power in units of .5 dBm for this channel." 1332 "The minimum tx power in units of .5 dBm for this channel." [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RDFRegisters.cpp | 87 MaskInfos[M].Units = PU.flip(); in PhysicalRegisterInfo() 107 assert(!RegisterRef::isUnitId(Reg) && "No units allowed"); in alias() 127 std::set<RegisterId> Units; in getAliasSet() 130 return Units; // Empty in getAliasSet() 134 return Units; // Empty in getUnits() local 138 Units.insert(U); in getUnits() 140 return Units; in getUnits() 158 Units.insert(U); in getUnits() 162 return Units; in getUnits() 189 // Compare reg units lexicographicall in equal_to() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DWARFLinkerImpl.h | 148 /// Take already linked compile units and glue them into single file. 159 /// i.e. source file descriptor, compilation units, output data 160 /// for compilation units common tables. 179 /// Set of Compilation Units(may be accessed asynchroniously for reading). 182 /// Set of Compile Units for modules. 188 /// Flag indicating that all inter-connected units are loaded 189 /// and the dwarf linking process for these units is started. 194 /// Flag indicating that new inter-connected compilation units were 195 /// discovered. It is used for restarting units processing 196 /// if new inter-connected units were found. [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_freebsd.h | 77 #define USB_BUS_MAX 256 /* units */ 78 #define USB_MAX_DEVICES 128 /* units */ 80 #define USB_IFACE_MAX 32 /* units */ 81 #define USB_FIFO_MAX 128 /* units */ 82 #define USB_MAX_EP_STREAMS 8 /* units */ 83 #define USB_MAX_EP_UNITS 32 /* units */ 84 #define USB_MAX_PORTS 255 /* units */ 86 #define USB_MAX_FS_ISOC_FRAMES_PER_XFER (120) /* units */ 87 #define USB_MAX_HS_ISOC_FRAMES_PER_XFER (8*120) /* units */ 100 typedef uint32_t usb_frcount_t; /* units */
|
H A D | usb_freebsd_loader.h | 72 #define USB_BUS_MAX 256 /* units */ 73 #define USB_MAX_DEVICES 128 /* units */ 75 #define USB_IFACE_MAX 32 /* units */ 76 #define USB_FIFO_MAX 128 /* units */ 77 #define USB_MAX_EP_UNITS 32 /* units */ 78 #define USB_MAX_EP_STREAMS 8 /* units */ 79 #define USB_MAX_PORTS 255 /* units */ 81 #define USB_MAX_FS_ISOC_FRAMES_PER_XFER (120) /* units */ 82 #define USB_MAX_HS_ISOC_FRAMES_PER_XFER (8*120) /* units */ 95 typedef uint32_t usb_frcount_t; /* units */
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_next_cu_header.3 | 34 .Nd step through compilation units in a DWARF debug context 77 These functions are used to step through compilation or type units 88 can only operate on compilation units associated with the 102 the function returns information for compilation units found in the 108 the function returns information for type units found in the 145 is only needed for processing type units. 200 .Ss Iterating Through Compilation Units in a Debug Context 210 compilation units in the section. 219 .Ss Iterating Through Type Units in a Debug Context 234 type units in the section. [all …]
|
/freebsd/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 119 "reset %s, units %u, waiters %d\n", in AcpiOsDeleteSemaphore() 133 "wait %s, units %u, waiters %d\n", in AcpiOsDeleteSemaphore() 150 AcpiOsWaitSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units, UINT16 Timeout) in AcpiOsWaitSemaphore() argument 158 if (as == NULL || Units == 0) in AcpiOsWaitSemaphore() 164 "get %u unit(s) from %s, units %u, waiters %d, timeout %u\n", in AcpiOsWaitSemaphore() 165 Units, as->as_name, as->as_units, as->as_waiters, Timeout)); in AcpiOsWaitSemaphore() 167 if (as->as_maxunits != ACPI_NO_UNIT_LIMIT && as->as_maxunits < Units) { in AcpiOsWaitSemaphore() 174 if (!ACPISEM_AVAIL(as, Units)) in AcpiOsWaitSemaphore() 178 while (!ACPISEM_AVAIL(as, Units)) { in AcpiOsWaitSemaphore() 194 while (!ACPISEM_AVAIL(as, Units)) { in AcpiOsWaitSemaphore() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fm_pcd.c | 393 (p_FmPcd->netEnvs[netEnvId].units[i].hdrs[0].hdr != HEADER_TYPE_NONE)); i++) in PcdGetClsPlanGrpParams() 396 (p_FmPcd->netEnvs[netEnvId].units[i].hdrs[k].hdr != HEADER_TYPE_NONE)); k++) in PcdGetClsPlanGrpParams() 399 if (p_FmPcd->netEnvs[netEnvId].units[i].hdrs[k].opt) in PcdGetClsPlanGrpParams() 404 if (p_GrpParams->options[j] == p_FmPcd->netEnvs[netEnvId].units[i].hdrs[k].opt) in PcdGetClsPlanGrpParams() 410 … p_GrpParams->options[p_GrpParams->numOfOptions] = p_FmPcd->netEnvs[netEnvId].units[i].hdrs[k].opt; in PcdGetClsPlanGrpParams() 438 (p_FmPcd->netEnvs[netEnvId].units[j].hdrs[0].hdr != HEADER_TYPE_NONE)); j++) in PcdGetVectorForOpt() 441 (p_FmPcd->netEnvs[netEnvId].units[j].hdrs[k].hdr != HEADER_TYPE_NONE)); k++) in PcdGetVectorForOpt() 443 if (p_FmPcd->netEnvs[netEnvId].units[j].hdrs[k].opt == opt) in PcdGetVectorForOpt() 464 …if (p_FmPcd->netEnvs[p_Params->netEnvId].units[p_Params->unitIds[i]].hdrs[0].hdr == HEADER_TYPE_NO… in PcdGetUnitsVector() 480 while (p_FmPcd->netEnvs[netEnvId].units[i].hdrs[0].hdr != HEADER_TYPE_NONE) in PcdNetEnvIsUnitWithoutOpts() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | ResourceManager.h | 10 /// The classes here represent processor resource units and their management 59 /// processor resource with multiple units has become unavailable. 66 /// processor resources with multiple units. 74 /// A simple round-robin selector for processor resource units. 78 /// processor resource group composed by the following three units: 84 /// resource units. It defaults to the value of field `ResourceUnitMasks` (in 97 /// This field is used to track resource units that are used (i.e. selected) 109 /// units are used multiple times by other groups within a single round of 134 /// resource units. 160 /// In this example, resources A, B and C are processor resource units [all...] |
/freebsd/stand/lua/ |
H A D | gfx.lua.8 | 31 The units are in pixels and have an origin of 40 The units are in pixels and have an origin of 49 The units are in pixels and have an origin of 61 The units are in pixels and have an origin of 66 The units are in pixels and have an origin of 73 The units are in character cells and have an origin of 85 The units are in character cells and have an origin of
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFContext.h | 114 /// The maximum DWARF version of all units. 121 /// Read compile units from the debug_info.dwo section (if necessary) 122 /// and type units from the debug_types.dwo section (if necessary) 168 /// Get units from .debug_info in this context. 180 /// Get units from .debug_types in this context. 187 /// Get compile units in this context. 193 // TUs in info_section + all the (all type) units in types_section 195 /// Get all normal compile/type units in this context. 201 /// Get units from .debug_info..dwo in the DWO context. 212 /// Get units from .debug_types.dwo in the DWO context. [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | datapath.h | 273 * sender side in units of 10 nano seconds 275 * sender side in units of 10 nano seconds 276 * @t1_max_err: maximum t1-time error in units of 10 nano seconds 278 * sender side in units of 10 nano seconds 280 * sender side in units of 10 nano seconds 281 * @t4_max_err: maximum t4-time error in units of 10 nano seconds 283 * receiver side in units of 10 nano seconds 285 * receiver side in units of 10 nano seconds 286 * @t2_max_err: maximum t2-time error in units of 10 nano seconds 288 * receiver side in units o [all...] |
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/ |
H A D | srio-rmu.txt | 22 length of the SRIO configuration registers for message units 23 and doorbell units. 53 length of the SRIO configuration registers for message units 54 and doorbell units. 83 length of the SRIO configuration registers for message units 84 and doorbell units. 113 length of the SRIO configuration registers for message units 114 and doorbell units.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonShuffler.cpp | 94 unsigned Units = getUnits(); in setWeight() 95 unsigned Key = ((1u << s) & Units) != 0; in setWeight() local 100 if (Key == 0 || Units == 0 || (SlotWeight * s >= 32)) in setWeight() 103 unsigned Ctpop = llvm::popcount(Units); in setWeight() 104 unsigned Cttz = llvm::countr_zero(Units); in setWeight() 117 const unsigned Units = HexagonConvertUnits(ItinUnits, &Lanes); in HexagonCVIResource() 119 if (Units == 0 && Lanes == 0) { in HexagonCVIResource() 129 setUnits(Units); in HexagonCVIResource() 137 unsigned Units; 152 if (!hvxInsts[startIdx].Units) in checkHVXPipes() 118 const unsigned Units = HexagonConvertUnits(ItinUnits, &Lanes); HexagonCVIResource() local 138 unsigned Units; global() member 205 const unsigned Units = ISJ.Core.getUnits(); restrictSlot1AOK() local 234 unsigned Units = ISJ.Core.getUnits(); restrictNoSlot1Store() local 718 const unsigned Units = I.Core.getUnits(); reportResourceUsage() local [all...] |
/freebsd/share/man/man9/ |
H A D | unr.9 | 86 it is used for locking when allocating and freeing units. 92 Clear all units from the specified unit number allocator entity. 98 any units. 99 To free all units use 116 a deletion of units could have been performed. 148 facility provides an interface to iterate over all allocated units 170 Units are returned in ascending order.
|
/freebsd/share/man/man4/ |
H A D | acpi_battery.4 | 63 specifies all of the attached units 67 Returns the number of battery units in the system. 134 .It Va units 135 Indicates the units used by the battery to report its 154 .Va units . 218 .Va units . 226 .Va units . 310 .It Va hw.acpi.battery.units 311 Number of battery units in the system.
|
/freebsd/contrib/libxo/doc/ |
H A D | field-roles.rst | 22 U units Field is the units for the previous value field 42 "{,value:free/%u} {,units:Blocks}\n", 237 .. index:: Field Roles; Units 241 The Units Role ({U:}) 244 Units are the dimension by which values are measured, such as degrees, 245 miles, bytes, and decibels. The units field carries this information 250 Note that the sense of the 'w' modifier is reversed for units; 253 When the XOF_UNITS flag is set, units are rendered in XML as the 254 "units" attribute:: 256 <distance units="miles">50</distance> [all …]
|