HomeSort by relevance Sort by last modified time
    Searched defs:kBlockSize (Results 1 - 17 of 17) sorted by null

  /external/compiler-rt/lib/tsan/lit_tests/
java_race.cc 13 const int kBlockSize = 16;
14 __tsan_java_alloc((jptr)jheap, kBlockSize);
19 __tsan_java_free((jptr)jheap, kBlockSize);
java_lock.cc 18 const int kBlockSize = 16;
19 __tsan_java_alloc((jptr)jheap, kBlockSize);
28 __tsan_java_free((jptr)jheap, kBlockSize);
java_race_move.cc 17 const int kBlockSize = 64;
19 __tsan_java_alloc((jptr)jheap, kBlockSize);
25 __tsan_java_move(varaddr, varaddr2, kBlockSize);
27 __tsan_java_free(varaddr2, kBlockSize);
java_rwlock.cc 18 const int kBlockSize = 16;
19 __tsan_java_alloc((jptr)jheap, kBlockSize);
28 __tsan_java_free((jptr)jheap, kBlockSize);
java_lock_move.cc 21 const int kBlockSize = 64;
23 __tsan_java_alloc((jptr)jheap, kBlockSize);
33 __tsan_java_move(varaddr, varaddr2, kBlockSize);
35 __tsan_java_free(varaddr2, kBlockSize);
  /external/chromium/sdch/open-vcdiff/src/
