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

1 2

  /frameworks/compile/mclinker/unittests/
LinearAllocatorTest.h 66 enum { CHUNK_SIZE = 32 };
67 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
LinearAllocatorTest.cpp 20 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>();
45 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size());
52 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size());
57 Data* pointer = m_pTestee->allocate(CHUNK_SIZE+1);
RTLinearAllocatorTest.cpp 20 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE);
46 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size());
53 ASSERT_EQ(CHUNK_SIZE, m_pTestee->max_size());
58 Data* pointer = m_pTestee->allocate(CHUNK_SIZE+1);
RTLinearAllocatorTest.h 65 enum { CHUNK_SIZE = 32 };
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 57 private static final int CHUNK_SIZE = 32;
333 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
342 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
345 dis.read(bArray, i*CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE);
373 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0);
382 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) {
385 dis.read(bArray, i*(CHUNK_SIZE+1), CHUNK_SIZE+1) =
    [all...]
DigestOutputStreamTest.java 56 private static final int CHUNK_SIZE = 32;
320 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
329 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
330 dos.write(myMessage, i*CHUNK_SIZE, CHUNK_SIZE);
357 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0);
366 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) {
367 dos.write(myMessage, i*(CHUNK_SIZE+1), CHUNK_SIZE+1);
371 MY_MESSAGE_LEN/(CHUNK_SIZE+1)*(CHUNK_SIZE+1)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 58 private static final int CHUNK_SIZE = 32;
328 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
337 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
340 dis.read(bArray, i*CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE);
368 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0);
377 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) {
380 dis.read(bArray, i*(CHUNK_SIZE+1), CHUNK_SIZE+1) =
    [all...]
DigestOutputStreamTest.java 58 private static final int CHUNK_SIZE = 32;
315 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
324 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
325 dos.write(myMessage, i*CHUNK_SIZE, CHUNK_SIZE);
352 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0);
361 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) {
362 dos.write(myMessage, i*(CHUNK_SIZE+1), CHUNK_SIZE+1);
366 MY_MESSAGE_LEN/(CHUNK_SIZE+1)*(CHUNK_SIZE+1)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
InflaterTest.java 45 final int CHUNK_SIZE = 16;
47 inflater.setInput(deflatedBytes, offset, CHUNK_SIZE);
48 offset += CHUNK_SIZE;
66 int nextChunkByteCount = Math.min(CHUNK_SIZE, deflatedBytes.length - offset);
  /external/webkit/Source/WebCore/bindings/v8/
IntrusiveDOMWrapperMap.h 39 template <class T, int CHUNK_SIZE, class Traits>
49 m_last = m_current + CHUNK_SIZE;
67 m_current = m_last = m_chunks ? m_chunks->m_entries + CHUNK_SIZE : 0;
85 clearEntries(previous->m_entries, previous->m_entries + CHUNK_SIZE);
91 m_last = m_current + CHUNK_SIZE;
101 visitEntries(store, chunk->m_entries, chunk->m_entries + CHUNK_SIZE, visitor);
108 T m_entries[CHUNK_SIZE];
  /external/apache-http/src/org/apache/commons/codec/binary/
Base64.java 46 static final int CHUNK_SIZE = 76;
254 (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math.ceil((float) encodedDataLength / CHUNK_SIZE));
265 int nextSeparatorIndex = CHUNK_SIZE;
301 // this assumes that CHUNK_SIZE % 4 == 0
311 (CHUNK_SIZE * (chunksSoFar + 1)) +
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
AttachmentLoader.java 49 static private final int CHUNK_SIZE = 16*1024;
112 byte[] bytes = new byte[CHUNK_SIZE];
121 int read = inputStream.read(bytes, 0, CHUNK_SIZE);
136 // Callback only if we've read at least 1% more and have read more than CHUNK_SIZE
138 if ((pct > lastCallbackPct) && (totalRead > (lastCallbackTotalRead + CHUNK_SIZE))) {
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerBaseTest.java 609 final int CHUNK_SIZE = 1000000; // copy random data in 1000000-char chunks
611 int nextChunkSize = CHUNK_SIZE;
618 if (remaining < CHUNK_SIZE) {
624 remaining -= CHUNK_SIZE;
    [all...]
  /external/icu4c/common/
ucnv.c 41 #define CHUNK_SIZE 1024
    [all...]
  /bootable/recovery/minadbd/
adb.h 411 #define CHUNK_SIZE (64*1024)
  /system/core/adb/
adb.h 475 #define CHUNK_SIZE (64*1024)
commandline.c 389 int opt = CHUNK_SIZE;
401 unsigned xfer = (sz > CHUNK_SIZE) ? CHUNK_SIZE : sz;
    [all...]
adb.c 630 adb_socket_setbufsize(fd, CHUNK_SIZE);
    [all...]
  /external/webp/src/dec/
idec.c 26 #define CHUNK_SIZE 4096
148 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1);
  /external/icu4c/test/cintltst/
ccapitst.c     [all...]
  /external/quake/src/com/android/quake/
DownloaderActivity.java     [all...]
  /external/libxml2/
xmlreader.c 87 #define CHUNK_SIZE 512
821 if (inbuf->use < reader->cur + CHUNK_SIZE) {
849 * parse by block of CHUNK_SIZE bytes, various tests show that
852 if (inbuf->use >= reader->cur + CHUNK_SIZE) {
855 CHUNK_SIZE, 0);
856 reader->cur += CHUNK_SIZE;
877 (inbuf->use - reader->cur <= CHUNK_SIZE)) {
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.commons.codec_1.3.0.v20100518-1140.jar 
  /prebuilts/tools/common/http-client/
commons-codec-1.4.jar 
  /external/jdiff/
xerces.jar 

Completed in 864 milliseconds

1 2