Home
last modified time | relevance | path

Searched refs:CHUNK_SIZE (Results 1 – 6 of 6) sorted by relevance

/frameworks/compile/mclinker/unittests/
DLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>(); in LinearAllocatorTest()
40 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size()); in TEST_F()
47 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size()); in TEST_F()
52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F()
DRTLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE); in RTLinearAllocatorTest()
41 ASSERT_TRUE(CHUNK_SIZE == m_pTestee->max_size()); in TEST_F()
48 ASSERT_TRUE(CHUNK_SIZE == m_pTestee->max_size()); in TEST_F()
53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F()
DLinearAllocatorTest.h64 enum TemplateArgsType { CHUNK_SIZE = 32 }; enumerator
65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
DRTLinearAllocatorTest.h62 enum { CHUNK_SIZE = 32 }; enumerator
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java614 final int CHUNK_SIZE = 1000000; // copy random data in 1000000-char chunks in createFileOnSD() local
616 int nextChunkSize = CHUNK_SIZE; in createFileOnSD()
623 if (remaining < CHUNK_SIZE) { in createFileOnSD()
629 remaining -= CHUNK_SIZE; in createFileOnSD()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java624 private static final int CHUNK_SIZE = 4 * 1024; field in PermissionControllerManager.FileWriterTask
664 for (int offset = 0; offset < buffer.length; offset += CHUNK_SIZE) { in doInBackground()
665 out.write(buffer, offset, min(CHUNK_SIZE, buffer.length - offset)); in doInBackground()