Home
last modified time | relevance | path

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

/third_party/node/test/fixtures/wpt/streams/writable-streams/
Dgeneral.any.js152 const writer2 = ws2.getWriter(); constant
153 const abortPromise = writer2.abort();
182 const writer2 = ws2.getWriter(); constant
183 writer2.abort(abortError);
197 ….then(() => promise_rejects_exactly(t, abortError, writer2.closed, 'writer2.closed should be rejec…
220 const writer2 = ws.getWriter(); constant
224 return writer2.ready;
Dreentrant-strategy.any.js157 const writer2 = ws.getWriter();
158 writePromise2 = writer2.write(0);
159 closePromise = writer2.close();
160 closedPromise2 = writer2.closed;
Dclose.any.js408 const writer2 = ws.getWriter(); constant
409 const ready = writer2.ready;
Daborting.any.js536 const writer2 = ws.getWriter(); constant
537 return promise_rejects_exactly(t, error1, writer2.ready,
/third_party/node/test/parallel/
Dtest-stream-pipe-cleanup-pause.js7 const writer2 = new stream.Writable(); constant
22 reader.pipe(writer2);
32 writer2._write = common.mustCall(function(chunk, encoding, cb) {
Dtest-stream-pipe-await-drain.js10 const writer2 = new stream.Writable(); constant
40 writer2._write = common.mustCall((chunk, encoding, cb) => {
65 reader.pipe(writer2);
Dtest-whatwg-writablestream.js109 const writer2 = stream.getWriter(); constant
113 writer2.closed.then(common.mustCall());
114 writer2.ready.then(common.mustCall());
116 writer2.close().then(common.mustCall(() => {
Dtest-webstreams-abort-controller.js153 const writer2 = ws2.getWriter(); constant
163 assert.rejects(writer2.write('a'), /AbortError/).then(common.mustCall());
164 assert.rejects(writer2.closed, /AbortError/).then(common.mustCall());
/third_party/gstreamer/gstreamer/tests/check/libs/
Dbitwriter.c110 GstBitWriter writer, *writer2; in GST_START_TEST() local
137 writer2 = gst_bit_writer_new_with_size (3, TRUE); in GST_START_TEST()
138 data = gst_bit_writer_free_and_get_data (writer2); in GST_START_TEST()
142 writer2 = gst_bit_writer_new_with_size (1, FALSE); in GST_START_TEST()
143 fail_unless (gst_bit_writer_put_bits_uint8 (writer2, 0xff, 8)); in GST_START_TEST()
144 data = gst_bit_writer_free_and_get_data (writer2); in GST_START_TEST()
Dbytewriter.c34 GstByteWriter writer, *writer2; in GST_START_TEST() local
74 writer2 = gst_byte_writer_new_with_size (24, FALSE); in GST_START_TEST()
75 data = gst_byte_writer_free_and_get_data (writer2); in GST_START_TEST()
/third_party/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()