HomeSort by relevance Sort by last modified time
    Searched defs:CHUNK_SIZE (Results 1 - 25 of 129) sorted by null

1 2 3 4 5 6

  /external/autotest/client/site_tests/hardware_TrimIntegrity/
hardware_TrimIntegrity.py 36 CHUNK_SIZE = 192 * 1024
48 def _get_hash(self, chunk_count, chunk_size):
54 (chunk_count - 1, self._filename, chunk_size, self.HASH_CMD))
98 chunk_size=CHUNK_SIZE, trim_ratio=TRIM_RATIO):
104 @param chunk_size: size of chunk to calculate hash/trim. default: 64KB
130 file_size -= file_size % (4 * chunk_size)
139 self._verify_trim_support(chunk_size)
143 (chunk_size, self.HASH_CMD))
147 (chunk_size, self.HASH_CMD)
    [all...]
  /frameworks/compile/mclinker/unittests/
LinearAllocatorTest.h 64 enum TemplateArgsType { CHUNK_SIZE = 32 };
65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
RTLinearAllocatorTest.h 62 enum { CHUNK_SIZE = 32 };
  /external/autotest/client/site_tests/platform_CompressedSwap/src/
hog.c 14 #define CHUNK_SIZE MEGA /* one-megabyte chunks */
16 const int n_touches = CHUNK_SIZE >> 12; /* average 1 per page */
38 char *fake_data = malloc(CHUNK_SIZE);
61 read(random_fd, fake_data, CHUNK_SIZE / compression_factor);
63 memset(fake_data + CHUNK_SIZE / compression_factor, 1,
64 CHUNK_SIZE - (CHUNK_SIZE / compression_factor));
68 p = malloc(CHUNK_SIZE);
76 memcpy(p, fake_data, CHUNK_SIZE);
  /toolchain/binutils/binutils-2.25/libiberty/
objalloc.c 77 #define CHUNK_SIZE (4096 - 32)
95 ret->chunks = (PTR) malloc (CHUNK_SIZE);
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE);
166 o->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
210 if (b > (char *) p && b < (char *) p + CHUNK_SIZE)
264 o->current_space = ((char *) p + CHUNK_SIZE) - b;
296 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr;
  /external/pcre/dist2/src/sljit/
