/openbsd/sys/dev/pci/ |
H A D | tga_conf.c | 55 1, { 2 MB, 0 }, { 1 MB, 0 }, 65 1, { 2 MB, 0 }, { 2 MB, 0 }, 75 1, { 4 MB, 0 }, { 2 MB, 0 }, 76 1, { 6 MB, 0 }, { 2 MB, 0 }, 85 2, { 8 MB, 12 MB }, { 2 MB, 2 MB }, 86 2, { 10 MB, 14 MB }, { 2 MB, 2 MB }, 95 1, { 8 MB, 0 }, { 4 MB, 0 }, 105 1, { 8 MB, 0 }, { 8 MB, 0 }, 115 1, { 16 MB, 0 }, { 8 MB, 0 }, 116 1, { 24 MB, 0 }, { 8 MB, 0 }, [all …]
|
/openbsd/gnu/llvm/llvm/tools/llvm-c-test/ |
H A D | object.c | 21 LLVMMemoryBufferRef MB; in llvm_object_list_sections() local 26 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &outBufferErr)) { in llvm_object_list_sections() 33 O = LLVMCreateBinary(MB, LLVMGetGlobalContext(), &outBinaryErr); in llvm_object_list_sections() 52 LLVMDisposeMemoryBuffer(MB); in llvm_object_list_sections() 58 LLVMMemoryBufferRef MB; in llvm_object_list_symbols() local 64 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &outBufferErr)) { in llvm_object_list_symbols() 71 O = LLVMCreateBinary(MB, LLVMGetGlobalContext(), &outBinaryErr); in llvm_object_list_symbols() 94 LLVMDisposeMemoryBuffer(MB); in llvm_object_list_symbols()
|
H A D | module.c | 28 LLVMMemoryBufferRef MB; in llvm_load_module() local 32 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { in llvm_load_module() 42 Ret = LLVMGetBitcodeModule2(MB, &M); in llvm_load_module() 44 Ret = LLVMParseBitcode2(MB, &M); in llvm_load_module() 47 Ret = LLVMGetBitcodeModule(MB, &M, &msg); in llvm_load_module() 49 Ret = LLVMParseBitcode(MB, &M, &msg); in llvm_load_module() 54 LLVMDisposeMemoryBuffer(MB); in llvm_load_module() 59 LLVMDisposeMemoryBuffer(MB); in llvm_load_module()
|
H A D | diagnostic.c | 62 LLVMMemoryBufferRef MB; in llvm_test_diagnostic_handler() local 64 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { in llvm_test_diagnostic_handler() 72 int Ret = LLVMGetBitcodeModule2(MB, &M); in llvm_test_diagnostic_handler() 74 LLVMDisposeMemoryBuffer(MB); in llvm_test_diagnostic_handler()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | Memory.cpp | 43 raw_ostream &operator<<(raw_ostream &OS, const MemoryBlock &MB) { in operator <<() argument 44 return OS << "[ " << MB.base() << " .. " in operator <<() 45 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" in operator <<() 46 << MB.allocatedSize() << " bytes)"; in operator <<()
|
H A D | MemoryBuffer.cpp | 89 template<typename MB> 90 class MemoryBufferMem : public MB { 113 template <typename MB> 114 static ErrorOr<std::unique_ptr<MB>> 178 template <typename MB> 194 template<typename MB> 256 template <typename MB> 257 static ErrorOr<std::unique_ptr<MB>> 262 template <typename MB> 446 template <typename MB> [all …]
|
H A D | SpecialCaseList.cpp | 81 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, in create() argument 84 if (SCL->createInternal(MB, Error)) in create() 117 bool SpecialCaseList::createInternal(const MemoryBuffer *MB, in createInternal() argument 120 if (!parse(MB, Sections, Error)) in createInternal() 125 bool SpecialCaseList::parse(const MemoryBuffer *MB, in parse() argument 130 MB->getBuffer().split(Lines, '\n'); in parse()
|
/openbsd/gnu/llvm/llvm/lib/ToolDrivers/llvm-lib/ |
H A D | LibDriver.cpp | 147 auto Obj = object::COFFObjectFile::create(MB); in getCOFFFileMachine() 164 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB); in getBitcodeFileMachine() 186 file_magic Magic = identify_magic(MB.getBuffer()); in appendFile() 191 llvm::errs() << MB.getBufferIdentifier() in appendFile() 203 object::Archive Archive(MB, Err); in appendFile() 204 fatalOpenError(std::move(Err), MB.getBufferIdentifier()); in appendFile() 219 fatalOpenError(std::move(Err), MB.getBufferIdentifier()); in appendFile() 232 (Magic == file_magic::coff_object) ? getCOFFFileMachine(MB) in appendFile() 233 : getBitcodeFileMachine(MB); in appendFile() 237 llvm::errs() << MB.getBufferIdentifier() << ": " in appendFile() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/orc/tests/unit/ |
H A D | extensible_rtti_test.cpp | 33 MyBase MB; in TEST() local 38 EXPECT_TRUE(isa<RTTIRoot>(MB)); in TEST() 39 EXPECT_TRUE(isa<MyBase>(MB)); in TEST() 40 EXPECT_FALSE(isa<MyDerivedA>(MB)); in TEST() 41 EXPECT_FALSE(isa<MyDerivedB>(MB)); in TEST()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 104 sys::MemoryBlock MB = MMapper.allocateMappedMemory( in allocateSection() local 113 MemGroup.Near = MB; in allocateSection() 118 CodeMem.Near = MB; in allocateSection() 120 RODataMem.Near = MB; in allocateSection() 122 RWDataMem.Near = MB; in allocateSection() 125 MemGroup.AllocatedMem.push_back(MB); in allocateSection() 126 Addr = (uintptr_t)MB.base(); in allocateSection() 127 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection() 206 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions() 207 if (std::error_code EC = MMapper.protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions()
|
/openbsd/gnu/llvm/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 248 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer() local 249 I->second.Initialize(MB.begin(), MB.end()); in getEditBuffer() 264 StringRef MB = SourceMgr->getBufferData(FID); in InsertText() local 275 while (isWhitespaceExceptNL(MB[i])) in InsertText() 277 indentSpace = MB.substr(lineOffs, i-lineOffs); in InsertText() 341 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText() local 365 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation() local 382 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation() 387 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation() 403 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation() [all …]
|
/openbsd/gnu/llvm/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 193 : Name(std::string(Name)), MB(std::move(MB)), SectionID(SectionID) {} in SectionInfo() 195 sys::MemoryBlock MB; member 251 sys::MemoryBlock MB = in preallocateSlab() local 256 if (!MB.base()) in preallocateSlab() 260 PreallocSlab = MB; in preallocateSlab() 309 sys::MemoryBlock MB = in allocateCodeSection() local 314 if (!MB.base()) in allocateCodeSection() 318 return (uint8_t*)MB.base(); in allocateCodeSection() 338 sys::MemoryBlock MB = in allocateDataSection() local 343 if (!MB.base()) in allocateDataSection() [all …]
|
/openbsd/gnu/llvm/llvm/lib/ToolDrivers/llvm-dlltool/ |
H A D | DlltoolDriver.cpp | 62 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path); in openFile() local 64 if (std::error_code EC = MB.getError()) { in openFile() 69 return std::move(*MB); in openFile() 144 std::unique_ptr<MemoryBuffer> MB = in dlltoolDriverMain() local 146 if (!MB) in dlltoolDriverMain() 149 if (!MB->getBufferSize()) { in dlltoolDriverMain() 169 parseCOFFModuleDefinition(*MB, Machine, true); in dlltoolDriverMain()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
H A D | SimpleExecutorMemoryManager.cpp | 26 auto MB = sys::Memory::allocateMappedMemory( in allocate() local 31 assert(!Allocations.count(MB.base()) && "Duplicate allocation addr"); in allocate() 32 Allocations[MB.base()].Size = Size; in allocate() 33 return ExecutorAddr::fromPtr(MB.base()); in allocate() 102 sys::MemoryBlock MB(AllocToDestroy.first, AllocToDestroy.second.Size); in finalize() local 103 if (auto EC = sys::Memory::releaseMappedMemory(MB)) in finalize() 220 sys::MemoryBlock MB(Base, A.Size); in deallocateImpl() local 221 if (auto EC = sys::Memory::releaseMappedMemory(MB)) in deallocateImpl()
|
/openbsd/gnu/llvm/llvm/tools/llvm-dis/ |
H A D | llvm-dis.cpp | 189 std::unique_ptr<MemoryBuffer> MB = std::move(BufferOrErr.get()); in main() local 191 BitcodeFileContents IF = ExitOnErr(llvm::getBitcodeFileContents(*MB)); in main() 199 BitcodeModule MB = IF.Mods[I]; in main() local 205 MB.getLazyModule(Context, MaterializeMetadata, SetImporting)); in main() 212 BitcodeLTOInfo LTOInfo = ExitOnErr(MB.getLTOInfo()); in main() 215 Index = ExitOnErr(MB.getSummary()); in main()
|
/openbsd/lib/libc/gen/ |
H A D | getbsize.c | 44 #define MB (1024 * 1024) in getbsize() macro 68 max = MAXB / MB; in getbsize() 69 mul = MB; in getbsize()
|
/openbsd/distrib/notes/luna88k/ |
H A D | hardware | 4 16MB of RAM should be sufficient to boot and a minimal system can probably 5 be squeezed onto a 250MB disk by installing only the `base' set. 6 However, a minimum of 32MB is recommended for serious usage of the system.
|
/openbsd/etc/etc.amd64/ |
H A D | disktab | 3 mini34|gzip bsd.rd disk image 4.4.6875MB:\ 8 install360|install.img disk image 360MB:\ 13 floppy288|3in|3.5in High Density Floppy, 2.88MB:\
|
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.h | 57 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { in isRunOfOnes() argument 63 MB = countLeadingZeros(Val); in isRunOfOnes() 73 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes() 81 static inline bool isRunOfOnes64(uint64_t Val, unsigned &MB, unsigned &ME) { in isRunOfOnes64() argument 87 MB = countLeadingZeros(Val); in isRunOfOnes64() 97 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes64()
|
/openbsd/regress/sbin/disklabel/ |
H A D | 256.ok | 1 === Start 256MB disk === 8 === End 256MB disk ===
|
H A D | 400.ok | 1 === Start 400MB disk === 8 === End 400MB disk ===
|
H A D | 1000.ok | 1 === Start 1000MB disk === 11 === End 1000MB disk ===
|
/openbsd/gnu/llvm/llvm/lib/Debuginfod/ |
H A D | HTTPServer.cpp | 50 MemoryBuffer *MB = MBOrErr->release(); in streamFile() local 51 Request.setResponse({200u, "application/octet-stream", MB->getBufferSize(), in streamFile() 53 return MB->getBuffer().substr(Offset, Length); in streamFile() 55 [=](bool Success) { delete MB; }}); in streamFile()
|
/openbsd/distrib/notes/i386/ |
H A D | hardware | 13 The minimal configuration to install the system is 32MB of RAM and 14 at least 250MB of disk space to accommodate the `base' set. 15 To install the entire system, at least 600MB of disk are required,
|
/openbsd/etc/etc.i386/ |
H A D | disktab | 3 mini34|gzip bsd.rd disk image 4.34375MB:\ 8 install360|install.img disk image 360MB:\ 13 floppy288|3in|3.5in High Density Floppy, 2.88MB:\
|