Home
last modified time | relevance | path

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

/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/
Dtee.any.js32 const reader1 = branch1.getReader({ mode: 'byob' }); constant
38 const result = await reader1.read(new Uint8Array(1));
44 const result = await reader1.read(new Uint8Array(1));
50 const result = await reader1.read(new Uint8Array(1));
61 await reader1.closed;
80 const reader1 = branch1.getReader(); constant
83 const [result1, result2] = await Promise.all([reader1.read(), reader2.read()]);
113 const reader1 = branch1.getReader({ mode: 'byob' }); constant
118 const result = await reader1.read(new Uint8Array(buffer, 0, 1));
146 const reader1 = branch1.getReader({ mode: 'byob' }); constant
[all …]
Dgeneral.any.js2366 const reader1 = rs.getReader(); constant
2367 const read1 = reader1.read();
2383 reader1.releaseLock();
2418 const reader1 = rs.getReader({ mode: 'byob' }); constant
2419 const read1 = reader1.read(new Uint8Array([1, 2, 3]));
2425 reader1.releaseLock();
2455 const reader1 = rs.getReader({ mode: 'byob' }); constant
2456 const read1 = reader1.read(new Uint8Array([1, 2, 3]));
2462 reader1.releaseLock();
2503 const reader1 = rs.getReader({ mode: 'byob' }); constant
[all …]
/third_party/node/test/fixtures/wpt/streams/readable-streams/
Dtee.any.js33 const reader1 = branch1.getReader(); constant
39 reader1.closed,
40 reader1.read().then(r => {
43 reader1.read().then(r => {
46 reader1.read().then(r => {
68 const reader1 = branch1.getReader(); constant
71 return Promise.all([reader1.read(), reader2.read()]).then(values => {
91 const reader1 = branches[0].getReader(); constant
94 reader1.label = 'reader1';
98 promise_rejects_exactly(t, theError, reader1.closed),
[all …]
Ddefault-reader.any.js143 const reader1 = rs.getReader(); constant
145 reader1.releaseLock();
151 promise_rejects_js(t, TypeError, reader1.closed),
218 const reader1 = rs.getReader(); constant
219 const promise1 = reader1.read().then(r => {
222 reader1.releaseLock();
241 const reader1 = rs.getReader(); constant
242 reader1.releaseLock();
247 reader1.releaseLock();
295 const reader1 = rs.getReader(); constant
[all …]
/third_party/node/test/parallel/
Dtest-webstreams-abort-controller.js74 const reader1 = rs1.getReader(); constant
79 assert.rejects(reader1.read(), /AbortError/).then(common.mustCall());
80 assert.rejects(reader1.closed, /AbortError/).then(common.mustCall());
101 const reader1 = rs1.getReader(); constant
106 assert.rejects(reader1.read(), /AbortError/).then(common.mustCall());
107 assert.rejects(reader1.closed, /AbortError/).then(common.mustCall());
Dtest-whatwg-readablestream.js712 const reader1 = s1.getReader(); constant
715 const closed1 = reader1.closed;
830 const reader1 = s1.getReader(); constant
833 assert.rejects(reader1.closed, error);
836 assert.rejects(reader1.read(), error);
/third_party/python/Lib/test/test_asyncio/
Dtest_queues.py386 reader1 = loop.create_task(q.get())
394 reader1.cancel()
397 loop.run_until_complete(reader1)
/third_party/libxml2/
D.gitignore41 doc/examples/reader1
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java770 Reader reader1 = TestUtil.getDataReader(fileName1, "UTF-8"); in TestDeprecated() local
775 .setData(reader1, reader2) in TestDeprecated()
782 reader1.close(); in TestDeprecated()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/text/
DSpoofCheckerTest.java773 Reader reader1 = TestUtil.getDataReader(fileName1, "UTF-8"); in TestDeprecated() local
778 .setData(reader1, reader2) in TestDeprecated()
785 reader1.close(); in TestDeprecated()