Searched refs:chunkSize (Results 1 - 25 of 55) sorted by relevance

123

/external/webrtc/webrtc/modules/audio_processing/transient/test/
H A DreadDetection.m1 function [d, t] = readDetection(file, fs, chunkSize)
2 %[d, t] = readDetection(file, fs, chunkSize)
11 %chunkSize: The chunk size used for the detection in seconds.
15 t = 0:(1 / fs):(length(d) * chunkSize - 1 / fs);
16 d = d(floor(t / chunkSize) + 1);
H A DplotDetection.m1 function [] = plotDetection(PCMfile, DATfile, fs, chunkSize)
2 %[] = plotDetection(PCMfile, DATfile, fs, chunkSize)
9 %chunkSize: The chunk size used to compute the detection values in seconds.
11 [d, td] = readDetection(DATfile, fs, chunkSize);
/external/skia/tools/
H A Dskpinfo.cpp102 uint32_t chunkSize = stream.readU32(); local
107 if (curPos+chunkSize > totStreamSize) {
121 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize);
126 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize);
131 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize);
134 const int count = SkToInt(chunkSize);
146 chunkSize = 0;
151 SkDebugf("SK_PICT_PICTURE_TAG %d\n", chunkSize);
158 SkDebugf("SK_PICT_BUFFER_SIZE_TAG %d\n", chunkSize);
163 SkDebugf("Unknown tag %d\n", chunkSize);
[all...]
/external/guice/core/src/com/google/inject/spi/
H A DElementSource.java154 int chunkSize = partialCallStack.length;
155 positions[0] = chunkSize - 1;
158 chunkSize = current.getPartialCallStackSize();
159 positions[cursor] = positions[cursor - 1] + chunkSize;
175 int chunkSize = partialCallStack.length;
176 int size = moduleSource.getStackTraceSize() + chunkSize;
180 chunkSize);
181 System.arraycopy(moduleSource.getStackTrace(), 0, callStack, chunkSize, modulesCallStackSize);
H A DModuleSource.java175 int chunkSize = chunk.length;
176 System.arraycopy(chunk, 0, callStack, cursor, chunkSize);
178 cursor = cursor + chunkSize;
H A DElements.java554 int chunkSize = callStack.length - toSkip - 1;
556 StackTraceElement[] partialCallStack = new StackTraceElement[chunkSize];
557 System.arraycopy(callStack, 1, partialCallStack, 0, chunkSize);
/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/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/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/deqp/android/package/src/com/drawelements/deqp/testercore/
H A DDeqpInstrumentation.java201 final int chunkSize = 4*1024;
207 if (log.length() > chunkSize)
209 message = log.substring(0, chunkSize);
210 log = log.substring(chunkSize);
/external/mockwebserver/src/main/java/com/google/mockwebserver/
H A DMockResponse.java194 int chunkSize = Math.min(body.length - pos, maxChunkSize);
195 bytesOut.write(Integer.toHexString(chunkSize).getBytes(US_ASCII));
197 bytesOut.write(body, pos, chunkSize);
199 pos += chunkSize;
H A DMockWebServer.java478 int chunkSize = Integer.parseInt(readAsciiUntilCrlf(in).trim(), 16);
479 if (chunkSize == 0) {
483 chunkSizes.add(chunkSize);
484 throttledTransfer(throttlePolicy, in, requestBody, chunkSize);
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DByteString.java429 * chunkSize parameter sets the size of these byte arrays.
436 * @param chunkSize The size of the chunks in which to read the
443 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) argument
445 return readFrom(streamToDrain, chunkSize, chunkSize);
455 int chunkSize = minChunkSize;
457 ByteString chunk = readChunk(streamToDrain, chunkSize);
462 chunkSize = Math.min(chunkSize * 2, maxChunkSize);
478 private static ByteString readChunk(InputStream in, final int chunkSize) argument
[all...]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
H A DLZMA2OutputStream.java169 int chunkSize = Math.min(uncompressedSize, COMPRESSED_SIZE_MAX);
171 outData.writeShort(chunkSize - 1);
172 lz.copyUncompressed(out, uncompressedSize, chunkSize);
173 uncompressedSize -= chunkSize;
/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/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/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DMockResponse.java168 long chunkSize = Math.min(body.size(), maxChunkSize);
169 bytesOut.writeHexadecimalUnsignedLong(chunkSize);
171 bytesOut.write(body, chunkSize);
H A DMockWebServer.java640 int chunkSize = Integer.parseInt(source.readUtf8LineStrict().trim(), 16);
641 if (chunkSize == 0) {
645 chunkSizes.add(chunkSize);
646 throttledTransfer(policy, socket, source, Okio.buffer(requestBody), chunkSize, true);
/external/sonivox/arm-wt-22k/lib_src/
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;
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)
/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/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp409 CharUnits chunkSize) {
410 return getOffsetAtStartOfUnit(first, chunkSize)
411 == getOffsetAtStartOfUnit(second, chunkSize);
422 const CharUnits chunkSize = getMaximumVoluntaryIntegerSize(CGM); local
429 Entries[i].Begin, chunkSize)) {
476 CharUnits chunkBegin = getOffsetAtStartOfUnit(localBegin, chunkSize);
477 CharUnits chunkEnd = chunkBegin + chunkSize;
484 assert(unitSize <= chunkSize);
408 areBytesInSameUnit(CharUnits first, CharUnits second, CharUnits chunkSize) argument
/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/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBufferTests.cpp223 const VkDeviceSize chunkSize = std::max(memoryRequirements.alignment, alignSize(minChunkSize, memoryRequirements.alignment)); local
228 allocator.allocate(requirementsWithSize(memoryRequirements, *numChunksIter * chunkSize), MemoryRequirement::Any)));
236 memBindIter->resourceChunkNdx * chunkSize, // VkDeviceSize resourceOffset;
237 memBindIter->numChunks * chunkSize, // VkDeviceSize size;
239 alloc.getOffset() + memBindIter->memoryChunkNdx * chunkSize, // VkDeviceSize memoryOffset;
892 << "layout(constant_id = 2) const int chunkSize = 1;\n"
902 << " const int numChunks = dataSize / chunkSize;\n";
905 src << " const int nonAliasedSize = (numChunks > 1 ? dataSize - chunkSize : dataSize);\n";
914 src << " if (ndx >= chunkSize && ndx < 2*chunkSize)\
1023 const VkDeviceSize chunkSize = sparseAllocation->resourceSize / sparseAllocation->numResourceChunks; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dccapitst.c2139 int32_t chunkSize,
2157 if(chunkSize>CHUNK_SIZE) {
2158 chunkSize=CHUNK_SIZE;
2162 pivotLimit=pivotBuffer+chunkSize;
2166 targetLimit=targetBuffer+chunkSize;
2176 /* for testing, give ucnv_convertEx() at most <chunkSize> input/pivot/output units at a time */
2177 if(src+chunkSize<=finalSrcLimit) {
2178 srcLimit=src+chunkSize;
2190 testName, chunkSize, target, targetLimit);
2196 if(targetLength+chunkSize<
2136 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...]

Completed in 779 milliseconds

123