/bionic/benchmarks/ |
stdio_benchmark.cpp | 22 #define MB 1024*KB
|
string_benchmark.cpp | 22 #define MB 1024*KB
|
/external/llvm/tools/llvm-c-test/ |
object.c | 21 LLVMMemoryBufferRef MB; 26 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 31 O = LLVMCreateObjectFile(MB); 53 LLVMMemoryBufferRef MB; 59 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 64 O = LLVMCreateObjectFile(MB);
|
module.c | 23 LLVMMemoryBufferRef MB; 27 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 32 if (LLVMParseBitcode(MB, &M, &msg)) { 34 LLVMDisposeMemoryBuffer(MB); 38 LLVMDisposeMemoryBuffer(MB);
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
SectionMemoryManager.cpp | 52 sys::MemoryBlock &MB = MemGroup.FreeMem[i]; 53 if (MB.size() >= RequiredSize) { 54 Addr = (uintptr_t)MB.base(); 55 uintptr_t EndOfBlock = Addr + MB.size(); 75 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, 86 MemGroup.Near = MB; 88 MemGroup.AllocatedMem.push_back(MB); 89 Addr = (uintptr_t)MB.base(); 90 uintptr_t EndOfBlock = Addr + MB.size();
|
/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();
|
/external/llvm/lib/Support/ |
LockFileManager.cpp | 42 std::unique_ptr<MemoryBuffer> MB = std::move(MBOrErr.get()); 46 std::tie(Hostname, PIDStr) = getToken(MB->getBuffer(), " ");
|
/external/llvm/lib/Target/PowerPC/InstPrinter/ |
PPCInstPrinter.cpp | 44 unsigned char MB = MI->getOperand(3).getImm(); 47 if (SH <= 31 && MB == 0 && ME == (31-SH)) { 50 if (SH <= 31 && MB == (32-SH) && ME == 31) {
|
/art/runtime/ |
globals.h | 32 static constexpr size_t MB = KB * KB;
|
/cts/suite/cts/deviceTests/simplecpu/src/com/android/cts/simplecpu/ |
SimpleCpuTest.java | 36 private static final int MB = 1024 * 1024; 56 doTestSort(NUMBER_REPEAT, 1 * MB); 88 CpuNative.runSort(1 * MB, 10);
|
/external/clang/test/Layout/ |
ms-x86-pack-and-align.cpp | 409 struct MB : virtual MA { 415 // CHECK-NEXT: 0 | struct MB 416 // CHECK-NEXT: 0 | (MB vbtable pointer) 423 // CHECK-X64-NEXT: 0 | struct MB 424 // CHECK-X64-NEXT: 0 | (MB vbtable pointer) 564 sizeof(MB)+
|
/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/tools/llvm-rtdyld/ |
llvm-rtdyld.cpp | 115 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, nullptr); 116 FunctionMemory.push_back(MB); 117 return (uint8_t*)MB.base(); 125 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, nullptr); 126 DataMemory.push_back(MB); 127 return (uint8_t*)MB.base();
|
/cts/suite/cts/deviceTests/dram/src/com/android/cts/dram/ |
BandwidthTest.java | 42 private static final int MB = 1024 * 1024; 51 MemoryNative.runMemcpy(2 * MB, 100); 87 doRunMemcpy(1 * MB); 91 doRunMemcpy(2 * MB); 95 doRunMemcpy(4 * MB); 99 doRunMemcpy(8 * MB); 103 doRunMemcpy(16 * MB); 139 doRunMemset(1 * MB); 143 doRunMemset(2 * MB); 147 doRunMemset(4 * MB); [all...] |
/development/perftests/panorama/feature_stab/src/dbreg/ |
dbreg.cpp | 250 #define MB 0 271 #if MB 499 #if MB
|
/external/chromium_org/base/ |
sys_info_android.cc | 96 const int64 MB = 1024 * KB; 97 const int64 GB = 1024 * MB; 106 unit_multiplier = MB; 126 // a typical android device will never have less than 48MB. 127 const int64 MB = 1024 * 1024; 134 result = std::min<int64>(std::max<int64>(32 * MB, result), 1024 * MB) / MB; 143 // a typical android device will never have less than 24MB. 144 const int64 MB = 1024 * 1024 [all...] |
/external/llvm/lib/Target/R600/ |
R600OptimizeVectorRegisters.cpp | 321 MachineBasicBlock *MB = MBB; 326 for (MachineBasicBlock::iterator MII = MB->begin(), MIIE = MB->end();
|
/external/clang/lib/Rewrite/Core/ |
Rewriter.cpp | 234 StringRef MB = SourceMgr->getBufferData(FID); 235 I->second.Initialize(MB.begin(), MB.end()); 250 StringRef MB = SourceMgr->getBufferData(FID); 261 while (isWhitespace(MB[i])) 263 indentSpace = MB.substr(lineOffs, i-lineOffs); 327 StringRef MB = SourceMgr->getBufferData(FID); 328 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); 380 StringRef MB = SourceMgr->getBufferData(FID); 397 while (isWhitespace(MB[i]) [all...] |
/external/llvm/tools/llvm-symbolizer/ |
LLVMSymbolize.cpp | 223 ErrorOr<std::unique_ptr<MemoryBuffer>> MB = 225 if (!MB) 227 return !zlib::isAvailable() || CRCHash == zlib::crc32(MB.get()->getBuffer());
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsMessageTest.java | 35 private static final String MB = DMB; 286 assertEquals(MB, sms.getEmailBody());
|
/external/clang/tools/libclang/ |
CIndexCodeCompletion.cpp | 695 llvm::MemoryBuffer *MB = 697 RemappedFiles.push_back(std::make_pair(UF.Filename, MB)); [all...] |
Indexing.cpp | 579 llvm::MemoryBuffer *MB = 581 BufOwner->push_back(std::unique_ptr<llvm::MemoryBuffer>(MB)); 582 CInvok->getPreprocessorOpts().addRemappedFile(UF.Filename, MB); [all...] |