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

  /external/webp/src/enc/
alpha.c 26 #define CHUNK_SIZE 8192
35 unsigned char chunk[CHUNK_SIZE];
49 strm.avail_out = CHUNK_SIZE;
54 size_out = CHUNK_SIZE - strm.avail_out;
  /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...]
  /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)) +
  /external/bluetooth/glib/gio/
glocalfileenumerator.c 36 #define CHUNK_SIZE 1000
274 local->entries = g_new (DirEntry, CHUNK_SIZE + 1);
282 for (i = 0; i < CHUNK_SIZE; i++)
  /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/Exchange/src/com/android/exchange/adapter/
AttachmentLoader.java 48 static private final int CHUNK_SIZE = 16*1024;
110 byte[] bytes = new byte[CHUNK_SIZE];
119 int read = inputStream.read(bytes, 0, CHUNK_SIZE);
134 // Callback only if we've read at least 1% more and have read more than CHUNK_SIZE
136 if ((pct > lastCallbackPct) && (totalRead > (lastCallbackTotalRead + CHUNK_SIZE))) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
Utils.java 242 final int CHUNK_SIZE = 10000;
244 byte[] buf = new byte[CHUNK_SIZE];
248 count = stream.read(buf, 0, CHUNK_SIZE);
  /external/webp/src/dec/
idec.c 26 #define CHUNK_SIZE 4096
97 const int num_chunks = (MemDataSize(mem) + data_size + CHUNK_SIZE - 1)
98 / CHUNK_SIZE;
99 const size_t new_size = num_chunks * CHUNK_SIZE;
247 uint32_t chunk_size; local
254 chunk_size = WebPCheckRIFFHeader(&data, &curr_size);
255 if (chunk_size == 0 ||
257 !VP8GetInfo(data, curr_size, chunk_size, NULL, NULL, NULL)) {
  /system/core/adb/
adb.h 441 #define CHUNK_SIZE (64*1024)
  /external/icu4c/common/
ucnv.c 41 #define CHUNK_SIZE 1024
    [all...]
  /external/quake/src/com/android/quake/
DownloaderActivity.java     [all...]
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerBaseTest.java 614 final int CHUNK_SIZE = 1000000; // copy random data in 1000000-char chunks
616 int nextChunkSize = CHUNK_SIZE;
623 if (remaining < CHUNK_SIZE) {
629 remaining -= CHUNK_SIZE;
    [all...]
  /external/icu4c/test/cintltst/
ccapitst.c     [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...]
  /prebuilt/common/http-client/
commons-codec-1.4.jar 
  /external/jdiff/
xerces.jar 
  /prebuilt/darwin-x86/swt/
swt.jar 
  /prebuilt/darwin-x86_64/swt/
swt.jar 
  /prebuilt/linux-x86/swt/
swt.jar 
  /prebuilt/linux-x86_64/swt/
swt.jar 
  /prebuilt/windows/swt/
swt.jar 
  /prebuilt/windows-x86_64/swt/
swt.jar 

Completed in 1467 milliseconds