Lines Matching +defs:c +defs:common +defs:init
4 const common = require('../common'); constant
36 checkInvocations(tcpserver, { init: 1 }, 'when calling server.listen'); property
57 checkInvocations(tcpserver, { init: 1 }, property
59 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client is connecting'); property
105 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client connects'); property
108 function onconnection(c) { argument
121 checkInvocations(tcpserver, { init: 1, before: 1 }, property
123 checkInvocations(tcp1, { init: 1 }, 'tcp1 when server receives connection'); property
124 checkInvocations(tcp2, { init: 1 }, 'tcp2 when server receives connection'); property
131 checkInvocations(tcpserver, { init: 1, before: 1, after: 1, destroy: 1 }, property
134 checkInvocations(tcp1, { init: 1, before: 2, after: 2, destroy: 1 }, property
137 checkInvocations(tcp2, { init: 1, before: 1, after: 1 }, property
141 checkInvocations(tcp2, { init: 1, before: 2, after: 2, destroy: 1 }, property
143 checkInvocations(tcpconnect, { init: 1, before: 1, after: 1, destroy: 1 }, property
154 checkInvocations(tcpserver, { init: 1, before: 1, after: 1, destroy: 1 }, property
157 tcp1, { init: 1, before: 2, after: 2, destroy: 1 }, property
160 tcp2, { init: 1, before: 2, after: 2, destroy: 1 }, property
163 tcpconnect, { init: 1, before: 1, after: 1, destroy: 1 }, property