Lines Matching refs:cb
65 function maybeCallback(cb) { argument
66 return typeof cb === 'function' ? cb : rethrow();
183 exports.realpath = function realpath(p, cache, cb) { argument
184 if (typeof cb !== 'function') {
185 cb = maybeCallback(cache);
193 return process.nextTick(cb.bind(null, null, cache[p]));
222 if (err) return cb(err);
237 return cb(null, p);
262 if (err) return cb(err);
281 if (err) return cb(err);
291 if (err) return cb(err);