Searched defs:chunkSize (Results 1 - 25 of 43) sorted by relevance

12

/external/skia/tools/
H A Dskpinfo.cpp84 uint32_t chunkSize = stream.readU32(); local
89 if (curPos+chunkSize > totStreamSize) {
103 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize);
108 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize);
113 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize);
116 const int count = SkToInt(chunkSize);
128 chunkSize = 0;
133 SkDebugf("SK_PICT_PICTURE_TAG %d\n", chunkSize);
140 SkDebugf("SK_PICT_BUFFER_SIZE_TAG %d\n", chunkSize);
145 SkDebugf("Unknown tag %d\n", chunkSize);
[all...]
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedInputStream.java84 private int chunkSize; field in class:ChunkedInputStream
129 if (this.pos >= this.chunkSize) {
159 if (pos >= chunkSize) {
165 len = Math.min(len, chunkSize - pos);
188 chunkSize = getChunkSize();
189 if (chunkSize < 0) {
194 if (chunkSize == 0) {
/external/guava/guava/src/com/google/common/hash/
H A DAbstractStreamingHashFunction.java85 private final int chunkSize; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher
91 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
94 protected AbstractStreamingHasher(int chunkSize) { argument
95 this(chunkSize, chunkSize);
101 * {@code chunkSize}.
103 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
105 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize
107 protected AbstractStreamingHasher(int chunkSize, int bufferSize) { argument
108 // TODO(kevinb): check more preconditions (as bufferSize >= chunkSize) i
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractStreamingHasherTest.java145 for (int chunkSize = 4; chunkSize <= 32; chunkSize++) {
146 for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) {
148 sinks.add(new Sink(chunkSize, bufferSize));
182 final int chunkSize; field in class:AbstractStreamingHasherTest.Sink
189 Sink(int chunkSize, int bufferSize) { argument
190 super(chunkSize, bufferSiz
195 Sink(int chunkSize) argument
[all...]
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
H A DBufferPerformanceBench.java292 private BufferedSource writeChunked(Buffer buffer, byte[] bytes, final int chunkSize) { argument
296 int bytesToWrite = Math.min(remaining, chunkSize);
/external/pdfium/xfa/src/fgas/src/crt/
H A Dfx_memory.cpp13 size_t chunkSize,
18 return new CFX_DynamicStore(chunkSize);
23 return new CFX_StaticStore(chunkSize);
25 return new CFX_FixedStore(blockSize, chunkSize);
12 FX_CreateAllocator(FX_ALLOCTYPE eType, size_t chunkSize, size_t blockSize) argument
/external/sonic/
H A Dwave.c199 int chunkSize = readInt(file); /* 16 or 18 - size of this chunk */ local
200 if(chunkSize != 16 && chunkSize != 18) {
218 if (chunkSize == 18) { /* ffmpeg writes 18, and so has 2 extra bytes here */
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_smf.c1053 EAS_U32 chunkSize; local
1065 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
1120 temp = chunkStart + SMF_CHUNK_INFO_SIZE + chunkSize;
1137 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS)
H A Djet.c257 static EAS_RESULT JetParseInfoChunk (EAS_DATA_HANDLE easHandle, EAS_I32 pos, EAS_I32 chunkSize) argument
270 while ((result == EAS_SUCCESS) && (chunkSize > 0))
309 chunkSize -= 8;
328 EAS_I32 chunkSize; local
358 pos = chunkSize = 8;
372 result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkSize, EAS_FALSE);
380 result = JetParseInfoChunk(easHandle, pos, chunkSize);
399 easHandle->jetHandle->appDataSize = chunkSize;
411 pos += chunkSize;
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DByteStringTest.java283 // reluctant stream with the given chunkSize parameter.
284 private void assertReadFromReluctantStream(byte[] bytes, int chunkSize) argument
286 ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize);
/external/sl4a/Common/src/org/apache/commons/codec/binary/
H A DBase64Codec.java955 * @param chunkSize line-length of the output (<= 0 means no chunking) between each
962 private static long getEncodeLength(byte[] pArray, int chunkSize, byte[] chunkSeparator) { argument
964 chunkSize = (chunkSize / 4) * 4;
971 if (chunkSize > 0) {
972 boolean lenChunksPerfectly = len % chunkSize == 0;
973 len += (len / chunkSize) * chunkSeparator.length;
/external/lz4/programs/
H A Dbench.c140 static int chunkSize = DEFAULT_CHUNKSIZE; variable
144 void BMK_SetBlocksize(int bsize) { chunkSize = bsize; }
297 chunkP = (struct chunkParameters*) malloc(((benchedSize / (size_t)chunkSize)+1) * sizeof(struct chunkParameters));
299 nbChunks = (int) ((int)benchedSize / chunkSize) + 1;
300 maxCompressedChunkSize = LZ4_compressBound(chunkSize);
324 chunkP[i].origBuffer = in; in += chunkSize;
325 if ((int)remaining > chunkSize) { chunkP[i].origSize = chunkSize; remaining -= chunkSize; } else { chunkP[i].origSize = (int)remaining; remaining = 0; }
H A Dfullbench.c149 static int chunkSize = DEFAULT_CHUNKSIZE; variable
160 chunkSize = bsize;
161 DISPLAY("-Using Block Size of %i KB-\n", chunkSize>>10);
457 chunkP = (struct chunkParameters*) malloc(((benchedSize / (size_t)chunkSize)+1) * sizeof(struct chunkParameters));
459 nbChunks = (int) (((int)benchedSize + (chunkSize-1))/ chunkSize);
460 maxCompressedChunkSize = LZ4_compressBound(chunkSize);
516 nbChunks = (int) (((int)benchedSize + (chunkSize-1))/ chunkSize);
520 chunkP[i].origBuffer = in; in += chunkSize;
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DByteString.java312 * chunkSize parameter sets the size of these byte arrays. In
313 * particular, if the chunkSize is precisely the same as the length
321 * @param chunkSize The size of the chunks in which to read the
328 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) argument
330 return readFrom(streamToDrain, chunkSize, chunkSize);
340 int chunkSize = minChunkSize;
342 ByteString chunk = readChunk(streamToDrain, chunkSize);
347 chunkSize = Math.min(chunkSize *
363 readChunk(InputStream in, final int chunkSize) argument
[all...]
/external/ImageMagick/MagickCore/
H A Daccelerate.c629 chunkSize=256, local
686 status|=SetOpenCLKernelArg(blurRowKernel,i++,sizeof(cl_float4)*(chunkSize+kernelWidth),(void *) NULL);
695 gsize[0]=chunkSize*((image->columns+chunkSize-1)/chunkSize);
697 lsize[0]=chunkSize;
721 status|=SetOpenCLKernelArg(blurColumnKernel,i++,sizeof(cl_float4)*(chunkSize+kernelWidth),(void *) NULL);
731 gsize[1]=chunkSize*((image->rows+chunkSize-1)/chunkSize);
4038 chunkSize, local
4220 chunkSize, local
4785 chunkSize; local
[all...]
/external/mdnsresponder/mDNSShared/
H A DDebugServices.c2094 size_t chunkSize; local
2193 chunkSize = ( inDataSize < 16 ) ? inDataSize : 16;
2194 n = ( inFlags & kDebugFlagsNo16ByteHexPad ) ? chunkSize : 16;
2209 if( i < chunkSize )
2233 if( i < chunkSize )
2364 offset += (int) chunkSize;
2365 src += chunkSize;
2366 inDataSize -= chunkSize;
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
H A DResponseCacheTest.java1769 @Override void setBody(MockResponse response, Buffer content, int chunkSize)
1771 response.setChunkedBody(content, chunkSize);
1775 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
1780 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
1787 abstract void setBody(MockResponse response, Buffer content, int chunkSize) throws IOException; argument
1789 void setBody(MockResponse response, String content, int chunkSize) throws IOException { argument
1790 setBody(response, new Buffer().writeUtf8(content), chunkSize);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DCacheTest.java2249 @Override void setBody(MockResponse response, Buffer content, int chunkSize)
2251 response.setChunkedBody(content, chunkSize);
2255 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
2260 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
2267 abstract void setBody(MockResponse response, Buffer content, int chunkSize) throws IOException; argument
2269 void setBody(MockResponse response, String content, int chunkSize) throws IOException { argument
2270 setBody(response, new Buffer().writeUtf8(content), chunkSize);
H A DURLConnectionTest.java3292 @Override void setBody(MockResponse response, Buffer content, int chunkSize)
3294 response.setChunkedBody(content, chunkSize);
3301 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
3309 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
3318 abstract void setBody(MockResponse response, Buffer content, int chunkSize) throws IOException; argument
3322 void setBody(MockResponse response, String content, int chunkSize) throws IOException { argument
3323 setBody(response, new Buffer().writeUtf8(content), chunkSize);
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
H A DUrlConnectionCacheTest.java1793 @Override void setBody(MockResponse response, Buffer content, int chunkSize)
1795 response.setChunkedBody(content, chunkSize);
1799 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
1804 @Override void setBody(MockResponse response, Buffer content, int chunkSize) {
1811 abstract void setBody(MockResponse response, Buffer content, int chunkSize) throws IOException; argument
1813 void setBody(MockResponse response, String content, int chunkSize) throws IOException { argument
1814 setBody(response, new Buffer().writeUtf8(content), chunkSize);
/external/icu/icu4c/source/test/cintltst/
H A Dccapitst.c2137 int32_t chunkSize,
2155 if(chunkSize>CHUNK_SIZE) {
2156 chunkSize=CHUNK_SIZE;
2160 pivotLimit=pivotBuffer+chunkSize;
2164 targetLimit=targetBuffer+chunkSize;
2174 /* for testing, give ucnv_convertEx() at most <chunkSize> input/pivot/output units at a time */
2175 if(src+chunkSize<=finalSrcLimit) {
2176 srcLimit=src+chunkSize;
2188 testName, chunkSize, target, targetLimit);
2194 if(targetLength+chunkSize<
2134 convertExStreaming(UConverter *srcCnv, UConverter *targetCnv, const char *src, int32_t srcLength, const char *expectTarget, int32_t expectTargetLength, int32_t chunkSize, const char *testName, UErrorCode expectCode) argument
[all...]
/external/v8/benchmarks/
H A Dcrypto.js718 var cs = this.chunkSize(b);
733 var cs = this.chunkSize(b);
1286 BigInteger.prototype.chunkSize = bnpChunkSize;
/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/ ...
/external/caliper/lib/
H A Djersey-client-1.11.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/robolectric/v1/lib/main/
H A Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ...

Completed in 7804 milliseconds

12