/external/llvm/tools/llvm-c-test/ |
object.c | 22 LLVMMemoryBufferRef MB; 27 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 32 O = LLVMCreateObjectFile(MB); 54 LLVMMemoryBufferRef MB; 60 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 65 O = LLVMCreateObjectFile(MB);
|
module.c | 30 LLVMMemoryBufferRef MB; 34 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 44 Ret = LLVMGetBitcodeModule2(MB, &M); 46 Ret = LLVMParseBitcode2(MB, &M); 49 Ret = LLVMGetBitcodeModule(MB, &M, &msg); 51 Ret = LLVMParseBitcode(MB, &M, &msg); 56 LLVMDisposeMemoryBuffer(MB); 61 LLVMDisposeMemoryBuffer(MB);
|
/bionic/benchmarks/ |
stdio_benchmark.cpp | 24 #define MB 1024*KB
|
string_benchmark.cpp | 23 #define MB 1024*KB
|
/external/llvm/tools/lli/ |
RemoteMemoryManager.h | 33 Allocation(sys::MemoryBlock mb, unsigned a, bool code) 34 : MB(mb), Alignment(a), IsCode(code) {} 36 sys::MemoryBlock MB;
|
RemoteMemoryManager.cpp | 29 sys::Memory::releaseMappedMemory(I->MB); 65 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(Size, 70 assert(!ec && MB.base()); 76 Near = MB; 77 return MB; 101 unsigned Size = Section.MB.size(); 118 unsigned Size = Section.MB.size(); 140 EE->mapSectionAddress(const_cast<void*>(Offsets[i].first.MB.base()), Addr); 142 DEBUG(dbgs() << " Mapping local: " << Offsets[i].first.MB.base() 159 if (!Target->loadCode(RemoteAddr, Section.MB.base(), Section.MB.size()) [all...] |
/external/llvm/unittests/Support/ |
MemoryBufferTest.cpp | 80 ErrorOr<OwningBuffer> MB = MemoryBuffer::getFile(TestPath.c_str()); 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(), 200 std::error_code EC = MB.getError(); 202 EXPECT_EQ(0x4000UL, MB.get()->getBufferSize()) [all...] |
SpecialCaseListTest.cpp | 23 std::unique_ptr<MemoryBuffer> MB = MemoryBuffer::getMemBuffer(List); 24 return SpecialCaseList::create(MB.get(), Error);
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
getbsize.c | 62 #define MB (1024L * 1024L) 86 max = MAXB / MB; 87 mul = MB;
|
/toolchain/binutils/binutils-2.25/opcodes/ |
mmix-opc.c | 81 #define MB mmix_type_memaccess_byte 205 {"ldb", Z (0x80), OP (regs_z_opt), MB}, 208 {"ldbu", Z (0x82), OP (regs_z_opt), MB}, 234 {"stb", Z (0xa0), OP (regs_z_opt), MB}, 237 {"stbu", Z (0xa2), OP (regs_z_opt), MB},
|
/external/llvm/lib/ExecutionEngine/ |
SectionMemoryManager.cpp | 87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, 98 MemGroup.Near = MB; 101 MemGroup.AllocatedMem.push_back(MB); 102 Addr = (uintptr_t)MB.base(); 103 uintptr_t EndOfBlock = Addr + MB.size(); 186 for (sys::MemoryBlock &MB : MemGroup.PendingMem) 187 if (std::error_code EC = sys::Memory::protectMappedMemory(MB, Permissions))
|
/external/llvm/lib/Target/Hexagon/ |
HexagonRegisterInfo.cpp | 123 MachineBasicBlock &MB = *MI.getParent(); 124 MachineFunction &MF = *MB.getParent(); 161 dbgs() << ", BB#" << MB.getNumber() << "\n" << MI;
|
/external/tremolo/Tremolo/ |
asm_arm.h | 67 #define MB() asm volatile ("" : : : "memory") 83 MB(); 102 MB(); 121 MB();
|
misc.h | 143 #define MB()
|
/art/runtime/ |
globals.h | 28 static constexpr size_t MB = KB * KB;
|
/cts/tests/simplecpu/src/android/simplecpu/cts/ |
SimpleCpuTest.java | 36 private static final int MB = 1024 * 1024; 57 doTestSort(NUMBER_REPEAT, 1 * MB); 88 CpuNative.runSort(1 * MB, 10);
|
/external/libunwind/tests/ |
Gperf-simple.c | 44 #define MB (1024*1024) 46 static char big[64*MB]; /* should be >> max. cache size */
|
Gperf-trace.c | 44 #define MB (1024*1024) 46 static char big[64*MB]; /* should be >> max. cache size */
|
/external/llvm/lib/Support/ |
LockFileManager.cpp | 51 MemoryBuffer &MB = *MBOrErr.get(); 55 std::tie(Hostname, PIDStr) = getToken(MB.getBuffer(), " ");
|
/external/llvm/lib/Target/PowerPC/InstPrinter/ |
PPCInstPrinter.cpp | 61 unsigned char MB = MI->getOperand(3).getImm(); 64 if (SH <= 31 && MB == 0 && ME == (31-SH)) { 67 if (SH <= 31 && MB == (32-SH) && ME == 31) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
DataUsageDetailView.java | 42 private static final double MB = 1024 * KB; 43 private static final double GB = 1024 * MB; 130 if (b > 100 * MB) { 134 val = b / MB; 135 suffix = "MB";
|
/cts/tests/dram/src/android/dram/cts/ |
BandwidthTest.java | 44 private static final int MB = 1024 * 1024; 53 MemoryNative.runMemcpy(2 * MB, 100); 89 doRunMemcpy(1 * MB); 93 doRunMemcpy(2 * MB); 97 doRunMemcpy(4 * MB); 101 doRunMemcpy(8 * MB); 105 doRunMemcpy(16 * MB); 141 doRunMemset(1 * MB); 145 doRunMemset(2 * MB); 149 doRunMemset(4 * MB); [all...] |
/development/perftests/panorama/feature_stab/src/dbreg/ |
dbreg.cpp | 250 #define MB 0 271 #if MB 499 #if MB
|
/external/clang/lib/Rewrite/ |
Rewriter.cpp | 230 StringRef MB = SourceMgr->getBufferData(FID); 231 I->second.Initialize(MB.begin(), MB.end()); 246 StringRef MB = SourceMgr->getBufferData(FID); 257 while (isWhitespaceExceptNL(MB[i])) 259 indentSpace = MB.substr(lineOffs, i-lineOffs); 323 StringRef MB = SourceMgr->getBufferData(FID); 324 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); 347 StringRef MB = SourceMgr->getBufferData(FID); 364 while (isWhitespaceExceptNL(MB[i]) [all...] |
/external/clang/test/Layout/ |
ms-x86-pack-and-align.cpp | 393 struct MB : virtual 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)+
|