Lines Matching defs:open
20 ReadStream.prototype.open = common.mustCall(function() {
21 fs.open(this.path, this.flags, this.mode, (er, fd) => {
31 this.emit('open', fd);
41 // Make sure 'ready' is emitted in same tick as 'open'.
45 .on('open', common.mustCall((fd) => {
64 WriteStream.prototype.open = common.mustCall(function() {
65 fs.open(this.path, this.flags, this.mode, (er, fd) => {
75 this.emit('open', fd);
85 // Make sure 'ready' is emitted in same tick as 'open'.
89 .on('open', common.mustCall((fd) => {