@zowe/cli 8.37.0 → 8.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/zosfiles/edit/Edit.utils.d.ts.map +1 -1
- package/lib/zosfiles/edit/Edit.utils.js +5 -1
- package/lib/zosfiles/edit/Edit.utils.js.map +1 -1
- package/node_modules/@zowe/core-for-zowe-sdk/package.json +3 -3
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.d.ts +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js +10 -12
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js.map +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.js +1 -4
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.js.map +1 -1
- package/node_modules/@zowe/imperative/package.json +1 -1
- package/node_modules/@zowe/imperative/web-help/package-lock.json +58 -58
- package/node_modules/@zowe/provisioning-for-zowe-sdk/package.json +4 -4
- package/node_modules/@zowe/zos-console-for-zowe-sdk/package.json +4 -4
- package/node_modules/@zowe/zos-files-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zos-jobs-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zos-logs-for-zowe-sdk/package.json +4 -4
- package/node_modules/@zowe/zos-tso-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zos-uss-for-zowe-sdk/package.json +3 -3
- package/node_modules/@zowe/zos-workflows-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zosmf-for-zowe-sdk/package.json +4 -4
- package/node_modules/buildcheck/.eslintrc.js +5 -0
- package/node_modules/buildcheck/.github/workflows/ci.yml +72 -0
- package/node_modules/buildcheck/.github/workflows/lint.yml +23 -0
- package/node_modules/buildcheck/.npmignore +3 -0
- package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion → buildcheck}/LICENSE +10 -14
- package/node_modules/buildcheck/README.md +106 -0
- package/node_modules/buildcheck/deps/Find-VisualStudio.cs +250 -0
- package/node_modules/buildcheck/lib/findvs.js +345 -0
- package/node_modules/buildcheck/lib/index.js +738 -0
- package/node_modules/buildcheck/package.json +36 -0
- package/node_modules/buildcheck/test/test.js +8 -0
- package/node_modules/cpu-features/.eslintrc.js +5 -0
- package/node_modules/cpu-features/.github/workflows/ci.yml +68 -0
- package/node_modules/cpu-features/.github/workflows/lint.yml +27 -0
- package/node_modules/cpu-features/LICENSE +19 -0
- package/node_modules/cpu-features/README.md +59 -0
- package/node_modules/cpu-features/binding.gyp +16 -0
- package/node_modules/cpu-features/buildcheck.gypi +19 -0
- package/node_modules/cpu-features/buildcheck.js +32 -0
- package/node_modules/cpu-features/deps/cpu_features/.clang-format +4 -0
- package/node_modules/cpu-features/deps/cpu_features/.dockerignore +31 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/Dockerfile +5 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/aarch64_linux_cmake.yml +30 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_freebsd_cmake.yml +22 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_bazel.yml +26 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_cmake.yml +31 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_macos_cmake.yml +43 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_windows_cmake.yml +25 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/arm_linux_cmake.yml +31 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/clang_format.yml +24 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/mips_linux_cmake.yml +30 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/power_linux_cmake.yml +29 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/riscv_linux_cmake.yml +28 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/s390x_linux_cmake.yml +27 -0
- package/node_modules/cpu-features/deps/cpu_features/.grenrc.yml +21 -0
- package/node_modules/cpu-features/deps/cpu_features/BUILD.bazel +329 -0
- package/node_modules/cpu-features/deps/cpu_features/CMakeLists.txt +261 -0
- package/node_modules/cpu-features/deps/cpu_features/CONTRIBUTING.md +23 -0
- package/node_modules/cpu-features/deps/cpu_features/LICENSE +230 -0
- package/node_modules/cpu-features/deps/cpu_features/README.md +272 -0
- package/node_modules/cpu-features/deps/cpu_features/WORKSPACE +19 -0
- package/node_modules/cpu-features/deps/cpu_features/bazel/ci/README.md +5 -0
- package/node_modules/cpu-features/deps/cpu_features/bazel/platforms.bzl +11 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesConfig.cmake.in +3 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesNdkCompatConfig.cmake.in +3 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/README.md +30 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/Makefile +252 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/README.md +40 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.dot +64 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.svg +312 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/generate_image.sh +7 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/amd64/Dockerfile +48 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/toolchain/Dockerfile +34 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/CMakeLists.txt +22 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/main.cpp +11 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/vagrant/freebsd/Vagrantfile +107 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/googletest.CMakeLists.txt.in +15 -0
- package/node_modules/cpu-features/deps/cpu_features/cpu_features.gyp +104 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_cache_info.h +54 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_macros.h +384 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_aarch64.h +259 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_arm.h +121 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_mips.h +74 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_ppc.h +149 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_riscv.h +72 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_s390x.h +108 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_x86.h +288 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/bit_utils.h +40 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/cpuid_x86.h +37 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/filesystem.h +39 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/hwcaps.h +240 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/stack_line_reader.h +49 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/string_view.h +110 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/windows_utils.h +70 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/CMakeLists.txt +60 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/README.md +4 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.c +205 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.h +320 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/ndk-compat-test.c +12 -0
- package/node_modules/cpu-features/deps/cpu_features/patches/0001-Add-Apple-Silicon-Support.patch +456 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/generate_badges.d +165 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/make_release.sh +75 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/run_integration.sh +490 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/test_integration.sh +79 -0
- package/node_modules/cpu-features/deps/cpu_features/src/copy.inl +19 -0
- package/node_modules/cpu-features/deps/cpu_features/src/define_introspection.inl +86 -0
- package/node_modules/cpu-features/deps/cpu_features/src/define_introspection_and_hwcaps.inl +26 -0
- package/node_modules/cpu-features/deps/cpu_features/src/equals.inl +22 -0
- package/node_modules/cpu-features/deps/cpu_features/src/filesystem.c +62 -0
- package/node_modules/cpu-features/deps/cpu_features/src/hwcaps.c +169 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64__base_implementation.inl +88 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_linux_or_android.c +79 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.c +82 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_windows.c +138 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_arm_linux_or_android.c +212 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_mips_linux_or_android.c +93 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_ppc_linux.c +163 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_riscv_linux.c +111 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_s390x_linux.c +120 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86__base_implementation.inl +2055 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_freebsd.c +68 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_linux_or_android.c +58 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_macos.c +57 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_windows.c +58 -0
- package/node_modules/cpu-features/deps/cpu_features/src/stack_line_reader.c +132 -0
- package/node_modules/cpu-features/deps/cpu_features/src/string_view.c +192 -0
- package/node_modules/cpu-features/deps/cpu_features/src/utils/list_cpu_features.c +461 -0
- package/node_modules/cpu-features/deps/cpu_features/test/CMakeLists.txt +114 -0
- package/node_modules/cpu-features/deps/cpu_features/test/bit_utils_test.cc +53 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_aarch64_test.cc +396 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_arm_test.cc +384 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_mips_test.cc +176 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_ppc_test.cc +131 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_riscv_test.cc +180 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_s390x_test.cc +82 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_x86_test.cc +1729 -0
- package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.cc +103 -0
- package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.h +61 -0
- package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.cc +52 -0
- package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.h +31 -0
- package/node_modules/cpu-features/deps/cpu_features/test/stack_line_reader_test.cc +132 -0
- package/node_modules/cpu-features/deps/cpu_features/test/string_view_test.cc +202 -0
- package/node_modules/cpu-features/lib/index.js +5 -0
- package/node_modules/cpu-features/package.json +40 -0
- package/node_modules/cpu-features/src/binding.cc +151 -0
- package/node_modules/cpu-features/test/test.js +12 -0
- package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/README.md +16 -13
- package/node_modules/{@zowe/imperative → cross-spawn/node_modules/which}/node_modules/isexe/LICENSE +1 -1
- package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/README.md +51 -0
- package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/package.json +31 -0
- package/node_modules/cross-spawn/node_modules/which/package.json +43 -0
- package/node_modules/isexe/LICENSE +1 -1
- package/node_modules/isexe/README.md +40 -17
- package/node_modules/isexe/package.json +79 -14
- package/node_modules/which/README.md +13 -16
- package/node_modules/which/package.json +34 -20
- package/package.json +13 -13
- package/node_modules/@zowe/imperative/node_modules/isexe/README.md +0 -74
- package/node_modules/@zowe/imperative/node_modules/isexe/package.json +0 -96
- package/node_modules/@zowe/imperative/node_modules/which/package.json +0 -57
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-arm64.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-x64.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm-gnueabihf.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-gnu.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-musl.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-ia32-gnu.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-gnu.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-musl.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-arm64-msvc.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-ia32-msvc.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-x64-msvc.node +0 -0
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/LICENSE.md +0 -23
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/README.md +0 -57
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js +0 -59
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js +0 -54
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/package.json +0 -68
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/README.md +0 -105
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js +0 -289
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js +0 -285
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/package.json +0 -64
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/LICENSE.md +0 -55
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/README.md +0 -528
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js +0 -846
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -150
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js +0 -30
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js +0 -1121
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js +0 -38
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js +0 -842
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js +0 -146
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js +0 -26
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts +0 -174
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js +0 -1108
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js +0 -34
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/package.json +0 -67
- package/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +0 -3
- package/node_modules/tar/node_modules/yallist/dist/esm/package.json +0 -3
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.js +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → ansi-regex}/license +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/package.json +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/readme.md +0 -0
- /package/node_modules/{winston/node_modules/async → async}/CHANGELOG.md +0 -0
- /package/node_modules/{winston/node_modules/async → async}/LICENSE +0 -0
- /package/node_modules/{winston/node_modules/async → async}/README.md +0 -0
- /package/node_modules/{winston/node_modules/async → async}/all.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/allLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/allSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/any.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/anyLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/anySeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/apply.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/applyEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/applyEachSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/asyncify.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/auto.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/autoInject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/bower.json +0 -0
- /package/node_modules/{winston/node_modules/async → async}/cargo.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/cargoQueue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/compose.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/concat.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/concatLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/concatSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/constant.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/detect.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/detectLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/detectSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dir.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dist/async.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dist/async.min.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dist/async.mjs +0 -0
- /package/node_modules/{winston/node_modules/async → async}/doDuring.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/doUntil.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/doWhilst.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/during.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/each.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachOf.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachOfSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/ensureAsync.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/every.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/everyLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/everySeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/filter.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/filterLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/filterSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/find.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/findLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/findSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/flatMap.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/flatMapLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/flatMapSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/foldl.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/foldr.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachOf.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachOfSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forever.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/groupBy.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/groupByLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/groupBySeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/index.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/inject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/DoublyLinkedList.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/Heap.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/applyEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/asyncEachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/awaitify.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/breakLoop.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/consoleFunc.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/createTester.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/eachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/filter.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/getIterator.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/initialParams.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/isArrayLike.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/iterator.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/map.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/once.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/onlyOnce.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/parallel.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/promiseCallback.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/queue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/range.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/reject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/setImmediate.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/withoutIndex.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/wrapAsync.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/log.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/map.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapValues.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapValuesLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapValuesSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/memoize.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/nextTick.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/package.json +0 -0
- /package/node_modules/{winston/node_modules/async → async}/parallel.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/parallelLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/priorityQueue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/queue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/race.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reduce.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reduceRight.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reflect.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reflectAll.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/rejectLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/rejectSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/retry.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/retryable.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/select.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/selectLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/selectSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/seq.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/series.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/setImmediate.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/some.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/someLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/someSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/sortBy.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/timeout.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/times.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/timesLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/timesSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/transform.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/tryEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/unmemoize.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/until.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/waterfall.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/whilst.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/wrapSync.js +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/LICENSE.txt +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/README.md +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.cjs +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.d.cts +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/index.js +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/string-utils.js +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/index.mjs +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/package.json +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.eslintrc.json +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.npmignore +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/LICENSE +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/README.md +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/index.js +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/package.json +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/test.js +0 -0
- /package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/LICENSE +0 -0
- /package/node_modules/{which → cross-spawn/node_modules/which}/bin/node-which +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/.npmignore +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/index.js +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/mode.js +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/test/basic.js +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/windows.js +0 -0
- /package/node_modules/{which → cross-spawn/node_modules/which}/which.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/LICENSE +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/README.md +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/package.json +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/src/foreign-names.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/src/index.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/LICENSE +0 -0
- /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/dist/index.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/dist/index.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/dist/index.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/package.json +0 -0
- /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/readme.md +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/LICENSE +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/index.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/index.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/index.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/node.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/node.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/node.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/package.json +0 -0
- /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/readme.md +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/LICENSE +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/package.json +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/readme.md +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/__snapshots__/feeds.spec.ts.snap +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/feeds.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/helpers.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/index.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/legacy.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/manipulation.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/querying.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/stringify.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/traversal.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/LICENSE +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/README.md +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.js.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.d.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.d.ts.map +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.js +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/LICENSE +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.d.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.d.ts.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.js +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.js.map +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/package.json +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/readme.md +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/decode-codepoint.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/decode.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/encode.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/escape.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/generated/decode-data-html.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/generated/decode-data-xml.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/generated/encode-html.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/index.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/internal/bin-trie-flags.ts +0 -0
- /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/internal/decode-shared.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/package.json +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/Parser.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/Tokenizer.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/WebWritableStream.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/WritableStream.ts +0 -0
- /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/index.ts +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/LICENSE +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/README.md +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/index.js +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/package.json +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/yarn-error.log +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/package.json +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/package.json +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js.map +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.d.ts +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.js +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → shebang-regex}/license +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/package.json +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/readme.md +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/LICENSE +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/README.md +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/index.js +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/package.json +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/LICENSE +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/README.md +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/index.js +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/package.json +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/which → which}/bin/which.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/which → which}/lib/index.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/LICENSE +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/README.md +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/index.cjs +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/cjs.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/index.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/platform-shims/node.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/index.mjs +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/package.json +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/LICENSE.md +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/README.md +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts.map +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js.map +0 -0
- /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/commonjs/package.json +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts.map +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js.map +0 -0
- /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/esm/package.json +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/package.json +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// Copyright 2017 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#ifndef INTROSPECTION_PREFIX
|
|
16
|
+
#error "missing INTROSPECTION_PREFIX"
|
|
17
|
+
#endif
|
|
18
|
+
#ifndef INTROSPECTION_ENUM_PREFIX
|
|
19
|
+
#error "missing INTROSPECTION_ENUM_PREFIX"
|
|
20
|
+
#endif
|
|
21
|
+
#ifndef INTROSPECTION_TABLE
|
|
22
|
+
#error "missing INTROSPECTION_TABLE"
|
|
23
|
+
#endif
|
|
24
|
+
|
|
25
|
+
#include <stdbool.h>
|
|
26
|
+
|
|
27
|
+
#define STRINGIZE_(s) #s
|
|
28
|
+
#define STRINGIZE(s) STRINGIZE_(s)
|
|
29
|
+
|
|
30
|
+
#define FEAT_TYPE_NAME__(X) X##Features
|
|
31
|
+
#define FEAT_TYPE_NAME_(X) FEAT_TYPE_NAME__(X)
|
|
32
|
+
#define FEAT_TYPE_NAME FEAT_TYPE_NAME_(INTROSPECTION_PREFIX)
|
|
33
|
+
|
|
34
|
+
#define FEAT_ENUM_NAME__(X) X##FeaturesEnum
|
|
35
|
+
#define FEAT_ENUM_NAME_(X) FEAT_ENUM_NAME__(X)
|
|
36
|
+
#define FEAT_ENUM_NAME FEAT_ENUM_NAME_(INTROSPECTION_PREFIX)
|
|
37
|
+
|
|
38
|
+
#define GET_FEAT_ENUM_VALUE__(X) Get##X##FeaturesEnumValue
|
|
39
|
+
#define GET_FEAT_ENUM_VALUE_(X) GET_FEAT_ENUM_VALUE__(X)
|
|
40
|
+
#define GET_FEAT_ENUM_VALUE GET_FEAT_ENUM_VALUE_(INTROSPECTION_PREFIX)
|
|
41
|
+
|
|
42
|
+
#define GET_FEAT_ENUM_NAME__(X) Get##X##FeaturesEnumName
|
|
43
|
+
#define GET_FEAT_ENUM_NAME_(X) GET_FEAT_ENUM_NAME__(X)
|
|
44
|
+
#define GET_FEAT_ENUM_NAME GET_FEAT_ENUM_NAME_(INTROSPECTION_PREFIX)
|
|
45
|
+
|
|
46
|
+
#define FEAT_ENUM_LAST__(X) X##_LAST_
|
|
47
|
+
#define FEAT_ENUM_LAST_(X) FEAT_ENUM_LAST__(X)
|
|
48
|
+
#define FEAT_ENUM_LAST FEAT_ENUM_LAST_(INTROSPECTION_ENUM_PREFIX)
|
|
49
|
+
|
|
50
|
+
// Generate individual getters and setters.
|
|
51
|
+
#define LINE(ENUM, NAME, A, B, C) \
|
|
52
|
+
static void set_##ENUM(FEAT_TYPE_NAME* features, bool value) { \
|
|
53
|
+
features->NAME = value; \
|
|
54
|
+
} \
|
|
55
|
+
static int get_##ENUM(const FEAT_TYPE_NAME* features) { \
|
|
56
|
+
return features->NAME; \
|
|
57
|
+
}
|
|
58
|
+
INTROSPECTION_TABLE
|
|
59
|
+
#undef LINE
|
|
60
|
+
|
|
61
|
+
// Generate getters table
|
|
62
|
+
#define LINE(ENUM, NAME, A, B, C) [ENUM] = get_##ENUM,
|
|
63
|
+
static int (*const kGetters[])(const FEAT_TYPE_NAME*) = {INTROSPECTION_TABLE};
|
|
64
|
+
#undef LINE
|
|
65
|
+
|
|
66
|
+
// Generate setters table
|
|
67
|
+
#define LINE(ENUM, NAME, A, B, C) [ENUM] = set_##ENUM,
|
|
68
|
+
static void (*const kSetters[])(FEAT_TYPE_NAME*, bool) = {INTROSPECTION_TABLE};
|
|
69
|
+
#undef LINE
|
|
70
|
+
|
|
71
|
+
// Implements the `GetXXXFeaturesEnumValue` API.
|
|
72
|
+
int GET_FEAT_ENUM_VALUE(const FEAT_TYPE_NAME* features, FEAT_ENUM_NAME value) {
|
|
73
|
+
if (value >= FEAT_ENUM_LAST) return false;
|
|
74
|
+
return kGetters[value](features);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Generate feature name table.
|
|
78
|
+
#define LINE(ENUM, NAME, A, B, C) [ENUM] = STRINGIZE(NAME),
|
|
79
|
+
static const char* kFeatureNames[] = {INTROSPECTION_TABLE};
|
|
80
|
+
#undef LINE
|
|
81
|
+
|
|
82
|
+
// Implements the `GetXXXFeaturesEnumName` API.
|
|
83
|
+
const char* GET_FEAT_ENUM_NAME(FEAT_ENUM_NAME value) {
|
|
84
|
+
if (value >= FEAT_ENUM_LAST) return "unknown_feature";
|
|
85
|
+
return kFeatureNames[value];
|
|
86
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Copyright 2017 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#include "define_introspection.inl"
|
|
16
|
+
#include "internal/hwcaps.h"
|
|
17
|
+
|
|
18
|
+
#define LINE(ENUM, NAME, CPUINFO_FLAG, HWCAP, HWCAP2) \
|
|
19
|
+
[ENUM] = (HardwareCapabilities){HWCAP, HWCAP2},
|
|
20
|
+
static const HardwareCapabilities kHardwareCapabilities[] = {
|
|
21
|
+
INTROSPECTION_TABLE};
|
|
22
|
+
#undef LINE
|
|
23
|
+
|
|
24
|
+
#define LINE(ENUM, NAME, CPUINFO_FLAG, HWCAP, HWCAP2) [ENUM] = CPUINFO_FLAG,
|
|
25
|
+
static const char* kCpuInfoFlags[] = {INTROSPECTION_TABLE};
|
|
26
|
+
#undef LINE
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright 2021 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#include <stdbool.h>
|
|
16
|
+
#include <stddef.h>
|
|
17
|
+
|
|
18
|
+
static bool equals(const char *lhs, const char *rhs, size_t count) {
|
|
19
|
+
for (size_t i = 0; i < count; ++i)
|
|
20
|
+
if (lhs[i] != rhs[i]) return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Copyright 2017 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#include "internal/filesystem.h"
|
|
16
|
+
|
|
17
|
+
#include <errno.h>
|
|
18
|
+
#include <fcntl.h>
|
|
19
|
+
#include <stdlib.h>
|
|
20
|
+
#include <sys/stat.h>
|
|
21
|
+
#include <sys/types.h>
|
|
22
|
+
|
|
23
|
+
#if defined(CPU_FEATURES_MOCK_FILESYSTEM)
|
|
24
|
+
// Implementation will be provided by test/filesystem_for_testing.cc.
|
|
25
|
+
#elif defined(_MSC_VER)
|
|
26
|
+
#include <io.h>
|
|
27
|
+
int CpuFeatures_OpenFile(const char* filename) {
|
|
28
|
+
int fd = -1;
|
|
29
|
+
_sopen_s(&fd, filename, _O_RDONLY, _SH_DENYWR, _S_IREAD);
|
|
30
|
+
return fd;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
void CpuFeatures_CloseFile(int file_descriptor) { _close(file_descriptor); }
|
|
34
|
+
|
|
35
|
+
int CpuFeatures_ReadFile(int file_descriptor, void* buffer,
|
|
36
|
+
size_t buffer_size) {
|
|
37
|
+
return _read(file_descriptor, buffer, (unsigned int)buffer_size);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
#else
|
|
41
|
+
#include <unistd.h>
|
|
42
|
+
|
|
43
|
+
int CpuFeatures_OpenFile(const char* filename) {
|
|
44
|
+
int result;
|
|
45
|
+
do {
|
|
46
|
+
result = open(filename, O_RDONLY);
|
|
47
|
+
} while (result == -1L && errno == EINTR);
|
|
48
|
+
return result;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
void CpuFeatures_CloseFile(int file_descriptor) { close(file_descriptor); }
|
|
52
|
+
|
|
53
|
+
int CpuFeatures_ReadFile(int file_descriptor, void* buffer,
|
|
54
|
+
size_t buffer_size) {
|
|
55
|
+
int result;
|
|
56
|
+
do {
|
|
57
|
+
result = read(file_descriptor, buffer, buffer_size);
|
|
58
|
+
} while (result == -1L && errno == EINTR);
|
|
59
|
+
return result;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#endif
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
// Copyright 2017 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#include "internal/hwcaps.h"
|
|
16
|
+
|
|
17
|
+
#include <stdlib.h>
|
|
18
|
+
#include <string.h>
|
|
19
|
+
|
|
20
|
+
#include "cpu_features_macros.h"
|
|
21
|
+
#include "internal/filesystem.h"
|
|
22
|
+
#include "internal/string_view.h"
|
|
23
|
+
|
|
24
|
+
static bool IsSet(const uint32_t mask, const uint32_t value) {
|
|
25
|
+
if (mask == 0) return false;
|
|
26
|
+
return (value & mask) == mask;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
bool CpuFeatures_IsHwCapsSet(const HardwareCapabilities hwcaps_mask,
|
|
30
|
+
const HardwareCapabilities hwcaps) {
|
|
31
|
+
return IsSet(hwcaps_mask.hwcaps, hwcaps.hwcaps) ||
|
|
32
|
+
IsSet(hwcaps_mask.hwcaps2, hwcaps.hwcaps2);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#ifdef CPU_FEATURES_TEST
|
|
36
|
+
// In test mode, hwcaps_for_testing will define the following functions.
|
|
37
|
+
HardwareCapabilities CpuFeatures_GetHardwareCapabilities(void);
|
|
38
|
+
const char* CpuFeatures_GetPlatformPointer(void);
|
|
39
|
+
const char* CpuFeatures_GetBasePlatformPointer(void);
|
|
40
|
+
#else
|
|
41
|
+
|
|
42
|
+
// Debug facilities
|
|
43
|
+
#if defined(NDEBUG)
|
|
44
|
+
#define D(...)
|
|
45
|
+
#else
|
|
46
|
+
#include <stdio.h>
|
|
47
|
+
#define D(...) \
|
|
48
|
+
do { \
|
|
49
|
+
printf(__VA_ARGS__); \
|
|
50
|
+
fflush(stdout); \
|
|
51
|
+
} while (0)
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
55
|
+
// Implementation of GetElfHwcapFromGetauxval
|
|
56
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
57
|
+
|
|
58
|
+
#define AT_HWCAP 16
|
|
59
|
+
#define AT_HWCAP2 26
|
|
60
|
+
#define AT_PLATFORM 15
|
|
61
|
+
#define AT_BASE_PLATFORM 24
|
|
62
|
+
|
|
63
|
+
#if defined(HAVE_STRONG_GETAUXVAL)
|
|
64
|
+
#include <sys/auxv.h>
|
|
65
|
+
static unsigned long GetElfHwcapFromGetauxval(uint32_t hwcap_type) {
|
|
66
|
+
return getauxval(hwcap_type);
|
|
67
|
+
}
|
|
68
|
+
#elif defined(HAVE_DLFCN_H)
|
|
69
|
+
// On Android we probe the system's C library for a 'getauxval' function and
|
|
70
|
+
// call it if it exits, or return 0 for failure. This function is available
|
|
71
|
+
// since API level 18.
|
|
72
|
+
//
|
|
73
|
+
// Note that getauxval() can't really be re-implemented here, because its
|
|
74
|
+
// implementation does not parse /proc/self/auxv. Instead it depends on values
|
|
75
|
+
// that are passed by the kernel at process-init time to the C runtime
|
|
76
|
+
// initialization layer.
|
|
77
|
+
|
|
78
|
+
#include <dlfcn.h>
|
|
79
|
+
|
|
80
|
+
typedef unsigned long getauxval_func_t(unsigned long);
|
|
81
|
+
|
|
82
|
+
static uint32_t GetElfHwcapFromGetauxval(uint32_t hwcap_type) {
|
|
83
|
+
uint32_t ret = 0;
|
|
84
|
+
void *libc_handle = NULL;
|
|
85
|
+
getauxval_func_t *func = NULL;
|
|
86
|
+
|
|
87
|
+
dlerror(); // Cleaning error state before calling dlopen.
|
|
88
|
+
libc_handle = dlopen("libc.so", RTLD_NOW);
|
|
89
|
+
if (!libc_handle) {
|
|
90
|
+
D("Could not dlopen() C library: %s\n", dlerror());
|
|
91
|
+
return 0;
|
|
92
|
+
}
|
|
93
|
+
func = (getauxval_func_t *)dlsym(libc_handle, "getauxval");
|
|
94
|
+
if (!func) {
|
|
95
|
+
D("Could not find getauxval() in C library\n");
|
|
96
|
+
} else {
|
|
97
|
+
// Note: getauxval() returns 0 on failure. Doesn't touch errno.
|
|
98
|
+
ret = (uint32_t)(*func)(hwcap_type);
|
|
99
|
+
}
|
|
100
|
+
dlclose(libc_handle);
|
|
101
|
+
return ret;
|
|
102
|
+
}
|
|
103
|
+
#else
|
|
104
|
+
#error "This platform does not provide hardware capabilities."
|
|
105
|
+
#endif
|
|
106
|
+
|
|
107
|
+
// Implementation of GetHardwareCapabilities for OS that provide
|
|
108
|
+
// GetElfHwcapFromGetauxval().
|
|
109
|
+
|
|
110
|
+
// Fallback when getauxval is not available, retrieves hwcaps from
|
|
111
|
+
// "/proc/self/auxv".
|
|
112
|
+
static uint32_t GetElfHwcapFromProcSelfAuxv(uint32_t hwcap_type) {
|
|
113
|
+
struct {
|
|
114
|
+
uint32_t tag;
|
|
115
|
+
uint32_t value;
|
|
116
|
+
} entry;
|
|
117
|
+
uint32_t result = 0;
|
|
118
|
+
const char filepath[] = "/proc/self/auxv";
|
|
119
|
+
const int fd = CpuFeatures_OpenFile(filepath);
|
|
120
|
+
if (fd < 0) {
|
|
121
|
+
D("Could not open %s\n", filepath);
|
|
122
|
+
return 0;
|
|
123
|
+
}
|
|
124
|
+
for (;;) {
|
|
125
|
+
const int ret = CpuFeatures_ReadFile(fd, (char *)&entry, sizeof entry);
|
|
126
|
+
if (ret < 0) {
|
|
127
|
+
D("Error while reading %s\n", filepath);
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
// Detect end of list.
|
|
131
|
+
if (ret == 0 || (entry.tag == 0 && entry.value == 0)) {
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
if (entry.tag == hwcap_type) {
|
|
135
|
+
result = entry.value;
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
CpuFeatures_CloseFile(fd);
|
|
140
|
+
return result;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Retrieves hardware capabilities by first trying to call getauxval, if not
|
|
144
|
+
// available falls back to reading "/proc/self/auxv".
|
|
145
|
+
static unsigned long GetHardwareCapabilitiesFor(uint32_t type) {
|
|
146
|
+
unsigned long hwcaps = GetElfHwcapFromGetauxval(type);
|
|
147
|
+
if (!hwcaps) {
|
|
148
|
+
D("Parsing /proc/self/auxv to extract ELF hwcaps!\n");
|
|
149
|
+
hwcaps = GetElfHwcapFromProcSelfAuxv(type);
|
|
150
|
+
}
|
|
151
|
+
return hwcaps;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
HardwareCapabilities CpuFeatures_GetHardwareCapabilities(void) {
|
|
155
|
+
HardwareCapabilities capabilities;
|
|
156
|
+
capabilities.hwcaps = GetHardwareCapabilitiesFor(AT_HWCAP);
|
|
157
|
+
capabilities.hwcaps2 = GetHardwareCapabilitiesFor(AT_HWCAP2);
|
|
158
|
+
return capabilities;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
const char *CpuFeatures_GetPlatformPointer(void) {
|
|
162
|
+
return (const char *)GetHardwareCapabilitiesFor(AT_PLATFORM);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
const char *CpuFeatures_GetBasePlatformPointer(void) {
|
|
166
|
+
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
#endif // CPU_FEATURES_TEST
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Copyright 2021 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#include <stdbool.h>
|
|
16
|
+
|
|
17
|
+
#include "cpuinfo_aarch64.h"
|
|
18
|
+
#include "internal/bit_utils.h"
|
|
19
|
+
#include "internal/filesystem.h"
|
|
20
|
+
#include "internal/stack_line_reader.h"
|
|
21
|
+
#include "internal/string_view.h"
|
|
22
|
+
|
|
23
|
+
#if !defined(CPU_FEATURES_ARCH_AARCH64)
|
|
24
|
+
#error "Cannot compile aarch64_base on a non aarch64 platform."
|
|
25
|
+
#endif
|
|
26
|
+
|
|
27
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
28
|
+
// Definitions for introspection.
|
|
29
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
30
|
+
#define INTROSPECTION_TABLE \
|
|
31
|
+
LINE(AARCH64_FP, fp, "fp", AARCH64_HWCAP_FP, 0) \
|
|
32
|
+
LINE(AARCH64_ASIMD, asimd, "asimd", AARCH64_HWCAP_ASIMD, 0) \
|
|
33
|
+
LINE(AARCH64_EVTSTRM, evtstrm, "evtstrm", AARCH64_HWCAP_EVTSTRM, 0) \
|
|
34
|
+
LINE(AARCH64_AES, aes, "aes", AARCH64_HWCAP_AES, 0) \
|
|
35
|
+
LINE(AARCH64_PMULL, pmull, "pmull", AARCH64_HWCAP_PMULL, 0) \
|
|
36
|
+
LINE(AARCH64_SHA1, sha1, "sha1", AARCH64_HWCAP_SHA1, 0) \
|
|
37
|
+
LINE(AARCH64_SHA2, sha2, "sha2", AARCH64_HWCAP_SHA2, 0) \
|
|
38
|
+
LINE(AARCH64_CRC32, crc32, "crc32", AARCH64_HWCAP_CRC32, 0) \
|
|
39
|
+
LINE(AARCH64_ATOMICS, atomics, "atomics", AARCH64_HWCAP_ATOMICS, 0) \
|
|
40
|
+
LINE(AARCH64_FPHP, fphp, "fphp", AARCH64_HWCAP_FPHP, 0) \
|
|
41
|
+
LINE(AARCH64_ASIMDHP, asimdhp, "asimdhp", AARCH64_HWCAP_ASIMDHP, 0) \
|
|
42
|
+
LINE(AARCH64_CPUID, cpuid, "cpuid", AARCH64_HWCAP_CPUID, 0) \
|
|
43
|
+
LINE(AARCH64_ASIMDRDM, asimdrdm, "asimdrdm", AARCH64_HWCAP_ASIMDRDM, 0) \
|
|
44
|
+
LINE(AARCH64_JSCVT, jscvt, "jscvt", AARCH64_HWCAP_JSCVT, 0) \
|
|
45
|
+
LINE(AARCH64_FCMA, fcma, "fcma", AARCH64_HWCAP_FCMA, 0) \
|
|
46
|
+
LINE(AARCH64_LRCPC, lrcpc, "lrcpc", AARCH64_HWCAP_LRCPC, 0) \
|
|
47
|
+
LINE(AARCH64_DCPOP, dcpop, "dcpop", AARCH64_HWCAP_DCPOP, 0) \
|
|
48
|
+
LINE(AARCH64_SHA3, sha3, "sha3", AARCH64_HWCAP_SHA3, 0) \
|
|
49
|
+
LINE(AARCH64_SM3, sm3, "sm3", AARCH64_HWCAP_SM3, 0) \
|
|
50
|
+
LINE(AARCH64_SM4, sm4, "sm4", AARCH64_HWCAP_SM4, 0) \
|
|
51
|
+
LINE(AARCH64_ASIMDDP, asimddp, "asimddp", AARCH64_HWCAP_ASIMDDP, 0) \
|
|
52
|
+
LINE(AARCH64_SHA512, sha512, "sha512", AARCH64_HWCAP_SHA512, 0) \
|
|
53
|
+
LINE(AARCH64_SVE, sve, "sve", AARCH64_HWCAP_SVE, 0) \
|
|
54
|
+
LINE(AARCH64_ASIMDFHM, asimdfhm, "asimdfhm", AARCH64_HWCAP_ASIMDFHM, 0) \
|
|
55
|
+
LINE(AARCH64_DIT, dit, "dit", AARCH64_HWCAP_DIT, 0) \
|
|
56
|
+
LINE(AARCH64_USCAT, uscat, "uscat", AARCH64_HWCAP_USCAT, 0) \
|
|
57
|
+
LINE(AARCH64_ILRCPC, ilrcpc, "ilrcpc", AARCH64_HWCAP_ILRCPC, 0) \
|
|
58
|
+
LINE(AARCH64_FLAGM, flagm, "flagm", AARCH64_HWCAP_FLAGM, 0) \
|
|
59
|
+
LINE(AARCH64_SSBS, ssbs, "ssbs", AARCH64_HWCAP_SSBS, 0) \
|
|
60
|
+
LINE(AARCH64_SB, sb, "sb", AARCH64_HWCAP_SB, 0) \
|
|
61
|
+
LINE(AARCH64_PACA, paca, "paca", AARCH64_HWCAP_PACA, 0) \
|
|
62
|
+
LINE(AARCH64_PACG, pacg, "pacg", AARCH64_HWCAP_PACG, 0) \
|
|
63
|
+
LINE(AARCH64_DCPODP, dcpodp, "dcpodp", 0, AARCH64_HWCAP2_DCPODP) \
|
|
64
|
+
LINE(AARCH64_SVE2, sve2, "sve2", 0, AARCH64_HWCAP2_SVE2) \
|
|
65
|
+
LINE(AARCH64_SVEAES, sveaes, "sveaes", 0, AARCH64_HWCAP2_SVEAES) \
|
|
66
|
+
LINE(AARCH64_SVEPMULL, svepmull, "svepmull", 0, AARCH64_HWCAP2_SVEPMULL) \
|
|
67
|
+
LINE(AARCH64_SVEBITPERM, svebitperm, "svebitperm", 0, \
|
|
68
|
+
AARCH64_HWCAP2_SVEBITPERM) \
|
|
69
|
+
LINE(AARCH64_SVESHA3, svesha3, "svesha3", 0, AARCH64_HWCAP2_SVESHA3) \
|
|
70
|
+
LINE(AARCH64_SVESM4, svesm4, "svesm4", 0, AARCH64_HWCAP2_SVESM4) \
|
|
71
|
+
LINE(AARCH64_FLAGM2, flagm2, "flagm2", 0, AARCH64_HWCAP2_FLAGM2) \
|
|
72
|
+
LINE(AARCH64_FRINT, frint, "frint", 0, AARCH64_HWCAP2_FRINT) \
|
|
73
|
+
LINE(AARCH64_SVEI8MM, svei8mm, "svei8mm", 0, AARCH64_HWCAP2_SVEI8MM) \
|
|
74
|
+
LINE(AARCH64_SVEF32MM, svef32mm, "svef32mm", 0, AARCH64_HWCAP2_SVEF32MM) \
|
|
75
|
+
LINE(AARCH64_SVEF64MM, svef64mm, "svef64mm", 0, AARCH64_HWCAP2_SVEF64MM) \
|
|
76
|
+
LINE(AARCH64_SVEBF16, svebf16, "svebf16", 0, AARCH64_HWCAP2_SVEBF16) \
|
|
77
|
+
LINE(AARCH64_I8MM, i8mm, "i8mm", 0, AARCH64_HWCAP2_I8MM) \
|
|
78
|
+
LINE(AARCH64_BF16, bf16, "bf16", 0, AARCH64_HWCAP2_BF16) \
|
|
79
|
+
LINE(AARCH64_DGH, dgh, "dgh", 0, AARCH64_HWCAP2_DGH) \
|
|
80
|
+
LINE(AARCH64_RNG, rng, "rng", 0, AARCH64_HWCAP2_RNG) \
|
|
81
|
+
LINE(AARCH64_BTI, bti, "bti", 0, AARCH64_HWCAP2_BTI) \
|
|
82
|
+
LINE(AARCH64_MTE, mte, "mte", 0, AARCH64_HWCAP2_MTE) \
|
|
83
|
+
LINE(AARCH64_ECV, ecv, "ecv", 0, AARCH64_HWCAP2_ECV) \
|
|
84
|
+
LINE(AARCH64_AFP, afp, "afp", 0, AARCH64_HWCAP2_AFP) \
|
|
85
|
+
LINE(AARCH64_RPRES, rpres, "rpres", 0, AARCH64_HWCAP2_RPRES)
|
|
86
|
+
#define INTROSPECTION_PREFIX Aarch64
|
|
87
|
+
#define INTROSPECTION_ENUM_PREFIX AARCH64
|
|
88
|
+
#include "define_introspection_and_hwcaps.inl"
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// Copyright 2017 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#include "cpu_features_macros.h"
|
|
16
|
+
|
|
17
|
+
#ifdef CPU_FEATURES_ARCH_AARCH64
|
|
18
|
+
#if defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)
|
|
19
|
+
|
|
20
|
+
#include "impl_aarch64__base_implementation.inl"
|
|
21
|
+
|
|
22
|
+
static bool HandleAarch64Line(const LineResult result,
|
|
23
|
+
Aarch64Info* const info) {
|
|
24
|
+
StringView line = result.line;
|
|
25
|
+
StringView key, value;
|
|
26
|
+
if (CpuFeatures_StringView_GetAttributeKeyValue(line, &key, &value)) {
|
|
27
|
+
if (CpuFeatures_StringView_IsEquals(key, str("Features"))) {
|
|
28
|
+
for (size_t i = 0; i < AARCH64_LAST_; ++i) {
|
|
29
|
+
kSetters[i](&info->features, CpuFeatures_StringView_HasWord(
|
|
30
|
+
value, kCpuInfoFlags[i], ' '));
|
|
31
|
+
}
|
|
32
|
+
} else if (CpuFeatures_StringView_IsEquals(key, str("CPU implementer"))) {
|
|
33
|
+
info->implementer = CpuFeatures_StringView_ParsePositiveNumber(value);
|
|
34
|
+
} else if (CpuFeatures_StringView_IsEquals(key, str("CPU variant"))) {
|
|
35
|
+
info->variant = CpuFeatures_StringView_ParsePositiveNumber(value);
|
|
36
|
+
} else if (CpuFeatures_StringView_IsEquals(key, str("CPU part"))) {
|
|
37
|
+
info->part = CpuFeatures_StringView_ParsePositiveNumber(value);
|
|
38
|
+
} else if (CpuFeatures_StringView_IsEquals(key, str("CPU revision"))) {
|
|
39
|
+
info->revision = CpuFeatures_StringView_ParsePositiveNumber(value);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return !result.eof;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static void FillProcCpuInfoData(Aarch64Info* const info) {
|
|
46
|
+
const int fd = CpuFeatures_OpenFile("/proc/cpuinfo");
|
|
47
|
+
if (fd >= 0) {
|
|
48
|
+
StackLineReader reader;
|
|
49
|
+
StackLineReader_Initialize(&reader, fd);
|
|
50
|
+
for (;;) {
|
|
51
|
+
if (!HandleAarch64Line(StackLineReader_NextLine(&reader), info)) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
CpuFeatures_CloseFile(fd);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static const Aarch64Info kEmptyAarch64Info;
|
|
60
|
+
|
|
61
|
+
Aarch64Info GetAarch64Info(void) {
|
|
62
|
+
// capabilities are fetched from both getauxval and /proc/cpuinfo so we can
|
|
63
|
+
// have some information if the executable is sandboxed (aka no access to
|
|
64
|
+
// /proc/cpuinfo).
|
|
65
|
+
Aarch64Info info = kEmptyAarch64Info;
|
|
66
|
+
|
|
67
|
+
FillProcCpuInfoData(&info);
|
|
68
|
+
const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities();
|
|
69
|
+
for (size_t i = 0; i < AARCH64_LAST_; ++i) {
|
|
70
|
+
if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) {
|
|
71
|
+
kSetters[i](&info.features, true);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return info;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
#endif // defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)
|
|
79
|
+
#endif // CPU_FEATURES_ARCH_AARCH64
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// Copyright 2021 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
#include "cpu_features_macros.h"
|
|
16
|
+
|
|
17
|
+
#ifdef CPU_FEATURES_ARCH_AARCH64
|
|
18
|
+
#if defined(CPU_FEATURES_OS_MACOS) || defined(CPU_FEATURES_OS_IPHONE)
|
|
19
|
+
|
|
20
|
+
#include "impl_aarch64__base_implementation.inl"
|
|
21
|
+
|
|
22
|
+
#if !defined(HAVE_SYSCTLBYNAME)
|
|
23
|
+
#error "Darwin needs support for sysctlbyname"
|
|
24
|
+
#endif
|
|
25
|
+
#include <sys/sysctl.h>
|
|
26
|
+
|
|
27
|
+
#if defined(CPU_FEATURES_MOCK_SYSCTL_AARCH64)
|
|
28
|
+
extern bool GetDarwinSysCtlByName(const char*);
|
|
29
|
+
extern int GetDarwinSysCtlByNameValue(const char* name);
|
|
30
|
+
#else
|
|
31
|
+
static int GetDarwinSysCtlByNameValue(const char* name) {
|
|
32
|
+
int enabled;
|
|
33
|
+
size_t enabled_len = sizeof(enabled);
|
|
34
|
+
const int failure = sysctlbyname(name, &enabled, &enabled_len, NULL, 0);
|
|
35
|
+
return failure ? 0 : enabled;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static bool GetDarwinSysCtlByName(const char* name) {
|
|
39
|
+
return GetDarwinSysCtlByNameValue(name) != 0;
|
|
40
|
+
}
|
|
41
|
+
#endif
|
|
42
|
+
|
|
43
|
+
static const Aarch64Info kEmptyAarch64Info;
|
|
44
|
+
|
|
45
|
+
Aarch64Info GetAarch64Info(void) {
|
|
46
|
+
Aarch64Info info = kEmptyAarch64Info;
|
|
47
|
+
|
|
48
|
+
// Handling Darwin platform through sysctlbyname.
|
|
49
|
+
info.implementer = GetDarwinSysCtlByNameValue("hw.cputype");
|
|
50
|
+
info.variant = GetDarwinSysCtlByNameValue("hw.cpusubtype");
|
|
51
|
+
info.part = GetDarwinSysCtlByNameValue("hw.cpufamily");
|
|
52
|
+
info.revision = GetDarwinSysCtlByNameValue("hw.cpusubfamily");
|
|
53
|
+
|
|
54
|
+
info.features.fp = GetDarwinSysCtlByName("hw.optional.floatingpoint");
|
|
55
|
+
info.features.asimd = GetDarwinSysCtlByName("hw.optional.AdvSIMD");
|
|
56
|
+
info.features.aes = GetDarwinSysCtlByName("hw.optional.arm.FEAT_AES");
|
|
57
|
+
info.features.pmull = GetDarwinSysCtlByName("hw.optional.arm.FEAT_PMULL");
|
|
58
|
+
info.features.sha1 = GetDarwinSysCtlByName("hw.optional.arm.FEAT_SHA1");
|
|
59
|
+
info.features.sha2 = GetDarwinSysCtlByName("hw.optional.arm.FEAT_SHA2");
|
|
60
|
+
info.features.crc32 = GetDarwinSysCtlByName("hw.optional.armv8_crc32");
|
|
61
|
+
info.features.atomics = GetDarwinSysCtlByName("hw.optional.armv8_1_atomics");
|
|
62
|
+
info.features.fphp = GetDarwinSysCtlByName("hw.optional.neon_hpfp");
|
|
63
|
+
info.features.jscvt = GetDarwinSysCtlByName("hw.optional.arm.FEAT_JSCVT");
|
|
64
|
+
info.features.fcma = GetDarwinSysCtlByName("hw.optional.arm.FEAT_FCMA");
|
|
65
|
+
info.features.lrcpc = GetDarwinSysCtlByName("hw.optional.arm.FEAT_LRCPC");
|
|
66
|
+
info.features.sha3 = GetDarwinSysCtlByName("hw.optional.armv8_2_sha3");
|
|
67
|
+
info.features.sha512 = GetDarwinSysCtlByName("hw.optional.armv8_2_sha512");
|
|
68
|
+
info.features.asimdfhm = GetDarwinSysCtlByName("hw.optional.armv8_2_fhm");
|
|
69
|
+
info.features.flagm = GetDarwinSysCtlByName("hw.optional.arm.FEAT_FLAGM");
|
|
70
|
+
info.features.flagm2 = GetDarwinSysCtlByName("hw.optional.arm.FEAT_FLAGM2");
|
|
71
|
+
info.features.ssbs = GetDarwinSysCtlByName("hw.optional.arm.FEAT_SSBS");
|
|
72
|
+
info.features.sb = GetDarwinSysCtlByName("hw.optional.arm.FEAT_SB");
|
|
73
|
+
info.features.i8mm = GetDarwinSysCtlByName("hw.optional.arm.FEAT_I8MM");
|
|
74
|
+
info.features.bf16 = GetDarwinSysCtlByName("hw.optional.arm.FEAT_BF16");
|
|
75
|
+
info.features.bti = GetDarwinSysCtlByName("hw.optional.arm.FEAT_BTI");
|
|
76
|
+
info.features.ecv = GetDarwinSysCtlByName("hw.optional.arm.FEAT_ECV");
|
|
77
|
+
|
|
78
|
+
return info;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
#endif // defined(CPU_FEATURES_OS_MACOS) || defined(CPU_FEATURES_OS_IPHONE)
|
|
82
|
+
#endif // CPU_FEATURES_ARCH_AARCH64
|