Home
last modified time | relevance | path

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

1234

/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);
/third_party/node/deps/npm/node_modules/glob/dist/cjs/src/
Dpattern.js22 #isAbsolute; field in Pattern
67 else if (this.isDrive() || this.isAbsolute()) {
114 ? this.isAbsolute()
134 this.#rest.#isAbsolute = this.#isAbsolute;
181 isAbsolute() { method in Pattern
183 return this.#isAbsolute !== undefined
184 ? this.#isAbsolute
185 : (this.#isAbsolute =
195 return typeof p === 'string' && this.isAbsolute() && this.#index === 0
Dpattern.js.map1isAbsolute?: boolean\n #followGlobstar: boolean = true\n\n constructor(\n patternList: MMPatt…
Dpattern.d.ts62 isAbsolute(): boolean;
/third_party/node/deps/npm/node_modules/glob/dist/mjs/
Dpattern.js19 #isAbsolute; field in Pattern
64 else if (this.isDrive() || this.isAbsolute()) {
111 ? this.isAbsolute()
131 this.#rest.#isAbsolute = this.#isAbsolute;
178 isAbsolute() { method in Pattern
180 return this.#isAbsolute !== undefined
181 ? this.#isAbsolute
182 : (this.#isAbsolute =
192 return typeof p === 'string' && this.isAbsolute() && this.#index === 0
Dpattern.js.map1isAbsolute?: boolean\n #followGlobstar: boolean = true\n\n constructor(\n patternList: MMPatt…
Dpattern.d.ts62 isAbsolute(): boolean;
/third_party/node/lib/
Dpath.js196 let isAbsolute = false;
204 isAbsolute = true;
211 isAbsolute = true;
258 isAbsolute = true;
280 resolvedAbsolute = isAbsolute;
281 if (isAbsolute && resolvedDevice.length > 0) {
311 let isAbsolute = false;
325 isAbsolute = true;
378 isAbsolute = true;
385 !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.md270 ## `path.isAbsolute(path)`
279 The `path.isAbsolute()` method determines if `path` is an absolute path.
286 path.isAbsolute('/foo/bar'); // true
287 path.isAbsolute('/baz/..'); // true
288 path.isAbsolute('qux/'); // false
289 path.isAbsolute('.'); // false
295 path.isAbsolute('//server'); // true
296 path.isAbsolute('\\\\server'); // true
297 path.isAbsolute('C:/foo/..'); // true
298 path.isAbsolute('C:\\foo\\..'); // true
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/node_modules/glob/
Dsync.js11 var isAbsolute = require('path-is-absolute') variable
112 else if (isAbsolute(prefix) ||
113 isAbsolute(pattern.map(function (p) {
116 if (!prefix || !isAbsolute(prefix))
399 if (prefix && isAbsolute(prefix) && !this.nomount) {
Dglob.js50 var isAbsolute = require('path-is-absolute') variable
345 else if (isAbsolute(prefix) ||
346 isAbsolute(pattern.map(function (p) {
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/rimraf/node_modules/glob/
Dsync.js11 var isAbsolute = require('path-is-absolute') variable
112 else if (isAbsolute(prefix) ||
113 isAbsolute(pattern.map(function (p) {
116 if (!prefix || !isAbsolute(prefix))
399 if (prefix && isAbsolute(prefix) && !this.nomount) {
Dglob.js50 var isAbsolute = require('path-is-absolute') variable
345 else if (isAbsolute(prefix) ||
346 isAbsolute(pattern.map(function (p) {
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/@npmcli/fs/lib/
Dmove-file.js1 const { dirname, join, resolve, relative, isAbsolute } = require('path')
54 if (isAbsolute(target)) {
/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()
/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/lib/internal/fs/cp/
Dcp-sync.js44 isAbsolute,
293 if (!opts.verbatimSymlinks && !isAbsolute(resolvedSrc)) {
311 if (!isAbsolute(resolvedDest)) {
Dcp.js51 isAbsolute,
327 if (!opts.verbatimSymlinks && !isAbsolute(resolvedSrc)) {
345 if (!isAbsolute(resolvedDest)) {
/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/node/benchmark/path/
DisAbsolute-win32.js20 win32.isAbsolute(i % 3 === 0 ? `${path}${i}` : path);
DisAbsolute-posix.js19 posix.isAbsolute(i % 3 === 0 ? `${path}${i}` : path);
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/
Dpolyfill.js51 isAbsolute,
376 if (!isAbsolute(resolvedSrc)) {
396 if (!isAbsolute(resolvedDest)) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCValue.cpp19 if (isAbsolute()) { in print()

1234