| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | InputFiles.cpp | 73 std::unique_ptr<MemoryBuffer> &MB = *MBOrErr; in readFile() local 235 ELFFileBase<ELFT>::ELFFileBase(Kind K, MemoryBufferRef MB) : InputFile(K, MB) { in ELFFileBase() argument 846 MemoryBufferRef MB = in fetch() local 1106 : InputFile(BitcodeKind, MB) { in BitcodeFile() 1120 MB.getBuffer(), in BitcodeFile() 1192 size_t BufSize = MB.getBuffer().size(); in getELFKind() 1227 if (isBitcode(MB)) in createObjectFile() 1230 switch (getELFKind(MB)) { in createObjectFile() 1245 switch (getELFKind(MB)) { in createSharedFile() 1263 return MB; in getBuffer() [all …]
|
| H A D | ScriptParser.h | 21 void readLinkerScript(MemoryBufferRef MB); 24 void readVersionScript(MemoryBufferRef MB); 26 void readDynamicList(MemoryBufferRef MB); 29 void readDefsym(StringRef Name, MemoryBufferRef MB);
|
| H A D | ScriptLexer.cpp | 72 ScriptLexer::ScriptLexer(MemoryBufferRef MB) { tokenize(MB); } in ScriptLexer() argument 87 void ScriptLexer::tokenize(MemoryBufferRef MB) { in tokenize() argument 89 MBs.push_back(MB); in tokenize() 90 StringRef S = MB.getBuffer(); in tokenize() 105 StringRef Filename = MB.getBufferIdentifier(); in tokenize() 294 for (MemoryBufferRef MB : MBs) in getCurrentMB() local 295 if (encloses(MB.getBuffer(), Tokens[Pos - 1])) in getCurrentMB() 296 return MB; in getCurrentMB()
|
| H A D | InputFiles.h | 77 StringRef getName() const { return MB.getBufferIdentifier(); } in getName() 78 MemoryBufferRef MB; variable 148 return check(llvm::object::ELFFile<ELFT>::create(MB.getBuffer())); in getObj() 367 InputFile *createObjectFile(MemoryBufferRef MB, StringRef ArchiveName = "", 369 InputFile *createSharedFile(MemoryBufferRef MB, StringRef DefaultSoName); 371 inline bool isBitcode(MemoryBufferRef MB) { in isBitcode() argument 372 return identify_magic(MB.getBuffer()) == llvm::file_magic::bitcode; in isBitcode()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 234 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer() local 235 I->second.Initialize(MB.begin(), MB.end()); in getEditBuffer() 250 StringRef MB = SourceMgr->getBufferData(FID); in InsertText() local 261 while (isWhitespaceExceptNL(MB[i])) in InsertText() 263 indentSpace = MB.substr(lineOffs, i-lineOffs); in InsertText() 327 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText() local 351 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation() local 368 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation() 373 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation() 389 while (isWhitespaceExceptNL(MB[i])) in IncreaseIndentation() [all …]
|
| /freebsd-12.1/sys/contrib/zstd/ |
| H A D | README.md | 36 | **zstd 1.3.4 -1** | 2.877 | 470 MB/s | 1380 MB/s | 37 | zlib 1.2.11 -1 | 2.743 | 110 MB/s | 400 MB/s | 38 | brotli 1.0.2 -0 | 2.701 | 410 MB/s | 430 MB/s | 39 | quicklz 1.5.0 -1 | 2.238 | 550 MB/s | 710 MB/s | 40 | lzo1x 2.09 -1 | 2.108 | 650 MB/s | 830 MB/s | 41 | lz4 1.8.1 | 2.101 | 750 MB/s | 3700 MB/s | 42 | snappy 1.1.4 | 2.091 | 530 MB/s | 1800 MB/s | 43 | lzf 3.6 -1 | 2.077 | 400 MB/s | 860 MB/s | 70 Previous charts provide results applicable to typical file and stream scenarios (several MB). Small…
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 84 template<typename MB> 85 class MemoryBufferMem : public MB { 107 template <typename MB> 108 static ErrorOr<std::unique_ptr<MB>> 169 template<typename MB> 236 template <typename MB> 237 static ErrorOr<std::unique_ptr<MB>> 242 template <typename MB> 243 static ErrorOr<std::unique_ptr<MB>> 416 template <typename MB> [all …]
|
| H A D | SpecialCaseList.cpp | 82 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, in create() argument 85 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()
|
| /freebsd-12.1/sys/contrib/zstd/zlibWrapper/ |
| H A D | README.md | 115 | zlib 1.2.8 | 30.51 MB/s | 219.3 MB/s | 6819783 | 3.45… 116 | zlib 1.2.8 not reusing a context | 30.22 MB/s | 218.1 MB/s | 6819783 | 3.45… 117 | zlib 1.2.8 with zlibWrapper and reusing a context | 30.40 MB/s | 218.9 MB/s | 6819783 | 3.45… 118 | zlib 1.2.8 with zlibWrapper not reusing a context | 30.28 MB/s | 218.1 MB/s | 6819783 | 3.45… 119 | zstd 1.1.0 using ZSTD_CCtx | 68.35 MB/s | 430.9 MB/s | 6868521 | 3.43… 120 | zstd 1.1.0 using ZSTD_CStream | 66.63 MB/s | 422.3 MB/s | 6868521 | 3.43… 121 | zstd 1.1.0 with zlibWrapper and reusing a context | 54.01 MB/s | 403.2 MB/s | 6763482 | 3.48… 122 | zstd 1.1.0 with zlibWrapper not reusing a context | 51.59 MB/s | 383.7 MB/s | 6763482 | 3.48…
|
| /freebsd-12.1/contrib/llvm/lib/ToolDrivers/llvm-dlltool/ |
| H A D | DlltoolDriver.cpp | 59 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path); in openFile() local 61 if (std::error_code EC = MB.getError()) { in openFile() 66 return std::move(*MB); in openFile() 119 std::unique_ptr<MemoryBuffer> MB = in dlltoolDriverMain() local 121 if (!MB) in dlltoolDriverMain() 124 if (!MB->getBufferSize()) { in dlltoolDriverMain() 139 parseCOFFModuleDefinition(*MB, Machine, true); in dlltoolDriverMain()
|
| /freebsd-12.1/sys/contrib/zstd/programs/ |
| H A D | README.md | 192 | `zstd -1` | `5.065` | `284.8 MB/s` | `759.3 MB/s` | 193 | `zstd -5` | `5.826` | `124.9 MB/s` | `674.0 MB/s` | 194 | `zstd -10` | `6.504` | `29.5 MB/s` | `771.3 MB/s` | 196 | `zstd -5 --long` | `19.661` | `165.5 MB/s` | `1530.6 MB/s`| 197 | `zstd -10 --long`| `21.949` | `75.6 MB/s` | `1632.6 MB/s`| 212 | `zstd -1` | `2.878` | `231.7 MB/s` | `594.4 MB/s` | 213 | `zstd -1 --long` | `2.929` | `106.5 MB/s` | `517.9 MB/s` | 214 | `zstd -5` | `3.274` | `77.1 MB/s` | `464.2 MB/s` | 215 | `zstd -5 --long` | `3.319` | `51.7 MB/s` | `371.9 MB/s` | 216 | `zstd -10` | `3.523` | `16.4 MB/s` | `489.2 MB/s` | [all …]
|
| /freebsd-12.1/sys/gnu/dts/arm64/broadcom/northstar2/ |
| H A D | ns2-xmc.dts | 90 reg = <0x00000000 0x00280000>; /* 2.5MB */ 96 reg = <0x00280000 0x00040000>; /* 0.25MB */ 102 reg = <0x002c0000 0x00040000>; /* 0.25MB */ 108 reg = <0x00300000 0x03d00000>; /* 61MB */ 114 reg = <0x04000000 0x06400000>; /* 100MB */ 119 reg = <0x0a400000 0x35c00000>; /* 860MB */ 179 reg = <0x00200000 0x00e00000>; /* 14MB */ 184 reg = <0x01000000 0x01000000>; /* 16MB */
|
| /freebsd-12.1/sys/mips/conf/ |
| H A D | TP-MR3020 | 5 # chance that this will ever boot FreeBSD directly from the 3.5MB 10 # * 32MB RAM 11 # * 4MB flash 29 # Board memory - 32MB 55 # With only 4MB of flash, we are stuck using USB
|
| H A D | ALFA_HORNET_UB | 6 # This is for the 64MB RAM/16MB flash part. They also 11 # * 64MB RAM 12 # * 16MB flash 28 # Board memory - 64MB
|
| H A D | TL-WR740Nv4 | 5 # * 32MB RAM 6 # * 4MB flash 22 # Board memory - 32MB 54 # Note: we don't fit in 4MB flash, so the rootfs must be on USB for now
|
| H A D | ONIONOMEGA | 7 # * 64MB RAM 8 # * 16MB flash 24 # Board memory - 64MB
|
| /freebsd-12.1/sys/gnu/dts/arm/ |
| H A D | armada-xp-linksys-mamba.dts | 36 reg = <0x00000000 0x00000000 0x00000000 0x10000000>; /* 256MB */ 337 reg = <0x0000000 0x100000>; /* 1MB */ 353 reg = <0x900000 0x100000>; /* 1MB */ 360 reg = <0xa00000 0x2800000>; /* 40MB */ 365 reg = <0xd00000 0x2500000>; /* 37MB */ 371 reg = <0x3200000 0x2800000>; /* 40MB */ 376 reg = <0x3500000 0x2500000>; /* 37MB */ 380 * 38MB, last MB is for the BBT, not writable 395 reg = <0x180000 0x780000>; /* 7.5MB */
|
| H A D | kirkwood-laplug.dts | 20 reg = <0x00000000 0x8000000>; /* 128 MB */ 126 /* Total size : 512MB */ 131 reg = <0x0 0x100000>; /* 1MB */ 137 reg = <0x100000 0x1000000>; /* 16MB */ 142 reg = <0x1100000 0x1EF00000>; /* 495MB */
|
| H A D | armada-370-netgear-rn102.dts | 24 reg = <0x00000000 0x20000000>; /* 512 MB */ 249 reg = <0x0000000 0x180000>; /* 1.5MB */ 261 reg = <0x0200000 0x600000>; /* 6MB */ 266 reg = <0x0800000 0x400000>; /* 4MB */ 269 /* Last MB is for the BBT, i.e. not writable */ 272 reg = <0x0c00000 0x7400000>; /* 116MB */
|
| H A D | armada-370-netgear-rn104.dts | 24 reg = <0x00000000 0x20000000>; /* 512 MB */ 261 reg = <0x0000000 0x180000>; /* 1.5MB */ 273 reg = <0x0200000 0x600000>; /* 6MB */ 278 reg = <0x0800000 0x400000>; /* 4MB */ 281 /* Last MB is for the BBT, i.e. not writable */ 284 reg = <0x0c00000 0x7400000>; /* 116MB */
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/ |
| H A D | SectionMemoryManager.cpp | 105 sys::MemoryBlock MB = MMapper.allocateMappedMemory( in allocateSection() local 114 MemGroup.Near = MB; in allocateSection() 117 MemGroup.AllocatedMem.push_back(MB); in allocateSection() 118 Addr = (uintptr_t)MB.base(); in allocateSection() 119 uintptr_t EndOfBlock = Addr + MB.size(); in allocateSection() 198 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions() 199 if (std::error_code EC = MMapper.protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-rtdyld/ |
| H A D | llvm-rtdyld.cpp | 183 sys::MemoryBlock MB = in preallocateSlab() local 188 if (!MB.base()) in preallocateSlab() 191 PreallocSlab = MB; in preallocateSlab() 206 DataMemory.push_back(MB); in allocateFromSlab() 231 sys::MemoryBlock MB = in allocateCodeSection() local 236 if (!MB.base()) in allocateCodeSection() 239 return (uint8_t*)MB.base(); in allocateCodeSection() 255 sys::MemoryBlock MB = in allocateDataSection() local 260 if (!MB.base()) in allocateDataSection() 262 DataMemory.push_back(MB); in allocateDataSection() [all …]
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | getbsize.c | 50 #define MB (1024L * 1024L) in getbsize() macro 74 max = MAXB / MB; in getbsize() 75 mul = MB; in getbsize()
|
| /freebsd-12.1/tools/tools/nanobsd/dhcpd/ |
| H A D | os-base | 40 # /var -> ~10MB (look through rc.initdiskless for the formula of how this 153 # kill includes (saves 14MB) 156 # kill docs (saves 22MB) 160 # and info (2MB) 163 # and man pages (4.4MB) 169 # and groff_fonts junk (3MB) 174 # Kill all .a's and .la's that are installed (20MB+) 177 # magic.mgc is just a speed optimization. Kill it for 1.7MB
|
| /freebsd-12.1/contrib/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 263 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F); in run() local 265 check(InputFile::create(MB->getMemBufferRef()), F); in run() 285 MBs.push_back(std::move(MB)); in run() 309 auto AddBuffer = [&](size_t Task, std::unique_ptr<MemoryBuffer> MB) { in run() argument 310 *AddStream(Task)->OS << MB->getBuffer(); in run() 323 std::unique_ptr<MemoryBuffer> MB = check(MemoryBuffer::getFile(F), F); in dumpSymtab() local 324 BitcodeFileContents BFC = check(getBitcodeFileContents(*MB), F); in dumpSymtab() 336 check(InputFile::create(MB->getMemBufferRef()), F); in dumpSymtab()
|