Searched defs:MB (Results 1 - 25 of 73) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/x86/
H A Dmpx-mm.h6 #define MB (1UL<<20) macro
H A Dpkey-helpers.h147 #define MB (1<<20) macro
/external/llvm/tools/llvm-c-test/
H A Dobject.c21 LLVMMemoryBufferRef MB; local
26 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
31 O = LLVMCreateObjectFile(MB);
53 LLVMMemoryBufferRef MB; local
59 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
64 O = LLVMCreateObjectFile(MB);
H A Ddiagnostic.c63 LLVMMemoryBufferRef MB; local
65 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
73 int Ret = LLVMGetBitcodeModule2(MB, &M);
80 LLVMDisposeMemoryBuffer(MB);
H A Dmodule.c29 LLVMMemoryBufferRef MB; local
33 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
43 Ret = LLVMGetBitcodeModule2(MB, &M);
45 Ret = LLVMParseBitcode2(MB, &M);
48 Ret = LLVMGetBitcodeModule(MB, &M, &msg);
50 Ret = LLVMParseBitcode(MB, &M, &msg);
55 LLVMDisposeMemoryBuffer(MB);
60 LLVMDisposeMemoryBuffer(MB);
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.h60 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { argument
66 MB = countLeadingZeros(Val);
76 MB = countLeadingZeros((Val - 1) ^ Val) + 1;
/external/llvm/unittests/Support/
H A DMemoryBufferTest.cpp80 ErrorOr<OwningBuffer> MB = MemoryBuffer::getFile(TestPath.c_str()); local
81 std::error_code EC = MB.getError();
84 const char *BufData = MB.get()->getBufferStart();
173 OwningBuffer MB(MemoryBuffer::getMemBuffer(data));
174 MemoryBufferRef MBR(*MB);
176 EXPECT_EQ(MB->getBufferStart(), MBR.getBufferStart());
177 EXPECT_EQ(MB->getBufferIdentifier(), MBR.getBufferIdentifier());
198 ErrorOr<OwningBuffer> MB = MemoryBuffer::getFileSlice(TestPath.str(), local
200 std::error_code EC = MB.getError();
202 EXPECT_EQ(0x4000UL, MB
[all...]
H A DSpecialCaseListTest.cpp23 std::unique_ptr<MemoryBuffer> MB = MemoryBuffer::getMemBuffer(List); local
24 return SpecialCaseList::create(MB.get(), Error);
/external/llvm/tools/sanstats/
H A Dsanstats.cpp123 std::unique_ptr<MemoryBuffer> MB = std::move(MBOrErr.get()); local
124 const char *Begin = MB->getBufferStart(), *End = MB->getBufferEnd();
/external/ltp/testcases/kernel/numa/
H A Dsupport_numa.c45 #define MB (1<<20) macro
54 printf(" argv[1] == \"alloc_1MB\" then allocate 1MB of memory\n");
55 printf(" argv[1] == \"alloc_1MB_shared\" then allocate 1MB of share memory\n");
103 buf = malloc(MB);
108 for (i = 0; i < MB; i += PAGE_SIZE) {
118 /* Writing 1MB of random data into this file [32 * 32768 = 1024 * 1024] */
/external/lz4/tests/
H A Ddatagencli.c40 #define MB *(1 <<20) macro
/external/linux-kselftest/tools/testing/selftests/vm/
H A Dgup_benchmark.c14 #define MB (1UL << 20) macro
30 unsigned long size = 128 * MB;
37 size = atoi(optarg) * MB;
/external/tremolo/Tremolo/
H A Dmisc.h143 #define MB() macro
H A Dasm_arm.h67 #define MB() asm volatile ("" : : : "memory") macro
83 MB();
102 MB();
121 MB();
/external/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, local
98 MemGroup.Near = MB;
101 MemGroup.AllocatedMem.push_back(MB);
102 Addr = (uintptr_t)MB.base();
103 uintptr_t EndOfBlock = Addr + MB.size();
183 for (sys::MemoryBlock &MB : MemGroup.PendingMem)
184 if (std::error_code EC = sys::Memory::protectMappedMemory(MB, Permissions))
/external/llvm/lib/Support/
H A DLockFileManager.cpp51 MemoryBuffer &MB = *MBOrErr.get(); local
55 std::tie(Hostname, PIDStr) = getToken(MB.getBuffer(), " ");
H A DSpecialCaseList.cpp70 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, argument
73 if (!SCL->parse(MB, Error))
87 bool SpecialCaseList::parse(const MemoryBuffer *MB, std::string &Error) { argument
90 SplitString(MB->getBuffer(), Lines, "\n\r");
/external/ltp/testcases/kernel/mem/include/
H A Dmem.h11 #define MB (1UL<<20) macro
/external/ltp/testcases/kernel/mem/mtest06/
H A Dmmap2.c51 /* large (by default 128MB) file. */
76 #define MB (1024 * 1024) macro
102 while (index < (size * MB)) {
139 "128MB\n"
201 "fsize %lu MB\n", fsize = 128);
218 "\tSize of temp file in MB: %lu\n", exec_time, fsize);
255 memptr = mmap(0, (fsize * MB), PROT_READ | PROT_WRITE,
264 memset(memptr, 'A', ((fsize * MB) / sizeof(char)));
266 if (msync(memptr, ((fsize * MB) / sizeof(char)),
272 if (munmap(memptr, (fsize * MB) / sizeo
[all...]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp81 MemoryBuffer *MB = MemoryBuffer::getMemBufferCopy(StringRef(Buffer.data(), local
83 if (Dyld.loadObject(MB))
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/InstPrinter/
H A DPPCInstPrinter.cpp39 unsigned char MB = MI->getOperand(3).getImm(); local
42 if (SH <= 31 && MB == 0 && ME == (31-SH)) {
45 if (SH <= 31 && MB == (32-SH) && ME == 31) {
/external/clang/test/Layout/
H A Dms-x86-pack-and-align.cpp393 struct MB : virtual MA { struct in inherits:MA
399 // CHECK-NEXT: 0 | struct MB
400 // CHECK-NEXT: 0 | (MB vbtable pointer)
407 // CHECK-X64-NEXT: 0 | struct MB
408 // CHECK-X64-NEXT: 0 | (MB vbtable pointer)
793 sizeof(MB)+
/external/libunwind/tests/
H A DGperf-simple.c44 #define MB (1024*1024) macro
46 static char big[64*MB]; /* should be >> max. cache size */
H A DGperf-trace.c44 #define MB (1024*1024) macro
46 static char big[64*MB]; /* should be >> max. cache size */
/external/llvm/lib/Target/AMDGPU/
H A DR600OptimizeVectorRegisters.cpp327 MachineBasicBlock *MB = &*MBB; local
332 for (MachineBasicBlock::iterator MII = MB->begin(), MIIE = MB->end();

Completed in 1130 milliseconds

123