/external/linux-kselftest/tools/testing/selftests/x86/ |
H A D | mpx-mm.h | 5 #define MB (1UL<<20) macro
|
/external/llvm/tools/llvm-c-test/ |
H A D | object.c | 21 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 D | diagnostic.c | 63 LLVMMemoryBufferRef MB; local 65 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 73 int Ret = LLVMGetBitcodeModule2(MB, &M); 80 LLVMDisposeMemoryBuffer(MB);
|
H A D | module.c | 29 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 D | PPCMCTargetDesc.h | 60 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 D | MemoryBufferTest.cpp | 80 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 D | SpecialCaseListTest.cpp | 23 std::unique_ptr<MemoryBuffer> MB = MemoryBuffer::getMemBuffer(List); local 24 return SpecialCaseList::create(MB.get(), Error);
|
/external/ltp/testcases/kernel/numa/ |
H A D | support_numa.c | 25 /* Description: Allocates 1MB of memory and touches it to verify numa */ 44 #define MB (1<<20) macro 65 /* Description: Alloctes 1MB of memory and touches it to verify numa behaviour*/ 69 /* argv[1] ==2 then allocate 1MB of memory */ 89 buf = malloc(MB); 95 for (i = 0; i < MB; i += PAGE_SIZE) {
|
/external/llvm/tools/sanstats/ |
H A D | sanstats.cpp | 123 std::unique_ptr<MemoryBuffer> MB = std::move(MBOrErr.get()); local 124 const char *Begin = MB->getBufferStart(), *End = MB->getBufferEnd();
|
/external/lz4/tests/ |
H A D | datagencli.c | 40 #define MB *(1 <<20) macro
|
/external/tremolo/Tremolo/ |
H A D | misc.h | 143 #define MB() macro
|
H A D | asm_arm.h | 67 #define MB() asm volatile ("" : : : "memory") macro 83 MB(); 102 MB(); 121 MB();
|
/external/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 87 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 D | LockFileManager.cpp | 51 MemoryBuffer &MB = *MBOrErr.get(); local 55 std::tie(Hostname, PIDStr) = getToken(MB.getBuffer(), " ");
|
H A D | SpecialCaseList.cpp | 70 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 D | mem.h | 11 #define MB (1UL<<20) macro
|
/external/ltp/testcases/kernel/mem/mtest06/ |
H A D | mmap2.c | 51 /* 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 D | MCJIT.cpp | 81 MemoryBuffer *MB = MemoryBuffer::getMemBufferCopy(StringRef(Buffer.data(), local 83 if (Dyld.loadObject(MB))
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/InstPrinter/ |
H A D | PPCInstPrinter.cpp | 39 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 D | ms-x86-pack-and-align.cpp | 393 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 D | Gperf-simple.c | 44 #define MB (1024*1024) macro 46 static char big[64*MB]; /* should be >> max. cache size */
|
H A D | Gperf-trace.c | 44 #define MB (1024*1024) macro 46 static char big[64*MB]; /* should be >> max. cache size */
|
/external/llvm/lib/Target/AMDGPU/ |
H A D | R600OptimizeVectorRegisters.cpp | 327 MachineBasicBlock *MB = &*MBB; local 332 for (MachineBasicBlock::iterator MII = MB->begin(), MIIE = MB->end();
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonRegisterInfo.cpp | 166 MachineBasicBlock &MB = *MI.getParent(); local 167 MachineFunction &MF = *MB.getParent(); 200 BuildMI(MB, II, DL, HII.get(Hexagon::A2_addi), TmpR)
|
/external/llvm/lib/Target/PowerPC/InstPrinter/ |
H A D | PPCInstPrinter.cpp | 61 unsigned char MB = MI->getOperand(3).getImm(); local 64 if (SH <= 31 && MB == 0 && ME == (31-SH)) { 67 if (SH <= 31 && MB == (32-SH) && ME == 31) {
|