/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | add-rm-pkg-deps.js | 1 // add and remove dependency specs to/from pkg manifest 6 const add = ({ pkg, add, saveBundle, saveType }) => { 14 addSaveType = inferSaveType(pkg, name) 20 deleteSubKey(pkg, 'devDependencies', name, 'dependencies') 21 deleteSubKey(pkg, 'peerDependencies', name, 'dependencies') 24 deleteSubKey(pkg, 'dependencies', name, 'devDependencies') 28 deleteSubKey(pkg, 'peerDependencies', name, 'optionalDependencies') 31 deleteSubKey(pkg, 'dependencies', name, 'peerDependencies') 32 deleteSubKey(pkg, 'optionalDependencies', name, 'peerDependencies') 37 pkg[depTyp [all...] |
H A D | edge.js | 186 const pkg = this.#from.sourceReference 189 if (pkg.devDependencies?.[ref]) { 190 return pkg.devDependencies[ref] 192 if (pkg.optionalDependencies?.[ref]) { 193 return pkg.optionalDependencies[ref] 195 if (pkg.dependencies?.[ref]) { 196 return pkg.dependencies[ref] 198 if (pkg.peerDependencies?.[ref]) { 199 return pkg.peerDependencies[ref]
|
/third_party/node/deps/npm/node_modules/@npmcli/installed-package-contents/lib/ |
H A D | index.js | 34 const pkg = normalizePackageBin(JSON.parse(json)) 35 packageJsonCache.set(path, pkg) 36 return pkg 44 .then(pkg => { 45 if (!pkg || pkg[normalized]) { 46 return pkg 48 if (pkg.bundledDependencies && !pkg.bundleDependencies) { 49 pkg [all...] |
/third_party/icu/icu4c/source/tools/icupkg/ |
H A D | icupkg.cpp | 271 Package *pkg, *listPkg, *addListPkg; in main() local 285 pkg=new Package; in main() 286 if(pkg==NULL) { in main() 294 pkg->setAutoPrefix(); in main() 303 pkg->setAutoPrefixWithType(); in main() 335 pkg->readPackage(inFilename); in main() 339 pkg->addFile(sourcePath, inFilename); in main() 381 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); in main() 383 outType=pkg->getInType(); // default to input type in main() 409 pkg in main() [all...] |
/third_party/node/deps/icu-small/source/tools/icupkg/ |
H A D | icupkg.cpp | 271 Package *pkg, *listPkg, *addListPkg; in main() local 285 pkg=new Package; in main() 286 if(pkg==nullptr) { in main() 294 pkg->setAutoPrefix(); in main() 303 pkg->setAutoPrefixWithType(); in main() 335 pkg->readPackage(inFilename); in main() 339 pkg->addFile(sourcePath, inFilename); in main() 381 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); in main() 383 outType=pkg->getInType(); // default to input type in main() 409 pkg in main() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/icupkg/ |
H A D | icupkg.cpp | 271 Package *pkg, *listPkg, *addListPkg; in main() local 285 pkg=new Package; in main() 286 if(pkg==NULL) { in main() 294 pkg->setAutoPrefix(); in main() 303 pkg->setAutoPrefixWithType(); in main() 335 pkg->readPackage(inFilename); in main() 339 pkg->addFile(sourcePath, inFilename); in main() 381 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); in main() 383 outType=pkg->getInType(); // default to input type in main() 409 pkg in main() [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/ |
H A D | normalize.js | 12 function normalizePackageBin (pkg, changes) { 13 if (pkg.bin) { 14 if (typeof pkg.bin === 'string' && pkg.name) { 16 pkg.bin = { [pkg.name]: pkg.bin } 17 } else if (Array.isArray(pkg.bin)) { 19 pkg.bin = pkg [all...] |
/third_party/node/deps/npm/test/lib/utils/ |
H A D | sbom-cyclonedx.js | 94 const pkg = { ...rootPkg, description: 'Package description' } 95 const node = { ...root, package: pkg } 102 const pkg = { ...rootPkg, author: { name: 'Arthur' } } 103 const node = { ...root, package: pkg } 139 const pkg = { ...rootPkg, private: true } 140 const node = { ...root, package: pkg } 147 const pkg = { ...rootPkg, repository: { url: 'https://foo.bar' } } 148 const node = { ...root, package: pkg } 155 const pkg = { ...rootPkg, homepage: 'https://foo.bar/README.md' } 156 const node = { ...root, package: pkg } [all...] |
H A D | sbom-spdx.js | 113 const pkg = { ...rootPkg, license: 'ISC' } 114 const node = { ...root, package: pkg } 121 const pkg = { 128 const node = { ...root, package: pkg } 135 const pkg = { ...rootPkg, license: '(MIT OR Apache-2.0)' } 136 const node = { ...root, package: pkg } 143 const pkg = { ...rootPkg, description: 'Package description' } 144 const node = { ...root, package: pkg } 158 const pkg = { ...rootPkg, homepage: 'https://foo.bar/README.md' } 159 const node = { ...root, package: pkg } [all...] |
/third_party/python/Lib/test/ |
H A D | test_pkgutil.py | 32 pkg = 'test_getdata_filesys' 38 package_dir = os.path.join(self.dirname, pkg) 53 res1 = pkgutil.get_data(pkg, 'res.txt') 55 res2 = pkgutil.get_data(pkg, 'sub/res.txt') 58 del sys.modules[pkg] 62 pkg = 'test_getdata_zipfile' 72 z.writestr(pkg + '/__init__.py', "") 74 z.writestr(pkg + '/res.txt', RESOURCE_DATA) 75 z.writestr(pkg + '/sub/res.txt', RESOURCE_DATA) 80 res1 = pkgutil.get_data(pkg, 're 521 import pkg global() namespace 524 import pkg.subpkg global() namespace [all...] |
/third_party/libcoap/examples/riot/ |
H A D | Makefile | 13 all: RIOT pkg examples client server 18 pkg: 29 rm -rf RIOT/pkg/libcoap && mkdir RIOT/pkg/libcoap 30 cd pkg_libcoap && cp -r * ../RIOT/pkg/libcoap 31 @HAVE_KCONFIG=`grep libcoap/Kconfig RIOT/pkg/Kconfig | wc -l` ; \ 33 sed -i '/rsource "libcose\/Kconfig"/irsource "libcoap\/Kconfig"' RIOT/pkg/Kconfig ; \ 42 client: RIOT pkg examples 45 server: RIOT pkg examples 49 rm -rf RIOT/pkg/libcoa [all...] |
/third_party/node/deps/npm/lib/commands/ |
H A D | owner.js | 87 // ls pkg or owner add/rm package 109 async ls (pkg) { 110 pkg = await this.getPkg(this.npm.prefix, pkg) 111 const spec = npa(pkg) 122 log.error('owner ls', "Couldn't get owner data", npmFetch.cleanUrl(pkg)) 127 async getPkg (prefix, pkg) { 128 if (!pkg) { 139 return pkg 142 async changeOwners (user, pkg, addOrR [all...] |
H A D | run-script.js | 66 async run ([event, ...args], { path = this.npm.localPrefix, pkg } = {}) { 71 if (!pkg) { 73 pkg = content 75 const { scripts = {} } = pkg 83 pkg.scripts = scripts 116 pkg, 201 const { content: pkg } = await pkgJson.normalize(workspacePath) 204 pkg, 208 log.error(` in workspace: ${pkg._id || pkg [all...] |
/third_party/node/deps/npm/lib/utils/ |
H A D | format-search-stream.js | 52 write (pkg) { 53 return super.write(this.#prettify(pkg)) 57 const pkg = { 66 pkg.keywords = data.keywords.map((k) => stripVTControlCharacters(k)).join(' ') 68 pkg.keywords = stripVTControlCharacters(data.keywords.replace(/[,\s]+/, ' ')) 71 pkg.date = data.date.toISOString().split('T')[0] // remove time 76 return columns.map((col) => pkg[col] && ('' + pkg[col]).replace(/\t/g, ' ')).join('\t') 83 [pkg],
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | rebuild.js | 225 const { path, package: pkg } = node 226 await binLinks.checkBins({ pkg, path, top: true, global: true }) 240 const { package: pkg, hasInstallScript } = node.target 241 const { gypfile, bin, scripts = {} } = pkg 254 const pkg = await rpj(node.path + '/package.json').catch(() => ({})) 257 const { scripts = {} } = pkg 301 package: pkg, 314 log.info('run', pkg._id, event, location, pkg.scripts[event]) 328 pkg, [all...] |
/third_party/libcoap/examples/riot/pkg_libcoap/ |
H A D | Makefile | 6 LIBCOAP_BUILD_DIR=$(BINDIR)/pkg/$(PKG_NAME) 7 LIBCOAP_SOURCE_DIR=$(RIOTBASE)/build/pkg/$(PKG_NAME) 8 LIBCOAP_INCLUDE_DIR=$(RIOTBASE)/build/pkg/$(PKG_NAME)/include/coap3 10 include $(RIOTBASE)/pkg/pkg.mk
|
/third_party/node/deps/npm/test/lib/commands/ |
H A D | hook.js | 17 add: async (pkg, uri, secret, opts) => { 18 hookArgs = { pkg, uri, secret, opts } 19 return { id: 1, name: pkg, type: pkgTypes[pkg], endpoint: uri } 38 const pkg = Object.keys(pkgTypes)[0] 41 name: pkg, 42 type: pkgTypes[pkg], 48 const pkg = Object.keys(pkgTypes)[0] 49 return { id, name: pkg, type: pkgTypes[pkg], endpoin [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | servrbf.cpp | 62 char pkg[20]; in handleCreate() local 64 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); in handleCreate() 65 if(length>=(int32_t)sizeof(pkg)) { in handleCreate() 68 return new ResourceBundle(pkg, loc, status); in handleCreate()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | servrbf.cpp | 62 char pkg[20]; in handleCreate() local 64 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); in handleCreate() 65 if(length>=(int32_t)sizeof(pkg)) { in handleCreate() 68 return new ResourceBundle(pkg, loc, status); in handleCreate()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | servrbf.cpp | 62 char pkg[20]; in handleCreate() local 64 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); in handleCreate() 65 if(length>=(int32_t)sizeof(pkg)) { in handleCreate() 68 return new ResourceBundle(pkg, loc, status); in handleCreate()
|
/third_party/skia/infra/bots/gen_tasks_logic/ |
H A D | task_builder.go | 142 for _, pkg := range pkgs { 145 if pkg.Name == exist.Name { 146 if !reflect.DeepEqual(pkg, exist) { 147 log.Fatalf("Already have package %s with a different definition!", pkg.Name) 154 b.Spec.CipdPackages = append(b.Spec.CipdPackages, pkg) 214 pkg := b.MustGetCipdPackageFromAsset("go") 216 pkg = b.MustGetCipdPackageFromAsset("go_win") 217 pkg.Path = "go" 219 b.cipd(pkg) 220 b.addToPATH(pkg [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/map-workspaces/lib/ |
H A D | index.js | 43 function getPackageName (pkg, pathname) { 44 const { name } = pkg 72 if (!opts || !opts.pkg) { 74 message: 'mapWorkspaces missing pkg info', 79 const { workspaces = [] } = opts.pkg 104 let pkg 109 pkg = await rpj(packageJsonPathname) 118 const name = getPackageName(pkg, packagePathname)
|
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
H A D | find-visualstudio.js | 262 const pkg = 'Microsoft.VisualStudio.VC.MSBuild.Base' 265 if (info.packages.indexOf(pkg) !== -1) { 289 const pkg = 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64' 292 if (info.packages.indexOf(pkg) !== -1) { 318 info.packages.forEach((pkg) => { 319 if (!pkg.startsWith(win10SDKPrefix) && !pkg.startsWith(win11SDKPrefix)) { 322 const parts = pkg.split('.') 324 this.log.silly('- ignoring non-Desktop Win10/11SDK:', pkg) 330 this.log.silly('- failed to parse Win10/11SDK number:', pkg) [all...] |
/third_party/skia/tools/infra/ |
H A D | go.py | 42 def get(pkg): 45 subprocess.check_call(['go', 'get', '-u', pkg]) 59 def install(pkg): 62 subprocess.check_call(['go', 'install', pkg])
|
/third_party/vk-gl-cts/external/ |
H A D | fetch_sources.py | 88 archiveDir = os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir) 93 archiveFile = os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir, pkg.filename) 100 return os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir, "extracted") 200 file = os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.extractDir, pkg [all...] |