Lines Matching refs:result

350       // the result and reuse the buffer instead of allocating a new one.
593 const result = binding.open(pathModule.toNamespacedPath(path),
597 return result;
742 const result = binding.read(fd, buffer, offset, length, position,
745 return result;
800 const result = binding.readBuffers(fd, buffers, position, undefined, ctx);
802 return result;
897 let result;
918 result = binding.writeBuffer(fd, buffer, offset, length, position,
926 result = binding.writeString(fd, buffer, offset, length,
930 return result;
996 const result = binding.writeBuffers(fd, buffers, position, undefined, ctx);
999 return result;
1388 const result = binding.mkdir(pathModule.toNamespacedPath(path),
1393 return result;
1425 // Calling `readdir` with `withFileTypes=true`, the result is an array of arrays.
1428 // of the first array within the result.
1488 req.oncomplete = (err, result) => {
1493 getDirents(path, result, callback);
1522 const result = binding.readdir(pathModule.toNamespacedPath(path),
1526 return options.withFileTypes ? getDirents(path, result) : result;
1732 const result = binding.readlink(pathModule.toNamespacedPath(path),
1735 return result;
1851 const result = binding.link(pathModule.toNamespacedPath(existingPath),
1855 return result;
2542 function encodeRealpathResult(result, options) {
2544 return result;
2545 const asBuffer = Buffer.from(result);
2622 const result = nextPart(p, pos);
2624 if (result === -1) {
2630 current += StringPrototypeSlice(p, pos, result + 1);
2631 base = previous + StringPrototypeSlice(p, pos, result);
2632 pos = result + 1;
2718 const result = binding.realpath(pathModule.toNamespacedPath(path), options.encoding, undefined, ctx);
2720 return result;
2780 const result = nextPart(p, pos);
2782 if (result === -1) {
2788 current += StringPrototypeSlice(p, pos, result + 1);
2789 base = previous + StringPrototypeSlice(p, pos, result);
2790 pos = result + 1;
2930 const result = binding.mkdtemp(path, options.encoding,
2933 return result;