/third_party/node/test/parallel/ |
D | test-path-extname.js | 55 [path.posix.extname, path.win32.extname].forEach((extname) => { 58 if (extname === path.win32.extname) { 64 const actual = extname(input); 72 const actual = path.win32.extname(input); 82 assert.strictEqual(path.win32.extname('.\\'), ''); 83 assert.strictEqual(path.win32.extname('..\\'), ''); 84 assert.strictEqual(path.win32.extname('file.ext\\'), '.ext'); 85 assert.strictEqual(path.win32.extname('file.ext\\\\'), '.ext'); 86 assert.strictEqual(path.win32.extname('file\\'), ''); 87 assert.strictEqual(path.win32.extname('file\\\\'), ''); [all …]
|
D | test-path.js | 49 fail(namespace.extname, test);
|
/third_party/node/test/es-module/ |
D | test-esm-url-extname.js | 6 const { extname } = require('node:internal/modules/esm/get_format'); 26 assert.strictEqual(extname(inputAsURL), path.extname(inputAsPath));
|
/third_party/typescript/src/harness/ |
D | vpathUtil.ts | 20 export import extname = ts.getAnyExtensionFromPath; 115 return extname(path, ".map", /*ignoreCase*/ false).length > 0; 121 return extname(path, javaScriptSourceMapExtensions, /*ignoreCase*/ false).length > 0; 125 …return extname(path, ".json", /*ignoreCase*/ false).length > 0 || extname(path, ".json5", /*ignore…
|
D | compilerImpl.ts | 121 … const extname = ts.getOutputExtension(sourceFile.fileName, this.options); constant 124 js: js.get(this.getOutputPath(sourceFile.fileName, extname)), 126 … map: maps.get(this.getOutputPath(sourceFile.fileName, extname + ".map"))
|
/third_party/node/deps/npm/test/bin/ |
D | windows-shims.js | 3 const { resolve, join, extname, basename, sep } = require('path') 11 if (extname(p) !== '.js' && !statSync(p).isDirectory()) { 21 const SHIM_EXTS = [...new Set(Object.keys(SHIMS).map(p => extname(p)))]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
D | extensionmetadocgenerator.py | 420 def checkProposal(extname): argument 424 path = 'proposals/{}.adoc'.format(extname) 559 def makeExtensionInclude(self, extname): argument 560 return self.conventions.extension_include_string(extname) 566 for (extname, ext) in self.extensions.items(): 571 self.extensions[promotedTo].promotedFrom.add(extname) 584 def makeSortKey(extname): argument 585 name = extname.lower() 588 if extname.startswith(prefix): 601 for extname in sorted(extensions, key=makeSortKey): [all …]
|
D | docgenerator.py | 423 extname = elem.get('extname') 425 added_by_extension_to_core = (extname is not None and self.in_core) 446 self.conventions.formatExtension(extname))
|
/third_party/node/lib/internal/modules/esm/ |
D | get_format.js | 63 function extname(url) { function 96 const ext = extname(url); 189 extname, property
|
D | translators.js | 33 const { extname, isAbsolute } = require('path'); 279 const ext = extname(resolved);
|
/third_party/node/deps/npm/node_modules/libnpmdiff/lib/ |
D | should-print-patch.js | 1 const { basename, extname } = require('path') 16 : extname(filename)
|
/third_party/node/deps/npm/node_modules/bin-links/lib/ |
D | get-paths.js | 6 const { resolve, basename, extname } = require('path') 34 const section = extname(basename(man, '.gz')).slice(1)
|
/third_party/typescript/src/testRunner/ |
D | compilerRunner.ts | 183 const extname = vpath.extname(this.justName); constant 184 const basename = vpath.basename(this.justName, extname, /*ignoreCase*/ true); 185 this.configuredName = `${basename}(${configuredName})${extname}`;
|
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
D | install.js | 354 const extname = path.extname(file) 355 return extname === '.h' || extname === '.gypi'
|
/third_party/node/doc/api/ |
D | path.md | 164 ## `path.extname(path)` 177 The `path.extname()` method returns the extension of the `path`, from the last 184 path.extname('index.html'); 187 path.extname('index.coffee.md'); 190 path.extname('index.'); 193 path.extname('index'); 196 path.extname('.index'); 199 path.extname('.index.md');
|
/third_party/node/deps/npm/test/lib/ |
D | docs.js | 2 const { join, resolve, basename, extname } = require('path') 94 return files.filter(f => extname(f) === ext).map(f => basename(f, ext))
|
/third_party/node/tools/ |
D | lint-sh.mjs | 5 import { extname, join, relative, resolve } from 'node:path'; 41 } else if (entry.isFile() && extname(entry.name) === '.sh') {
|
/third_party/node/benchmark/path/ |
D | extname-posix.js | 24 posix.extname(i % 3 === 0 ? `${path}${i}` : path);
|
D | extname-win32.js | 24 win32.extname(i % 3 === 0 ? `${path}${i}` : path);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZFeatures.td | 13 class SystemZFeature<string extname, string intname, string desc> 15 AssemblerPredicate<"Feature"##intname, extname>, 16 SubtargetFeature<extname, "Has"##intname, "true", desc>;
|
/third_party/weex-loader/src/ |
D | loader.js | 223 const filename = _this.resourcePath.replace(path.extname(_this.resourcePath).toString(), '') 282 if (path.extname(_this.resourcePath).match(/\.hml/)) { 283 const filename = _this.resourcePath.replace(path.extname(_this.resourcePath).toString(), '')
|
D | json.js | 34 const extName = path.extname(this.resourcePath)
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/bin/ |
D | index.js | 61 const commandFiles = fs.readdirSync(__dirname).filter((f) => path.extname(f) === '.js' && f !== __f…
|
/third_party/typescript/scripts/types/ |
D | ambient.d.ts | 28 extname: string;
|
/third_party/node/test/fixtures/es-module-loaders/ |
D | example-loader.mjs | 38 const ext = path.extname(pathname);
|