/external/webrtc/webrtc/modules/audio_processing/transient/test/ |
H A D | readDetection.m | 1 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 D | plotDetection.m | 1 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 D | skpinfo.cpp | 102 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 D | ElementSource.java | 154 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 D | ModuleSource.java | 175 int chunkSize = chunk.length; 176 System.arraycopy(chunk, 0, callStack, cursor, chunkSize); 178 cursor = cursor + chunkSize;
|
H A D | Elements.java | 554 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 D | AbstractStreamingHasherTest.java | 145 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 D | AbstractStreamingHashFunction.java | 85 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 D | ChunkedInputStream.java | 84 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 D | DeqpInstrumentation.java | 201 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 D | MockResponse.java | 194 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 D | MockWebServer.java | 478 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 D | ByteString.java | 429 * 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 D | LZMA2OutputStream.java | 169 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 D | wave.c | 199 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 D | Base64Codec.java | 955 * @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 D | MockResponse.java | 168 long chunkSize = Math.min(body.size(), maxChunkSize); 169 bytesOut.writeHexadecimalUnsignedLong(chunkSize); 171 bytesOut.write(body, chunkSize);
|
H A D | MockWebServer.java | 640 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 D | jet.c | 257 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 D | eas_smf.c | 1053 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 D | accelerate.c | 629 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 D | SwiftCallingConv.cpp | 409 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 D | BufferPerformanceBench.java | 292 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 D | vktSparseResourcesBufferTests.cpp | 223 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 D | ccapitst.c | 2139 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...] |