Searched refs:chunk1 (Results 1 – 8 of 8) sorted by relevance
/external/valgrind/memcheck/tests/solaris/ |
D | sendfilev.c | 23 char chunk1[CHUNK]; in main() local 24 bzero(&chunk1, sizeof(chunk1)); in main() 25 ssize_t nbytes = write(test_fd, &chunk1, sizeof(chunk1)); in main()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | FileBackedOutputStreamTest.java | 82 int chunk1 = Math.min(dataSize, fileThreshold); in testThreshold() local 83 int chunk2 = dataSize - chunk1; in testThreshold() 86 if (chunk1 > 0) { in testThreshold() 87 write(out, data, 0, chunk1, singleByte); in testThreshold() 88 assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); in testThreshold() 95 write(out, data, chunk1, chunk2, singleByte); in testThreshold()
|
/external/python/cpython2/Lib/test/ |
D | audiotests.py | 229 chunk1 = self.frames[:2 * framesize] 234 self.assertEqual(f.readframes(2), chunk1) 238 self.assertEqual(f.readframes(2), chunk1) 245 self.assertEqual(f.readframes(2), chunk1)
|
/external/python/cpython3/Lib/test/ |
D | audiotests.py | 277 chunk1 = self.frames[:2 * framesize] 282 self.assertEqual(f.readframes(2), chunk1) 286 self.assertEqual(f.readframes(2), chunk1) 293 self.assertEqual(f.readframes(2), chunk1)
|
/external/v8/src/ |
D | bignum.cc | 355 Chunk chunk1 = bigits_[copy_offset + bigit_index1]; in Square() local 357 accumulator += static_cast<DoubleChunk>(chunk1) * chunk2; in Square() 370 Chunk chunk1 = bigits_[copy_offset + bigit_index1]; in Square() local 372 accumulator += static_cast<DoubleChunk>(chunk1) * chunk2; in Square()
|
/external/libevent/test/ |
D | regress_buffer.c | 1854 const char chunk1[] = "If you have found the answer to such a problem"; in test_evbuffer_add_reference() local 1858 size_t len1 = strlen(chunk1), len2=strlen(chunk2); in test_evbuffer_add_reference() 1865 evbuffer_add_reference(buf1, chunk1, len1, ref_done_cb, (void*)111); in test_evbuffer_add_reference() 1878 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0); in test_evbuffer_add_reference() 1888 tt_assert(ref_done_cb_called_with_data == chunk1); in test_evbuffer_add_reference() 1930 const char chunk1[] = "If you have found the answer to such a problem"; in test_evbuffer_multicast() local 1934 size_t len1 = strlen(chunk1), len2=strlen(chunk2); in test_evbuffer_multicast() 1941 evbuffer_add(buf1, chunk1, len1); in test_evbuffer_multicast() 1965 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0); in test_evbuffer_multicast() 1976 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0); in test_evbuffer_multicast() [all …]
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
D | CanonicalScanner.java | 189 String chunk1 = data.substring(index, index + DIRECTIVE.length()); in scanDirective() local 191 if (DIRECTIVE.equals(chunk1) && "\n\0".indexOf(chunk2) != -1) { in scanDirective()
|
/external/compiler-rt/lib/asan/ |
D | asan_report.cc | 1013 AsanChunkView chunk1 = FindHeapChunkByAddress(a1); in CheckForInvalidPointerPair() local 1015 bool valid1 = chunk1.IsAllocated(); in CheckForInvalidPointerPair() 1017 if (!valid1 || !valid2 || !chunk1.Eq(chunk2)) { in CheckForInvalidPointerPair()
|