/prebuilts/gcc/linux-x86/host/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/chromium_org/content/child/ |
webblobregistry_impl.cc | 141 size_t chunk_size = std::min(data_size, shared_memory_size); local 142 memcpy(shared_memory->memory(), data_ptr, chunk_size); 144 uuid_str, shared_memory->handle(), chunk_size)); 145 data_size -= chunk_size; 146 data_ptr += chunk_size; 187 size_t chunk_size = std::min(data_size, shared_memory_size); local 188 memcpy(shared_memory->memory(), data_ptr, chunk_size); 190 url, shared_memory->handle(), chunk_size)); 191 data_size -= chunk_size; 192 data_ptr += chunk_size; [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
markselection.js | 35 var CHUNK_SIZE = 8; 48 var endLine = line + CHUNK_SIZE, atEnd = endLine >= to.line; 78 if (!coverStart || !coverEnd || to.line - from.line < CHUNK_SIZE || 87 if (coverStart.to.line - from.line < CHUNK_SIZE) { 100 if (to.line - coverEnd.from.line < CHUNK_SIZE) {
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
ItemOperationsParser.java | 28 private static final int CHUNK_SIZE = 16*1024; 109 final byte[] bytes = new byte[CHUNK_SIZE]; 116 final int read = inputStream.read(bytes, 0, CHUNK_SIZE); 130 // Callback only if we've read at least 1% more and have read more than CHUNK_SIZE 132 if ((pct > lastCallbackPct) && (totalRead > (lastCallbackTotalRead + CHUNK_SIZE))) {
|
/system/extras/tests/sdcard/ |
sdcard_perf_test.cpp | 312 size_t chunk_size = testCase->chunkSize(); local 314 if (chunk_size > left) 316 chunk_size = left; 321 left -= chunk_size; 325 while (chunk_size > 0) 327 ssize_t s = read(fd, dest, chunk_size); 334 chunk_size -= s; 355 size_t chunk_size = testCase->chunkSize(); local 356 char *const chunk = new char[chunk_size]; 358 memset(chunk, 0xaa, chunk_size); 444 size_t chunk_size = testCase->chunkSize(); local 492 size_t chunk_size = testCase->chunkSize(); local 574 size_t chunk_size = testCase->chunkSize(); local [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...] |
/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/chromium_org/content/renderer/ |
mhtml_generator.cc | 53 const size_t chunk_size = 1024; local 58 std::min(mhtml.length() - total_bytes_written, 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;
|
/prebuilts/ndk/4/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
|
/prebuilts/ndk/4/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
|
/prebuilts/ndk/4/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
|
/prebuilts/ndk/4/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
|
/prebuilts/ndk/4/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
|
/prebuilts/ndk/4/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
|
/prebuilts/ndk/5/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
|
/prebuilts/ndk/6/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
|
/prebuilts/ndk/6/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
|
/prebuilts/ndk/7/platforms/android-14/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
|
/prebuilts/ndk/7/platforms/android-14/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
|
/prebuilts/ndk/7/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
|
/prebuilts/ndk/7/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
|
/prebuilts/ndk/7/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
|