/third_party/node/lib/internal/streams/ |
H A D | duplex.js | 36 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 D | transform.js | 75 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 D | compose.js | 4 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 D | pipeline.js | 16 const Duplex = require('internal/streams/duplex'); 297 ret = Duplex.from(stream); 401 ret = Duplex.from(stream);
|
H A D | duplexify.js | 23 const Duplex = require('internal/streams/duplex'); 39 class Duplexify extends Duplex { 269 // Implement Writable/Readable/Duplex traits.
|
/third_party/node/test/parallel/ |
H A D | test-stream-duplex-from.js | 5 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 D | test-stream-inheritance.js | 4 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 D | test-http-client-readable.js | 27 const Duplex = require('stream').Duplex; 31 const s = new Duplex();
|
H A D | test-stream-pipe-cleanup.js | 51 function Duplex() { class 55 Object.setPrototypeOf(Duplex.prototype, Writable.prototype); 56 Object.setPrototypeOf(Duplex, Writable); 96 const d = new Duplex();
|
H A D | test-repl-history-perm.js | 19 const Duplex = require('stream').Duplex; 23 const stream = new Duplex();
|
H A D | test-http-parser-multiple-execute.js | 6 const { Duplex } = require('stream'); 11 socket = new Duplex({
|
H A D | test-readable-from-web-enqueue-then-close.js | 3 const { Readable, Duplex } = require('stream'); 18 Duplex.fromWeb({
|
H A D | test-repl-colors.js | 4 const { Duplex } = require('stream'); 11 const inout = new Duplex({ decodeStrings: false });
|
H A D | test-stream-wrap.js | 8 const { Duplex } = require('stream'); 12 const stream = new Duplex({
|
H A D | test-tls-handshake-exception.js | 21 const { Duplex } = require('stream'); 35 const d = new class extends Duplex {
|
H A D | test-stream-construct.js | 4 const { Writable, Readable, Duplex } = require('stream'); 241 new Duplex({ 250 const d = new Duplex({
|
H A D | test-stream-finished.js | 9 Duplex, 441 const d = new Duplex({ 457 const d = new Duplex({ 488 class HelloWorld extends Duplex { 672 const stream = new Duplex({
|
H A D | test-http2-https-fallback.js | 15 const { Duplex } = require('stream'); 119 strictEqual(socket instanceof Duplex, true);
|
/third_party/node/benchmark/streams/ |
H A D | destroy.js | 4 Duplex, 18 new Duplex({}); 19 new Duplex(); 23 new Duplex().destroy();
|
H A D | creation.js | 4 Duplex, 18 new Duplex({}); 19 new Duplex(); 23 new Duplex();
|
/third_party/node/test/common/ |
H A D | duplexpair.js | 2 const { Duplex } = require('stream'); 8 class DuplexSocket extends Duplex {
|
/third_party/node/lib/internal/tls/ |
H A D | secure-pair.js | 5 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 D | HexagonMCTargetDesc.cpp | 158 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 D | imagetopdf.c | 771 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 D | rastertopclx.c | 151 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...] |