Home
last modified time | relevance | path

Searched refs:Duplex (Results 1 - 25 of 43) sorted by relevance

12

/third_party/node/lib/internal/streams/
H A Dduplex.js36 module.exports = Duplex;
41 ObjectSetPrototypeOf(Duplex.prototype, Readable.prototype);
42 ObjectSetPrototypeOf(Duplex, Readable);
49 if (!Duplex.prototype[method])
50 Duplex.prototype[method] = Writable.prototype[method];
54 function Duplex(options) { function
55 if (!(this instanceof Duplex))
56 return new Duplex(options);
81 ObjectDefineProperties(Duplex.prototype, {
130 Duplex
[all...]
H A Dtransform.js75 const Duplex = require('internal/streams/duplex');
77 ObjectSetPrototypeOf(Transform.prototype, Duplex.prototype);
78 ObjectSetPrototypeOf(Transform, Duplex);
91 // A Duplex will buffer both on the writable and readable side while
106 Duplex.call(this, options);
H A Dcompose.js4 const Duplex = require('internal/streams/duplex');
30 return Duplex.from(streams[0]);
36 streams[0] = Duplex.from(streams[0]);
41 streams[idx] = Duplex.from(streams[idx]);
113 // Implement Writable/Readable/Duplex traits.
115 d = new Duplex({
H A Dpipeline.js16 const Duplex = require('internal/streams/duplex');
297 ret = Duplex.from(stream);
401 ret = Duplex.from(stream);
H A Dduplexify.js23 const Duplex = require('internal/streams/duplex');
39 class Duplexify extends Duplex {
269 // Implement Writable/Readable/Duplex traits.
/third_party/node/test/parallel/
H A Dtest-stream-duplex-from.js5 const { Duplex, Readable, Writable, pipeline, PassThrough } = require('stream');
10 const d = Duplex.from({
29 const d = Duplex.from(new Readable({
47 const d = Duplex.from(new Writable({
64 const d = Duplex.from({
83 const d = Duplex.from({
113 const d = Duplex.from(Promise.resolve('asd'));
128 Duplex.from(async function * (source) {
152 const duplex = new Duplex();
153 assert.strictEqual(Duplex
[all...]
H A Dtest-stream-inheritance.js4 const { Readable, Writable, Duplex, Transform } = require('stream');
8 const duplex = new Duplex({ read() {}, write() {} });
21 assert.ok(!(readable instanceof Duplex));
22 assert.ok(!(writable instanceof Duplex));
23 assert.ok(duplex instanceof Duplex);
24 assert.ok(transform instanceof Duplex);
H A Dtest-http-client-readable.js27 const Duplex = require('stream').Duplex;
31 const s = new Duplex();
H A Dtest-stream-pipe-cleanup.js51 function Duplex() { class
55 Object.setPrototypeOf(Duplex.prototype, Writable.prototype);
56 Object.setPrototypeOf(Duplex, Writable);
96 const d = new Duplex();
H A Dtest-repl-history-perm.js19 const Duplex = require('stream').Duplex;
23 const stream = new Duplex();
H A Dtest-http-parser-multiple-execute.js6 const { Duplex } = require('stream');
11 socket = new Duplex({
H A Dtest-readable-from-web-enqueue-then-close.js3 const { Readable, Duplex } = require('stream');
18 Duplex.fromWeb({
H A Dtest-repl-colors.js4 const { Duplex } = require('stream');
11 const inout = new Duplex({ decodeStrings: false });
H A Dtest-stream-wrap.js8 const { Duplex } = require('stream');
12 const stream = new Duplex({
H A Dtest-tls-handshake-exception.js21 const { Duplex } = require('stream');
35 const d = new class extends Duplex {
H A Dtest-stream-construct.js4 const { Writable, Readable, Duplex } = require('stream');
241 new Duplex({
250 const d = new Duplex({
H A Dtest-stream-finished.js9 Duplex,
441 const d = new Duplex({
457 const d = new Duplex({
488 class HelloWorld extends Duplex {
672 const stream = new Duplex({
H A Dtest-http2-https-fallback.js15 const { Duplex } = require('stream');
119 strictEqual(socket instanceof Duplex, true);
/third_party/node/benchmark/streams/
H A Ddestroy.js4 Duplex,
18 new Duplex({});
19 new Duplex();
23 new Duplex().destroy();
H A Dcreation.js4 Duplex,
18 new Duplex({});
19 new Duplex();
23 new Duplex();
/third_party/node/test/common/
H A Dduplexpair.js2 const { Duplex } = require('stream');
8 class DuplexSocket extends Duplex {
/third_party/node/lib/internal/tls/
H A Dsecure-pair.js5 const { Duplex } = require('stream');
17 class DuplexSocket extends Duplex {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp158 auto Duplex = HeadTail.first.split('\v'); variable
159 if (!Duplex.second.empty()) {
160 OS << Indent << Duplex.first << Separator;
161 InstTxt = Duplex.second;
163 InstTxt = Duplex.first;
/third_party/cups-filters/filter/
H A Dimagetopdf.c771 Duplex = h.Duplex; in main()
795 if ((val = cupsGetOption("Duplex",num_options,options)) != 0 && in main()
799 if (ppdFindOption(ppd,"Duplex") != NULL) { in main()
800 ppdMarkOption(ppd,"Duplex","True"); in main()
801 ppdMarkOption(ppd,"Duplex","On"); in main()
802 Duplex = 1; in main()
808 if (ppdFindOption(ppd,"Duplex") != NULL) { in main()
809 ppdMarkOption(ppd,"Duplex","True"); in main()
810 ppdMarkOption(ppd,"Duplex","O in main()
[all...]
H A Drastertopclx.c151 fprintf(stderr, "DEBUG: Duplex = %d\n", header->Duplex); in StartPage()
191 if (ppd && ppdIsMarked(ppd, "Duplex", "DuplexNoTumble")) in StartPage()
193 header->Duplex = CUPS_TRUE; in StartPage()
196 else if (ppd && ppdIsMarked(ppd, "Duplex", "DuplexTumble")) in StartPage()
198 header->Duplex = CUPS_TRUE; in StartPage()
486 if (ppd && ((attr = ppdFindAttr(ppd, "cupsPJL", "Duplex")) != NULL)) in StartPage()
488 sprintf(s, "%d", header->Duplex); in StartPage()
612 if (!header->Duplex || (Page & 1)) in StartPage()
621 if (!ppd || ppdFindAttr(ppd, "cupsPJL", "Duplex") in StartPage()
[all...]

Completed in 8 milliseconds

12