Lines Matching refs:on
17 file.on('open', common.mustCall(function(fd) {
29 file.on('data', common.mustCallAtLeast(function(data) {
44 file.on('end', common.mustCall());
47 file.on('close', common.mustCall(function() {
55 file.on('data', function(data) {
65 file.on('close', common.mustCall(function() {
76 file.on('data', function(data) {
79 file.on('end', common.mustCall(function() {
89 file.on('data', function(data) {
92 file.on('end', common.mustCall(function() {
103 file.on('data', function(data) {
106 file.on('end', common.mustCall(function() {
134 stream.on('data', function(chunk) {
138 stream.on('end', common.mustCall(function() {
155 file.on('data', (chunk) => { data += chunk; });
156 file.on('end', common.mustCall(function() {
169 file.on('data', function(data) {
172 file.on('end', common.mustCall(function() {
176 process.on('exit', function() {
186 file.on('data', common.mustNotCall());
187 file.on('error', common.mustCall());
188 process.on('exit', function() {
198 file.on('data', common.mustNotCall());
199 file.on('error', common.mustCall());
201 process.on('exit', function() {