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

1 2 3

  /frameworks/compile/mclinker/unittests/
LinearAllocatorTest.h 66 enum TemplateArgsType { CHUNK_SIZE = 32 };
67 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
RTLinearAllocatorTest.h 65 enum { CHUNK_SIZE = 32 };
  /external/pcre/dist/sljit/
sljitExecAllocator.c 69 #define CHUNK_SIZE 0x10000
74 * the size is always divisible by CHUNK_SIZE
125 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
180 sljit_uw chunk_size; local
190 chunk_size = free_block->size;
191 if (chunk_size > size + 64) {
193 chunk_size -= size;
194 free_block->size = chunk_size;
195 header = AS_BLOCK_HEADER(free_block, chunk_size);
196 header->prev_size = chunk_size;
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/adapter/
ItemOperationsParser.java 28 private static final int CHUNK_SIZE = 16*1024;
109 final byte[] bytes = new byte[CHUNK_SIZE];
116 final int read = inputStream.read(bytes, 0, CHUNK_SIZE);
130 // Callback only if we've read at least 1% more and have read more than CHUNK_SIZE
132 if ((pct > lastCallbackPct) && (totalRead > (lastCallbackTotalRead + CHUNK_SIZE))) {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 56 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;
321 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
330 for (int i = 0; i < MY_MESSAGE_LEN / CHUNK_SIZE; i++) {
331 dos.write(myMessage, i * CHUNK_SIZE, CHUNK_SIZE);
358 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE + 1) != 0);
367 for (int i = 0; i < MY_MESSAGE_LEN / (CHUNK_SIZE + 1); i++) {
368 dos.write(myMessage, i * (CHUNK_SIZE + 1), CHUNK_SIZE + 1);
372 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...]
  /external/apache-http/src/org/apache/commons/codec/binary/
Base64.java 51 static final int CHUNK_SIZE = 76;
259 (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math.ceil((float) encodedDataLength / CHUNK_SIZE));
270 int nextSeparatorIndex = CHUNK_SIZE;
306 // this assumes that CHUNK_SIZE % 4 == 0
316 (CHUNK_SIZE * (chunksSoFar + 1)) +
  /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);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
CachedInputStream.java 34 private static final int CHUNK_SIZE = ByteArrayPool.CHUNK16K;
70 int chunks = mPos / CHUNK_SIZE;
73 int removedBytes = chunks * CHUNK_SIZE;
149 if (mPos == mBufs.size() * CHUNK_SIZE) {
152 int currentBuf = mPos / CHUNK_SIZE;
153 int indexInBuf = mPos - currentBuf * CHUNK_SIZE;
155 int end = (currentBuf + 1) * CHUNK_SIZE;
186 int currentBuf = mPos / CHUNK_SIZE;
187 int indexInBuf = mPos - currentBuf * CHUNK_SIZE;
189 int end = (currentBuf + 1) * CHUNK_SIZE;
    [all...]
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
jspipe_test.cc 322 #define CHUNK_SIZE 678
330 char* message = (char*)malloc(CHUNK_SIZE);
337 int rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written);
351 int rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written);
358 rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written);
366 char* message = (char*)malloc(CHUNK_SIZE);
367 memset(message, 1, CHUNK_SIZE);
375 int rtn = JSPipeInject(message, CHUNK_SIZE);
378 ASSERT_GT(total_written, ispace_orig - CHUNK_SIZE - 1);
381 total_written += CHUNK_SIZE;
    [all...]
  /bootable/recovery/minadbd/
adb.h 408 #define CHUNK_SIZE (64*1024)
  /external/chromium_org/third_party/libwebp/dec/
idec.c 25 #define CHUNK_SIZE 4096
179 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1);
  /external/webp/src/dec/
idec.c 25 #define CHUNK_SIZE 4096
179 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1);
  /system/core/adb/
adb.h 402 #define CHUNK_SIZE (64*1024)
  /external/chromium_org/third_party/icu/source/common/
ucnv.c 43 #define CHUNK_SIZE 1024
    [all...]
  /external/icu/icu4c/source/common/
ucnv.c 43 #define CHUNK_SIZE 1024
    [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
plexus-cipher-1.7.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/plexus/plexus-cipher/1.7/
plexus-cipher-1.7.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/plexus/plexus-cipher/1.4/
plexus-cipher-1.4.jar 
  /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/chromium_org/third_party/icu/source/test/cintltst/
ccapitst.c     [all...]
  /external/chromium_org/third_party/libxml/src/
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/icu/icu4c/source/test/cintltst/
ccapitst.c     [all...]

Completed in 837 milliseconds

1 2 3