/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();
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
getbsize.c | 62 #define MB (1024L * 1024L) 86 max = MAXB / MB; 87 mul = MB;
|
/packages/apps/Email/src/com/android/email/activity/ |
UiUtilities.java | 31 * Formats the given size as a String in bytes, kB, MB or GB. Ex: 12,315,000 = 11 MB 36 final long MB = (KB * 1024); 37 final long GB = (MB * 1024); 45 } else if (size < MB) { 50 value = (int) (size / MB);
|
/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) {
|
/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 | 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();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
DataUsageDetailView.java | 41 private static final double MB = 1024 * KB; 42 private static final double GB = 1024 * MB; 119 if (b > 100 * MB) { 123 val = b / MB; 124 suffix = "MB";
|
/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 | 95 const int64 MB = 1024 * KB; 96 const int64 GB = 1024 * MB; 105 unit_multiplier = MB; 125 // a typical android device will never have less than 48MB. 126 const int64 MB = 1024 * 1024; 133 result = std::min<int64>(std::max<int64>(32 * MB, result), 1024 * MB) / MB; 142 // a typical android device will never have less than 24MB. 143 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();
|