/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/typescript/src/harness/ |
D | vpathUtil.ts | 20 export import extname = ts.getAnyExtensionFromPath; 111 return extname(path, ".d.ts", /*ignoreCase*/ false).length > 0; 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, 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/node_modules/JSONStream/test/ |
D | run.js | 3 var extname = require('path').extname variable 7 if (extname(file) !== '.js' || file === 'run.js')
|
/third_party/node/deps/npm/node_modules/mime-types/ |
D | index.js | 16 var extname = require('path').extname variable 138 var extension = extname('x.' + path)
|
/third_party/node/lib/internal/modules/esm/ |
D | get_format.js | 6 const { extname } = require('path'); 57 const ext = extname(parsed.pathname);
|
D | translators.js | 30 const { extname, isAbsolute } = require('path'); 269 const ext = extname(resolved);
|
/third_party/typescript/src/testRunner/ |
D | compilerRunner.ts | 174 const extname = vpath.extname(this.justName); constant 175 const basename = vpath.basename(this.justName, extname, /*ignoreCase*/ true); 176 this.configuredName = `${basename}(${configuredName})${extname}`;
|
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
D | install.js | 362 var extname = path.extname(file) 363 return extname === '.h' || extname === '.gypi'
|
/third_party/node/doc/api/ |
D | path.md | 161 ## `path.extname(path)` 173 The `path.extname()` method returns the extension of the `path`, from the last 180 path.extname('index.html'); 183 path.extname('index.coffee.md'); 186 path.extname('index.'); 189 path.extname('index'); 192 path.extname('.index'); 195 path.extname('.index.md');
|
/third_party/node/tools/ |
D | lint-sh.js | 6 const { extname, join, relative, resolve } = require('path'); 41 } else if (entry.isFile() && extname(entry.name) === '.sh') {
|
/third_party/node/benchmark/path/ |
D | extname-win32.js | 24 win32.extname(i % 3 === 0 ? `${path}${i}` : path);
|
D | extname-posix.js | 24 posix.extname(i % 3 === 0 ? `${path}${i}` : path);
|
/third_party/node/deps/npm/node_modules/npm-packlist/ |
D | index.js | 275 const exta = path.extname(a).toLowerCase() 276 const extb = path.extname(b).toLowerCase()
|
/third_party/node/deps/npm/node_modules/libnpx/ |
D | parse-args.js | 149 let ext = path.extname(spec.fetchSpec) 151 ext = path.extname(path.basename(spec.fetchSpec, ext)) + ext
|
/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/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/vk-gl-cts/external/vulkan-docs/src/scripts/ |
D | docgenerator.py | 443 extname = elem.get('extname') 445 added_by_extension_to_core = (extname is not None and self.in_core) 466 self.conventions.formatExtension(extname))
|
D | extensionmetadocgenerator.py | 448 def makeExtensionInclude(self, extname): argument 449 return self.conventions.extension_include_string(extname) 655 def getSpecVersion(self, elem, extname, default=None): argument 663 versioningEnumName = self.numbersToWords(extname.upper()) + '_SPEC_VERSION'
|
D | parse_dependency.py | 83 def extensionIsSupported(extname): argument
|
/third_party/typescript/scripts/types/ |
D | ambient.d.ts | 28 extname: string;
|
/third_party/node/test/fixtures/es-module-loaders/ |
D | example-loader.mjs | 36 const ext = path.extname(pathname);
|
/third_party/weex-loader/deps/weex-scripter/lib/ |
D | require-parse.js | 52 if (path.extname(absModulePath) === '.js') {
|