HomeSort by relevance Sort by last modified time
    Searched full:chunksize (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
memory.c 55 // default alignment and chunksize, if called with 0 arguments
56 #define CHUNKSIZE (64*1024)
76 size_t chunksize; member in struct:MemoryPool_rec
81 MemoryPool *mem_CreatePool(size_t chunksize, unsigned int align)
86 if (chunksize == 0) chunksize = CHUNKSIZE;
88 if (chunksize < sizeof(MemoryPool)) return 0;
89 if (chunksize & (align-1)) return 0;
90 if (!(pool = malloc(chunksize))) return 0
    [all...]
memory.h 50 extern MemoryPool *mem_CreatePool(size_t chunksize, unsigned int align);
  /frameworks/base/core/jni/android/graphics/
NinePatch.cpp 72 size_t chunkSize = env->GetArrayLength(chunkObj);
73 void* storage = alloca(chunkSize);
74 env->GetByteArrayRegion(chunkObj, 0, chunkSize,
79 assert(chunkSize == chunk->serializedSize());
153 size_t chunkSize = env->GetArrayLength(chunkObj);
154 void* storage = alloca(chunkSize);
155 env->GetByteArrayRegion(chunkObj, 0, chunkSize,
160 assert(chunkSize == chunk->serializedSize());
  /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;
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java 118 int chunkSize = Math.min(body.length - pos, maxChunkSize);
119 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII));
121 bytesOut.write(body, pos, chunkSize);
123 pos += chunkSize;
  /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;
  /packages/providers/DownloadProvider/tests/src/tests/http/
MockResponse.java 109 int chunkSize = Math.min(body.length - pos, maxChunkSize);
110 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII));
112 bytesOut.write(body, pos, chunkSize);
114 pos += chunkSize;
MockWebServer.java 234 int chunkSize = Integer.parseInt(readAsciiUntilCrlf(in).trim(), 16);
235 if (chunkSize == 0) {
239 chunkSizes.add(chunkSize);
240 transfer(chunkSize, in, requestBody);
  /external/apache-http/src/org/apache/http/impl/io/
ChunkedInputStream.java 79 private int chunkSize;
107 * is followed by a CRLF. The method returns -1 as soon as a chunksize of 0
124 if (this.pos >= this.chunkSize) {
154 if (pos >= chunkSize) {
160 len = Math.min(len, chunkSize - pos);
183 chunkSize = getChunkSize();
184 if (chunkSize < 0) {
189 if (chunkSize == 0) {
196 * Expects the stream to start with a chunksize in hex with optional
  /frameworks/base/media/libstagefright/timedtext/
TextDescriptions.cpp 97 ssize_t chunkSize = U32_AT(tmpData);
100 if (chunkSize <= 0) {
276 if (size > chunkSize) {
277 data += chunkSize;
278 size -= chunkSize;
290 ssize_t chunkSize = U32_AT(data);
295 if (size < chunkSize) {
374 data += chunkSize;
375 size -= chunkSize;
  /frameworks/base/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;
WAVExtractor.cpp 153 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]);
155 if (chunkSize > remainingSize) {
160 if (chunkSize < 16) {
206 mDataSize = chunkSize;
241 offset += chunkSize;
AVIExtractor.cpp 435 uint32_t chunkSize = U32LE_AT(&tmp[4]);
437 if (size >= 0 && chunkSize + 8 > size) {
467 chunkSize - 4);
476 off64_t subOffsetLimit = subOffset + chunkSize - 4;
502 err = parseStreamHeader(offset + 8, chunkSize);
508 err = parseStreamFormat(offset + 8, chunkSize);
514 err = parseIndex(offset + 8, chunkSize);
527 if (chunkSize & 1) {
528 ++chunkSize;
531 return chunkSize + 8
    [all...]
  /external/skia/src/images/
SkCreateRLEPixelRef.cpp 46 ChunkRLEPixels(int width, int height, size_t chunkSize)
47 : SkBitmap::RLEPixels(width, height), fStorage(chunkSize) {
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockResponse.java 145 int chunkSize = Math.min(body.length - pos, maxChunkSize);
146 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII));
148 bytesOut.write(body, pos, chunkSize);
150 pos += chunkSize;
MockWebServer.java 240 int chunkSize = Integer.parseInt(readAsciiUntilCrlf(in).trim(), 16);
241 if (chunkSize == 0) {
245 chunkSizes.add(chunkSize);
246 transfer(chunkSize, in, requestBody);
  /external/qemu/distrib/sdl-1.2.12/src/audio/windx5/
SDL_dx5audio.c 427 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize)
471 if ( (chunksize > caps.dwBufferBytes) ||
472 ((caps.dwBufferBytes%chunksize) != 0) ) {
473 /* The primary buffer size is not a multiple of 'chunksize'
474 -- this hopefully doesn't happen when 'chunksize' is a
480 caps.dwBufferBytes, chunksize);
483 numchunks = (caps.dwBufferBytes/chunksize);
502 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize)
537 format.dwBufferBytes = numchunks*chunksize;
  /frameworks/base/opengl/libs/GLES2_dbg/src/
dbgcontext.cpp 147 uint32_t chunkSize = LZF_CHUNK_SIZE;
149 chunkSize = in_len - i;
150 const uint32_t compSize = lzf_compress((const char *)in_data + i, chunkSize,
152 outStr->append((const char *)&chunkSize, sizeof(chunkSize));
157 outStr->append((const char *)in_data + i, chunkSize);
  /frameworks/base/core/java/android/app/backup/
BackupHelperDispatcher.java 32 int chunkSize; // not including the header
65 skipChunk_native(oldStateFD, header.chunkSize);
98 // where it was at the end of performBackup. Header.chunkSize will not be filled in.
  /frameworks/base/core/jni/
android_backup_BackupHelperDispatcher.cpp 36 int dataSize; // corresponds to Header.chunkSize
233 s_chunkSizeField = env->GetFieldID(clazz, "chunkSize", "I");
235 "Unable to find chunkSize field in android.app.backup.BackupHelperDispatcher.Header");
  /external/libpcap/
pcap-snit.c 77 #define CHUNKSIZE (2*1024)
82 #define BUFSPACE (4*CHUNKSIZE)
270 int chunksize = CHUNKSIZE; local
322 /* set the chunksize */
325 si.ic_len = sizeof(chunksize);
326 si.ic_dp = (char *)&chunksize;
  /external/yaffs2/yaffs2/utils/
mkyaffs2image.c 48 unsigned chunkSize = 2048;
220 error = write(outFile,data,chunkSize);
252 __u8 bytes[chunkSize];
387 __u8 bytes[chunkSize];
484 chunkSize = (unsigned)strtoul(optarg, NULL, 0);
495 if (!chunkSize || !spareSize) {
  /external/nist-sip/java/gov/nist/javax/sip/stack/
IOHandler.java 110 int chunksize = 8 * 1024; local
111 for (int p = 0; p < length; p += chunksize) {
112 int chunk = p + chunksize < length ? chunksize : length - p;
  /system/extras/tests/sdcard/
testcase.cpp 157 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor);
160 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize());
  /frameworks/base/opengl/libs/EGL/
trace.cpp 129 GLsizei chunkCount, GLsizei chunkSize, const void* value) {
131 GLsizei count = chunkCount * chunkSize;
156 if (chunkSize > 1 && i < count-1
157 && (i % chunkSize) == (chunkSize-1)) {

Completed in 1061 milliseconds

1 2 3 4