/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
3-1.c | 16 * We have four threads, main(also a reader), writer1, reader, writer2 17 * main has the highest priority, writer1 and reader has same priority, writer2 has lowest 23 * 3. Create a writer1 thread, with schedule policy as "SCHED_FIFO", and priority 25 * 4. Create reader thread, with same priority as writer1. The reader should also block. 29 * writer1, reader, writer2. 119 printf("writer1: attempt write lock\n"); 129 printf("writer1: acquired write lock\n"); 137 printf("writer1: unlock write lock\n"); 191 pthread_t writer1, reader, writer2; local 215 printf("main: create writer1, with priority: %d\n", priority) [all...] |
/external/perfetto/src/tracing/core/ |
startup_trace_writer_unittest.cc | 296 auto writer1 = registry->CreateUnboundTraceWriter(); local 305 // Begin a write by opening a TracePacket on |writer1|. 306 auto packet = writer1->NewTracePacket(); 308 // Binding |writer1| writing should fail, but |writer2| should be bound. 314 // Wait for |writer1| to be bound and the registry to be deleted.
|
tracing_service_impl_unittest.cc | 312 auto writer1 = producer->CreateTraceWriter("ds_1"); local 313 producer->WaitForFlush(writer1.get()); 632 auto writer1 = producer->CreateTraceWriter("ds_1"); local 645 writer1->Flush(); 722 auto writer1 = producer->CreateTraceWriter("ds_1"); local 723 producer->WaitForFlush(writer1.get()); 797 auto writer1 = producer->CreateTraceWriter("ds_1"); local 798 producer->WaitForFlush(writer1.get()); 900 auto writer1 = producer->CreateTraceWriter("ds_1"); local 1920 auto writer1 = producer1->CreateTraceWriter("ds_1A"); local [all...] |
/external/tensorflow/tensorflow/contrib/summary/ |
summary_ops_graph_test.py | 147 writer1 = summary_ops.create_file_writer(logdir) 148 with writer1.as_default(): 163 sess.run(writer1.init()) 168 sess.run([writer1.flush(), writer2.flush(), writer3.flush()])
|
summary_ops_test.py | 215 writer1 = summary_ops.create_file_writer(logdir) 216 with writer1.as_default():
|
/external/tensorflow/tensorflow/python/summary/writer/ |
writer_test.py | 484 writer1 = writer.FileWriter(session=sess, logdir=logdir) 485 writer1.add_summary(self._createTaggedSummary("one"), 1) 486 writer1.flush() 488 # File writer, should share file with writer1 505 # One more file writer, should share file with writer1 536 writer1 = writer.FileWriter(session=sess, logdir=logdir) 537 writer1.add_summary(self._createTaggedSummary("one"), 1) 538 writer1.flush()
|
/external/python/cpython2/Lib/bsddb/test/ |
test_associate.py | 420 t1 = Thread(target = self.writer1, 432 def writer1(self, d): member in class:ThreadedAssociateTestCase
|
/external/deqp-deps/SPIRV-Tools/test/ |
bit_stream.cpp | 492 BitWriterStringStream writer1; local 496 writer1.WriteBits(i, 16); 498 ASSERT_EQ(writer1.GetNumBits(), writer2.GetNumBits());
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
bit_stream.cpp | 492 BitWriterStringStream writer1; local 496 writer1.WriteBits(i, 16); 498 ASSERT_EQ(writer1.GetNumBits(), writer2.GetNumBits());
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 471 OutputStreamWriter writer1 = new OutputStreamWriter(baos1); local 472 vtz_new.write(writer1); 473 writer1.close(); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 468 OutputStreamWriter writer1 = new OutputStreamWriter(baos1); local 469 vtz_new.write(writer1); 470 writer1.close(); [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
summary_ops_test.py | 598 writer1 = summary_ops.create_file_writer_v2(logdir) 599 with writer1.as_default(): 614 with writer1.as_default(): [all...] |