Home
last modified time | relevance | path

Searched refs:isWindows (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/third_party/node/deps/npm/node_modules/osenv/
Dosenv.js1 var isWindows = process.platform === 'win32' variable
35 return ( isWindows
42 return isWindows ? process.env.PROMPT : process.env.PS1
46 return isWindows ? process.env.COMPUTERNAME : process.env.HOSTNAME
60 process.env.path).split(isWindows ? ';' : ':')
66 (isWindows ? 'notepad.exe' : 'vi')
70 return isWindows ? process.env.ComSpec || 'cmd'
/third_party/node/deps/npm/node_modules/fs.realpath/
Dold.js23 var isWindows = process.platform === 'win32'; variable
73 if (isWindows) {
80 if (isWindows) {
118 if (isWindows && !knownHard[base]) {
156 if (!isWindows) {
169 if (!isWindows) seenLinks[id] = linkTarget;
220 if (isWindows && !knownHard[base]) {
274 if (!isWindows) {
284 if (!isWindows) seenLinks[id] = target;
/third_party/node/test/parallel/
Dtest-ttywrap-invalid-fd.js24 code: common.isWindows ? 'EBADF' : 'EINVAL',
25 message: common.isWindows ? 'bad file descriptor' : 'invalid argument',
26 errno: common.isWindows ? UV_EBADF : UV_EINVAL,
30 const suffix = common.isWindows ?
Dtest-path-resolve.js46 if (resolve === path.win32.resolve && !common.isWindows)
48 else if (resolve !== path.win32.resolve && common.isWindows)
60 if (common.isWindows) {
71 if (!common.isWindows) {
Dtest-child-process-uid-gid.js5 const expectedError = common.isWindows ? /\bENOTSUP\b/ : /\bEPERM\b/;
10 if (common.isWindows || process.getuid() !== 0) {
16 if (common.isWindows || !process.getgroups().some((gid) => gid === 0)) {
Dtest-net-server-listen-handle.js56 if (!common.isWindows) { // `fd` doesn't work on Windows.
84 if (!common.isWindows) { // Windows doesn't support {fd: <n>}
112 if (!common.isWindows) { // Windows doesn't support {fd: <n>}
122 if (!common.isWindows) { // Windows doesn't support {fd: <n>}
147 if (!common.isWindows) { // Windows doesn't support {fd: <n>}
Dtest-fs-chmod.js66 if (common.isWindows) {
84 if (common.isWindows) {
91 if (common.isWindows) {
100 if (common.isWindows) {
117 if (common.isWindows) {
Dtest-url-fileurltopath.js2 const { isWindows } = require('../common');
25 if (isWindows) {
35 if (isWindows) {
54 if (isWindows) {
Dtest-url-pathtofileurl.js2 const { isWindows } = require('../common');
15 if (isWindows)
27 if (isWindows) {
48 if (isWindows) {
Dtest-debugger-pid.js39 if (!common.isWindows) {
46 if (!common.isWindows)
53 if (!common.isWindows) {
Dtest-dgram-socket-buffer-size.js16 const code = common.isWindows ? 'ENOTSOCK' : 'EBADF';
17 const message = common.isWindows ?
19 const errno = common.isWindows ? UV_ENOTSOCK : UV_EBADF;
21 const suffix = common.isWindows ?
Dtest-fs-mkdir-recursive-eaccess.js9 if (!common.isWindows && process.getuid() === 0)
27 if (common.isWindows) {
38 if (common.isWindows) {
Dtest-dgram-exclusive-implicit-bind.js61 if (common.isWindows && messages === 2) {
66 if (!common.isWindows && messages === 4) {
75 if (!common.isWindows) {
/third_party/node/deps/npm/node_modules/os-tmpdir/
Dindex.js2 var isWindows = process.platform === 'win32'; variable
3 var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
9 if (isWindows) {
/third_party/node/benchmark/child_process/
Dchild-process-exec-stdout.js4 const isWindows = process.platform === 'win32'; constant
8 if (!isWindows) messagesLength.push(32768);
29 if (isWindows) {
/third_party/node/deps/npm/node_modules/which/
Dwhich.js4 var isWindows = process.platform === 'win32' || variable
9 var COLON = isWindows ? ';' : ':'
27 if (isWindows) {
41 if (cmd.match(/\//) || isWindows && cmd.match(/\\/))
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DPlatformApis.cs46 static readonly bool isWindows; field in Grpc.Core.Internal.PlatformApis
60 isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows); in PlatformApis()
74isWindows = (platform == PlatformID.Win32NT || platform == PlatformID.Win32S || platform == Platfo… in PlatformApis()
93 public static bool IsWindows => isWindows;
/third_party/flutter/flutter/packages/flutter_tools/lib/src/windows/
Dwindows_workflow.dart21 bool get appliesToHostPlatform => platform.isWindows && featureFlags.isWindowsEnabled;
24 bool get canLaunchDevices => platform.isWindows && featureFlags.isWindowsEnabled;
27 bool get canListDevices => platform.isWindows && featureFlags.isWindowsEnabled;
/third_party/node/lib/internal/fs/
Drimraf.js36 const isWindows = process.platform === 'win32'; constant
37 const epermHandler = isWindows ? fixWinEPERM : _rmdir;
38 const epermHandlerSync = isWindows ? fixWinEPERMSync : _rmdirSync;
73 if (isWindows && err.code === 'EPERM')
185 if (isWindows && err.code === 'EPERM')
/third_party/node/deps/npm/lib/utils/
Dis-windows-shell.js2 var isWindows = require('./is-windows.js') variable
4 module.exports = isWindows && !isWindowsBash
Dis-windows-bash.js2 var isWindows = require('./is-windows.js') variable
3 module.exports = isWindows &&
Descape-arg.js3 var isWindows = require('./is-windows.js') variable
18 if (isWindows) {
/third_party/node/test/tick-processor/
Dutil.js5 isWindows,
13 isCPPSymbolsNotMapped: isWindows ||
/third_party/node/deps/npm/node_modules/rimraf/
Drimraf.js23 var isWindows = (process.platform === "win32") variable
148 if (er && er.code === "EPERM" && isWindows)
159 return (isWindows)
305 if (er.code === "EPERM" && isWindows)
319 return isWindows ? fixWinEPERMSync(p, options, er) : rmdirSync(p, options, er)
359 var retries = isWindows ? 100 : 1
/third_party/node/deps/npm/lib/install/
Dis-fs-access-available.js4 var isWindows = process.platform === 'win32' variable
9 } else if (!isWindows) {

12345678910>>...13