blockhash_test.cc 28 const int kBlockSize = BlockHash::kBlockSize;
82 CHECK(n < kBlockSize);
85 for (int index = n; index < kTimingTestSize; index += kBlockSize) {
102 // in sample_text_without_spaces matches (kBlockSize - 1)
106 // if kBlockSize is 4, then 3 space characters will be inserted
109 // This makes testing simpler, because finding a kBlockSize-byte match
115 char* padded_text = new char[(kBlockSize * length_without_spaces) + 1];
116 memset(padded_text, ' ', kBlockSize * length_without_spaces);
117 char* padded_text_ptr = padded_text + (kBlockSize - 1)
    [all...]
blockhash.h 31 // of size kBlockSize in both the incrementally processed target data
36 // entry in the BlockHash corresponding to each kBlockSize bytes
43 // (== kBlockSize * block_number). This greatly reduces the size
50 // Using (for example) kBlockSize = 4 guarantees that no match smaller
56 // Increasing kBlockSize by a factor of two will halve the amount of
64 // matches found, and a low value of kBlockSize will waste time
68 // It is suggested that different values of kBlockSize be tried against
72 // If you change kBlockSize to a smaller value, please increase
74 static const int kBlockSize = 16;
115 // will contain one entry for each kBlockSize-byte block in th
    [all...]
vcdiffengine_test.cc 41 static const int kBlockSize = VCDiffEngine::kMinimumMatchSize;
153 for (int i = 0; i < (kBlockSize - 1); ++i) {
160 for (int i = 0; i < (kBlockSize - 1); ++i) {
330 kBlockSize, false);
331 MakeEachLetterABlock(target_without_spaces_, &target_, kBlockSize, false);
446 if (!ExpectAddCopyInstruction(kBlockSize, (3 * kBlockSize) - 1,
448 ExpectCopyInstruction((3 * kBlockSize) - 1, VCD_SELF_MODE);
451 ExpectCopyInstruction((6 * kBlockSize) - 1, VCD_SELF_MODE);
452 ExpectCopyInstruction(11 * kBlockSize,
    [all...]
  /external/open-vcdiff/src/
blockhash_test.cc 28 const int kBlockSize = BlockHash::kBlockSize;
82 CHECK(n < kBlockSize);
85 for (int index = n; index < kTimingTestSize; index += kBlockSize) {
102 // in sample_text_without_spaces matches (kBlockSize - 1)
106 // if kBlockSize is 4, then 3 space characters will be inserted
109 // This makes testing simpler, because finding a kBlockSize-byte match
115 char* padded_text = new char[(kBlockSize * length_without_spaces) + 1];
116 memset(padded_text, ' ', kBlockSize * length_without_spaces);
117 char* padded_text_ptr = padded_text + (kBlockSize - 1)
    [all...]
blockhash.h 31 // of size kBlockSize in both the incrementally processed target data
36 // entry in the BlockHash corresponding to each kBlockSize bytes
43 // (== kBlockSize * block_number). This greatly reduces the size
50 // Using (for example) kBlockSize = 4 guarantees that no match smaller
56 // Increasing kBlockSize by a factor of two will halve the amount of
64 // matches found, and a low value of kBlockSize will waste time
68 // It is suggested that different values of kBlockSize be tried against
72 // If you change kBlockSize to a smaller value, please increase
74 static const int kBlockSize = 16;
115 // will contain one entry for each kBlockSize-byte block in th
    [all...]
vcdiffengine_test.cc 40 static const int kBlockSize = VCDiffEngine::kMinimumMatchSize;
151 for (int i = 0; i < (kBlockSize - 1); ++i) {
158 for (int i = 0; i < (kBlockSize - 1); ++i) {
309 kBlockSize, false);
310 MakeEachLetterABlock(target_without_spaces_, &target_, kBlockSize, false);
423 if (!ExpectAddCopyInstruction(kBlockSize, (3 * kBlockSize) - 1,
425 ExpectCopyInstruction((3 * kBlockSize) - 1, VCD_SELF_MODE);
428 ExpectCopyInstruction((6 * kBlockSize) - 1, VCD_SELF_MODE);
429 ExpectCopyInstruction(11 * kBlockSize,
    [all...]
  /external/chromium/net/ftp/
ftp_directory_listing_parser_vms.cc 59 const int kBlockSize = 512;
62 *size *= kBlockSize;
79 *size = blocks_used * kBlockSize;
  /external/libyuv/files/util/
compare.cc 31 const int kBlockSize = 32768;
32 uint8 buf1[kBlockSize];
33 uint8 buf2[kBlockSize];
41 amt1 = fread(buf1, 1, kBlockSize, fin1);
44 amt2 = fread(buf2, 1, kBlockSize, fin2);
  /external/v8/test/cctest/
test-utils.cc 143 const int kBlockSize = 7;
149 for (int i = 0; i < kBlockSize - 1; i++) {
154 CHECK_EQ(kLoops * (kBlockSize + kSequentialSize), result.length());
156 int offset = i * (kSequentialSize + kBlockSize);
157 for (int j = 0; j < kBlockSize - 1; j++) {
160 CHECK_EQ(0xbadcafe, result[offset + kBlockSize - 1]);
162 CHECK_EQ(j, result[offset + kBlockSize + j]);
  /external/libvpx/libvpx/test/
intrapred_test.cc 232 static const int kBlockSize = 16;
234 static const int kStride = kBlockSize * 3;
240 static const int kDataBufferSize = kStride * (kBlockSize + 1);
244 SetupMacroblock(data_array_, kBlockSize, kStride, 1);
301 static const int kBlockSize = 8;
303 static const int kStride = kBlockSize * 3;
310 static const int kDataBufferSize = 2 * kStride * (kBlockSize + 1);
314 SetupMacroblock(data_array_, kBlockSize, kStride, 2);
  /external/chromium/net/disk_cache/
sparse_control.cc 37 const int kBlockSize = 1024;
466 child_data_.header.last_block_len > kBlockSize) {
574 if (partial_block_len <= (child_offset_ & (kBlockSize - 1)))
599 int block_offset = child_offset_ & (kBlockSize - 1);
607 block_offset = (child_offset_ + result) & (kBlockSize - 1);
634 return entry_len & (kBlockSize - 1);
756 int block_offset = child_offset_ & (kBlockSize - 1);
  /external/libyuv/files/source/
compare.cc 228 const int kBlockSize = 1 << 15; // 32768;
229 while (count >= static_cast<uint64>(kBlockSize)) {
230 seed = HashDjb2_SSE(src, kBlockSize, seed);
231 src += kBlockSize;
232 count -= kBlockSize;
369 const int kBlockSize = 1 << 15; // 32768;
374 for (int i = 0; i < (count - (kBlockSize - 1)); i += kBlockSize) {
375 sse += SumSquareError(src_a + i, src_b + i, kBlockSize);
377 src_a += count & ~(kBlockSize - 1)
    [all...]

Completed in 151 milliseconds