Home
last modified time | relevance | path

Searched refs:writer2 (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java202 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/
DCharStreamsTest.java202 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/
D3-1.c191 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/
Dshared_memory_arbiter_impl_unittest.cc300 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()
Dtracing_service_impl_unittest.cc691 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/
DObjectWriterTestBase.java31 final ObjectWriter writer2 = writer0.forType(inputClass2); in test() local
59 writer = writer2; in test()
/external/tensorflow/tensorflow/python/summary/writer/
Dwriter_test.py570 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/
DTestJDKSerialization.java135 ObjectWriter writer2 = jdkDeserialize(bytes); in testObjectWriter() local
136 assertEquals(EXP_JSON, writer2.writeValueAsString(p)); in testObjectWriter()
/external/python/cpython2/Lib/bsddb/test/
Dtest_associate.py422 t2 = Thread(target = self.writer2,
438 def writer2(self, d): member in ThreadedAssociateTestCase
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py779 writer2 = summary_ops.create_file_writer_v2(logdir)
780 with writer2.as_default():
790 with writer2.as_default():