/external/bluetooth/glib/gio/tests/ |
memory-input-stream.c | 35 gsize bytes_read, pos, len, chunk_size; local 48 for (chunk_size = 1; chunk_size < len - 1; chunk_size++) 53 bytes_read = g_input_stream_read (stream, buffer, chunk_size, NULL, &error); 55 g_assert_cmpint (bytes_read, ==, MIN (chunk_size, len - pos));
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
partition.h | 75 difference_type chunk_size = __s.partition_chunk_size; local 81 if(right - left + 1 >= 2 * num_threads * chunk_size) 91 chunk_size = std::max<difference_type>(__s.partition_chunk_size, 95 chunk_size = __s.partition_chunk_size; 98 while (right - left + 1 >= 2 * num_threads * chunk_size) 102 difference_type num_chunks = (right - left + 1) / chunk_size; 129 if (left + (chunk_size - 1) > right) 134 thread_left_border = left + (chunk_size - 1); 135 left += chunk_size; 143 if (left > right - (chunk_size - 1) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStreamTest.java | 57 private static final int CHUNK_SIZE = 32; 333 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE); 342 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) { 345 dis.read(bArray, i*CHUNK_SIZE, CHUNK_SIZE) == CHUNK_SIZE); 373 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0); 382 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) { 385 dis.read(bArray, i*(CHUNK_SIZE+1), CHUNK_SIZE+1) = [all...] |
DigestOutputStreamTest.java | 56 private static final int CHUNK_SIZE = 32; 320 assertEquals(0, MY_MESSAGE_LEN % CHUNK_SIZE); 329 for (int i=0; i<MY_MESSAGE_LEN/CHUNK_SIZE; i++) { 330 dos.write(myMessage, i*CHUNK_SIZE, CHUNK_SIZE); 357 assertTrue(MY_MESSAGE_LEN % (CHUNK_SIZE+1) != 0); 366 for (int i=0; i<MY_MESSAGE_LEN/(CHUNK_SIZE+1); i++) { 367 dos.write(myMessage, i*(CHUNK_SIZE+1), CHUNK_SIZE+1); 371 MY_MESSAGE_LEN/(CHUNK_SIZE+1)*(CHUNK_SIZE+1) [all...] |
/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...] |
/external/webkit/Source/WebCore/bindings/v8/ |
IntrusiveDOMWrapperMap.h | 39 template <class T, int CHUNK_SIZE, class Traits> 49 m_last = m_current + CHUNK_SIZE; 67 m_current = m_last = m_chunks ? m_chunks->m_entries + CHUNK_SIZE : 0; 85 clearEntries(previous->m_entries, previous->m_entries + CHUNK_SIZE); 91 m_last = m_current + CHUNK_SIZE; 101 visitEntries(store, chunk->m_entries, chunk->m_entries + CHUNK_SIZE, visitor); 108 T m_entries[CHUNK_SIZE];
|
/external/webp/src/enc/ |
alpha.c | 26 #define CHUNK_SIZE 8192 35 unsigned char chunk[CHUNK_SIZE]; 49 strm.avail_out = CHUNK_SIZE; 54 size_out = CHUNK_SIZE - strm.avail_out;
|
/bionic/libc/kernel/common/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/development/ndk/platforms/android-3/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/external/e2fsprogs/misc/ |
e2freefrag.c | 74 void update_chunk_stats(struct chunk_info *info, unsigned long chunk_size) 78 index = ul_log2(chunk_size) + 1; 82 info->histogram.fc_blocks[index] += chunk_size; 84 if (chunk_size > info->max) 85 info->max = chunk_size; 86 if (chunk_size < info->min) 87 info->min = chunk_size; 88 info->avg += chunk_size;
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/raid/ |
md_u.h | 68 int chunk_size; member in struct:mdu_array_info_s 99 int chunk_size; member in struct:mdu_param_s
|
/system/extras/tests/sdcard/ |
sdcard_perf_test.cpp | 306 size_t chunk_size = testCase->chunkSize(); local 308 if (chunk_size > left) 310 chunk_size = left; 315 left -= chunk_size; 319 while (chunk_size > 0) 321 ssize_t s = read(fd, dest, chunk_size); 328 chunk_size -= s; 349 size_t chunk_size = testCase->chunkSize(); local 350 char *const chunk = new char[chunk_size]; 352 memset(chunk, 0xaa, chunk_size); 438 size_t chunk_size = testCase->chunkSize(); local 486 size_t chunk_size = testCase->chunkSize(); local [all...] |
/external/bluetooth/glib/glib/ |
gslice.c | 178 static gpointer slab_allocator_alloc_chunk (gsize chunk_size); 179 static void slab_allocator_free_chunk (gsize chunk_size, 516 gsize chunk_size = SLAB_CHUNK_SIZE (allocator, ix); local 517 guint threshold = MAX (MIN_MAGAZINE_SIZE, allocator->max_page_size / MAX (5 * chunk_size, 5 * 32)); 522 contention_counter = contention_counter * 64 / chunk_size; 604 const gsize chunk_size = SLAB_CHUNK_SIZE (allocator, ix); local 614 slab_allocator_free_chunk (chunk_size, chunk); 657 gsize i, chunk_size = SLAB_CHUNK_SIZE (allocator, ix); local 661 head = slab_allocator_alloc_chunk (chunk_size); 666 chunk->next = slab_allocator_alloc_chunk (chunk_size); 715 const gsize chunk_size = SLAB_CHUNK_SIZE (allocator, ix); local 800 gsize chunk_size; local 853 gsize chunk_size = P2ALIGN (mem_size); local 911 gsize chunk_size = P2ALIGN (mem_size); local [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
vcencoder_test.cc | 125 void TestWithFixedChunkSize(size_t chunk_size); 126 void TestWithEncodedChunkVector(size_t chunk_size); 298 void VCDiffEncoderTest::TestWithFixedChunkSize(size_t chunk_size) { 303 chunk_start_index += chunk_size) { 304 size_t this_chunk_size = chunk_size; 314 const size_t num_windows = (strlen(kTarget) / chunk_size) + 1; 322 chunk_start_index += chunk_size) { 323 size_t this_chunk_size = chunk_size; 343 for (size_t chunk_size = 1; chunk_size < strlen(kTarget); ++chunk_size) [all...] |
/external/bluetooth/glib/tests/ |
markup-test.c | 110 gint chunk_size) 119 int this_chunk = MIN (length - i, chunk_size);
|
/external/kernel-headers/original/linux/raid/ |
md_u.h | 84 int chunk_size; /* 1 chunk size in bytes */ member in struct:mdu_array_info_s 119 int chunk_size; /* in bytes */ member in struct:mdu_param_s
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/raid/ |
md_u.h | 84 int chunk_size; /* 1 chunk size in bytes */ member in struct:mdu_array_info_s 119 int chunk_size; /* in bytes */ member in struct:mdu_param_s
|