sljitExecAllocator.c 69 #define CHUNK_SIZE 0x10000
74 * the size is always divisible by CHUNK_SIZE
125 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
180 sljit_uw chunk_size; local
190 chunk_size = free_block->size;
191 if (chunk_size > size + 64) {
193 chunk_size -= size;
194 free_block->size = chunk_size;
195 header = AS_BLOCK_HEADER(free_block, chunk_size);
196 header->prev_size = chunk_size;
    [all...]
  /external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
hog.c 13 #define CHUNK_SIZE (1 << 20)
64 size_t new_buf_size = buf_size + balloon_size * CHUNK_SIZE;
69 char *new_chunk = global_buf + buf_size + chunk * CHUNK_SIZE;
70 memcpy(new_chunk, fake_data, CHUNK_SIZE);
146 fake_data = malloc(CHUNK_SIZE);
147 read(random_fd, fake_data, CHUNK_SIZE / compression_factor);
149 memset(fake_data + CHUNK_SIZE / compression_factor, 1,
150 CHUNK_SIZE - (CHUNK_SIZE / compression_factor));
  /external/guava/guava/src/com/google/common/hash/
Murmur3_128HashFunction.java 79 private static final int CHUNK_SIZE = 16;
87 super(CHUNK_SIZE);
97 length += CHUNK_SIZE;
172 .wrap(new byte[CHUNK_SIZE])
Murmur3_32HashFunction.java 151 private static final int CHUNK_SIZE = 4;
156 super(CHUNK_SIZE);
164 length += CHUNK_SIZE;
SipHashFunction.java 95 private static final int CHUNK_SIZE = 8;
119 super(CHUNK_SIZE);
129 b += CHUNK_SIZE;
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStreamTest.java 58 private static final int CHUNK_SIZE = 32;
328 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
337 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
340 dis.read(bArray, i*CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE);
368 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0);
377 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) {
380 dis.read(bArray, i*(CHUNK_SIZE+1), CHUNK_SIZE+1) =
    [all...]
DigestOutputStreamTest.java 58 private static final int CHUNK_SIZE = 32;
315 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE);
324 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) {
325 dos.write(myMessage, i*CHUNK_SIZE, CHUNK_SIZE);
352 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0);
361 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) {
362 dos.write(myMessage, i*(CHUNK_SIZE+1), CHUNK_SIZE+1);
366 MY_MESSAGE_LEN/(CHUNK_SIZE+1)*(CHUNK_SIZE+1)
    [all...]
  /external/apache-http/src/org/apache/commons/codec/binary/
Base64.java 51 static final int CHUNK_SIZE = 76;
259 (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math.ceil((float) encodedDataLength / CHUNK_SIZE));
270 int nextSeparatorIndex = CHUNK_SIZE;
306 // this assumes that CHUNK_SIZE % 4 == 0
316 (CHUNK_SIZE * (chunksSoFar + 1)) +
  /libcore/luni/src/test/java/libcore/java/util/zip/
InflaterTest.java 51 final int CHUNK_SIZE = 16;
53 inflater.setInput(deflatedBytes, offset, CHUNK_SIZE);
54 offset += CHUNK_SIZE;
72 int nextChunkByteCount = Math.min(CHUNK_SIZE, deflatedBytes.length - offset);
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
CachedInputStream.java 34 private static final int CHUNK_SIZE = ByteArrayPool.CHUNK16K;
70 int chunks = mPos / CHUNK_SIZE;
73 int removedBytes = chunks * CHUNK_SIZE;
149 if (mPos == mBufs.size() * CHUNK_SIZE) {
152 int currentBuf = mPos / CHUNK_SIZE;
153 int indexInBuf = mPos - currentBuf * CHUNK_SIZE;
155 int end = (currentBuf + 1) * CHUNK_SIZE;
186 int currentBuf = mPos / CHUNK_SIZE;
187 int indexInBuf = mPos - currentBuf * CHUNK_SIZE;
189 int end = (currentBuf + 1) * CHUNK_SIZE;
    [all...]
  /system/core/adb/
adb.h 208 #define CHUNK_SIZE (64*1024)
  /external/sl4a/Common/src/org/apache/commons/codec/binary/
Base64Codec.java 67 static final int CHUNK_SIZE = 76;
243 this(CHUNK_SIZE, CHUNK_SEPARATOR, urlSafe);
808 long len = getEncodeLength(binaryData, CHUNK_SIZE, CHUNK_SEPARATOR);
    [all...]
  /libcore/ojluni/src/main/java/java/util/stream/
StreamSpliterators.java 903 static final int CHUNK_SIZE = 1 << 7;
    [all...]
  /external/icu/icu4c/source/common/
ucnv.c 45 #define CHUNK_SIZE 1024
    [all...]
  /external/syslinux/com32/gfxboot/
gfxboot.c 49 #define CHUNK_SIZE (64 << 10)
780 i = read(fd, buf + cur, min(CHUNK_SIZE, size - cur));
787 buf = realloc(buf, size + CHUNK_SIZE);
788 i = read(fd, buf + size, CHUNK_SIZE);
  /external/webp/src/dec/
idec_dec.c 25 #define CHUNK_SIZE 4096
184 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1);
  /system/tpm/trunks/ftdi/
mpsse.h 32 #define CHUNK_SIZE 65535
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
plexus-cipher-1.7.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/plexus/plexus-cipher/1.7/
plexus-cipher-1.7.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/plexus/plexus-cipher/1.4/
plexus-cipher-1.4.jar 

Completed in 428 milliseconds

1 2 3 4 5 6