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

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestInputStreamTest.java56 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
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
[all...]
/external/apache-http/src/org/apache/commons/codec/binary/
H A DBase64.java51 static final int CHUNK_SIZE = 76; field in class:Base64
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)) +
/external/guava/guava/src/com/google/common/hash/
H A DMurmur3_128HashFunction.java79 private static final int CHUNK_SIZE = 16; field in class:Murmur3_128HashFunction.Murmur3_128Hasher
87 super(CHUNK_SIZE);
97 length += CHUNK_SIZE;
172 .wrap(new byte[CHUNK_SIZE])
H A DMurmur3_32HashFunction.java151 private static final int CHUNK_SIZE = 4; field in class:Murmur3_32HashFunction.Murmur3_32Hasher
156 super(CHUNK_SIZE);
164 length += CHUNK_SIZE;
H A DSipHashFunction.java95 private static final int CHUNK_SIZE = 8; field in class:SipHashFunction.SipHasher
119 super(CHUNK_SIZE);
129 b += CHUNK_SIZE;
/external/pcre/dist/sljit/
H A DsljitExecAllocator.c69 #define CHUNK_SIZE 0x10000 macro
74 * the size is always divisible by CHUNK_SIZE
125 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
212 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK;
/external/webp/src/dec/
H A Didec.c25 #define CHUNK_SIZE 4096 macro
179 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1);
/external/icu/icu4c/source/common/
H A Ducnv.c43 #define CHUNK_SIZE 1024 macro
2061 UChar pivotBuffer[CHUNK_SIZE];
2114 pivotLimit=pivotBuffer+CHUNK_SIZE;
2417 UChar pivotBuffer[CHUNK_SIZE];
2447 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE,
2461 char targetBuffer[CHUNK_SIZE];
2463 targetLimit=targetBuffer+CHUNK_SIZE;
2470 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE,
/external/icu/icu4c/source/test/cintltst/
H A Dccapitst.c1922 /* CHUNK_SIZE defined in common\ucnv.c: */
1923 #define CHUNK_SIZE 1024 macro
1956 char char_in[CHUNK_SIZE+32];
1957 char char_out[CHUNK_SIZE*2];
1977 memcpy(char_in + (CHUNK_SIZE - i), test_seq, test_seq_len);
2076 char char_in[CHUNK_SIZE*4];
2098 * bug2: size is 0x2805 (CHUNK_SIZE*2+5 - maybe 5 is the size of the overflow buffer
2099 * in the converter?), should be CHUNK_SIZE*4
2140 UChar pivotBuffer[CHUNK_SIZE];
2144 char targetBuffer[CHUNK_SIZE];
[all...]
/external/libxml2/
H A Dxmlreader.c93 #define CHUNK_SIZE 512 macro
839 if (xmlBufUse(inbuf) < reader->cur + CHUNK_SIZE) {
867 * parse by block of CHUNK_SIZE bytes, various tests show that
870 if (xmlBufUse(inbuf) >= reader->cur + CHUNK_SIZE) {
873 CHUNK_SIZE, 0);
874 reader->cur += CHUNK_SIZE;
897 (xmlBufUse(inbuf) - reader->cur <= CHUNK_SIZE)) {
/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/owasp/sanitizer/lib/commons-codec-1.4/
H A Dcommons-codec-1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/codec/ ...

Completed in 441 milliseconds