HomeSort by relevance Sort by last modified time
    Searched refs:chunk_size (Results 1 - 25 of 73) sorted by null

1 2 3

  /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));
  /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...]
  /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/bison/lib/
obstack.c 182 h->chunk_size = size;
186 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
192 = (char *) chunk + h->chunk_size;
229 h->chunk_size = size;
234 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
240 = (char *) chunk + h->chunk_size;
267 if (new_size < h->chunk_size)
268 new_size = h->chunk_size;
  /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;
  /ndk/sources/host-tools/sed-4.2.1/lib/
obstack.c 172 h->chunk_size = size;
176 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
182 = (char *) chunk + h->chunk_size;
219 h->chunk_size = size;
224 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
230 = (char *) chunk + h->chunk_size;
257 if (new_size < h->chunk_size)
258 new_size = h->chunk_size;
  /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/webp/src/dec/
webp.c 40 uint32_t chunk_size = 0xffffffffu; local
52 chunk_size = get_le32(*data_ptr + 16);
53 if (chunk_size > riff_size - 12) {
61 return chunk_size;
270 const uint32_t chunk_size = WebPCheckRIFFHeader(&data, &data_size); local
271 if (!chunk_size) {
275 return VP8GetInfo(data, data_size, chunk_size, width, height, NULL);
286 uint32_t chunk_size; local
294 chunk_size = WebPCheckRIFFHeader(data, data_size);
295 if (chunk_size == 0)
    [all...]
  /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/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
  /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
  /frameworks/base/media/libstagefright/
MPEG4Extractor.cpp 606 uint64_t chunk_size = ntohl(hdr[0]); local
610 if (chunk_size == 1) {
611 if (mDataSource->readAt(*offset + 8, &chunk_size, 8) < 8) {
614 chunk_size = ntoh64(chunk_size);
617 if (chunk_size < 16) {
621 } else if (chunk_size < 8) {
632 printf("%sfound chunk '%s' of size %lld\n", indent, chunk, chunk_size);
635 size_t n = chunk_size;
649 off64_t chunk_data_size = *offset + chunk_size - data_offset
    [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);
  /packages/apps/Camera/jni/feature_stab/db_vlvm/
db_rob_image_homography.h 85 \param chunk_size size of cost chunks
116 int chunk_size=DB_DEFAULT_CHUNK_SIZE,

Completed in 1008 milliseconds

1 2 3