Home
last modified time | relevance | path

Searched refs:isAbsolute (Results 1 – 25 of 63) sorted by relevance

123

/third_party/node/test/parallel/
Dtest-path-isabsolute.js6 assert.strictEqual(path.win32.isAbsolute('/'), true);
7 assert.strictEqual(path.win32.isAbsolute('//'), true);
8 assert.strictEqual(path.win32.isAbsolute('//server'), true);
9 assert.strictEqual(path.win32.isAbsolute('//server/file'), true);
10 assert.strictEqual(path.win32.isAbsolute('\\\\server\\file'), true);
11 assert.strictEqual(path.win32.isAbsolute('\\\\server'), true);
12 assert.strictEqual(path.win32.isAbsolute('\\\\'), true);
13 assert.strictEqual(path.win32.isAbsolute('c'), false);
14 assert.strictEqual(path.win32.isAbsolute('c:'), false);
15 assert.strictEqual(path.win32.isAbsolute('c:\\'), true);
[all …]
Dtest-path-zero-length-strings.js28 assert.strictEqual(path.posix.isAbsolute(''), false);
29 assert.strictEqual(path.win32.isAbsolute(''), false);
Dtest-path.js43 fail(namespace.isAbsolute, test);
Dtest-fs-whatwg-url.js11 if (!path.isAbsolute(p))
/third_party/node/lib/
Dpath.js191 let isAbsolute = false;
199 isAbsolute = true;
206 isAbsolute = true;
253 isAbsolute = true;
275 resolvedAbsolute = isAbsolute;
276 if (isAbsolute && resolvedDevice.length > 0) {
306 let isAbsolute = false;
320 isAbsolute = true;
373 isAbsolute = true;
380 !isAbsolute, '\\', isPathSeparator) :
[all …]
/third_party/node/deps/npm/node_modules/tar/lib/
Dstrip-absolute-path.js2 const { isAbsolute, parse } = require('path').win32
14 while (isAbsolute(path) || parsed.root) {
/third_party/node/doc/api/
Dpath.md265 ## `path.isAbsolute(path)`
273 The `path.isAbsolute()` method determines if `path` is an absolute path.
280 path.isAbsolute('/foo/bar'); // true
281 path.isAbsolute('/baz/..'); // true
282 path.isAbsolute('qux/'); // false
283 path.isAbsolute('.'); // false
289 path.isAbsolute('//server'); // true
290 path.isAbsolute('\\\\server'); // true
291 path.isAbsolute('C:/foo/..'); // true
292 path.isAbsolute('C:\\foo\\..'); // true
[all …]
/third_party/node/deps/npm/node_modules/glob/
Dsync.js12 var isAbsolute = require('path-is-absolute') variable
115 else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
116 if (!prefix || !isAbsolute(prefix))
399 if (prefix && isAbsolute(prefix) && !this.nomount) {
Dglob.js51 var isAbsolute = require('path-is-absolute') variable
348 else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
349 if (!prefix || !isAbsolute(prefix))
466 var abs = isAbsolute(e) ? e : this._makeAbs(e)
690 if (prefix && isAbsolute(prefix) && !this.nomount) {
/third_party/node/deps/npm/node_modules/path-is-absolute/
Dreadme.md3 > Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) [po…
44 See the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isabsolute_path).
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.cpp63 if (!Value.isAbsolute()) in evaluateAsConstant()
106 if (Value.isAbsolute()) { in evaluateAsRelocatableImpl()
DPPCMachObjectWriter.cpp87 Target.isAbsolute() ? MCSymbolRefExpr::VK_None in getRelocType()
333 if (Target.isAbsolute()) { // constant in RecordPPCRelocation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h126 bool isAbsolute() const { return static_cast<bool>(IsAbsolute); } in isAbsolute() function
421 return !Base->isDefined() && !Base->isAbsolute(); in isExternal()
425 bool isAbsolute() const { in isAbsolute() function
427 return !Base->isDefined() && Base->isAbsolute(); in isAbsolute()
480 assert((L == Linkage::Strong || (!Base->isAbsolute() && !Name.empty())) && in setLinkage()
490 assert((S == Scope::Default || Base->isDefined() || Base->isAbsolute()) && in setScope()
948 if (Sym.getAddressable().isAbsolute()) { in makeExternal()
963 assert(!Sym.isDefined() && !Sym.isAbsolute() && in removeExternalSymbol()
974 assert(!Sym.isDefined() && Sym.isAbsolute() && in removeAbsoluteSymbol()
/third_party/node/benchmark/path/
DisAbsolute-posix.js19 posix.isAbsolute(i % 3 === 0 ? `${path}${i}` : path);
DisAbsolute-win32.js20 win32.isAbsolute(i % 3 === 0 ? `${path}${i}` : path);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCExpr.cpp63 if (Value.isAbsolute()) { in evaluateAsConstant()
80 if (Value.isAbsolute()) { in evaluateAsRelocatableImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCValue.cpp19 if (isAbsolute()) { in print()
DMCExpr.cpp507 return IsRelocatable && Value.isAbsolute(); in evaluateAsAbsolute()
756 if (!Value.isAbsolute()) in evaluateAsRelocatableImpl()
770 if (!Value.isAbsolute()) in evaluateAsRelocatableImpl()
808 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
/third_party/typescript/src/testRunner/
DprojectsRunner.ts211 vpath.isAbsolute(input) ? vpath.relative(cwd, input, ignoreCase) :
216 ….map(output => Utils.removeTestPathPrefixes(vpath.isAbsolute(output) ? vpath.relative(cwd, output,…
237 …const diskFileName = vpath.isAbsolute(fileName) ? fileName : vpath.resolve(this.vfs.cwd(), fileNam…
241 … if (vpath.isAbsolute(diskRelativeName) || diskRelativeName.startsWith("../")) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSymbol.h246 return isDefined() && !isAbsolute(); in isInSection()
255 bool isAbsolute() const { in isAbsolute() function
DMCValue.h52 bool isAbsolute() const { return !SymA && !SymB; } in isAbsolute() function
/third_party/node/lib/internal/modules/
Drun_main.js50 const main = path.isAbsolute(mainPath) ?
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMWinCOFFObjectWriter.cpp54 Target.isAbsolute() ? MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); in getRelocType()
/third_party/typescript_eslint/packages/typescript-estree/src/create-program/
Dshared.ts58 return path.isAbsolute(p)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFObjectWriter.cpp54 MCSymbolRefExpr::VariantKind Modifier = Target.isAbsolute() ? in getRelocType()

123