/external/webrtc/webrtc/modules/audio_processing/transient/test/ |
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);
|
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/ |
skpinfo.cpp | 84 uint32_t chunkSize = stream.readU32(); 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/guice/core/src/com/google/inject/spi/ |
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);
|
ModuleSource.java | 175 int chunkSize = chunk.length; 176 System.arraycopy(chunk, 0, callStack, cursor, chunkSize); 178 cursor = cursor + chunkSize;
|
/external/guava/guava-tests/test/com/google/common/hash/ |
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; 189 Sink(int chunkSize, int bufferSize) { 190 super(chunkSize, bufferSize) [all...] |
/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 85 private final int chunkSize; 91 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation; 94 protected AbstractStreamingHasher(int chunkSize) { 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) { 108 // TODO(kevinb): check more preconditions (as bufferSize >= chunkSize) if this is ever publi [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 84 private int chunkSize; 112 * is followed by a CRLF. The method returns -1 as soon as a chunksize of 0 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) { 201 * Expects the stream to start with a chunksize in hex with optional
|
/frameworks/av/include/media/stagefright/ |
DataSource.h | 79 // The optional parameter chunkSize specifies how many entries should be 81 // chunkSize can improve the performance at the cost of extra memory usage. 82 // The default value for chunkSize is set to read at least 4k bytes at a 86 size_t chunkSize = (4095 / sizeof(T)) + 1); 146 size_t chunkSize) 149 if (chunkSize == 0) { 156 T tmp[chunkSize]; 158 size_t numBytesPerChunk = chunkSize * sizeof(T); 161 for (i = 0; i + chunkSize < count; i += chunkSize) { [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatch.cpp | 67 size_t chunkSize = env->GetArrayLength(obj); 68 if (chunkSize < (int) (sizeof(Res_png_9patch))) { 73 int8_t* storage = new int8_t[chunkSize]; 75 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage));
|
/libcore/benchmarks/src/benchmarks/regression/ |
URLConnectionBenchmark.java | 32 @Param({"2048"}) private int chunkSize; 57 transferEncoding.setBody(response, bodySize, chunkSize); 95 void setBody(MockResponse response, int bodySize, int chunkSize) throws IOException { 99 response.setChunkedBody(new byte[bodySize], chunkSize);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
AbstractSpinedBuffer.java | 116 protected int chunkSize(int n) {
|
/libcore/support/src/test/java/tests/http/ |
MockResponse.java | 119 int chunkSize = Math.min(body.length - pos, maxChunkSize); 120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); 122 bytesOut.write(body, pos, chunkSize); 124 pos += chunkSize;
|
/frameworks/base/opengl/java/android/opengl/ |
ETC1Util.java | 172 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); 173 if (input.read(ioBuffer, 0, chunkSize) != chunkSize) { 176 dataBuffer.put(ioBuffer, 0, chunkSize); 177 i += chunkSize; 219 int chunkSize = Math.min(ioBuffer.length, encodedSize - i); 220 dataBuffer.get(ioBuffer, 0, chunkSize); 221 output.write(ioBuffer, 0, chunkSize); 222 i += chunkSize;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
ByteArrayPool.java | 33 private ByteArrayPool(int chunkSize, int maxNum) { 34 mChunkSize = chunkSize;
|
/frameworks/av/media/libstagefright/ |
JPEGSource.cpp | 172 uint16_t chunkSize; 173 if (!mSource->getUInt16(i, &chunkSize)) { 179 if (chunkSize < 2) { 216 i += chunkSize - 2; 224 i += chunkSize - 2;
|
/frameworks/av/media/libstagefright/timedtext/ |
TextDescriptions.cpp | 104 ssize_t chunkSize = U32_AT(tmpData); // size includes size and type 107 if (chunkSize <= 8 || chunkSize > size) { 111 size_t remaining = chunkSize - 8; 366 data += chunkSize; 367 size -= chunkSize; 380 ssize_t chunkSize = U32_AT(data); 386 if (size < chunkSize) { 501 data += chunkSize; 502 size -= chunkSize; [all...] |
/external/lz4/programs/ |
fullbench.c | 149 static int chunkSize = DEFAULT_CHUNKSIZE; 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...] |
bench.c | 140 static int chunkSize = DEFAULT_CHUNKSIZE; 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; }
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
ChunkedInputStream.java | 68 private int chunkSize; 73 * <code>chunkSize</code> 239 int remaining = chunkSize - chunkRead; 251 if (chunkRead >= chunkSize) { 316 chunkSize = Integer.parseInt(header.substring(0, i), 16); 332 if (chunkSize > 0) { 342 * read). chunkSize is the size of the chunk; chunkRead is the 355 int copyLen = Math.min( chunkSize-chunkRead, rawCount-rawPos ); 386 if (chunkSize - chunkRead <= 0) {
|
/system/media/audio_utils/ |
tinysndfile.c | 124 unsigned chunkSize = little4u(&chunk[4]); 125 if (chunkSize > remaining) { 127 fprintf(stderr, "chunkSize %u > remaining %zu\n", chunkSize, remaining); 138 if (chunkSize < 2) { 140 fprintf(stderr, "chunkSize %u < 2\n", chunkSize); 168 if (chunkSize < minSize) { 170 fprintf(stderr, "chunkSize %u < minSize %zu\n", chunkSize, minSize) [all...] |
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
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/ |
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;
|
/external/pdfium/xfa/src/fgas/include/ |
fx_mem.h | 34 size_t chunkSize,
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
allocators.h | 106 //! Constructor with chunkSize.
107 /*! \param chunkSize The size of memory chunk. The default is kDefaultChunkSize.
110 MemoryPoolAllocator(size_t chunkSize = kDefaultChunkCapacity, BaseAllocator* baseAllocator = 0) :
111 chunkHead_(0), chunk_capacity_(chunkSize), userBuffer_(0), baseAllocator_(baseAllocator), ownBaseAllocator_(0)
122 \param chunkSize The size of memory chunk. The default is kDefaultChunkSize.
125 MemoryPoolAllocator(void *buffer, size_t size, size_t chunkSize = kDefaultChunkCapacity, BaseAllocator* baseAllocator = 0) :
126 chunkHead_(0), chunk_capacity_(chunkSize), userBuffer_(buffer), baseAllocator_(baseAllocator), ownBaseAllocator_(0)
|