Home
last modified time | relevance | path

Searched refs:writeStream (Results 1 – 25 of 45) sorted by relevance

12

/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/
Dindex.js72 function handleOpen (writeStream) { argument
74 writeStream.emit('open', fd)
78 function handleClose (writeStream) { argument
80 if (writeStream.__atomicClosed) return
81 writeStream.__atomicClosed = true
82 if (writeStream.__atomicChown) {
83 var uid = writeStream.__atomicChown.uid
84 var gid = writeStream.__atomicChown.gid
85 return fs.chown(writeStream.__atomicTmp, uid, gid, iferr(cleanup, moveIntoPlace))
92 fs.rename(writeStream.__atomicTmp, writeStream.__atomicTarget, iferr(trapWindowsEPERM, end))
[all …]
/third_party/node/test/pseudo-tty/
Dtest-tty-color-support.js9 const writeStream = new WriteStream(fd); constant
12 const depth = writeStream.getColorDepth();
16 const support = writeStream.hasColors();
23 () => writeStream.hasColors(input),
30 () => writeStream.hasColors(input),
76 const actual = writeStream.getColorDepth(env);
84 assert(writeStream.hasColors(colors, env));
85 assert(!writeStream.hasColors(colors + 1, env));
86 assert(depth >= 4 ? writeStream.hasColors(env) : !writeStream.hasColors(env));
95 assert.strictEqual(writeStream.getColorDepth({}), depth1);
[all …]
/third_party/node/test/parallel/
Dtest-tty-backwards-api.js35 const writeStream = new WriteStream(1); constant
39 assert.strictEqual(writeStream.cursorTo(1, 2), true);
40 assert.strictEqual(writeStream.cursorTo(1, 2, common.mustCall()), true);
41 assert.strictEqual(writeStream.moveCursor(1, 2), true);
42 assert.strictEqual(writeStream.moveCursor(1, 2, common.mustCall()), true);
43 assert.strictEqual(writeStream.clearLine(1), true);
44 assert.strictEqual(writeStream.clearLine(1, common.mustCall()), true);
45 assert.strictEqual(writeStream.clearScreenDown(), true);
46 assert.strictEqual(writeStream.clearScreenDown(common.mustCall()), true);
Dtest-fs-ready-event-stream.js16 const writeStream = fs.createWriteStream(writeFile, { autoClose: true }); constant
17 assert.strictEqual(writeStream.pending, true);
18 writeStream.on('ready', common.mustCall(() => {
19 assert.strictEqual(writeStream.pending, false);
20 writeStream.end();
/third_party/node/doc/api/
Dtty.md96 The `'resize'` event is emitted whenever either of the `writeStream.columns`
97 or `writeStream.rows` properties have changed. No arguments are passed to the
107 ### `writeStream.clearLine(dir[, callback])`
125 `writeStream.clearLine()` clears the current line of this `WriteStream` in a
128 ### `writeStream.clearScreenDown([callback])`
142 `writeStream.clearScreenDown()` clears this `WriteStream` from the current
145 ### `writeStream.columns`
153 ### `writeStream.cursorTo(x[, y][, callback])`
169 `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified
172 ### `writeStream.getColorDepth([env])`
[all …]
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/test/
Dchown.js6 var writeStream = require('../index.js') variable
12 var stream = writeStream(target, {chown: {uid: process.getuid(), gid: process.getgid()}})
29 var stream = writeStream(target, {chown: {uid: process.getuid(), gid: process.getgid()}})
Drename-eperm.js6 var writeStream = require('../index.js') variable
31 var stream = writeStream(target, { isWin: true })
81 var stream = writeStream(target2, { isWin: true })
132 var stream = writeStream(target3, { isWin: true })
Dtoolong.js3 var writeStream = require('../index.js') variable
17 var stream = writeStream(target)
Drename-fail.js6 var writeStream = require('../index.js') variable
15 var stream = writeStream(target)
Dslow-close.js6 var writeStream = require('../index.js') variable
27 var stream = writeStream(target)
Dbasic.js4 var writeStream = require('../index.js') variable
27 var s = writeStream(target)
/third_party/node/deps/npm/node_modules/fs-minipass/
DREADME.md35 const writeStream = new fsm.WriteStream('output.txt')
36 writeStream.write('some file header or whatever\n')
37 readStream.pipe(writeStream)
/third_party/flutter/skia/src/pdf/
DSkPDFDocumentPriv.h82 void emitStream(const SkPDFDict& dict, T writeStream, SkPDFIndirectReference ref) { in emitStream() argument
87 writeStream(stream); in emitStream()
DSkPDFBitmap.cpp71 T writeStream, in emit_image_stream() argument
98 doc->emitStream(pdfDict, std::move(writeStream), ref); in emit_image_stream()
/third_party/skia/src/pdf/
DSkPDFDocumentPriv.h103 void emitStream(const SkPDFDict& dict, T writeStream, SkPDFIndirectReference ref) { in emitStream() argument
108 writeStream(stream); in emitStream()
DSkPDFBitmap.cpp72 T writeStream, in emit_image_stream() argument
99 doc->emitStream(pdfDict, std::move(writeStream), ref); in emit_image_stream()
/third_party/flutter/skia/src/core/
DSkWriteBuffer.h57 virtual size_t writeStream(SkStream* stream, size_t length) = 0;
118 size_t writeStream(SkStream* stream, size_t length) override;
DSkFontDescriptor.cpp144 stream->writeStream(fontStream.get(), length); in serialize()
/third_party/skia/src/core/
DSkWriteBuffer.h64 virtual size_t writeStream(SkStream* stream, size_t length) = 0;
126 size_t writeStream(SkStream* stream, size_t length) override;
DSkFontDescriptor.cpp141 stream->writeStream(fontStream.get(), length); in serialize()
/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dwrite.js46 module.exports.stream = writeStream
47 function writeStream (cache, opts) { function
/third_party/node/deps/npm/node_modules/core-util-is/
Dfloat.patch556 -exports.pump = exports.deprecate(function(readStream, writeStream, callback) {
567 - if (writeStream.write(chunk) === false) readStream.pause();
570 - writeStream.addListener('drain', function() {
575 - writeStream.end();
583 - writeStream.end();
587 - writeStream.addListener('error', function(err) {
/third_party/skia/tools/debugger/
DJsonWriteBuffer.h46 size_t writeStream(SkStream* stream, size_t length) override;
/third_party/flutter/skia/tools/debugger/
DJsonWriteBuffer.h45 size_t writeStream(SkStream* stream, size_t length) override;
/third_party/skia/tools/
Dget_images_from_skps.cpp227 stream.writeStream(jsonStream.get(), jsonStream->getLength()); in main()

12