/external/guava/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 202 StringWriter writer2 = new StringWriter(); in testCopy_toWriter_fromReader() local 203 copied = CharStreams.copy(new StringReader(I18N), writer2); in testCopy_toWriter_fromReader() 204 assertEquals(I18N, writer2.toString()); in testCopy_toWriter_fromReader() 214 StringWriter writer2 = new StringWriter(); in testCopy_toWriter_fromReadable() local 215 copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(I18N)), writer2); in testCopy_toWriter_fromReadable() 216 assertEquals(I18N, writer2.toString()); in testCopy_toWriter_fromReadable()
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 202 StringWriter writer2 = new StringWriter(); in testCopy_toWriter_fromReader() local 203 copied = CharStreams.copy(new StringReader(I18N), writer2); in testCopy_toWriter_fromReader() 204 assertEquals(I18N, writer2.toString()); in testCopy_toWriter_fromReader() 214 StringWriter writer2 = new StringWriter(); in testCopy_toWriter_fromReadable() local 215 copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(I18N)), writer2); in testCopy_toWriter_fromReadable() 216 assertEquals(I18N, writer2.toString()); in testCopy_toWriter_fromReadable()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
D | 3-1.c | 191 pthread_t writer1, reader, writer2; in main() local 269 if (pthread_create(&writer2, NULL, fn_wr_2, (void *)(long)priority) != in main() 362 if (pthread_join(writer2, NULL) != 0) { in main()
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_arbiter_impl_unittest.cc | 300 std::unique_ptr<TraceWriter> writer2 = arbiter_->CreateTraceWriter(2); in TEST_P() local 301 EXPECT_TRUE(writer2); in TEST_P() 302 EXPECT_EQ(writer2->writer_id(), 0); in TEST_P() 453 std::unique_ptr<TraceWriter> writer2 = in TEST_P() local 465 auto packet = writer2->NewTracePacket(); in TEST_P() 469 writer2->Flush([&flush_completed] { flush_completed = true; }); in TEST_P() 510 std::unique_ptr<TraceWriter> writer2 = in TEST_P() local 532 writer2.reset(); in TEST_P()
|
D | tracing_service_impl_unittest.cc | 691 auto writer2 = producer->CreateTraceWriter("ds_2"); in TEST_F() local 707 writer2->Flush(); in TEST_F() 2296 auto writer2 = producer2->CreateTraceWriter("ds_2A"); in TEST_F() local 2297 producer2->WaitForFlush(writer2.get()); in TEST_F()
|
/external/jackson-databind/src/test/java/perf/ |
D | ObjectWriterTestBase.java | 31 final ObjectWriter writer2 = writer0.forType(inputClass2); in test() local 59 writer = writer2; in test()
|
/external/tensorflow/tensorflow/python/summary/writer/ |
D | writer_test.py | 570 writer2 = writer.FileWriter(session=sess, logdir=logdir) 571 writer2.add_summary(self._createTaggedSummary("two"), 2) 572 writer2.flush() 622 writer2 = summary_ops_v2.create_file_writer(logdir=logdir) 623 with summary_ops_v2.always_record_summaries(), writer2.as_default(): 625 sess.run(writer2.init()) 627 sess.run(writer2.flush())
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | TestJDKSerialization.java | 135 ObjectWriter writer2 = jdkDeserialize(bytes); in testObjectWriter() local 136 assertEquals(EXP_JSON, writer2.writeValueAsString(p)); in testObjectWriter()
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_associate.py | 422 t2 = Thread(target = self.writer2, 438 def writer2(self, d): member in ThreadedAssociateTestCase
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | summary_ops_test.py | 779 writer2 = summary_ops.create_file_writer_v2(logdir) 780 with writer2.as_default(): 790 with writer2.as_default():
|