Searched defs:CHUNK_SIZE (Results 1 - 13 of 13) sorted by relevance

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestInputStreamTest.java57 private static final int CHUNK_SIZE = 32; field in class:DigestInputStreamTest
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
[all...]
H A DDigestOutputStreamTest.java56 private static final int CHUNK_SIZE = 32; field in class:DigestOutputStreamTest
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
[all...]
/external/apache-http/src/org/apache/commons/codec/binary/
H A DBase64.java46 static final int CHUNK_SIZE = 76; field in class:Base64
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/quake/src/com/android/quake/
H A DDownloaderActivity.java982 private final static int CHUNK_SIZE = 32 * 1024; field in class:DownloaderActivity.Downloader
983 byte[] mFileIOBuffer = new byte[CHUNK_SIZE];
/external/webp/src/dec/
H A Didec.c26 #define CHUNK_SIZE 4096 macro
148 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1);
/external/icu4c/common/
H A Ducnv.c41 #define CHUNK_SIZE 1024 macro
2051 UChar pivotBuffer[CHUNK_SIZE];
2104 pivotLimit=pivotBuffer+CHUNK_SIZE;
2407 UChar pivotBuffer[CHUNK_SIZE];
2437 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE,
2451 char targetBuffer[CHUNK_SIZE];
2453 targetLimit=targetBuffer+CHUNK_SIZE;
2460 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE,
/external/libxml2/
H A Dxmlreader.c87 #define CHUNK_SIZE 512 macro
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)) {
/external/icu4c/test/cintltst/
H A Dccapitst.c1968 /* CHUNK_SIZE defined in common\ucnv.c: */
1969 #define CHUNK_SIZE 1024 macro
2002 char char_in[CHUNK_SIZE+32];
2003 char char_out[CHUNK_SIZE*2];
2023 memcpy(char_in + (CHUNK_SIZE - i), test_seq, test_seq_len);
2117 char char_in[CHUNK_SIZE*4];
2139 * bug2: size is 0x2805 (CHUNK_SIZE*2+5 - maybe 5 is the size of the overflow buffer
2140 * in the converter?), should be CHUNK_SIZE*4
2181 UChar pivotBuffer[CHUNK_SIZE];
2185 char targetBuffer[CHUNK_SIZE];
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.commons.codec_1.3.0.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/jdiff/
H A Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/apache/ org/apache/html/ ...

Completed in 487 milliseconds