Lines Matching refs:base
2601 let base;
2606 current = base = splitRoot(p);
2611 const ctx = { path: base };
2612 binding.lstat(pathModule.toNamespacedPath(base), false, undefined, ctx);
2614 knownHard.add(base);
2627 base = previous + last;
2631 base = previous + StringPrototypeSlice(p, pos, result);
2636 if (knownHard.has(base) || cache?.get(base) === base) {
2645 const maybeCachedResolved = cache?.get(base);
2652 const baseLong = pathModule.toNamespacedPath(base);
2653 const ctx = { path: base };
2658 knownHard.add(base);
2659 cache?.set(base, base);
2676 const ctx = { path: base };
2684 cache?.set(base, resolvedLink);
2692 current = base = splitRoot(p);
2696 if (isWindows && !knownHard.has(base)) {
2697 const ctx = { path: base };
2698 binding.lstat(pathModule.toNamespacedPath(base), false, undefined, ctx);
2700 knownHard.add(base);
2753 let base;
2757 current = base = splitRoot(p);
2761 if (isWindows && !knownHard.has(base)) {
2762 fs.lstat(base, (err, stats) => {
2764 knownHard.add(base);
2785 base = previous + last;
2789 base = previous + StringPrototypeSlice(p, pos, result);
2794 if (knownHard.has(base)) {
2802 return fs.lstat(base, { bigint: true }, gotStat);
2810 knownHard.add(base);
2826 fs.stat(base, (err) => {
2829 fs.readlink(base, (err, target) => {
2845 current = base = splitRoot(p);
2849 if (isWindows && !knownHard.has(base)) {
2850 fs.lstat(base, (err) => {
2852 knownHard.add(base);