Lines Matching refs:common
3 const common = require('../common');
10 construct: common.mustCall((callback) => {
14 }).on('error', common.expectsError({
23 construct: common.mustCall((callback) => {
27 }).on('error', common.expectsError({
37 construct: common.mustCall((callback) => {
40 }).on('error', common.expectsError({
50 construct: common.mustCall((callback) => {
53 }).on('error', common.expectsError({
63 construct: common.mustCall((callback) => {
66 }).on('error', common.expectsError({
76 construct: common.mustCall((callback) => {
79 }).on('error', common.expectsError({
89 construct: common.mustCall((cb) => {
94 s.on('close', common.mustCall(() => {
103 construct: common.mustCall((cb) => {
108 s.on('close', common.mustCall(() => {
119 construct: common.mustCall((cb) => {
124 s.on('close', common.mustCall(() => {
134 construct: common.mustCall((cb) => {
139 s.on('close', common.mustCall(() => {
142 s.on('error', common.mustCall((err) => {
154 construct: common.mustCall((cb) => {
159 s.on('error', common.mustCall(() => {
162 s.on('close', common.mustCall(() => {
169 read: common.mustNotCall(),
173 write: common.mustNotCall(),
174 final: common.mustNotCall(),
182 construct: common.mustCall((cb) => {
186 read: common.mustCall(() => {
191 r.on('close', common.mustCall(() => {
194 r.on('data', common.mustNotCall());
201 construct: common.mustCall((cb) => {
205 write: common.mustCall((chunk, encoding, cb) => {
209 final: common.mustCall((cb) => {
214 w.on('close', common.mustCall(() => {
224 construct: common.mustCall((cb) => {
228 write: common.mustNotCall(),
229 final: common.mustCall((cb) => {
234 w.on('close', common.mustCall(() => {
242 construct: common.mustCall()
252 construct: common.mustCall((callback) => {
253 setImmediate(common.mustCall(() => {
267 d.on('close', common.mustCall(() => {
275 construct: common.mustCall((callback) => {
278 read: common.mustNotCall()