/freebsd/contrib/kyua/utils/ |
H A D | units_test.cpp | 65 using units::KB; in ATF_TEST_CASE_BODY() 68 ATF_REQUIRE_EQ("1023.50M", units::bytes(1023 * MB + 512 * KB).format()); in ATF_TEST_CASE_BODY() 75 using units::KB; in ATF_TEST_CASE_BODY() 77 ATF_REQUIRE_EQ("3.00K", units::bytes(3 * KB).format()); in ATF_TEST_CASE_BODY() 78 ATF_REQUIRE_EQ("1.33K", units::bytes(1 * KB + 340).format()); in ATF_TEST_CASE_BODY() 121 using units::KB; in ATF_TEST_CASE_BODY() 133 using units::KB; in ATF_TEST_CASE_BODY() 136 ATF_REQUIRE_EQ(units::bytes(KB), units::bytes::parse("1K")); in ATF_TEST_CASE_BODY() 137 ATF_REQUIRE_EQ(units::bytes(KB), units::bytes::parse("1k")); in ATF_TEST_CASE_BODY() 224 output << "foo " << units::bytes(5 * units::KB) << " bar"; in ATF_TEST_CASE_BODY()
|
H A D | units.cpp | 81 case 'K': case 'k': multiplier = KB; break; in parse() 121 } else if (_count >= KB) { in format() 122 return F("%.2sK") % (static_cast< float >(_count) / KB); in format()
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | vga.c | 46 #define KB (1024UL) macro 222 data = (((sc->vga_ram[offset + 0 * 64*KB] >> bit) & 0x1) << 0) | in vga_get_pixel() 223 (((sc->vga_ram[offset + 1 * 64*KB] >> bit) & 0x1) << 1) | in vga_get_pixel() 224 (((sc->vga_ram[offset + 2 * 64*KB] >> bit) & 0x1) << 2) | in vga_get_pixel() 225 (((sc->vga_ram[offset + 3 * 64*KB] >> bit) & 0x1) << 3); in vga_get_pixel() 269 ch = sc->vga_ram[offset + 0 * 64*KB]; in vga_get_text_pixel() 270 attr = sc->vga_ram[offset + 1 * 64*KB]; in vga_get_text_pixel() 293 font = sc->vga_ram[font_offset + 2 * 64*KB]; in vga_get_text_pixel() 352 offset &= (128 * KB - 1); in vga_mem_rd_handler() 359 offset &= (64 * KB - 1); in vga_mem_rd_handler() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64O0PreLegalizerCombiner.cpp | 54 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, 76 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, in AArch64O0PreLegalizerCombinerImpl() argument 79 : Combiner(MF, CInfo, TPC, &KB, CSEInfo), in AArch64O0PreLegalizerCombinerImpl() 80 Helper(Observer, B, /*IsPreLegalize*/ true, &KB), RuleConfig(RuleConfig), in AArch64O0PreLegalizerCombinerImpl() 161 GISelKnownBits *KB = &getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() local 172 AArch64O0PreLegalizerCombinerImpl Impl(MF, CInfo, &TPC, *KB, in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVPreLegalizerCombiner.cpp | 52 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, 73 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, in RISCVPreLegalizerCombinerImpl() argument 77 : Combiner(MF, CInfo, TPC, &KB, CSEInfo), in RISCVPreLegalizerCombinerImpl() 78 Helper(Observer, B, /*IsPreLegalize*/ true, &KB, MDT, LI), in RISCVPreLegalizerCombinerImpl() 144 GISelKnownBits *KB = &getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() local 150 RISCVPreLegalizerCombinerImpl Impl(MF, CInfo, &TPC, *KB, CSEInfo, RuleConfig, in runOnMachineFunction()
|
H A D | RISCVPostLegalizerCombiner.cpp | 57 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, 78 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, in RISCVPostLegalizerCombinerImpl() argument 82 : Combiner(MF, CInfo, TPC, &KB, CSEInfo), in RISCVPostLegalizerCombinerImpl() 83 Helper(Observer, B, /*IsPreLegalize*/ false, &KB, MDT, LI), in RISCVPostLegalizerCombinerImpl() 145 GISelKnownBits *KB = &getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() local 155 RISCVPostLegalizerCombinerImpl Impl(MF, CInfo, TPC, *KB, CSEInfo, in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsPostLegalizerCombiner.cpp | 52 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, 73 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, in MipsPostLegalizerCombinerImpl() argument 77 : Combiner(MF, CInfo, TPC, &KB, CSEInfo), RuleConfig(RuleConfig), STI(STI), in MipsPostLegalizerCombinerImpl() 78 Helper(Observer, B, /*IsPreLegalize*/ false, &KB, MDT, LI), in MipsPostLegalizerCombinerImpl() 140 GISelKnownBits *KB = &getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() local 146 MipsPostLegalizerCombinerImpl Impl(MF, CInfo, TPC, *KB, /*CSEInfo*/ nullptr, in runOnMachineFunction()
|
H A D | MipsPreLegalizerCombiner.cpp | 46 const TargetPassConfig *TPC, GISelKnownBits &KB, in MipsPreLegalizerCombinerImpl() argument 50 : Combiner(MF, CInfo, TPC, &KB, CSEInfo), STI(STI), in MipsPreLegalizerCombinerImpl() 51 Helper(Observer, B, /*IsPreLegalize*/ true, &KB, MDT, LI) {} in MipsPreLegalizerCombinerImpl() 128 GISelKnownBits *KB = &getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() local 130 MipsPreLegalizerCombinerImpl Impl(MF, PCInfo, TPC, *KB, /*CSEInfo*/ nullptr, in runOnMachineFunction()
|
/freebsd/contrib/netbsd-tests/bin/df/ |
H A D | getmntinfo.c | 36 #define KB * 1024 macro 37 #define MB * 1024 KB 126 #define TOTAL 1308726116ULL KB in setup_ld0g() 127 #define USED 17901268ULL KB in setup_ld0g() 128 #define AVAIL 1225388540ULL KB in setup_ld0g() 158 #define TOTAL 0x4ffffffffULL KB in setup_strpct()
|
/freebsd/sys/contrib/device-tree/src/arm64/xilinx/ |
H A D | zynqmp-sm-k26-revA.dts | 160 reg = <0x0 0x80000>; /* 512KB */ 166 reg = <0x80000 0x80000>; /* 512KB */ 172 reg = <0x100000 0x20000>; /* 128KB */ 176 reg = <0x120000 0x20000>; /* 128KB */ 180 reg = <0x140000 0xC0000>; /* 768KB */ 188 reg = <0xF00000 0x80000>; /* 512KB */ 198 reg = <0x1C80000 0x80000>; /* 512KB */ 220 reg = <0x2200000 0x20000>; /* 128KB */ 224 reg = <0x2220000 0x20000>; /* 128KB */ 228 reg = <0x2240000 0x40000>; /* 256B but 256KB sector */ [all …]
|
/freebsd/lib/libc/gen/ |
H A D | getbsize.c | 45 #define KB (1024L) in getbsize() macro 65 max = MAXB / KB; in getbsize() 66 mul = KB; in getbsize()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPostLegalizerCombiner.cpp | 56 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, 132 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, in AMDGPUPostLegalizerCombinerImpl() argument 135 : Combiner(MF, CInfo, TPC, &KB, CSEInfo), RuleConfig(RuleConfig), STI(STI), in AMDGPUPostLegalizerCombinerImpl() 137 Helper(Observer, B, /*IsPreLegalize*/ false, &KB, MDT, LI), in AMDGPUPostLegalizerCombinerImpl() 424 if (KB->getKnownBits(Src1).countMinLeadingZeros() >= 32 && in matchCombine_s_mul_u64() 425 KB->getKnownBits(Src0).countMinLeadingZeros() >= 32) { in matchCombine_s_mul_u64() 430 if (KB->computeNumSignBits(Src1) >= 33 && in matchCombine_s_mul_u64() 431 KB->computeNumSignBits(Src0) >= 33) { in matchCombine_s_mul_u64() 495 GISelKnownBits *KB = &getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() local 503 AMDGPUPostLegalizerCombinerImpl Impl(MF, CInfo, TPC, *KB, /*CSEInfo*/ nullptr, in runOnMachineFunction()
|
H A D | AMDGPUPreLegalizerCombiner.cpp | 54 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, 93 GISelKnownBits &KB, GISelCSEInfo *CSEInfo, in AMDGPUPreLegalizerCombinerImpl() argument 96 : Combiner(MF, CInfo, TPC, &KB, CSEInfo), RuleConfig(RuleConfig), STI(STI), in AMDGPUPreLegalizerCombinerImpl() 97 Helper(Observer, B, /*IsPreLegalize*/ true, &KB, MDT, LI), in AMDGPUPreLegalizerCombinerImpl() 266 GISelKnownBits *KB = &getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() local 279 AMDGPUPreLegalizerCombinerImpl Impl(MF, CInfo, TPC, *KB, CSEInfo, RuleConfig, in runOnMachineFunction()
|
/freebsd/usr.sbin/makefs/tests/ |
H A D | makefs_tests_common.sh | 27 KB=1024 125 for filesize in 1 512 $(( 2 * $KB )) $(( 10 * $KB )) $(( 512 * $KB )); \
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | facebook-bmc-flash-layout-128.dtsi | 10 * u-boot partition: 896KB. 18 * u-boot environment variables: 64KB. 26 * image metadata partition (64KB), used by Facebook internal
|
H A D | openbmc-flash-layout-128.dtsi | 9 reg = <0x0 0xe0000>; // 896KB 14 reg = <0xe0000 0x20000>; // 128KB
|
H A D | openbmc-flash-layout-64.dtsi | 12 reg = <0x0 0xe0000>; // 896KB 17 reg = <0xe0000 0x20000>; // 128KB
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | Combiner.cpp | 98 const TargetPassConfig *TPC, GISelKnownBits *KB, in Combiner() argument 105 KB(KB), TPC(TPC), CSEInfo(CSEInfo) { in Combiner() 134 setupMF(MF, KB); in combineMachineInstrs()
|
/freebsd/contrib/ntp/sntp/libevent/cmake/ |
H A D | CheckFileOffsetBits.c | 3 #define KB ((off_t)1024) macro 4 #define MB ((off_t)1024 * KB)
|
/freebsd/contrib/libevent/cmake/ |
H A D | CheckFileOffsetBits.c | 3 #define KB ((off_t)1024) macro 4 #define MB ((off_t)1024 * KB)
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | p1021rdb-pc.dtsi | 46 /* 256KB for Vitesse 7385 Switch firmware */ 53 /* 256KB for DTB Image */ 72 /* 256KB for QE ucode firmware*/ 80 /* 512KB for u-boot Bootloader Image */ 81 /* 512KB for u-boot Environment Variables */ 158 /* 512KB for u-boot Bootloader Image */ 165 /* 512KB for DTB Image */
|
H A D | p1024rdb.dtsi | 46 /* 256KB for Vitesse 7385 Switch firmware */ 53 /* 256KB for DTB Image */ 72 /* 512KB for u-boot Bootloader Image */ 73 /* 512KB for u-boot Environment Variables */ 137 /* 512KB for u-boot Bootloader Image */ 144 /* 512KB for DTB Image */
|
H A D | p2020rdb.dts | 46 /* 256KB for Vitesse 7385 Switch firmware */ 53 /* 256KB for DTB Image */ 74 /* 512KB for u-boot Bootloader Image */ 75 /* 512KB for u-boot Environment Variables */ 159 /* 512KB for u-boot Bootloader Image */ 166 /* 512KB for DTB Image */
|
H A D | p1020rdb.dtsi | 46 /* 256KB for Vitesse 7385 Switch firmware */ 53 /* 256KB for DTB Image */ 74 /* 512KB for u-boot Bootloader Image */ 75 /* 512KB for u-boot Environment Variables */ 156 /* 512KB for u-boot Bootloader Image */ 163 /* 512KB for DTB Image */
|
H A D | p2020rdb-pc.dtsi | 46 /* 256KB for Vitesse 7385 Switch firmware */ 53 /* 256KB for DTB Image */ 72 /* 512KB for u-boot Bootloader Image */ 73 /* 512KB for u-boot Environment Variables */ 159 /* 512KB for u-boot Bootloader Image */ 166 /* 512KB for DTB Image */
|