/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Memory.cpp | 44 raw_ostream &operator<<(raw_ostream &OS, const MemoryBlock &MB) { argument 45 return OS << "[ " << MB.base() << " .. " 46 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" 47 << MB.allocatedSize() << " bytes)";
|
H A D | MemoryBuffer.cpp | 83 template<typename MB> 84 class MemoryBufferMem : public MB { 106 template <typename MB> 107 static ErrorOr<std::unique_ptr<MB>> 168 template<typename MB> 169 class MemoryBufferMMapFile : public MB { 187 : MFR(FD, MB::Mapmode, getLegalMapSize(Len, Offset), 237 template <typename MB> 238 static ErrorOr<std::unique_ptr<MB>> 243 template <typename MB> [all...] |
H A D | SpecialCaseList.cpp | 82 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, argument 85 if (SCL->createInternal(MB, Error)) 118 bool SpecialCaseList::createInternal(const MemoryBuffer *MB, argument 121 if (!parse(MB, Sections, Error)) 126 bool SpecialCaseList::parse(const MemoryBuffer *MB, argument 131 MB->getBuffer().split(Lines, '\n');
|
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-query/ |
H A D | disk-info.sh | 49 # Now get the disks size in MB 51 MB=$(convert_byte_to_megabyte ${KB}) 59 echo "size=${MB}"
|
H A D | disk-part.sh | 48 # Now get the disks size in MB 50 MB=$(convert_byte_to_megabyte ${KB}) 51 TOTALSIZE="$MB" 90 # Now get the startblock, blocksize and MB size of this partition
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | Caching.h | 28 std::function<void(unsigned Task, std::unique_ptr<MemoryBuffer> MB)>;
|
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-partmanager/ |
H A D | create-part.sh | 49 MB="${2}" 53 TOTALBLOCKS="`expr $MB \* 2048`"
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | getbsize.c | 50 #define MB (1024L * 1024L) macro 74 max = MAXB / MB; 75 mul = MB;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
H A D | LibDriver.cpp | 145 static COFF::MachineTypes getCOFFFileMachine(MemoryBufferRef MB) { argument 147 object::COFFObjectFile Obj(MB, EC); 149 llvm::errs() << MB.getBufferIdentifier() 159 llvm::errs() << MB.getBufferIdentifier() << ": unknown machine: " << Machine 167 static COFF::MachineTypes getBitcodeFileMachine(MemoryBufferRef MB) { argument 168 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB); 170 llvm::errs() << MB.getBufferIdentifier() 185 llvm::errs() << MB.getBufferIdentifier() 193 std::string &LibMachineSource, MemoryBufferRef MB) { 194 file_magic Magic = identify_magic(MB 191 appendFile(std::vector<NewArchiveMember> &Members, COFF::MachineTypes &LibMachine, std::string &LibMachineSource, MemoryBufferRef MB) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/ |
H A D | DlltoolDriver.cpp | 58 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path); local 60 if (std::error_code EC = MB.getError()) { 65 return std::move(*MB); 112 std::unique_ptr<MemoryBuffer> MB = local 114 if (!MB) 117 if (!MB->getBufferSize()) { 132 parseCOFFModuleDefinition(*MB, Machine, true);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | COFFModuleDefinition.h | 46 parseCOFFModuleDefinition(MemoryBufferRef MB, COFF::MachineTypes Machine,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 247 StringRef MB = SourceMgr->getBufferData(FID); local 248 I->second.Initialize(MB.begin(), MB.end()); 263 StringRef MB = SourceMgr->getBufferData(FID); local 274 while (isWhitespaceExceptNL(MB[i])) 276 indentSpace = MB.substr(lineOffs, i-lineOffs); 340 StringRef MB = SourceMgr->getBufferData(FID); local 341 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); 364 StringRef MB = SourceMgr->getBufferData(FID); local 381 while (isWhitespaceExceptNL(MB[ [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-modextract/ |
H A D | llvm-modextract.cpp | 43 std::unique_ptr<MemoryBuffer> MB = local 45 std::vector<BitcodeModule> Ms = ExitOnErr(getBitcodeModuleList(*MB));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 104 sys::MemoryBlock MB = MMapper.allocateMappedMemory( local 113 MemGroup.Near = MB; 116 MemGroup.AllocatedMem.push_back(MB); 117 Addr = (uintptr_t)MB.base(); 118 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); 198 for (sys::MemoryBlock &MB : MemGroup.PendingMem) 199 if (std::error_code EC = MMapper.protectMappedMemory(MB, Permissions))
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | SpecialCaseList.h | 76 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB, 109 bool createInternal(const MemoryBuffer *MB, std::string &Error); 144 bool parse(const MemoryBuffer *MB, StringMap<size_t> &SectionsMap,
|
/freebsd-11-stable/sys/geom/vinum/ |
H A D | geom_vinum_share.c | 715 snprintf(desc, sizeof(desc), lj ? "%jd MB" : "%10jd MB",
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.h | 61 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { argument 67 MB = countLeadingZeros(Val); 77 MB = countLeadingZeros((Val - 1) ^ Val) + 1; 85 static inline bool isRunOfOnes64(uint64_t Val, unsigned &MB, unsigned &ME) { argument 91 MB = countLeadingZeros(Val); 101 MB = countLeadingZeros((Val - 1) ^ Val) + 1;
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 191 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) argument 192 : Name(Name), MB(std::move(MB)), SectionID(SectionID) {} 194 sys::MemoryBlock MB; member in struct:TrivialMemoryManager::SectionInfo 247 sys::MemoryBlock MB = local 252 if (!MB.base()) 255 PreallocSlab = MB; 267 sys::MemoryBlock MB((void *)OldSlabOffset, Size); 269 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID)); 271 DataMemory.push_back(SectionInfo(SectionName, MB, SectionI 301 sys::MemoryBlock MB = local 329 sys::MemoryBlock MB = local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dis/ |
H A D | llvm-dis.cpp | 159 std::unique_ptr<MemoryBuffer> MB = local 162 BitcodeFileContents IF = ExitOnErr(llvm::getBitcodeFileContents(*MB)); 170 BitcodeModule MB = IF.Mods[i]; local 171 std::unique_ptr<Module> M = ExitOnErr(MB.getLazyModule(Context, MaterializeMetadata, 178 BitcodeLTOInfo LTOInfo = ExitOnErr(MB.getLTOInfo()); 181 Index = ExitOnErr(MB.getSummary());
|
/freebsd-11-stable/contrib/netbsd-tests/bin/df/ |
H A D | getmntinfo.c | 37 #define MB * 1024 KB macro 38 #define GB * 1024 MB 96 #define USED 132ULL MB
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-bcanalyzer/ |
H A D | llvm-bcanalyzer.cpp | 91 std::unique_ptr<MemoryBuffer> MB = ExitOnErr(openBitcodeFile(InputFilename)); local 96 BitcodeAnalyzer BA(MB->getBuffer(),
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-lto2/ |
H A D | llvm-lto2.cpp | 289 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F); local 291 check(InputFile::create(MB->getMemBufferRef()), F); 319 MBs.push_back(std::move(MB)); 343 auto AddBuffer = [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { 344 *AddStream(Task)->OS << MB->getBuffer(); 357 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F); local 358 BitcodeFileContents BFC = check(getBitcodeFileContents(*MB), F); 370 check(InputFile::create(MB->getMemBufferRef()), F);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RDFRegisters.cpp | 86 const uint32_t *MB = RegMasks.get(M); local 88 if (!(MB[i/32] & (1u << (i%32)))) 107 const uint32_t *MB = getRegMaskBits(Reg); local 109 if (MB[i/32] & (1u << (i%32))) 164 const uint32_t *MB = getRegMaskBits(RM.Reg); local 165 bool Preserved = MB[RR.Reg/32] & (1u << (RR.Reg%32)); 186 if (!(MB[SR/32] & (1u << (SR%32))))
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_umountstress.sh | 45 floppy288|2.88MB 3.5in Extra High Density Floppy:\ 130 floppy288|2.88MB 3.5in Extra High Density Floppy:\
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IRReader/ |
H A D | IRReader.cpp | 120 std::unique_ptr<MemoryBuffer> MB(unwrap(MemBuf)); 122 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release());
|