/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | DigestInputStreamTest.java | 56 private static final int CHUNK_SIZE = 32; field in DigestInputStreamTest 333 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE); in testReadbyteArrayintint02() 342 for (int i = 0; i < MY_MESSAGE_LEN / CHUNK_SIZE; i++) { in testReadbyteArrayintint02() 345 dis.read(bArray, i * CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE); in testReadbyteArrayintint02() 373 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE + 1) != 0); in testReadbyteArrayintint03() 382 for (int i = 0; i < MY_MESSAGE_LEN / (CHUNK_SIZE + 1); i++) { in testReadbyteArrayintint03() 385 dis.read(bArray, i * (CHUNK_SIZE + 1), CHUNK_SIZE + 1) == in testReadbyteArrayintint03() 386 CHUNK_SIZE + 1); in testReadbyteArrayintint03() 393 MY_MESSAGE_LEN / (CHUNK_SIZE + 1) * (CHUNK_SIZE + 1), in testReadbyteArrayintint03() 394 MY_MESSAGE_LEN % (CHUNK_SIZE + 1)) == in testReadbyteArrayintint03() [all …]
|
D | DigestOutputStreamTest.java | 56 private static final int CHUNK_SIZE = 32; field in DigestOutputStreamTest 321 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE); in testWritebyteArrayintint02() 330 for (int i = 0; i < MY_MESSAGE_LEN / CHUNK_SIZE; i++) { in testWritebyteArrayintint02() 331 dos.write(myMessage, i * CHUNK_SIZE, CHUNK_SIZE); in testWritebyteArrayintint02() 358 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE + 1) != 0); in testWritebyteArrayintint03() 367 for (int i = 0; i < MY_MESSAGE_LEN / (CHUNK_SIZE + 1); i++) { in testWritebyteArrayintint03() 368 dos.write(myMessage, i * (CHUNK_SIZE + 1), CHUNK_SIZE + 1); in testWritebyteArrayintint03() 372 MY_MESSAGE_LEN / (CHUNK_SIZE + 1) * (CHUNK_SIZE + 1), in testWritebyteArrayintint03() 373 MY_MESSAGE_LEN % (CHUNK_SIZE + 1)); in testWritebyteArrayintint03() 399 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE); in testWritebyteArrayintint04() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
D | markselection.js | 45 var CHUNK_SIZE = 8; 55 var endLine = line + CHUNK_SIZE, atEnd = endLine >= to.line; 88 if (!coverStart || !coverEnd || to.line - from.line < CHUNK_SIZE || 97 if (coverStart.to.line - from.line < CHUNK_SIZE) { 110 if (to.line - coverEnd.from.line < CHUNK_SIZE) {
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | jspipe_test.cc | 322 #define CHUNK_SIZE 678 macro 330 char* message = (char*)malloc(CHUNK_SIZE); in TEST_F() 337 int rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written); in TEST_F() 351 int rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written); in TEST_F() 358 rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written); in TEST_F() 366 char* message = (char*)malloc(CHUNK_SIZE); in TEST_F() 367 memset(message, 1, CHUNK_SIZE); in TEST_F() 375 int rtn = JSPipeInject(message, CHUNK_SIZE); in TEST_F() 378 ASSERT_GT(total_written, ispace_orig - CHUNK_SIZE - 1); in TEST_F() 381 total_written += CHUNK_SIZE; in TEST_F()
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 51 static final int CHUNK_SIZE = 76; field in Base64 259 … (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math.ceil((float) encodedDataLength / CHUNK_SIZE)); in encodeBase64() 270 int nextSeparatorIndex = CHUNK_SIZE; in encodeBase64() 316 (CHUNK_SIZE * (chunksSoFar + 1)) + in encodeBase64()
|
/external/pcre/dist/sljit/ |
D | sljitExecAllocator.c | 69 #define CHUNK_SIZE 0x10000 macro 125 #define CHUNK_MASK (~(CHUNK_SIZE - 1)) 212 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
|
/external/chromium_org/third_party/icu/source/common/ |
D | ucnv.c | 43 #define CHUNK_SIZE 1024 macro 2061 UChar pivotBuffer[CHUNK_SIZE]; in ucnv_convertEx() 2114 pivotLimit=pivotBuffer+CHUNK_SIZE; in ucnv_convertEx() 2417 UChar pivotBuffer[CHUNK_SIZE]; in ucnv_internalConvert() 2447 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE, in ucnv_internalConvert() 2461 char targetBuffer[CHUNK_SIZE]; in ucnv_internalConvert() 2463 targetLimit=targetBuffer+CHUNK_SIZE; in ucnv_internalConvert() 2470 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE, in ucnv_internalConvert()
|
/external/icu/icu4c/source/common/ |
D | ucnv.c | 43 #define CHUNK_SIZE 1024 macro 2061 UChar pivotBuffer[CHUNK_SIZE]; in ucnv_convertEx() 2114 pivotLimit=pivotBuffer+CHUNK_SIZE; in ucnv_convertEx() 2417 UChar pivotBuffer[CHUNK_SIZE]; in ucnv_internalConvert() 2447 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE, in ucnv_internalConvert() 2461 char targetBuffer[CHUNK_SIZE]; in ucnv_internalConvert() 2463 targetLimit=targetBuffer+CHUNK_SIZE; in ucnv_internalConvert() 2470 pivotBuffer, &pivot, &pivot2, pivotBuffer+CHUNK_SIZE, in ucnv_internalConvert()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccapitst.c | 1927 #define CHUNK_SIZE 1024 macro 1960 char char_in[CHUNK_SIZE+32]; in bug1() 1961 char char_out[CHUNK_SIZE*2]; in bug1() 1981 memcpy(char_in + (CHUNK_SIZE - i), test_seq, test_seq_len); in bug1() 2075 char char_in[CHUNK_SIZE*4]; in bug3() 2139 UChar pivotBuffer[CHUNK_SIZE]; in convertExStreaming() 2143 char targetBuffer[CHUNK_SIZE]; in convertExStreaming() 2154 if(chunkSize>CHUNK_SIZE) { in convertExStreaming() 2155 chunkSize=CHUNK_SIZE; in convertExStreaming()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | ccapitst.c | 1923 #define CHUNK_SIZE 1024 macro 1956 char char_in[CHUNK_SIZE+32]; in bug1() 1957 char char_out[CHUNK_SIZE*2]; in bug1() 1977 memcpy(char_in + (CHUNK_SIZE - i), test_seq, test_seq_len); in bug1() 2071 char char_in[CHUNK_SIZE*4]; in bug3() 2135 UChar pivotBuffer[CHUNK_SIZE]; in convertExStreaming() 2139 char targetBuffer[CHUNK_SIZE]; in convertExStreaming() 2150 if(chunkSize>CHUNK_SIZE) { in convertExStreaming() 2151 chunkSize=CHUNK_SIZE; in convertExStreaming()
|
/external/webp/src/dec/ |
D | idec.c | 25 #define CHUNK_SIZE 4096 macro 179 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1); in AppendToMemBuffer()
|
/external/chromium_org/third_party/libwebp/dec/ |
D | idec.c | 25 #define CHUNK_SIZE 4096 macro 179 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1); in AppendToMemBuffer()
|
/external/libxml2/ |
D | xmlreader.c | 89 #define CHUNK_SIZE 512 macro 826 if (xmlBufUse(inbuf) < reader->cur + CHUNK_SIZE) { in xmlTextReaderPushData() 857 if (xmlBufUse(inbuf) >= reader->cur + CHUNK_SIZE) { in xmlTextReaderPushData() 860 CHUNK_SIZE, 0); in xmlTextReaderPushData() 861 reader->cur += CHUNK_SIZE; in xmlTextReaderPushData() 884 (xmlBufUse(inbuf) - reader->cur <= CHUNK_SIZE)) { in xmlTextReaderPushData()
|
/external/chromium_org/third_party/libxml/src/ |
D | xmlreader.c | 87 #define CHUNK_SIZE 512 macro 821 if (inbuf->use < reader->cur + CHUNK_SIZE) { in xmlTextReaderPushData() 852 if (inbuf->use >= reader->cur + CHUNK_SIZE) { in xmlTextReaderPushData() 855 CHUNK_SIZE, 0); in xmlTextReaderPushData() 856 reader->cur += CHUNK_SIZE; in xmlTextReaderPushData() 877 (inbuf->use - reader->cur <= CHUNK_SIZE)) { in xmlTextReaderPushData()
|