Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 23 of 23) sorted by relevance

/external/apache-http/src/org/apache/http/impl/io/
DChunkedInputStream.java79 private int chunkSize; field in ChunkedInputStream
124 if (this.pos >= this.chunkSize) { in read()
154 if (pos >= chunkSize) { in read()
160 len = Math.min(len, chunkSize - pos); in read()
183 chunkSize = getChunkSize(); in nextChunk()
184 if (chunkSize < 0) { in nextChunk()
189 if (chunkSize == 0) { in nextChunk()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockResponse.java118 int chunkSize = Math.min(body.length - pos, maxChunkSize); in setChunkedBody() local
119 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); in setChunkedBody()
121 bytesOut.write(body, pos, chunkSize); in setChunkedBody()
123 pos += chunkSize; in setChunkedBody()
DMockWebServer.java368 int chunkSize = Integer.parseInt(readAsciiUntilCrlf(in).trim(), 16); in readRequest() local
369 if (chunkSize == 0) { in readRequest()
373 chunkSizes.add(chunkSize); in readRequest()
374 transfer(chunkSize, in, requestBody); in readRequest()
/external/quake/quake/src/WinQuake/
Dsnd_android.cpp598 size_t chunkSize = min(gAvailableBytes, min(TOTAL_BUFFER_SIZE-dmaByteIndex, size)); in AndroidQuakeSoundCallback() local
599 gAvailableBytes -= chunkSize; in AndroidQuakeSoundCallback()
603 memcpy(pDestBuffer, pSrcBuffer + dmaByteIndex, chunkSize); in AndroidQuakeSoundCallback()
604 size -= chunkSize; in AndroidQuakeSoundCallback()
605 pDestBuffer += chunkSize; in AndroidQuakeSoundCallback()
606 dmaByteIndex += chunkSize; in AndroidQuakeSoundCallback()
/external/yaffs2/yaffs2/utils/
Dmkyaffs2image.c48 unsigned chunkSize = 2048; variable
220 error = write(outFile,data,chunkSize); in write_chunk()
252 __u8 bytes[chunkSize]; in write_object_header()
387 __u8 bytes[chunkSize]; in process_directory()
484 chunkSize = (unsigned)strtoul(optarg, NULL, 0); in main()
495 if (!chunkSize || !spareSize) { in main()
/external/sonivox/arm-wt-22k/lib_src/
Djet.c257 static EAS_RESULT JetParseInfoChunk (EAS_DATA_HANDLE easHandle, EAS_I32 pos, EAS_I32 chunkSize) in JetParseInfoChunk() argument
270 while ((result == EAS_SUCCESS) && (chunkSize > 0)) in JetParseInfoChunk()
303 chunkSize -= 8; in JetParseInfoChunk()
322 EAS_I32 chunkSize; in JET_OpenFile() local
352 pos = chunkSize = 8; in JET_OpenFile()
366 … EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkSize, EAS_FALSE); in JET_OpenFile()
374 result = JetParseInfoChunk(easHandle, pos, chunkSize); in JET_OpenFile()
393 easHandle->jetHandle->appDataSize = chunkSize; in JET_OpenFile()
405 pos += chunkSize; in JET_OpenFile()
Deas_smf.c1047 EAS_U32 chunkSize; in SMF_ParseHeader() local
1055 …if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCE… in SMF_ParseHeader()
1109 temp = chunkStart + SMF_CHUNK_INFO_SIZE + chunkSize; in SMF_ParseHeader()
1126 …if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCE… in SMF_ParseHeader()
/external/skia/src/images/
DSkCreateRLEPixelRef.cpp46 ChunkRLEPixels(int width, int height, size_t chunkSize) in ChunkRLEPixels() argument
47 : SkBitmap::RLEPixels(width, height), fStorage(chunkSize) { in ChunkRLEPixels()
/external/stlport/src/details/
Dfstream_win32io.cpp392 size_t chunkSize = (min)(size_t(0xffffffff), __STATIC_CAST(size_t, n)); in _M_read() local
396 while (__STATIC_CAST(size_t, (n - readen)) >= chunkSize) { in _M_read()
398 ReadFile(_M_file_id, buf + readen, __STATIC_CAST(DWORD, chunkSize), &numberOfBytesRead, 0); in _M_read()
/external/sonivox/arm-fm-22k/lib_src/
Deas_smf.c1047 EAS_U32 chunkSize; in SMF_ParseHeader() local
1055 …if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCE… in SMF_ParseHeader()
1105 temp = chunkStart + SMF_CHUNK_INFO_SIZE + chunkSize; in SMF_ParseHeader()
1122 …if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCE… in SMF_ParseHeader()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_smf.c1047 EAS_U32 chunkSize; in SMF_ParseHeader() local
1055 …if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCE… in SMF_ParseHeader()
1105 temp = chunkStart + SMF_CHUNK_INFO_SIZE + chunkSize; in SMF_ParseHeader()
1122 …if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCE… in SMF_ParseHeader()
/external/icu4c/test/cintltst/
Dccapitst.c2174 int32_t chunkSize, in convertExStreaming() argument
2192 if(chunkSize>CHUNK_SIZE) { in convertExStreaming()
2193 chunkSize=CHUNK_SIZE; in convertExStreaming()
2197 pivotLimit=pivotBuffer+chunkSize; in convertExStreaming()
2201 targetLimit=targetBuffer+chunkSize; in convertExStreaming()
2212 if(src+chunkSize<=finalSrcLimit) { in convertExStreaming()
2213 srcLimit=src+chunkSize; in convertExStreaming()
2225 testName, chunkSize, target, targetLimit); in convertExStreaming()
2231 if(targetLength+chunkSize<=sizeof(targetBuffer)) { in convertExStreaming()
2232 targetLimit=target+chunkSize; in convertExStreaming()
[all …]
/external/quake/src/com/android/quake/
DDownloaderActivity.java743 int chunkSize = (int) Math.min(mFileIOBuffer.length, in readIntoDigest() local
745 int bytesRead = is.read(mFileIOBuffer, 0, chunkSize); in readIntoDigest()
/external/webkit/Source/WebKit/mac/WebView/
DWebViewPrivate.h470 - (void)_setCustomHTMLTokenizerChunkSize:(int)chunkSize;
DWebView.mm2370 - (void)_setCustomHTMLTokenizerChunkSize:(int)chunkSize
2374 return _private->page->setCustomHTMLTokenizerChunkSize(chunkSize);
/external/webkit/Source/WebKit/win/Interfaces/
DIWebViewPrivate.idl149 HRESULT setCustomHTMLTokenizerChunkSize([in] int chunkSize);
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-crypto.js710 var cs = this.chunkSize(b);
725 var cs = this.chunkSize(b);
1278 BigInteger.prototype.chunkSize = bnpChunkSize; method in BigInteger
/external/v8/benchmarks/
Dcrypto.js718 var cs = this.chunkSize(b);
733 var cs = this.chunkSize(b);
1286 BigInteger.prototype.chunkSize = bnpChunkSize; method in BigInteger
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-crypto.js710 var cs = this.chunkSize(b);
725 var cs = this.chunkSize(b);
1278 BigInteger.prototype.chunkSize = bnpChunkSize; method in BigInteger
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-crypto.js710 var cs = this.chunkSize(b);
725 var cs = this.chunkSize(b);
1278 BigInteger.prototype.chunkSize = bnpChunkSize; method in BigInteger
/external/webkit/Source/WebKit/win/
DWebView.h730 /* [in] */ int chunkSize);
DWebView.cpp5752 /* [in] */ int chunkSize) in setCustomHTMLTokenizerChunkSize() argument
5757 m_page->setCustomHTMLTokenizerChunkSize(chunkSize); in setCustomHTMLTokenizerChunkSize()
/external/webkit/Source/WebKit/qt/Api/
Dqwebpage.cpp1142 int chunkSize = q->property("_q_HTMLTokenizerChunkSize").toInt(); in dynamicPropertyChangeEvent() local
1143 q->handle()->page->setCustomHTMLTokenizerChunkSize(chunkSize); in dynamicPropertyChangeEvent()