HomeSort by relevance Sort by last modified time
    Searched refs:MB (Results 1 - 25 of 186) sorted by null

1 2 3 4 5 6 7 8

  /art/runtime/gc/space/
space_create_test.cc 65 std::unique_ptr<Space> space(CreateSpace("test", 16 * MB, 32 * MB, 32 * MB, nullptr));
68 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 16 * MB, nullptr));
71 space.reset(CreateSpace("test", 32 * MB, 16 * MB, 16 * MB, nullptr));
74 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 32 * MB, nullptr))
    [all...]
space_test.h 327 size_t initial_size = 4 * MB;
328 size_t growth_limit = 8 * MB;
329 size_t capacity = 16 * MB;
372 TEST_SizeFootPrintGrowthLimitAndTrimStatic(1MB, spaceName, spaceFn, 1 * MB) \
373 TEST_SizeFootPrintGrowthLimitAndTrimStatic(4MB, spaceName, spaceFn, 4 * MB) \
374 TEST_SizeFootPrintGrowthLimitAndTrimStatic(8MB, spaceName, spaceFn, 8 * MB)
387 TEST_SizeFootPrintGrowthLimitAndTrimRandom(1MB, spaceName, spaceFn, 1 * MB)
    [all...]
  /external/llvm/unittests/ExecutionEngine/Orc/
IndirectionUtilsTest.cpp 20 ModuleBuilder MB(getGlobalContext(), "x86_64-apple-macosx10.10", "");
21 Function *F = MB.createFunctionDecl<void(DummyStruct, DummyStruct)>("");
24 AttributeSet::get(MB.getModule()->getContext(), 1U,
27 AttributeSet::get(MB.getModule()->getContext(), 2U,
30 AttributeSet::get(MB.getModule()->getContext(), ~0U,
32 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs));
34 auto ImplPtr = orc::createImplPointer(*F->getType(), *MB.getModule(), "", nullptr);
OrcCAPITest.cpp 28 ModuleBuilder MB(getGlobalContext(), TT.str(), "");
29 Function *TestFunc = MB.createFunctionDecl<int()>("testFunc");
30 Function *Main = MB.createFunctionDecl<int(int, char*[])>("main");
37 return MB.takeModule();
  /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);
  /cts/tests/dram/src/android/dram/cts/
BandwidthTest.java 43 private static final int MB = 1024 * 1024;
52 MemoryNative.runMemcpy(2 * MB, 100);
88 doRunMemcpy(1 * MB);
92 doRunMemcpy(2 * MB);
96 doRunMemcpy(4 * MB);
100 doRunMemcpy(8 * MB);
104 doRunMemcpy(16 * MB);
140 doRunMemset(1 * MB);
144 doRunMemset(2 * MB);
148 doRunMemset(4 * MB);
    [all...]
  /external/llvm/tools/lli/
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...]
RemoteMemoryManager.h 33 Allocation(sys::MemoryBlock mb, unsigned a, bool code)
34 : MB(mb), Alignment(a), IsCode(code) {}
36 sys::MemoryBlock MB;
  /frameworks/base/libs/hwui/
Properties.cpp 42 int Properties::gradientCacheSize = MB(DEFAULT_GRADIENT_CACHE_SIZE);
43 int Properties::layerPoolSize = MB(DEFAULT_LAYER_CACHE_SIZE);
45 int Properties::pathCacheSize = MB(DEFAULT_PATH_CACHE_SIZE);
46 int Properties::renderBufferCacheSize = MB(DEFAULT_RENDER_BUFFER_CACHE_SIZE);
47 int Properties::tessellationCacheSize = MB(DEFAULT_VERTEX_CACHE_SIZE);
48 int Properties::textDropShadowCacheSize = MB(DEFAULT_DROP_SHADOW_CACHE_SIZE);
49 int Properties::textureCacheSize = MB(DEFAULT_TEXTURE_CACHE_SIZE);
150 gradientCacheSize = MB(property_get_float(PROPERTY_GRADIENT_CACHE_SIZE, DEFAULT_GRADIENT_CACHE_SIZE));
151 layerPoolSize = MB(property_get_float(PROPERTY_LAYER_CACHE_SIZE, DEFAULT_LAYER_CACHE_SIZE));
153 pathCacheSize = MB(property_get_float(PROPERTY_PATH_CACHE_SIZE, DEFAULT_PATH_CACHE_SIZE))
    [all...]
  /external/llvm/include/llvm/Support/
SpecialCaseList.h 68 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
96 bool parse(const MemoryBuffer *MB, std::string &Error);
  /external/v8/test/cctest/
test-platform-win32.cc 42 v8::base::VirtualMemory* vm = new v8::base::VirtualMemory(1 * MB);
test-platform-linux.cc 43 v8::base::VirtualMemory* vm = new v8::base::VirtualMemory(1 * MB);
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-nios2/
relax_call26_cache.s 4 # a 256MB memory segment boundary with calls to the same function on either
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMCTargetDesc.h 60 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) {
66 MB = countLeadingZeros(Val);
76 MB = countLeadingZeros((Val - 1) ^ Val) + 1;
  /system/core/toolbox/upstream-netbsd/lib/libc/gen/
getbsize.c 62 #define MB (1024L * 1024L)
86 max = MAXB / MB;
87 mul = MB;
  /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...]
  /external/v8/src/heap/
gc-idle-time-handler.h 78 static const size_t kMaximumMarkingStepSize = 700 * MB;
86 static const size_t kInitialConservativeMarkCompactSpeed = 2 * MB;
91 2 * MB;
  /external/tremolo/Tremolo/
asm_arm.h 67 #define MB() asm volatile ("" : : : "memory")
83 MB();
102 MB();
121 MB();
  /external/v8/test/unittests/heap/
scavenge-job-unittest.cc 15 const size_t kNewSpaceCapacity = 8 * MB;
80 size_t new_space_size = 1 * MB;
91 size_t new_space_size = 1 * MB;
102 size_t new_space_size = 1 * MB;
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-aarch64/
farcall-section.s 1 # Test to ensure that an Aarch64 call exceeding 128MB generates an error
  /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/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))
  /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/llvm/tools/llvm-rtdyld/
llvm-rtdyld.cpp 184 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err);
185 if (!MB.base())
188 PreallocSlab = MB;
199 sys::MemoryBlock MB((void *)OldSlabOffset, Size);
201 FunctionMemory.push_back(MB);
203 DataMemory.push_back(MB);
228 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err);
229 if (!MB.base())
231 FunctionMemory.push_back(MB);
232 return (uint8_t*)MB.base()
    [all...]

Completed in 1293 milliseconds

1 2 3 4 5 6 7 8