├── .gitattributes
├── .github
└── FUNDING.yml
├── .npmignore
├── ios
├── libnode
│ └── include
│ │ └── node
│ │ ├── openssl
│ │ ├── ct.h
│ │ ├── ui.h
│ │ ├── asn1.h
│ │ ├── bio.h
│ │ ├── cmp.h
│ │ ├── cms.h
│ │ ├── conf.h
│ │ ├── crmf.h
│ │ ├── err.h
│ │ ├── ess.h
│ │ ├── ocsp.h
│ │ ├── srp.h
│ │ ├── ssl.h
│ │ ├── x509.h
│ │ ├── asn1t.h
│ │ ├── lhash.h
│ │ ├── pkcs7.h
│ │ ├── bn_conf.h
│ │ ├── crypto.h
│ │ ├── fipskey.h
│ │ ├── pkcs12.h
│ │ ├── x509v3.h
│ │ ├── dso_conf.h
│ │ ├── opensslv.h
│ │ ├── safestack.h
│ │ ├── x509_vfy.h
│ │ ├── configuration.h
│ │ ├── ecdh.h
│ │ ├── ecdsa.h
│ │ ├── asn1_mac.h
│ │ ├── kdferr.h
│ │ ├── opensslconf.h
│ │ ├── pem2.h
│ │ ├── ossl_typ.h
│ │ ├── quic.h
│ │ ├── archs
│ │ │ ├── darwin64-arm64-cc
│ │ │ │ ├── asm
│ │ │ │ │ ├── include
│ │ │ │ │ │ ├── crypto
│ │ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ │ └── openssl
│ │ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ └── buildinf.h
│ │ │ │ │ └── providers
│ │ │ │ │ │ └── common
│ │ │ │ │ │ └── include
│ │ │ │ │ │ └── prov
│ │ │ │ │ │ └── der_sm2.h
│ │ │ │ ├── asm_avx2
│ │ │ │ │ ├── include
│ │ │ │ │ │ ├── crypto
│ │ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ │ └── openssl
│ │ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── providers
│ │ │ │ │ │ └── common
│ │ │ │ │ │ │ └── include
│ │ │ │ │ │ │ └── prov
│ │ │ │ │ │ │ └── der_sm2.h
│ │ │ │ │ └── crypto
│ │ │ │ │ │ └── buildinf.h
│ │ │ │ └── no-asm
│ │ │ │ │ ├── include
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ └── openssl
│ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── crypto
│ │ │ │ │ └── buildinf.h
│ │ │ │ │ └── providers
│ │ │ │ │ └── common
│ │ │ │ │ └── include
│ │ │ │ │ └── prov
│ │ │ │ │ └── der_sm2.h
│ │ │ └── darwin64-x86_64-cc
│ │ │ │ ├── asm
│ │ │ │ ├── include
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ └── openssl
│ │ │ │ │ │ └── fipskey.h
│ │ │ │ ├── crypto
│ │ │ │ │ └── buildinf.h
│ │ │ │ └── providers
│ │ │ │ │ └── common
│ │ │ │ │ └── include
│ │ │ │ │ └── prov
│ │ │ │ │ └── der_sm2.h
│ │ │ │ ├── asm_avx2
│ │ │ │ ├── include
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ └── openssl
│ │ │ │ │ │ └── fipskey.h
│ │ │ │ ├── providers
│ │ │ │ │ └── common
│ │ │ │ │ │ └── include
│ │ │ │ │ │ └── prov
│ │ │ │ │ │ └── der_sm2.h
│ │ │ │ └── crypto
│ │ │ │ │ └── buildinf.h
│ │ │ │ └── no-asm
│ │ │ │ ├── include
│ │ │ │ ├── crypto
│ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ └── bn_conf.h
│ │ │ │ └── openssl
│ │ │ │ │ └── fipskey.h
│ │ │ │ ├── crypto
│ │ │ │ └── buildinf.h
│ │ │ │ └── providers
│ │ │ │ └── common
│ │ │ │ └── include
│ │ │ │ └── prov
│ │ │ │ └── der_sm2.h
│ │ ├── buffererr.h
│ │ ├── ssl2.h
│ │ ├── objectserr.h
│ │ ├── decodererr.h
│ │ ├── encodererr.h
│ │ ├── comperr.h
│ │ ├── asyncerr.h
│ │ ├── prov_ssl.h
│ │ ├── ebcdic.h
│ │ ├── esserr.h
│ │ ├── core_object.h
│ │ ├── conftypes.h
│ │ ├── rc4.h
│ │ ├── symhacks.h
│ │ └── uierr.h
│ │ ├── v8-inspector-protocol.h
│ │ ├── v8-value-serializer-version.h
│ │ ├── cppgc
│ │ ├── common.h
│ │ ├── ephemeron-pair.h
│ │ ├── macros.h
│ │ ├── sentinel-pointer.h
│ │ └── process-heap-statistics.h
│ │ ├── v8-version.h
│ │ ├── libplatform
│ │ └── libplatform-export.h
│ │ ├── v8-microtask.h
│ │ ├── v8-unwinder-state.h
│ │ ├── v8-external.h
│ │ ├── v8-wasm-trap-handler-win.h
│ │ ├── v8-date.h
│ │ ├── v8-version-string.h
│ │ ├── v8-wasm-trap-handler-posix.h
│ │ ├── v8-memory-span.h
│ │ ├── v8-proxy.h
│ │ └── v8-json.h
├── NodeMobile.xcframework
│ ├── ios-arm64
│ │ └── NodeMobile.framework
│ │ │ ├── Modules
│ │ │ └── module.modulemap
│ │ │ ├── Info.plist
│ │ │ └── Headers
│ │ │ └── NodeMobile.h
│ ├── ios-arm64_x86_64-simulator
│ │ └── NodeMobile.framework
│ │ │ ├── Modules
│ │ │ └── module.modulemap
│ │ │ ├── Info.plist
│ │ │ └── Headers
│ │ │ └── NodeMobile.h
│ └── Info.plist
├── RNNodeJsMobile.h
├── RNNodeJsMobile.xcworkspace
│ └── contents.xcworkspacedata
├── rn-bridge.h
└── NodeRunner.hpp
├── android
├── libnode
│ └── include
│ │ └── node
│ │ ├── openssl
│ │ ├── ct.h
│ │ ├── ui.h
│ │ ├── asn1.h
│ │ ├── bio.h
│ │ ├── cmp.h
│ │ ├── cms.h
│ │ ├── conf.h
│ │ ├── crmf.h
│ │ ├── err.h
│ │ ├── ess.h
│ │ ├── ocsp.h
│ │ ├── srp.h
│ │ ├── ssl.h
│ │ ├── x509.h
│ │ ├── asn1t.h
│ │ ├── crypto.h
│ │ ├── lhash.h
│ │ ├── pkcs12.h
│ │ ├── pkcs7.h
│ │ ├── x509v3.h
│ │ ├── bn_conf.h
│ │ ├── fipskey.h
│ │ ├── dso_conf.h
│ │ ├── opensslv.h
│ │ ├── safestack.h
│ │ ├── x509_vfy.h
│ │ ├── configuration.h
│ │ ├── ecdh.h
│ │ ├── ecdsa.h
│ │ ├── asn1_mac.h
│ │ ├── kdferr.h
│ │ ├── opensslconf.h
│ │ ├── pem2.h
│ │ ├── ossl_typ.h
│ │ ├── quic.h
│ │ ├── archs
│ │ │ ├── linux-elf
│ │ │ │ ├── asm
│ │ │ │ │ ├── include
│ │ │ │ │ │ ├── crypto
│ │ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ │ └── openssl
│ │ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── providers
│ │ │ │ │ │ └── common
│ │ │ │ │ │ │ └── include
│ │ │ │ │ │ │ └── prov
│ │ │ │ │ │ │ └── der_sm2.h
│ │ │ │ │ └── crypto
│ │ │ │ │ │ └── buildinf.h
│ │ │ │ ├── no-asm
│ │ │ │ │ ├── include
│ │ │ │ │ │ ├── crypto
│ │ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ │ └── openssl
│ │ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ └── buildinf.h
│ │ │ │ │ └── providers
│ │ │ │ │ │ └── common
│ │ │ │ │ │ └── include
│ │ │ │ │ │ └── prov
│ │ │ │ │ │ └── der_sm2.h
│ │ │ │ └── asm_avx2
│ │ │ │ │ ├── include
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ └── openssl
│ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ └── providers
│ │ │ │ │ └── common
│ │ │ │ │ └── include
│ │ │ │ │ └── prov
│ │ │ │ │ └── der_sm2.h
│ │ │ ├── linux-x86_64
│ │ │ │ ├── asm
│ │ │ │ │ ├── include
│ │ │ │ │ │ ├── crypto
│ │ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ │ └── openssl
│ │ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ └── buildinf.h
│ │ │ │ │ └── providers
│ │ │ │ │ │ └── common
│ │ │ │ │ │ └── include
│ │ │ │ │ │ └── prov
│ │ │ │ │ │ └── der_sm2.h
│ │ │ │ ├── asm_avx2
│ │ │ │ │ ├── include
│ │ │ │ │ │ ├── crypto
│ │ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ │ └── openssl
│ │ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── providers
│ │ │ │ │ │ └── common
│ │ │ │ │ │ │ └── include
│ │ │ │ │ │ │ └── prov
│ │ │ │ │ │ │ └── der_sm2.h
│ │ │ │ │ └── crypto
│ │ │ │ │ │ └── buildinf.h
│ │ │ │ └── no-asm
│ │ │ │ │ ├── include
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ └── openssl
│ │ │ │ │ │ └── fipskey.h
│ │ │ │ │ ├── crypto
│ │ │ │ │ └── buildinf.h
│ │ │ │ │ └── providers
│ │ │ │ │ └── common
│ │ │ │ │ └── include
│ │ │ │ │ └── prov
│ │ │ │ │ └── der_sm2.h
│ │ │ └── linux-aarch64
│ │ │ │ ├── asm
│ │ │ │ ├── include
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ └── openssl
│ │ │ │ │ │ └── fipskey.h
│ │ │ │ ├── crypto
│ │ │ │ │ └── buildinf.h
│ │ │ │ └── providers
│ │ │ │ │ └── common
│ │ │ │ │ └── include
│ │ │ │ │ └── prov
│ │ │ │ │ └── der_sm2.h
│ │ │ │ ├── no-asm
│ │ │ │ ├── include
│ │ │ │ │ ├── crypto
│ │ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ │ └── bn_conf.h
│ │ │ │ │ └── openssl
│ │ │ │ │ │ └── fipskey.h
│ │ │ │ ├── crypto
│ │ │ │ │ └── buildinf.h
│ │ │ │ └── providers
│ │ │ │ │ └── common
│ │ │ │ │ └── include
│ │ │ │ │ └── prov
│ │ │ │ │ └── der_sm2.h
│ │ │ │ └── asm_avx2
│ │ │ │ ├── include
│ │ │ │ ├── crypto
│ │ │ │ │ ├── dso_conf.h
│ │ │ │ │ └── bn_conf.h
│ │ │ │ └── openssl
│ │ │ │ │ └── fipskey.h
│ │ │ │ ├── crypto
│ │ │ │ └── buildinf.h
│ │ │ │ └── providers
│ │ │ │ └── common
│ │ │ │ └── include
│ │ │ │ └── prov
│ │ │ │ └── der_sm2.h
│ │ ├── buffererr.h
│ │ ├── ssl2.h
│ │ ├── objectserr.h
│ │ ├── decodererr.h
│ │ ├── encodererr.h
│ │ ├── comperr.h
│ │ ├── asyncerr.h
│ │ ├── prov_ssl.h
│ │ ├── ebcdic.h
│ │ ├── esserr.h
│ │ ├── core_object.h
│ │ ├── conftypes.h
│ │ ├── rc4.h
│ │ ├── symhacks.h
│ │ ├── uierr.h
│ │ └── conf_api.h
│ │ ├── v8-inspector-protocol.h
│ │ ├── v8-value-serializer-version.h
│ │ ├── cppgc
│ │ ├── common.h
│ │ ├── ephemeron-pair.h
│ │ ├── macros.h
│ │ ├── sentinel-pointer.h
│ │ └── process-heap-statistics.h
│ │ ├── v8-version.h
│ │ ├── libplatform
│ │ └── libplatform-export.h
│ │ ├── v8-microtask.h
│ │ ├── v8-unwinder-state.h
│ │ ├── v8-external.h
│ │ ├── v8-wasm-trap-handler-win.h
│ │ ├── v8-date.h
│ │ ├── v8-version-string.h
│ │ ├── v8-wasm-trap-handler-posix.h
│ │ ├── v8-memory-span.h
│ │ ├── v8-proxy.h
│ │ └── v8-json.h
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── cpp
│ └── rn-bridge.h
│ └── java
│ └── com
│ └── janeasystems
│ └── rn_nodejs_mobile
│ └── RNNodeJsMobilePackage.java
├── install
└── resources
│ ├── nodejs-modules
│ └── builtin_modules
│ │ └── rn-bridge
│ │ └── package.json
│ └── nodejs-assets
│ └── nodejs-project
│ ├── sample-package.json
│ └── sample-main.js
├── scripts
├── ios-remove-framework-simulator-strips.sh
├── ios-copy-nodejs-project.sh
└── override-dlopen-paths-preload.js
├── .gitignore
├── package.json
├── react-native.config.js
├── nodejs-mobile-react-native.podspec
└── LICENSE
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | open_collective: nodejs-mobile
2 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | # Don't ignore large binaries
2 | !android/libnode/bin/*/libnode.so
3 | !ios/NodeMobile.framework/NodeMobile
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ct.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ct_no-asm.h"
3 | #else
4 | # include "./ct_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ui.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ui_no-asm.h"
3 | #else
4 | # include "./ui_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ct.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ct_no-asm.h"
3 | #else
4 | # include "./ct_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ui.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ui_no-asm.h"
3 | #else
4 | # include "./ui_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/asn1.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./asn1_no-asm.h"
3 | #else
4 | # include "./asn1_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/bio.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./bio_no-asm.h"
3 | #else
4 | # include "./bio_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/cmp.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./cmp_no-asm.h"
3 | #else
4 | # include "./cmp_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/cms.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./cms_no-asm.h"
3 | #else
4 | # include "./cms_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/conf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./conf_no-asm.h"
3 | #else
4 | # include "./conf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/crmf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./crmf_no-asm.h"
3 | #else
4 | # include "./crmf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/err.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./err_no-asm.h"
3 | #else
4 | # include "./err_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ess.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ess_no-asm.h"
3 | #else
4 | # include "./ess_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ocsp.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ocsp_no-asm.h"
3 | #else
4 | # include "./ocsp_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/srp.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./srp_no-asm.h"
3 | #else
4 | # include "./srp_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ssl.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ssl_no-asm.h"
3 | #else
4 | # include "./ssl_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/x509.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./x509_no-asm.h"
3 | #else
4 | # include "./x509_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/asn1.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./asn1_no-asm.h"
3 | #else
4 | # include "./asn1_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/bio.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./bio_no-asm.h"
3 | #else
4 | # include "./bio_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/cmp.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./cmp_no-asm.h"
3 | #else
4 | # include "./cmp_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/cms.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./cms_no-asm.h"
3 | #else
4 | # include "./cms_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/conf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./conf_no-asm.h"
3 | #else
4 | # include "./conf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/crmf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./crmf_no-asm.h"
3 | #else
4 | # include "./crmf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/err.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./err_no-asm.h"
3 | #else
4 | # include "./err_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ess.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ess_no-asm.h"
3 | #else
4 | # include "./ess_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ocsp.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ocsp_no-asm.h"
3 | #else
4 | # include "./ocsp_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/srp.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./srp_no-asm.h"
3 | #else
4 | # include "./srp_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ssl.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./ssl_no-asm.h"
3 | #else
4 | # include "./ssl_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/x509.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./x509_no-asm.h"
3 | #else
4 | # include "./x509_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/asn1t.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./asn1t_no-asm.h"
3 | #else
4 | # include "./asn1t_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/lhash.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./lhash_no-asm.h"
3 | #else
4 | # include "./lhash_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/pkcs7.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./pkcs7_no-asm.h"
3 | #else
4 | # include "./pkcs7_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/asn1t.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./asn1t_no-asm.h"
3 | #else
4 | # include "./asn1t_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/crypto.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./crypto_no-asm.h"
3 | #else
4 | # include "./crypto_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/lhash.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./lhash_no-asm.h"
3 | #else
4 | # include "./lhash_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/pkcs12.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./pkcs12_no-asm.h"
3 | #else
4 | # include "./pkcs12_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/pkcs7.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./pkcs7_no-asm.h"
3 | #else
4 | # include "./pkcs7_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/x509v3.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./x509v3_no-asm.h"
3 | #else
4 | # include "./x509v3_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/bn_conf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./bn_conf_no-asm.h"
3 | #else
4 | # include "./bn_conf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/crypto.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./crypto_no-asm.h"
3 | #else
4 | # include "./crypto_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./fipskey_no-asm.h"
3 | #else
4 | # include "./fipskey_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/pkcs12.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./pkcs12_no-asm.h"
3 | #else
4 | # include "./pkcs12_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/x509v3.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./x509v3_no-asm.h"
3 | #else
4 | # include "./x509v3_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/bn_conf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./bn_conf_no-asm.h"
3 | #else
4 | # include "./bn_conf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./fipskey_no-asm.h"
3 | #else
4 | # include "./fipskey_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/dso_conf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./dso_conf_no-asm.h"
3 | #else
4 | # include "./dso_conf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/opensslv.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./opensslv_no-asm.h"
3 | #else
4 | # include "./opensslv_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/safestack.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./safestack_no-asm.h"
3 | #else
4 | # include "./safestack_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/x509_vfy.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./x509_vfy_no-asm.h"
3 | #else
4 | # include "./x509_vfy_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/dso_conf.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./dso_conf_no-asm.h"
3 | #else
4 | # include "./dso_conf_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/opensslv.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./opensslv_no-asm.h"
3 | #else
4 | # include "./opensslv_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/safestack.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./safestack_no-asm.h"
3 | #else
4 | # include "./safestack_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/x509_vfy.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./x509_vfy_no-asm.h"
3 | #else
4 | # include "./x509_vfy_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/configuration.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./configuration_no-asm.h"
3 | #else
4 | # include "./configuration_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/configuration.h:
--------------------------------------------------------------------------------
1 | #if defined(OPENSSL_NO_ASM)
2 | # include "./configuration_no-asm.h"
3 | #else
4 | # include "./configuration_asm.h"
5 | #endif
6 |
--------------------------------------------------------------------------------
/android/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ios/NodeMobile.xcframework/ios-arm64/NodeMobile.framework/Modules/module.modulemap:
--------------------------------------------------------------------------------
1 | framework module NodeMobile {
2 | umbrella header "NodeMobile.h"
3 | export *
4 |
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/NodeMobile.xcframework/ios-arm64/NodeMobile.framework/Info.plist:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodejs-mobile/nodejs-mobile-react-native/HEAD/ios/NodeMobile.xcframework/ios-arm64/NodeMobile.framework/Info.plist
--------------------------------------------------------------------------------
/ios/RNNodeJsMobile.h:
--------------------------------------------------------------------------------
1 |
2 | #import
3 |
4 | @interface RNNodeJsMobile : NSObject
5 | -(void) sendMessageBackToReact:(NSString*)channelName:(NSString*)message;
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/NodeMobile.xcframework/ios-arm64_x86_64-simulator/NodeMobile.framework/Modules/module.modulemap:
--------------------------------------------------------------------------------
1 | framework module NodeMobile {
2 | umbrella header "NodeMobile.h"
3 | export *
4 |
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/ios/NodeMobile.xcframework/ios-arm64/NodeMobile.framework/Headers/NodeMobile.h:
--------------------------------------------------------------------------------
1 |
2 | #ifdef __cplusplus
3 | extern "C" {
4 | #endif
5 |
6 | int node_start(int argc, char *argv[]);
7 |
8 | #ifdef __cplusplus
9 | }
10 | #endif
11 |
--------------------------------------------------------------------------------
/ios/NodeMobile.xcframework/ios-arm64_x86_64-simulator/NodeMobile.framework/Info.plist:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nodejs-mobile/nodejs-mobile-react-native/HEAD/ios/NodeMobile.xcframework/ios-arm64_x86_64-simulator/NodeMobile.framework/Info.plist
--------------------------------------------------------------------------------
/ios/NodeMobile.xcframework/ios-arm64_x86_64-simulator/NodeMobile.framework/Headers/NodeMobile.h:
--------------------------------------------------------------------------------
1 |
2 | #ifdef __cplusplus
3 | extern "C" {
4 | #endif
5 |
6 | int node_start(int argc, char *argv[]);
7 |
8 | #ifdef __cplusplus
9 | }
10 | #endif
11 |
--------------------------------------------------------------------------------
/ios/RNNodeJsMobile.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 |
3 |
5 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/rn-bridge.h:
--------------------------------------------------------------------------------
1 | #ifndef SRC_RN_BRIDGE_H_
2 | #define SRC_RN_BRIDGE_H_
3 |
4 | typedef void (*rn_bridge_cb)(const char* channelName, const char* message);
5 | void rn_register_bridge_cb(rn_bridge_cb);
6 | void rn_bridge_notify(const char* channelName, const char *message);
7 | void rn_register_node_data_dir_path(const char* path);
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/android/src/main/cpp/rn-bridge.h:
--------------------------------------------------------------------------------
1 | #ifndef SRC_RN_BRIDGE_H_
2 | #define SRC_RN_BRIDGE_H_
3 |
4 | typedef void (*rn_bridge_cb)(const char* channelName, const char* message);
5 | void rn_register_bridge_cb(rn_bridge_cb);
6 | void rn_bridge_notify(const char* channelName, const char *message);
7 | void rn_register_node_data_dir_path(const char* path);
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/install/resources/nodejs-modules/builtin_modules/rn-bridge/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "rn-bridge",
3 | "version": "0.2.0",
4 | "description": "NodeJS for Mobile React Native Bridge",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "JaneaSystems Inc.",
10 | "license": "MIT"
11 | }
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ecdh.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #include
11 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ecdsa.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #include
11 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ecdh.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #include
11 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ecdsa.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2002-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #include
11 |
--------------------------------------------------------------------------------
/install/resources/nodejs-assets/nodejs-project/sample-package.json:
--------------------------------------------------------------------------------
1 | {
2 | "//":
3 | ["Rename this sample file to package.json to use on your project."
4 | , "The sample-package.json file will be overwritten in updates/reinstalls."
5 | ],
6 | "name": "sample-node-project",
7 | "version": "0.0.1",
8 | "description": "node part of the project",
9 | "main": "main.js",
10 | "author": "janeasystems",
11 | "license": ""
12 | }
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/asn1_mac.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #error "This file is obsolete; please update your software."
11 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/asn1_mac.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #error "This file is obsolete; please update your software."
11 |
--------------------------------------------------------------------------------
/install/resources/nodejs-assets/nodejs-project/sample-main.js:
--------------------------------------------------------------------------------
1 | // Rename this sample file to main.js to use on your project.
2 | // The main.js file will be overwritten in updates/reinstalls.
3 |
4 | var rn_bridge = require('rn-bridge');
5 |
6 | // Echo every message received from react-native.
7 | rn_bridge.channel.on('message', (msg) => {
8 | rn_bridge.channel.send(msg);
9 | } );
10 |
11 | // Inform react-native node is initialized.
12 | rn_bridge.channel.send("Node was initialized.");
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/kdferr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_KDFERR_H
11 | # define OPENSSL_KDFERR_H
12 | # pragma once
13 |
14 | #include
15 |
16 | #endif /* !defined(OPENSSL_KDFERR_H) */
17 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/kdferr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_KDFERR_H
11 | # define OPENSSL_KDFERR_H
12 | # pragma once
13 |
14 | #include
15 |
16 | #endif /* !defined(OPENSSL_KDFERR_H) */
17 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/opensslconf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_OPENSSLCONF_H
11 | # define OPENSSL_OPENSSLCONF_H
12 | # pragma once
13 |
14 | # include
15 | # include
16 |
17 | #endif /* OPENSSL_OPENSSLCONF_H */
18 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/opensslconf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_OPENSSLCONF_H
11 | # define OPENSSL_OPENSSLCONF_H
12 | # pragma once
13 |
14 | # include
15 | # include
16 |
17 | #endif /* OPENSSL_OPENSSLCONF_H */
18 |
--------------------------------------------------------------------------------
/scripts/ios-remove-framework-simulator-strips.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 |
4 | FRAMEWORK_BINARY_PATH="$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/NodeMobile.framework/NodeMobile"
5 | FRAMEWORK_STRIPPED_PATH="$FRAMEWORK_BINARY_PATH-strip"
6 |
7 | if [ "$PLATFORM_NAME" != "iphonesimulator" ]; then
8 | if $(lipo "$FRAMEWORK_BINARY_PATH" -verify_arch "x86_64") ; then
9 | lipo -output "$FRAMEWORK_STRIPPED_PATH" -remove "x86_64" "$FRAMEWORK_BINARY_PATH"
10 | rm "$FRAMEWORK_BINARY_PATH"
11 | mv "$FRAMEWORK_STRIPPED_PATH" "$FRAMEWORK_BINARY_PATH"
12 | echo "Removed simulator strip from NodeMobile.framework"
13 | fi
14 | fi
15 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/pem2.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_PEM2_H
11 | # define OPENSSL_PEM2_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_PEM2_H
17 | # endif
18 | # include
19 | #endif
20 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-inspector-protocol.h:
--------------------------------------------------------------------------------
1 | // Copyright 2016 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_V8_INSPECTOR_PROTOCOL_H_
6 | #define V8_V8_INSPECTOR_PROTOCOL_H_
7 |
8 | #include "inspector/Debugger.h" // NOLINT(build/include_directory)
9 | #include "inspector/Runtime.h" // NOLINT(build/include_directory)
10 | #include "inspector/Schema.h" // NOLINT(build/include_directory)
11 | #include "v8-inspector.h" // NOLINT(build/include_directory)
12 |
13 | #endif // V8_V8_INSPECTOR_PROTOCOL_H_
14 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/pem2.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_PEM2_H
11 | # define OPENSSL_PEM2_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_PEM2_H
17 | # endif
18 | # include
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-inspector-protocol.h:
--------------------------------------------------------------------------------
1 | // Copyright 2016 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_V8_INSPECTOR_PROTOCOL_H_
6 | #define V8_V8_INSPECTOR_PROTOCOL_H_
7 |
8 | #include "inspector/Debugger.h" // NOLINT(build/include_directory)
9 | #include "inspector/Runtime.h" // NOLINT(build/include_directory)
10 | #include "inspector/Schema.h" // NOLINT(build/include_directory)
11 | #include "v8-inspector.h" // NOLINT(build/include_directory)
12 |
13 | #endif // V8_V8_INSPECTOR_PROTOCOL_H_
14 |
--------------------------------------------------------------------------------
/ios/NodeRunner.hpp:
--------------------------------------------------------------------------------
1 | #ifndef NodeRunner_hpp
2 | #define NodeRunner_hpp
3 | #import
4 | #import "RNNodeJsMobile.h"
5 |
6 | @interface NodeRunner : NSObject
7 | {
8 | bool _startedNodeAlready;
9 | }
10 | + (NodeRunner*) sharedInstance;
11 | - (void) startEngineWithArguments:(NSArray*)arguments:(NSString*)builtinModulesPath;
12 | - (void) setCurrentRNNodeJsMobile:(RNNodeJsMobile*)module;
13 | - (void) sendMessageToNode:(NSString*)channelName:(NSString*)message;
14 | - (void) sendMessageBackToReact:(NSString*)channelName:(NSString*)message;
15 | @property(assign, nonatomic, readwrite) bool startedNodeAlready;
16 | @end
17 |
18 | #endif
19 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ossl_typ.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | /*
11 | * The original was renamed to
12 | *
13 | * This header file only exists for compatibility reasons with older
14 | * applications which #include .
15 | */
16 | # include
17 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ossl_typ.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | /*
11 | * The original was renamed to
12 | *
13 | * This header file only exists for compatibility reasons with older
14 | * applications which #include .
15 | */
16 | # include
17 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/quic.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_QUIC_H
11 | # define OPENSSL_QUIC_H
12 | # pragma once
13 | # ifndef OPENSSL_NO_QUIC
14 |
15 | /* moved from crypto.h.in to avoid breaking FIPS checksums */
16 | # define OPENSSL_INFO_QUIC 2000
17 |
18 | # endif /* OPENSSL_NO_QUIC */
19 | #endif /* OPENSSL_QUIC_H */
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/quic.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_QUIC_H
11 | # define OPENSSL_QUIC_H
12 | # pragma once
13 | # ifndef OPENSSL_NO_QUIC
14 |
15 | /* moved from crypto.h.in to avoid breaking FIPS checksums */
16 | # define OPENSSL_INFO_QUIC 2000
17 |
18 | # endif /* OPENSSL_NO_QUIC */
19 | #endif /* OPENSSL_QUIC_H */
20 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # OSX
3 | #
4 | .DS_Store
5 |
6 | # node.js
7 | #
8 | node_modules/
9 | npm-debug.log
10 | yarn-error.log
11 |
12 | # Large binaries
13 | android/libnode/bin/*/libnode.so
14 | ios/NodeMobile.xcframework/**/NodeMobile
15 |
16 | # Xcode
17 | #
18 | build/
19 | *.pbxuser
20 | !default.pbxuser
21 | *.mode1v3
22 | !default.mode1v3
23 | *.mode2v3
24 | !default.mode2v3
25 | *.perspectivev3
26 | !default.perspectivev3
27 | xcuserdata
28 | *.xccheckout
29 | *.moved-aside
30 | DerivedData
31 | *.hmap
32 | *.ipa
33 | *.xcuserstate
34 | project.xcworkspace
35 |
36 |
37 | # Android/IntelliJ
38 | #
39 | build/
40 | .idea
41 | .gradle
42 | local.properties
43 | *.iml
44 |
45 | # BUCK
46 | buck-out/
47 | \.buckd/
48 | *.keystore
49 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/no-asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/no-asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/asm_avx2/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/asm_avx2/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/no-asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/buffererr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_BUFFERERR_H
12 | # define OPENSSL_BUFFERERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * BUF reason codes.
23 | */
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".dylib"
19 | #endif
20 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".dylib"
19 | #endif
20 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/buffererr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_BUFFERERR_H
12 | # define OPENSSL_BUFFERERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * BUF reason codes.
23 | */
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/asm_avx2/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".so"
19 | #endif
20 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".dylib"
19 | #endif
20 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".dylib"
19 | #endif
20 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".dylib"
19 | #endif
20 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/crypto/dso_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/dso_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_DSO_CONF_H
13 | # define OSSL_CRYPTO_DSO_CONF_H
14 | # pragma once
15 |
16 | # define DSO_DLFCN
17 | # define HAVE_DLFCN_H
18 | # define DSO_EXTENSION ".dylib"
19 | #endif
20 |
--------------------------------------------------------------------------------
/scripts/ios-copy-nodejs-project.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 |
4 | NODEJS_ASSETS_DIR="$( cd "$PROJECT_DIR" && cd ../nodejs-assets/ && pwd )"
5 | NODEJS_BUILT_IN_MODULES_DIR="$( cd "$PROJECT_DIR" && cd ../node_modules/nodejs-mobile-react-native/install/resources/nodejs-modules/ && pwd )"
6 |
7 | if [ -d "$CODESIGNING_FOLDER_PATH/nodejs-project/" ]; then
8 | rm -rf "$CODESIGNING_FOLDER_PATH/nodejs-project/"
9 | fi
10 |
11 | if [ -d "$CODESIGNING_FOLDER_PATH/builtin_modules/" ]; then
12 | rm -rf "$CODESIGNING_FOLDER_PATH/builtin_modules/"
13 | fi
14 |
15 | rsync --archive --delete "$NODEJS_ASSETS_DIR/nodejs-project" "$CODESIGNING_FOLDER_PATH"
16 | rsync --archive --delete "$NODEJS_BUILT_IN_MODULES_DIR/builtin_modules" "$CODESIGNING_FOLDER_PATH"
17 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-value-serializer-version.h:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | /**
6 | * Compile-time constants.
7 | *
8 | * This header provides access to information about the value serializer at
9 | * compile time, without declaring or defining any symbols that require linking
10 | * to V8.
11 | */
12 |
13 | #ifndef INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
14 | #define INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
15 |
16 | #include
17 |
18 | namespace v8 {
19 |
20 | constexpr uint32_t CurrentValueSerializerFormatVersion() { return 15; }
21 |
22 | } // namespace v8
23 |
24 | #endif // INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
25 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-value-serializer-version.h:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | /**
6 | * Compile-time constants.
7 | *
8 | * This header provides access to information about the value serializer at
9 | * compile time, without declaring or defining any symbols that require linking
10 | * to V8.
11 | */
12 |
13 | #ifndef INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
14 | #define INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
15 |
16 | #include
17 |
18 | namespace v8 {
19 |
20 | constexpr uint32_t CurrentValueSerializerFormatVersion() { return 15; }
21 |
22 | } // namespace v8
23 |
24 | #endif // INCLUDE_V8_VALUE_SERIALIZER_VERSION_H_
25 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ssl2.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_SSL2_H
11 | # define OPENSSL_SSL2_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_SSL2_H
17 | # endif
18 |
19 | #ifdef __cplusplus
20 | extern "C" {
21 | #endif
22 |
23 | # define SSL2_VERSION 0x0002
24 |
25 | # define SSL2_MT_CLIENT_HELLO 1
26 |
27 | #ifdef __cplusplus
28 | }
29 | #endif
30 | #endif
31 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ssl2.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_SSL2_H
11 | # define OPENSSL_SSL2_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_SSL2_H
17 | # endif
18 |
19 | #ifdef __cplusplus
20 | extern "C" {
21 | #endif
22 |
23 | # define SSL2_VERSION 0x0002
24 |
25 | # define SSL2_MT_CLIENT_HELLO 1
26 |
27 | #ifdef __cplusplus
28 | }
29 | #endif
30 | #endif
31 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/cppgc/common.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_COMMON_H_
6 | #define INCLUDE_CPPGC_COMMON_H_
7 |
8 | // TODO(chromium:1056170): Remove dependency on v8.
9 | #include "v8config.h" // NOLINT(build/include_directory)
10 |
11 | namespace cppgc {
12 |
13 | /**
14 | * Indicator for the stack state of the embedder.
15 | */
16 | enum class EmbedderStackState {
17 | /**
18 | * Stack may contain interesting heap pointers.
19 | */
20 | kMayContainHeapPointers,
21 | /**
22 | * Stack does not contain any interesting heap pointers.
23 | */
24 | kNoHeapPointers,
25 | };
26 |
27 | } // namespace cppgc
28 |
29 | #endif // INCLUDE_CPPGC_COMMON_H_
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/cppgc/common.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_COMMON_H_
6 | #define INCLUDE_CPPGC_COMMON_H_
7 |
8 | // TODO(chromium:1056170): Remove dependency on v8.
9 | #include "v8config.h" // NOLINT(build/include_directory)
10 |
11 | namespace cppgc {
12 |
13 | /**
14 | * Indicator for the stack state of the embedder.
15 | */
16 | enum class EmbedderStackState {
17 | /**
18 | * Stack may contain interesting heap pointers.
19 | */
20 | kMayContainHeapPointers,
21 | /**
22 | * Stack does not contain any interesting heap pointers.
23 | */
24 | kNoHeapPointers,
25 | };
26 |
27 | } // namespace cppgc
28 |
29 | #endif // INCLUDE_CPPGC_COMMON_H_
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-version.h:
--------------------------------------------------------------------------------
1 | // Copyright 2015 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_INCLUDE_VERSION_H_ // V8_VERSION_H_ conflicts with src/version.h
6 | #define V8_INCLUDE_VERSION_H_
7 |
8 | // These macros define the version number for the current version.
9 | // NOTE these macros are used by some of the tool scripts and the build
10 | // system so their names cannot be changed without changing the scripts.
11 | #define V8_MAJOR_VERSION 10
12 | #define V8_MINOR_VERSION 2
13 | #define V8_BUILD_NUMBER 154
14 | #define V8_PATCH_LEVEL 26
15 |
16 | // Use 1 for candidates and 0 otherwise.
17 | // (Boolean macro values are not supported by all preprocessors.)
18 | #define V8_IS_CANDIDATE_VERSION 0
19 |
20 | #endif // V8_INCLUDE_VERSION_H_
21 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-version.h:
--------------------------------------------------------------------------------
1 | // Copyright 2015 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_INCLUDE_VERSION_H_ // V8_VERSION_H_ conflicts with src/version.h
6 | #define V8_INCLUDE_VERSION_H_
7 |
8 | // These macros define the version number for the current version.
9 | // NOTE these macros are used by some of the tool scripts and the build
10 | // system so their names cannot be changed without changing the scripts.
11 | #define V8_MAJOR_VERSION 10
12 | #define V8_MINOR_VERSION 2
13 | #define V8_BUILD_NUMBER 154
14 | #define V8_PATCH_LEVEL 26
15 |
16 | // Use 1 for candidates and 0 otherwise.
17 | // (Boolean macro values are not supported by all preprocessors.)
18 | #define V8_IS_CANDIDATE_VERSION 0
19 |
20 | #endif // V8_INCLUDE_VERSION_H_
21 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/objectserr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_OBJECTSERR_H
12 | # define OPENSSL_OBJECTSERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * OBJ reason codes.
23 | */
24 | # define OBJ_R_OID_EXISTS 102
25 | # define OBJ_R_UNKNOWN_NID 101
26 | # define OBJ_R_UNKNOWN_OBJECT_NAME 103
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/objectserr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_OBJECTSERR_H
12 | # define OPENSSL_OBJECTSERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * OBJ reason codes.
23 | */
24 | # define OBJ_R_OID_EXISTS 102
25 | # define OBJ_R_UNKNOWN_NID 101
26 | # define OBJ_R_UNKNOWN_OBJECT_NAME 103
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/decodererr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_DECODERERR_H
12 | # define OPENSSL_DECODERERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * OSSL_DECODER reason codes.
23 | */
24 | # define OSSL_DECODER_R_COULD_NOT_DECODE_OBJECT 101
25 | # define OSSL_DECODER_R_DECODER_NOT_FOUND 102
26 | # define OSSL_DECODER_R_MISSING_GET_PARAMS 100
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/encodererr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_ENCODERERR_H
12 | # define OPENSSL_ENCODERERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * OSSL_ENCODER reason codes.
23 | */
24 | # define OSSL_ENCODER_R_ENCODER_NOT_FOUND 101
25 | # define OSSL_ENCODER_R_INCORRECT_PROPERTY_QUERY 100
26 | # define OSSL_ENCODER_R_MISSING_GET_PARAMS 102
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/decodererr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_DECODERERR_H
12 | # define OPENSSL_DECODERERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * OSSL_DECODER reason codes.
23 | */
24 | # define OSSL_DECODER_R_COULD_NOT_DECODE_OBJECT 101
25 | # define OSSL_DECODER_R_DECODER_NOT_FOUND 102
26 | # define OSSL_DECODER_R_MISSING_GET_PARAMS 100
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/encodererr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_ENCODERERR_H
12 | # define OPENSSL_ENCODERERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * OSSL_ENCODER reason codes.
23 | */
24 | # define OSSL_ENCODER_R_ENCODER_NOT_FOUND 101
25 | # define OSSL_ENCODER_R_INCORRECT_PROPERTY_QUERY 100
26 | # define OSSL_ENCODER_R_MISSING_GET_PARAMS 102
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/cppgc/ephemeron-pair.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_EPHEMERON_PAIR_H_
6 | #define INCLUDE_CPPGC_EPHEMERON_PAIR_H_
7 |
8 | #include "cppgc/liveness-broker.h"
9 | #include "cppgc/member.h"
10 |
11 | namespace cppgc {
12 |
13 | /**
14 | * An ephemeron pair is used to conditionally retain an object.
15 | * The `value` will be kept alive only if the `key` is alive.
16 | */
17 | template
18 | struct EphemeronPair {
19 | EphemeronPair(K* k, V* v) : key(k), value(v) {}
20 | WeakMember key;
21 | Member value;
22 |
23 | void ClearValueIfKeyIsDead(const LivenessBroker& broker) {
24 | if (!broker.IsHeapObjectAlive(key)) value = nullptr;
25 | }
26 | };
27 |
28 | } // namespace cppgc
29 |
30 | #endif // INCLUDE_CPPGC_EPHEMERON_PAIR_H_
31 |
--------------------------------------------------------------------------------
/android/libnode/include/node/cppgc/ephemeron-pair.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_EPHEMERON_PAIR_H_
6 | #define INCLUDE_CPPGC_EPHEMERON_PAIR_H_
7 |
8 | #include "cppgc/liveness-broker.h"
9 | #include "cppgc/member.h"
10 |
11 | namespace cppgc {
12 |
13 | /**
14 | * An ephemeron pair is used to conditionally retain an object.
15 | * The `value` will be kept alive only if the `key` is alive.
16 | */
17 | template
18 | struct EphemeronPair {
19 | EphemeronPair(K* k, V* v) : key(k), value(v) {}
20 | WeakMember key;
21 | Member value;
22 |
23 | void ClearValueIfKeyIsDead(const LivenessBroker& broker) {
24 | if (!broker.IsHeapObjectAlive(key)) value = nullptr;
25 | }
26 | };
27 |
28 | } // namespace cppgc
29 |
30 | #endif // INCLUDE_CPPGC_EPHEMERON_PAIR_H_
31 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/libplatform/libplatform-export.h:
--------------------------------------------------------------------------------
1 | // Copyright 2016 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
6 | #define V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
7 |
8 | #if defined(_WIN32)
9 |
10 | #ifdef BUILDING_V8_PLATFORM_SHARED
11 | #define V8_PLATFORM_EXPORT __declspec(dllexport)
12 | #elif USING_V8_PLATFORM_SHARED
13 | #define V8_PLATFORM_EXPORT __declspec(dllimport)
14 | #else
15 | #define V8_PLATFORM_EXPORT
16 | #endif // BUILDING_V8_PLATFORM_SHARED
17 |
18 | #else // defined(_WIN32)
19 |
20 | // Setup for Linux shared library export.
21 | #ifdef BUILDING_V8_PLATFORM_SHARED
22 | #define V8_PLATFORM_EXPORT __attribute__((visibility("default")))
23 | #else
24 | #define V8_PLATFORM_EXPORT
25 | #endif
26 |
27 | #endif // defined(_WIN32)
28 |
29 | #endif // V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/libplatform/libplatform-export.h:
--------------------------------------------------------------------------------
1 | // Copyright 2016 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
6 | #define V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
7 |
8 | #if defined(_WIN32)
9 |
10 | #ifdef BUILDING_V8_PLATFORM_SHARED
11 | #define V8_PLATFORM_EXPORT __declspec(dllexport)
12 | #elif USING_V8_PLATFORM_SHARED
13 | #define V8_PLATFORM_EXPORT __declspec(dllimport)
14 | #else
15 | #define V8_PLATFORM_EXPORT
16 | #endif // BUILDING_V8_PLATFORM_SHARED
17 |
18 | #else // defined(_WIN32)
19 |
20 | // Setup for Linux shared library export.
21 | #ifdef BUILDING_V8_PLATFORM_SHARED
22 | #define V8_PLATFORM_EXPORT __attribute__((visibility("default")))
23 | #else
24 | #define V8_PLATFORM_EXPORT
25 | #endif
26 |
27 | #endif // defined(_WIN32)
28 |
29 | #endif // V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/comperr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_COMPERR_H
12 | # define OPENSSL_COMPERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 | # ifndef OPENSSL_NO_COMP
21 |
22 |
23 | /*
24 | * COMP reason codes.
25 | */
26 | # define COMP_R_ZLIB_DEFLATE_ERROR 99
27 | # define COMP_R_ZLIB_INFLATE_ERROR 100
28 | # define COMP_R_ZLIB_NOT_SUPPORTED 101
29 |
30 | # endif
31 | #endif
32 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/comperr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_COMPERR_H
12 | # define OPENSSL_COMPERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 | # ifndef OPENSSL_NO_COMP
21 |
22 |
23 | /*
24 | * COMP reason codes.
25 | */
26 | # define COMP_R_ZLIB_DEFLATE_ERROR 99
27 | # define COMP_R_ZLIB_INFLATE_ERROR 100
28 | # define COMP_R_ZLIB_NOT_SUPPORTED 101
29 |
30 | # endif
31 | #endif
32 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/asyncerr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_ASYNCERR_H
12 | # define OPENSSL_ASYNCERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * ASYNC reason codes.
23 | */
24 | # define ASYNC_R_FAILED_TO_SET_POOL 101
25 | # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
26 | # define ASYNC_R_INIT_FAILED 105
27 | # define ASYNC_R_INVALID_POOL_SIZE 103
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/asyncerr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_ASYNCERR_H
12 | # define OPENSSL_ASYNCERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 |
20 |
21 | /*
22 | * ASYNC reason codes.
23 | */
24 | # define ASYNC_R_FAILED_TO_SET_POOL 101
25 | # define ASYNC_R_FAILED_TO_SWAP_CONTEXT 102
26 | # define ASYNC_R_INIT_FAILED 105
27 | # define ASYNC_R_INVALID_POOL_SIZE 103
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/cppgc/macros.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_MACROS_H_
6 | #define INCLUDE_CPPGC_MACROS_H_
7 |
8 | #include
9 |
10 | #include "cppgc/internal/compiler-specific.h"
11 |
12 | namespace cppgc {
13 |
14 | // Use if the object is only stack allocated.
15 | #define CPPGC_STACK_ALLOCATED() \
16 | public: \
17 | using IsStackAllocatedTypeMarker CPPGC_UNUSED = int; \
18 | \
19 | private: \
20 | void* operator new(size_t) = delete; \
21 | void* operator new(size_t, void*) = delete; \
22 | static_assert(true, "Force semicolon.")
23 |
24 | } // namespace cppgc
25 |
26 | #endif // INCLUDE_CPPGC_MACROS_H_
27 |
--------------------------------------------------------------------------------
/android/libnode/include/node/cppgc/macros.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_MACROS_H_
6 | #define INCLUDE_CPPGC_MACROS_H_
7 |
8 | #include
9 |
10 | #include "cppgc/internal/compiler-specific.h"
11 |
12 | namespace cppgc {
13 |
14 | // Use if the object is only stack allocated.
15 | #define CPPGC_STACK_ALLOCATED() \
16 | public: \
17 | using IsStackAllocatedTypeMarker CPPGC_UNUSED = int; \
18 | \
19 | private: \
20 | void* operator new(size_t) = delete; \
21 | void* operator new(size_t, void*) = delete; \
22 | static_assert(true, "Force semicolon.")
23 |
24 | } // namespace cppgc
25 |
26 | #endif // INCLUDE_CPPGC_MACROS_H_
27 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-microtask.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_MICROTASK_H_
6 | #define INCLUDE_V8_MICROTASK_H_
7 |
8 | namespace v8 {
9 |
10 | class Isolate;
11 |
12 | // --- Microtasks Callbacks ---
13 | using MicrotasksCompletedCallbackWithData = void (*)(Isolate*, void*);
14 | using MicrotaskCallback = void (*)(void* data);
15 |
16 | /**
17 | * Policy for running microtasks:
18 | * - explicit: microtasks are invoked with the
19 | * Isolate::PerformMicrotaskCheckpoint() method;
20 | * - scoped: microtasks invocation is controlled by MicrotasksScope objects;
21 | * - auto: microtasks are invoked when the script call depth decrements
22 | * to zero.
23 | */
24 | enum class MicrotasksPolicy { kExplicit, kScoped, kAuto };
25 |
26 | } // namespace v8
27 |
28 | #endif // INCLUDE_V8_MICROTASK_H_
29 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-microtask.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_MICROTASK_H_
6 | #define INCLUDE_V8_MICROTASK_H_
7 |
8 | namespace v8 {
9 |
10 | class Isolate;
11 |
12 | // --- Microtasks Callbacks ---
13 | using MicrotasksCompletedCallbackWithData = void (*)(Isolate*, void*);
14 | using MicrotaskCallback = void (*)(void* data);
15 |
16 | /**
17 | * Policy for running microtasks:
18 | * - explicit: microtasks are invoked with the
19 | * Isolate::PerformMicrotaskCheckpoint() method;
20 | * - scoped: microtasks invocation is controlled by MicrotasksScope objects;
21 | * - auto: microtasks are invoked when the script call depth decrements
22 | * to zero.
23 | */
24 | enum class MicrotasksPolicy { kExplicit, kScoped, kAuto };
25 |
26 | } // namespace v8
27 |
28 | #endif // INCLUDE_V8_MICROTASK_H_
29 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #undef SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #define THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/no-asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #undef SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #define THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-unwinder-state.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_UNWINDER_STATE_H_
6 | #define INCLUDE_V8_UNWINDER_STATE_H_
7 |
8 | namespace v8 {
9 |
10 | #ifdef V8_TARGET_ARCH_ARM
11 | struct CalleeSavedRegisters {
12 | void* arm_r4;
13 | void* arm_r5;
14 | void* arm_r6;
15 | void* arm_r7;
16 | void* arm_r8;
17 | void* arm_r9;
18 | void* arm_r10;
19 | };
20 | #elif V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_ARM64 || \
21 | V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC || \
22 | V8_TARGET_ARCH_PPC64 || V8_TARGET_ARCH_RISCV64 || V8_TARGET_ARCH_S390 || \
23 | V8_TARGET_ARCH_LOONG64
24 | struct CalleeSavedRegisters {};
25 | #else
26 | #error Target architecture was not detected as supported by v8
27 | #endif
28 |
29 | } // namespace v8
30 |
31 | #endif // INCLUDE_V8_UNWINDER _STATE_H_
32 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nodejs-mobile-react-native",
3 | "version": "18.20.4",
4 | "description": "Node.js for Mobile Apps React Native plugin",
5 | "main": "index.js",
6 | "scripts": {
7 | "postinstall": "node scripts/create-node-structure.js"
8 | },
9 | "keywords": [
10 | "react-native",
11 | "mobile",
12 | "nodejs",
13 | "node.js",
14 | "nodejs-mobile"
15 | ],
16 | "author": "janeasystems",
17 | "license": "MIT",
18 | "homepage": "https://code.janeasystems.com/nodejs-mobile",
19 | "repository": {
20 | "type": "git",
21 | "url": "https://github.com/nodejs-mobile/nodejs-mobile-react-native"
22 | },
23 | "bugs": {
24 | "url": "https://github.com/nodejs-mobile/nodejs-mobile/issues"
25 | },
26 | "peerDependencies": {
27 | "react-native": ">=0.60.0"
28 | },
29 | "dependencies": {
30 | "mkdirp": "^0.5.1",
31 | "ncp": "^2.0.0",
32 | "nodejs-mobile-gyp": "^0.4.0",
33 | "node-gyp-build-mobile": "4.6.0-2",
34 | "xcode": "^2.0.0"
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/asm_avx2/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/no-asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/asm_avx2/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #undef SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #define THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/asm_avx2/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/no-asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-unwinder-state.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_UNWINDER_STATE_H_
6 | #define INCLUDE_V8_UNWINDER_STATE_H_
7 |
8 | namespace v8 {
9 |
10 | #ifdef V8_TARGET_ARCH_ARM
11 | struct CalleeSavedRegisters {
12 | void* arm_r4;
13 | void* arm_r5;
14 | void* arm_r6;
15 | void* arm_r7;
16 | void* arm_r8;
17 | void* arm_r9;
18 | void* arm_r10;
19 | };
20 | #elif V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_ARM64 || \
21 | V8_TARGET_ARCH_MIPS || V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC || \
22 | V8_TARGET_ARCH_PPC64 || V8_TARGET_ARCH_RISCV64 || V8_TARGET_ARCH_S390 || \
23 | V8_TARGET_ARCH_LOONG64
24 | struct CalleeSavedRegisters {};
25 | #else
26 | #error Target architecture was not detected as supported by v8
27 | #endif
28 |
29 | } // namespace v8
30 |
31 | #endif // INCLUDE_V8_UNWINDER _STATE_H_
32 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/crypto/bn_conf.h:
--------------------------------------------------------------------------------
1 | /* WARNING: do not edit! */
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
3 | /*
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
5 | *
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
7 | * this file except in compliance with the License. You can obtain a copy
8 | * in the file LICENSE in the source distribution or at
9 | * https://www.openssl.org/source/license.html
10 | */
11 |
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
13 | # define OSSL_CRYPTO_BN_CONF_H
14 | # pragma once
15 |
16 | /*
17 | * The contents of this file are not used in the UEFI build, as
18 | * both 32-bit and 64-bit builds are supported from a single run
19 | * of the Configure script.
20 | */
21 |
22 | /* Should we define BN_DIV2W here? */
23 |
24 | /* Only one for the following should be defined */
25 | #define SIXTY_FOUR_BIT_LONG
26 | #undef SIXTY_FOUR_BIT
27 | #undef THIRTY_TWO_BIT
28 |
29 | #endif
30 |
--------------------------------------------------------------------------------
/react-native.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | dependency: {
3 | platforms: {
4 | android: {
5 | sourceDir: './android'
6 | },
7 | ios: {
8 | scriptPhases: [
9 | {
10 | name: '[NODEJS MOBILE] Copy Node.js Project files',
11 | path: './scripts/ios-copy-nodejs-project.sh',
12 | execution_position: 'after_compile'
13 | }, {
14 | name: '[NODEJS MOBILE] Build Native Modules',
15 | path: './scripts/ios-build-native-modules.sh',
16 | execution_position: 'after_compile'
17 | }, {
18 | name: '[NODEJS MOBILE] Sign Native Modules',
19 | path: './scripts/ios-sign-native-modules.sh',
20 | execution_position: 'after_compile'
21 | }, {
22 | name: '[NODEJS MOBILE] Remove Simulator Strip',
23 | path: './scripts/ios-remove-framework-simulator-strips.sh',
24 | execution_position: 'after_compile'
25 | }
26 | ]
27 | }
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/android/src/main/java/com/janeasystems/rn_nodejs_mobile/RNNodeJsMobilePackage.java:
--------------------------------------------------------------------------------
1 |
2 | package com.janeasystems.rn_nodejs_mobile;
3 |
4 | import java.util.Arrays;
5 | import java.util.Collections;
6 | import java.util.List;
7 |
8 | import com.facebook.react.ReactPackage;
9 | import com.facebook.react.bridge.NativeModule;
10 | import com.facebook.react.bridge.ReactApplicationContext;
11 | import com.facebook.react.uimanager.ViewManager;
12 | import com.facebook.react.bridge.JavaScriptModule;
13 | public class RNNodeJsMobilePackage implements ReactPackage {
14 | @Override
15 | public List createNativeModules(ReactApplicationContext reactContext) {
16 | return Arrays.asList(new RNNodeJsMobileModule(reactContext));
17 | }
18 |
19 | // Deprecated from RN 0.47
20 | public List> createJSModules() {
21 | return Collections.emptyList();
22 | }
23 |
24 | @Override
25 | public List createViewManagers(ReactApplicationContext reactContext) {
26 | return Collections.emptyList();
27 | }
28 | }
--------------------------------------------------------------------------------
/android/libnode/include/node/cppgc/sentinel-pointer.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_SENTINEL_POINTER_H_
6 | #define INCLUDE_CPPGC_SENTINEL_POINTER_H_
7 |
8 | #include
9 |
10 | namespace cppgc {
11 | namespace internal {
12 |
13 | // Special tag type used to denote some sentinel member. The semantics of the
14 | // sentinel is defined by the embedder.
15 | struct SentinelPointer {
16 | template
17 | operator T*() const {
18 | static constexpr intptr_t kSentinelValue = 1;
19 | return reinterpret_cast(kSentinelValue);
20 | }
21 | // Hidden friends.
22 | friend bool operator==(SentinelPointer, SentinelPointer) { return true; }
23 | friend bool operator!=(SentinelPointer, SentinelPointer) { return false; }
24 | };
25 |
26 | } // namespace internal
27 |
28 | constexpr internal::SentinelPointer kSentinelPointer;
29 |
30 | } // namespace cppgc
31 |
32 | #endif // INCLUDE_CPPGC_SENTINEL_POINTER_H_
33 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/cppgc/sentinel-pointer.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_SENTINEL_POINTER_H_
6 | #define INCLUDE_CPPGC_SENTINEL_POINTER_H_
7 |
8 | #include
9 |
10 | namespace cppgc {
11 | namespace internal {
12 |
13 | // Special tag type used to denote some sentinel member. The semantics of the
14 | // sentinel is defined by the embedder.
15 | struct SentinelPointer {
16 | template
17 | operator T*() const {
18 | static constexpr intptr_t kSentinelValue = 1;
19 | return reinterpret_cast(kSentinelValue);
20 | }
21 | // Hidden friends.
22 | friend bool operator==(SentinelPointer, SentinelPointer) { return true; }
23 | friend bool operator!=(SentinelPointer, SentinelPointer) { return false; }
24 | };
25 |
26 | } // namespace internal
27 |
28 | constexpr internal::SentinelPointer kSentinelPointer;
29 |
30 | } // namespace cppgc
31 |
32 | #endif // INCLUDE_CPPGC_SENTINEL_POINTER_H_
33 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-external.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_EXTERNAL_H_
6 | #define INCLUDE_V8_EXTERNAL_H_
7 |
8 | #include "v8-value.h" // NOLINT(build/include_directory)
9 | #include "v8config.h" // NOLINT(build/include_directory)
10 |
11 | namespace v8 {
12 |
13 | class Isolate;
14 |
15 | /**
16 | * A JavaScript value that wraps a C++ void*. This type of value is mainly used
17 | * to associate C++ data structures with JavaScript objects.
18 | */
19 | class V8_EXPORT External : public Value {
20 | public:
21 | static Local New(Isolate* isolate, void* value);
22 | V8_INLINE static External* Cast(Value* value) {
23 | #ifdef V8_ENABLE_CHECKS
24 | CheckCast(value);
25 | #endif
26 | return static_cast(value);
27 | }
28 |
29 | void* Value() const;
30 |
31 | private:
32 | static void CheckCast(v8::Value* obj);
33 | };
34 |
35 | } // namespace v8
36 |
37 | #endif // INCLUDE_V8_EXTERNAL_H_
38 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-external.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_EXTERNAL_H_
6 | #define INCLUDE_V8_EXTERNAL_H_
7 |
8 | #include "v8-value.h" // NOLINT(build/include_directory)
9 | #include "v8config.h" // NOLINT(build/include_directory)
10 |
11 | namespace v8 {
12 |
13 | class Isolate;
14 |
15 | /**
16 | * A JavaScript value that wraps a C++ void*. This type of value is mainly used
17 | * to associate C++ data structures with JavaScript objects.
18 | */
19 | class V8_EXPORT External : public Value {
20 | public:
21 | static Local New(Isolate* isolate, void* value);
22 | V8_INLINE static External* Cast(Value* value) {
23 | #ifdef V8_ENABLE_CHECKS
24 | CheckCast(value);
25 | #endif
26 | return static_cast(value);
27 | }
28 |
29 | void* Value() const;
30 |
31 | private:
32 | static void CheckCast(v8::Value* obj);
33 | };
34 |
35 | } // namespace v8
36 |
37 | #endif // INCLUDE_V8_EXTERNAL_H_
38 |
--------------------------------------------------------------------------------
/nodejs-mobile-react-native.podspec:
--------------------------------------------------------------------------------
1 | require 'json'
2 |
3 | package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4 |
5 | Pod::Spec.new do |s|
6 | s.name = package['name']
7 | s.version = package['version']
8 | s.summary = package['description']
9 | s.license = package['license']
10 | s.source = { :git => 'https://github.com/nodejs-mobile/nodejs-mobile-react-native.git', :tag => "v#{s.version}" }
11 | s.authors = package['author']
12 | s.homepage = package['homepage']
13 | s.platform = :ios, '13.0'
14 | s.source_files = 'ios/*.{h,m,mm,hpp,cpp}'
15 | s.pod_target_xcconfig = {
16 | 'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++17',
17 | 'ENABLE_BITCODE' => 'NO',
18 | 'USE_HEADERMAP' => 'NO',
19 | 'ALWAYS_SEARCH_USER_PATHS' => 'NO',
20 | 'HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)/ios" "$(PODS_TARGET_SRCROOT)/ios/libnode/include/node"'
21 | }
22 | s.user_target_xcconfig = {
23 | 'ENABLE_BITCODE' => 'NO'
24 | }
25 | s.ios.vendored_frameworks = 'ios/NodeMobile.xcframework'
26 | s.static_framework = true
27 | s.dependency 'React-Core'
28 | end
29 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/prov_ssl.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_PROV_SSL_H
11 | # define OPENSSL_PROV_SSL_H
12 | # pragma once
13 |
14 | # ifdef __cplusplus
15 | extern "C" {
16 | # endif
17 |
18 | /* SSL/TLS related defines useful to providers */
19 |
20 | # define SSL_MAX_MASTER_KEY_LENGTH 48
21 |
22 | # define SSL3_VERSION 0x0300
23 | # define TLS1_VERSION 0x0301
24 | # define TLS1_1_VERSION 0x0302
25 | # define TLS1_2_VERSION 0x0303
26 | # define TLS1_3_VERSION 0x0304
27 | # define DTLS1_VERSION 0xFEFF
28 | # define DTLS1_2_VERSION 0xFEFD
29 | # define DTLS1_BAD_VER 0x0100
30 |
31 | # ifdef __cplusplus
32 | }
33 | # endif
34 | #endif /* OPENSSL_PROV_SSL_H */
35 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/prov_ssl.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_PROV_SSL_H
11 | # define OPENSSL_PROV_SSL_H
12 | # pragma once
13 |
14 | # ifdef __cplusplus
15 | extern "C" {
16 | # endif
17 |
18 | /* SSL/TLS related defines useful to providers */
19 |
20 | # define SSL_MAX_MASTER_KEY_LENGTH 48
21 |
22 | # define SSL3_VERSION 0x0300
23 | # define TLS1_VERSION 0x0301
24 | # define TLS1_1_VERSION 0x0302
25 | # define TLS1_2_VERSION 0x0303
26 | # define TLS1_3_VERSION 0x0304
27 | # define DTLS1_VERSION 0xFEFF
28 | # define DTLS1_2_VERSION 0xFEFD
29 | # define DTLS1_BAD_VER 0x0100
30 |
31 | # ifdef __cplusplus
32 | }
33 | # endif
34 | #endif /* OPENSSL_PROV_SSL_H */
35 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Janea Systems, Inc. and Contributors
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-wasm-trap-handler-win.h:
--------------------------------------------------------------------------------
1 | // Copyright 2018 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_WASM_TRAP_HANDLER_WIN_H_
6 | #define V8_WASM_TRAP_HANDLER_WIN_H_
7 |
8 | #include
9 |
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 | /**
14 | * This function determines whether a memory access violation has been an
15 | * out-of-bounds memory access in WebAssembly. If so, it will modify the
16 | * exception parameter and add a return address where the execution can continue
17 | * after the exception handling, and return true. Otherwise the return value
18 | * will be false.
19 | *
20 | * The parameter to this function corresponds to the one passed to a Windows
21 | * vectored exception handler. Use this function only on Windows.
22 | *
23 | * \param exception An EXCEPTION_POINTERS* as provided to the exception handler.
24 | */
25 | V8_EXPORT bool TryHandleWebAssemblyTrapWindows(EXCEPTION_POINTERS* exception);
26 |
27 | } // namespace v8
28 | #endif // V8_WASM_TRAP_HANDLER_WIN_H_
29 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-wasm-trap-handler-win.h:
--------------------------------------------------------------------------------
1 | // Copyright 2018 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_WASM_TRAP_HANDLER_WIN_H_
6 | #define V8_WASM_TRAP_HANDLER_WIN_H_
7 |
8 | #include
9 |
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 | /**
14 | * This function determines whether a memory access violation has been an
15 | * out-of-bounds memory access in WebAssembly. If so, it will modify the
16 | * exception parameter and add a return address where the execution can continue
17 | * after the exception handling, and return true. Otherwise the return value
18 | * will be false.
19 | *
20 | * The parameter to this function corresponds to the one passed to a Windows
21 | * vectored exception handler. Use this function only on Windows.
22 | *
23 | * \param exception An EXCEPTION_POINTERS* as provided to the exception handler.
24 | */
25 | V8_EXPORT bool TryHandleWebAssemblyTrapWindows(EXCEPTION_POINTERS* exception);
26 |
27 | } // namespace v8
28 | #endif // V8_WASM_TRAP_HANDLER_WIN_H_
29 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/cppgc/process-heap-statistics.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_PROCESS_HEAP_STATISTICS_H_
6 | #define INCLUDE_CPPGC_PROCESS_HEAP_STATISTICS_H_
7 |
8 | #include
9 | #include
10 |
11 | #include "v8config.h" // NOLINT(build/include_directory)
12 |
13 | namespace cppgc {
14 | namespace internal {
15 | class ProcessHeapStatisticsUpdater;
16 | } // namespace internal
17 |
18 | class V8_EXPORT ProcessHeapStatistics final {
19 | public:
20 | static size_t TotalAllocatedObjectSize() {
21 | return total_allocated_object_size_.load(std::memory_order_relaxed);
22 | }
23 | static size_t TotalAllocatedSpace() {
24 | return total_allocated_space_.load(std::memory_order_relaxed);
25 | }
26 |
27 | private:
28 | static std::atomic_size_t total_allocated_space_;
29 | static std::atomic_size_t total_allocated_object_size_;
30 |
31 | friend class internal::ProcessHeapStatisticsUpdater;
32 | };
33 |
34 | } // namespace cppgc
35 |
36 | #endif // INCLUDE_CPPGC_PROCESS_HEAP_STATISTICS_H_
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/cppgc/process-heap-statistics.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_CPPGC_PROCESS_HEAP_STATISTICS_H_
6 | #define INCLUDE_CPPGC_PROCESS_HEAP_STATISTICS_H_
7 |
8 | #include
9 | #include
10 |
11 | #include "v8config.h" // NOLINT(build/include_directory)
12 |
13 | namespace cppgc {
14 | namespace internal {
15 | class ProcessHeapStatisticsUpdater;
16 | } // namespace internal
17 |
18 | class V8_EXPORT ProcessHeapStatistics final {
19 | public:
20 | static size_t TotalAllocatedObjectSize() {
21 | return total_allocated_object_size_.load(std::memory_order_relaxed);
22 | }
23 | static size_t TotalAllocatedSpace() {
24 | return total_allocated_space_.load(std::memory_order_relaxed);
25 | }
26 |
27 | private:
28 | static std::atomic_size_t total_allocated_space_;
29 | static std::atomic_size_t total_allocated_object_size_;
30 |
31 | friend class internal::ProcessHeapStatisticsUpdater;
32 | };
33 |
34 | } // namespace cppgc
35 |
36 | #endif // INCLUDE_CPPGC_PROCESS_HEAP_STATISTICS_H_
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-elf/no-asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/ebcdic.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_EBCDIC_H
11 | # define OPENSSL_EBCDIC_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_EBCDIC_H
17 | # endif
18 |
19 | # include
20 |
21 | #ifdef __cplusplus
22 | extern "C" {
23 | #endif
24 |
25 | /* Avoid name clashes with other applications */
26 | # define os_toascii _openssl_os_toascii
27 | # define os_toebcdic _openssl_os_toebcdic
28 | # define ebcdic2ascii _openssl_ebcdic2ascii
29 | # define ascii2ebcdic _openssl_ascii2ebcdic
30 |
31 | extern const unsigned char os_toascii[256];
32 | extern const unsigned char os_toebcdic[256];
33 | void *ebcdic2ascii(void *dest, const void *srce, size_t count);
34 | void *ascii2ebcdic(void *dest, const void *srce, size_t count);
35 |
36 | #ifdef __cplusplus
37 | }
38 | #endif
39 | #endif
40 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/fipskey.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by Makefile from include/openssl/fipskey.h.in
4 | *
5 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #ifndef OPENSSL_FIPSKEY_H
14 | # define OPENSSL_FIPSKEY_H
15 | # pragma once
16 |
17 | # ifdef __cplusplus
18 | extern "C" {
19 | # endif
20 |
21 | /*
22 | * The FIPS validation HMAC key, usable as an array initializer.
23 | */
24 | #define FIPS_KEY_ELEMENTS \
25 | 0xf4, 0x55, 0x66, 0x50, 0xac, 0x31, 0xd3, 0x54, 0x61, 0x61, 0x0b, 0xac, 0x4e, 0xd8, 0x1b, 0x1a, 0x18, 0x1b, 0x2d, 0x8a, 0x43, 0xea, 0x28, 0x54, 0xcb, 0xae, 0x22, 0xca, 0x74, 0x56, 0x08, 0x13
26 |
27 | /*
28 | * The FIPS validation key, as a string.
29 | */
30 | #define FIPS_KEY_STRING "f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813"
31 |
32 | # ifdef __cplusplus
33 | }
34 | # endif
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/ebcdic.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_EBCDIC_H
11 | # define OPENSSL_EBCDIC_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_EBCDIC_H
17 | # endif
18 |
19 | # include
20 |
21 | #ifdef __cplusplus
22 | extern "C" {
23 | #endif
24 |
25 | /* Avoid name clashes with other applications */
26 | # define os_toascii _openssl_os_toascii
27 | # define os_toebcdic _openssl_os_toebcdic
28 | # define ebcdic2ascii _openssl_ebcdic2ascii
29 | # define ascii2ebcdic _openssl_ascii2ebcdic
30 |
31 | extern const unsigned char os_toascii[256];
32 | extern const unsigned char os_toebcdic[256];
33 | void *ebcdic2ascii(void *dest, const void *srce, size_t count);
34 | void *ascii2ebcdic(void *dest, const void *srce, size_t count);
35 |
36 | #ifdef __cplusplus
37 | }
38 | #endif
39 | #endif
40 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/esserr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_ESSERR_H
12 | # define OPENSSL_ESSERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 | /*
20 | * ESS reason codes.
21 | */
22 | # define ESS_R_EMPTY_ESS_CERT_ID_LIST 107
23 | # define ESS_R_ESS_CERT_DIGEST_ERROR 103
24 | # define ESS_R_ESS_CERT_ID_NOT_FOUND 104
25 | # define ESS_R_ESS_CERT_ID_WRONG_ORDER 105
26 | # define ESS_R_ESS_DIGEST_ALG_UNKNOWN 106
27 | # define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR 102
28 | # define ESS_R_ESS_SIGNING_CERT_ADD_ERROR 100
29 | # define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR 101
30 | # define ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE 108
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/esserr.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Generated by util/mkerr.pl DO NOT EDIT
3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 | *
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use
6 | * this file except in compliance with the License. You can obtain a copy
7 | * in the file LICENSE in the source distribution or at
8 | * https://www.openssl.org/source/license.html
9 | */
10 |
11 | #ifndef OPENSSL_ESSERR_H
12 | # define OPENSSL_ESSERR_H
13 | # pragma once
14 |
15 | # include
16 | # include
17 | # include
18 |
19 | /*
20 | * ESS reason codes.
21 | */
22 | # define ESS_R_EMPTY_ESS_CERT_ID_LIST 107
23 | # define ESS_R_ESS_CERT_DIGEST_ERROR 103
24 | # define ESS_R_ESS_CERT_ID_NOT_FOUND 104
25 | # define ESS_R_ESS_CERT_ID_WRONG_ORDER 105
26 | # define ESS_R_ESS_DIGEST_ALG_UNKNOWN 106
27 | # define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR 102
28 | # define ESS_R_ESS_SIGNING_CERT_ADD_ERROR 100
29 | # define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR 101
30 | # define ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE 108
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-date.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_DATE_H_
6 | #define INCLUDE_V8_DATE_H_
7 |
8 | #include "v8-local-handle.h" // NOLINT(build/include_directory)
9 | #include "v8-object.h" // NOLINT(build/include_directory)
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 |
14 | class Context;
15 |
16 | /**
17 | * An instance of the built-in Date constructor (ECMA-262, 15.9).
18 | */
19 | class V8_EXPORT Date : public Object {
20 | public:
21 | static V8_WARN_UNUSED_RESULT MaybeLocal New(Local context,
22 | double time);
23 |
24 | /**
25 | * A specialization of Value::NumberValue that is more efficient
26 | * because we know the structure of this object.
27 | */
28 | double ValueOf() const;
29 |
30 | V8_INLINE static Date* Cast(Value* value) {
31 | #ifdef V8_ENABLE_CHECKS
32 | CheckCast(value);
33 | #endif
34 | return static_cast(value);
35 | }
36 |
37 | private:
38 | static void CheckCast(Value* obj);
39 | };
40 |
41 | } // namespace v8
42 |
43 | #endif // INCLUDE_V8_DATE_H_
44 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-date.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_DATE_H_
6 | #define INCLUDE_V8_DATE_H_
7 |
8 | #include "v8-local-handle.h" // NOLINT(build/include_directory)
9 | #include "v8-object.h" // NOLINT(build/include_directory)
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 |
14 | class Context;
15 |
16 | /**
17 | * An instance of the built-in Date constructor (ECMA-262, 15.9).
18 | */
19 | class V8_EXPORT Date : public Object {
20 | public:
21 | static V8_WARN_UNUSED_RESULT MaybeLocal New(Local context,
22 | double time);
23 |
24 | /**
25 | * A specialization of Value::NumberValue that is more efficient
26 | * because we know the structure of this object.
27 | */
28 | double ValueOf() const;
29 |
30 | V8_INLINE static Date* Cast(Value* value) {
31 | #ifdef V8_ENABLE_CHECKS
32 | CheckCast(value);
33 | #endif
34 | return static_cast(value);
35 | }
36 |
37 | private:
38 | static void CheckCast(Value* obj);
39 | };
40 |
41 | } // namespace v8
42 |
43 | #endif // INCLUDE_V8_DATE_H_
44 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/core_object.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_CORE_OBJECT_H
11 | # define OPENSSL_CORE_OBJECT_H
12 | # pragma once
13 |
14 | # ifdef __cplusplus
15 | extern "C" {
16 | # endif
17 |
18 | /*-
19 | * Known object types
20 | *
21 | * These numbers are used as values for the OSSL_PARAM parameter
22 | * OSSL_OBJECT_PARAM_TYPE.
23 | *
24 | * For most of these types, there's a corresponding libcrypto object type.
25 | * The corresponding type is indicated with a comment after the number.
26 | */
27 | # define OSSL_OBJECT_UNKNOWN 0
28 | # define OSSL_OBJECT_NAME 1 /* char * */
29 | # define OSSL_OBJECT_PKEY 2 /* EVP_PKEY * */
30 | # define OSSL_OBJECT_CERT 3 /* X509 * */
31 | # define OSSL_OBJECT_CRL 4 /* X509_CRL * */
32 |
33 | /*
34 | * The rest of the associated OSSL_PARAM elements is described in core_names.h
35 | */
36 |
37 | # ifdef __cplusplus
38 | }
39 | # endif
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/core_object.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_CORE_OBJECT_H
11 | # define OPENSSL_CORE_OBJECT_H
12 | # pragma once
13 |
14 | # ifdef __cplusplus
15 | extern "C" {
16 | # endif
17 |
18 | /*-
19 | * Known object types
20 | *
21 | * These numbers are used as values for the OSSL_PARAM parameter
22 | * OSSL_OBJECT_PARAM_TYPE.
23 | *
24 | * For most of these types, there's a corresponding libcrypto object type.
25 | * The corresponding type is indicated with a comment after the number.
26 | */
27 | # define OSSL_OBJECT_UNKNOWN 0
28 | # define OSSL_OBJECT_NAME 1 /* char * */
29 | # define OSSL_OBJECT_PKEY 2 /* EVP_PKEY * */
30 | # define OSSL_OBJECT_CERT 3 /* X509 * */
31 | # define OSSL_OBJECT_CRL 4 /* X509_CRL * */
32 |
33 | /*
34 | * The rest of the associated OSSL_PARAM elements is described in core_names.h
35 | */
36 |
37 | # ifdef __cplusplus
38 | }
39 | # endif
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-version-string.h:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_VERSION_STRING_H_
6 | #define V8_VERSION_STRING_H_
7 |
8 | #include "v8-version.h" // NOLINT(build/include_directory)
9 |
10 | // This is here rather than v8-version.h to keep that file simple and
11 | // machine-processable.
12 |
13 | #if V8_IS_CANDIDATE_VERSION
14 | #define V8_CANDIDATE_STRING " (candidate)"
15 | #else
16 | #define V8_CANDIDATE_STRING ""
17 | #endif
18 |
19 | #ifndef V8_EMBEDDER_STRING
20 | #define V8_EMBEDDER_STRING ""
21 | #endif
22 |
23 | #define V8_SX(x) #x
24 | #define V8_S(x) V8_SX(x)
25 |
26 | #if V8_PATCH_LEVEL > 0
27 | #define V8_VERSION_STRING \
28 | V8_S(V8_MAJOR_VERSION) \
29 | "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) "." V8_S( \
30 | V8_PATCH_LEVEL) V8_EMBEDDER_STRING V8_CANDIDATE_STRING
31 | #else
32 | #define V8_VERSION_STRING \
33 | V8_S(V8_MAJOR_VERSION) \
34 | "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) \
35 | V8_EMBEDDER_STRING V8_CANDIDATE_STRING
36 | #endif
37 |
38 | #endif // V8_VERSION_STRING_H_
39 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-version-string.h:
--------------------------------------------------------------------------------
1 | // Copyright 2017 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_VERSION_STRING_H_
6 | #define V8_VERSION_STRING_H_
7 |
8 | #include "v8-version.h" // NOLINT(build/include_directory)
9 |
10 | // This is here rather than v8-version.h to keep that file simple and
11 | // machine-processable.
12 |
13 | #if V8_IS_CANDIDATE_VERSION
14 | #define V8_CANDIDATE_STRING " (candidate)"
15 | #else
16 | #define V8_CANDIDATE_STRING ""
17 | #endif
18 |
19 | #ifndef V8_EMBEDDER_STRING
20 | #define V8_EMBEDDER_STRING ""
21 | #endif
22 |
23 | #define V8_SX(x) #x
24 | #define V8_S(x) V8_SX(x)
25 |
26 | #if V8_PATCH_LEVEL > 0
27 | #define V8_VERSION_STRING \
28 | V8_S(V8_MAJOR_VERSION) \
29 | "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) "." V8_S( \
30 | V8_PATCH_LEVEL) V8_EMBEDDER_STRING V8_CANDIDATE_STRING
31 | #else
32 | #define V8_VERSION_STRING \
33 | V8_S(V8_MAJOR_VERSION) \
34 | "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) \
35 | V8_EMBEDDER_STRING V8_CANDIDATE_STRING
36 | #endif
37 |
38 | #endif // V8_VERSION_STRING_H_
39 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by util/mkbuildinf.pl
4 | *
5 | * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #define PLATFORM "platform: linux-aarch64"
14 | #define DATE "built on: Wed Jan 31 13:01:10 2024 UTC"
15 |
16 | /*
17 | * Generate compiler_flags as an array of individual characters. This is a
18 | * workaround for the situation where CFLAGS gets too long for a C90 string
19 | * literal
20 | */
21 | static const char compiler_flags[] = {
22 | 'c','o','m','p','i','l','e','r',':',' ','g','c','c',' ','-','f',
23 | 'P','I','C',' ','-','p','t','h','r','e','a','d',' ','-','W','a',
24 | 'l','l',' ','-','O','3',' ','-','D','O','P','E','N','S','S','L',
25 | '_','U','S','E','_','N','O','D','E','L','E','T','E',' ','-','D',
26 | 'O','P','E','N','S','S','L','_','P','I','C',' ','-','D','O','P',
27 | 'E','N','S','S','L','_','B','U','I','L','D','I','N','G','_','O',
28 | 'P','E','N','S','S','L',' ','-','D','N','D','E','B','U','G','\0'
29 | };
30 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-wasm-trap-handler-posix.h:
--------------------------------------------------------------------------------
1 | // Copyright 2018 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_WASM_TRAP_HANDLER_POSIX_H_
6 | #define V8_WASM_TRAP_HANDLER_POSIX_H_
7 |
8 | #include
9 |
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 | /**
14 | * This function determines whether a memory access violation has been an
15 | * out-of-bounds memory access in WebAssembly. If so, it will modify the context
16 | * parameter and add a return address where the execution can continue after the
17 | * signal handling, and return true. Otherwise, false will be returned.
18 | *
19 | * The parameters to this function correspond to those passed to a Posix signal
20 | * handler. Use this function only on Linux and Mac.
21 | *
22 | * \param sig_code The signal code, e.g. SIGSEGV.
23 | * \param info A pointer to the siginfo_t struct provided to the signal handler.
24 | * \param context A pointer to a ucontext_t struct provided to the signal
25 | * handler.
26 | */
27 | V8_EXPORT bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info,
28 | void* context);
29 |
30 | } // namespace v8
31 | #endif // V8_WASM_TRAP_HANDLER_POSIX_H_
32 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-wasm-trap-handler-posix.h:
--------------------------------------------------------------------------------
1 | // Copyright 2018 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef V8_WASM_TRAP_HANDLER_POSIX_H_
6 | #define V8_WASM_TRAP_HANDLER_POSIX_H_
7 |
8 | #include
9 |
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 | /**
14 | * This function determines whether a memory access violation has been an
15 | * out-of-bounds memory access in WebAssembly. If so, it will modify the context
16 | * parameter and add a return address where the execution can continue after the
17 | * signal handling, and return true. Otherwise, false will be returned.
18 | *
19 | * The parameters to this function correspond to those passed to a Posix signal
20 | * handler. Use this function only on Linux and Mac.
21 | *
22 | * \param sig_code The signal code, e.g. SIGSEGV.
23 | * \param info A pointer to the siginfo_t struct provided to the signal handler.
24 | * \param context A pointer to a ucontext_t struct provided to the signal
25 | * handler.
26 | */
27 | V8_EXPORT bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info,
28 | void* context);
29 |
30 | } // namespace v8
31 | #endif // V8_WASM_TRAP_HANDLER_POSIX_H_
32 |
--------------------------------------------------------------------------------
/scripts/override-dlopen-paths-preload.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var path = require('path');
3 |
4 | var substitutionDataFile = path.join(
5 | __dirname,
6 | 'override-dlopen-paths-data.json',
7 | );
8 | // If the json file exists, override dlopen to load the specified framework paths instead.
9 | if (fs.existsSync(substitutionDataFile)) {
10 | var pathSubstitutionData = JSON.parse(
11 | fs.readFileSync(substitutionDataFile, 'utf8'),
12 | );
13 |
14 | var pathSubstitutionDictionary = {};
15 | // Build a dictionary to convert paths at runtime, taking current sandboxed paths into account.
16 | for (let i = 0; i < pathSubstitutionData.length; i++) {
17 | pathSubstitutionDictionary[
18 | path.normalize(
19 | path.join.apply(
20 | null,
21 | [__dirname].concat(pathSubstitutionData[i].originalpath),
22 | ),
23 | )
24 | ] = path.normalize(
25 | path.join.apply(
26 | null,
27 | [__dirname].concat(pathSubstitutionData[i].newpath),
28 | ),
29 | );
30 | }
31 |
32 | var old_dlopen = process.dlopen;
33 | // Override process.dlopen
34 | process.dlopen = function (_module, _filename) {
35 | if (pathSubstitutionDictionary[path.normalize(_filename)]) {
36 | _filename = pathSubstitutionDictionary[path.normalize(_filename)];
37 | }
38 | old_dlopen(_module, _filename);
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by util/mkbuildinf.pl
4 | *
5 | * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #define PLATFORM "platform: darwin64-arm64-cc"
14 | #define DATE "built on: Wed Jan 31 13:00:33 2024 UTC"
15 |
16 | /*
17 | * Generate compiler_flags as an array of individual characters. This is a
18 | * workaround for the situation where CFLAGS gets too long for a C90 string
19 | * literal
20 | */
21 | static const char compiler_flags[] = {
22 | 'c','o','m','p','i','l','e','r',':',' ','c','c',' ','-','f','P',
23 | 'I','C',' ','-','a','r','c','h',' ','a','r','m','6','4',' ','-',
24 | 'O','3',' ','-','W','a','l','l',' ','-','D','L','_','E','N','D',
25 | 'I','A','N',' ','-','D','O','P','E','N','S','S','L','_','P','I',
26 | 'C',' ','-','D','_','R','E','E','N','T','R','A','N','T',' ','-',
27 | 'D','O','P','E','N','S','S','L','_','B','U','I','L','D','I','N',
28 | 'G','_','O','P','E','N','S','S','L',' ','-','D','N','D','E','B',
29 | 'U','G','\0'
30 | };
31 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by util/mkbuildinf.pl
4 | *
5 | * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #define PLATFORM "platform: darwin64-x86_64-cc"
14 | #define DATE "built on: Wed Jan 31 12:59:20 2024 UTC"
15 |
16 | /*
17 | * Generate compiler_flags as an array of individual characters. This is a
18 | * workaround for the situation where CFLAGS gets too long for a C90 string
19 | * literal
20 | */
21 | static const char compiler_flags[] = {
22 | 'c','o','m','p','i','l','e','r',':',' ','c','c',' ','-','f','P',
23 | 'I','C',' ','-','a','r','c','h',' ','x','8','6','_','6','4',' ',
24 | '-','O','3',' ','-','W','a','l','l',' ','-','D','L','_','E','N',
25 | 'D','I','A','N',' ','-','D','O','P','E','N','S','S','L','_','P',
26 | 'I','C',' ','-','D','_','R','E','E','N','T','R','A','N','T',' ',
27 | '-','D','O','P','E','N','S','S','L','_','B','U','I','L','D','I',
28 | 'N','G','_','O','P','E','N','S','S','L',' ','-','D','N','D','E',
29 | 'B','U','G','\0'
30 | };
31 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/conftypes.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_CONFTYPES_H
11 | # define OPENSSL_CONFTYPES_H
12 | # pragma once
13 |
14 | #ifndef OPENSSL_CONF_H
15 | # include
16 | #endif
17 |
18 | /*
19 | * The contents of this file are deprecated and will be made opaque
20 | */
21 | struct conf_method_st {
22 | const char *name;
23 | CONF *(*create) (CONF_METHOD *meth);
24 | int (*init) (CONF *conf);
25 | int (*destroy) (CONF *conf);
26 | int (*destroy_data) (CONF *conf);
27 | int (*load_bio) (CONF *conf, BIO *bp, long *eline);
28 | int (*dump) (const CONF *conf, BIO *bp);
29 | int (*is_number) (const CONF *conf, char c);
30 | int (*to_int) (const CONF *conf, char c);
31 | int (*load) (CONF *conf, const char *name, long *eline);
32 | };
33 |
34 | struct conf_st {
35 | CONF_METHOD *meth;
36 | void *meth_data;
37 | LHASH_OF(CONF_VALUE) *data;
38 | int flag_dollarid;
39 | int flag_abspath;
40 | char *includedir;
41 | OSSL_LIB_CTX *libctx;
42 | };
43 |
44 | #endif
45 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/conftypes.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_CONFTYPES_H
11 | # define OPENSSL_CONFTYPES_H
12 | # pragma once
13 |
14 | #ifndef OPENSSL_CONF_H
15 | # include
16 | #endif
17 |
18 | /*
19 | * The contents of this file are deprecated and will be made opaque
20 | */
21 | struct conf_method_st {
22 | const char *name;
23 | CONF *(*create) (CONF_METHOD *meth);
24 | int (*init) (CONF *conf);
25 | int (*destroy) (CONF *conf);
26 | int (*destroy_data) (CONF *conf);
27 | int (*load_bio) (CONF *conf, BIO *bp, long *eline);
28 | int (*dump) (const CONF *conf, BIO *bp);
29 | int (*is_number) (const CONF *conf, char c);
30 | int (*to_int) (const CONF *conf, char c);
31 | int (*load) (CONF *conf, const char *name, long *eline);
32 | };
33 |
34 | struct conf_st {
35 | CONF_METHOD *meth;
36 | void *meth_data;
37 | LHASH_OF(CONF_VALUE) *data;
38 | int flag_dollarid;
39 | int flag_abspath;
40 | char *includedir;
41 | OSSL_LIB_CTX *libctx;
42 | };
43 |
44 | #endif
45 |
--------------------------------------------------------------------------------
/ios/NodeMobile.xcframework/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AvailableLibraries
6 |
7 |
8 | BinaryPath
9 | NodeMobile.framework/NodeMobile
10 | LibraryIdentifier
11 | ios-arm64
12 | LibraryPath
13 | NodeMobile.framework
14 | SupportedArchitectures
15 |
16 | arm64
17 |
18 | SupportedPlatform
19 | ios
20 |
21 |
22 | BinaryPath
23 | NodeMobile.framework/NodeMobile
24 | LibraryIdentifier
25 | ios-arm64_x86_64-simulator
26 | LibraryPath
27 | NodeMobile.framework
28 | SupportedArchitectures
29 |
30 | arm64
31 | x86_64
32 |
33 | SupportedPlatform
34 | ios
35 | SupportedPlatformVariant
36 | simulator
37 |
38 |
39 | CFBundlePackageType
40 | XFWK
41 | XCFrameworkFormatVersion
42 | 1.0
43 |
44 |
45 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/rc4.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_RC4_H
11 | # define OPENSSL_RC4_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_RC4_H
17 | # endif
18 |
19 | # include
20 |
21 | # ifndef OPENSSL_NO_RC4
22 | # include
23 | # ifdef __cplusplus
24 | extern "C" {
25 | # endif
26 |
27 | # ifndef OPENSSL_NO_DEPRECATED_3_0
28 | typedef struct rc4_key_st {
29 | RC4_INT x, y;
30 | RC4_INT data[256];
31 | } RC4_KEY;
32 | # endif
33 | # ifndef OPENSSL_NO_DEPRECATED_3_0
34 | OSSL_DEPRECATEDIN_3_0 const char *RC4_options(void);
35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len,
36 | const unsigned char *data);
37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len,
38 | const unsigned char *indata,
39 | unsigned char *outdata);
40 | # endif
41 |
42 | # ifdef __cplusplus
43 | }
44 | # endif
45 | # endif
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/rc4.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_RC4_H
11 | # define OPENSSL_RC4_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_RC4_H
17 | # endif
18 |
19 | # include
20 |
21 | # ifndef OPENSSL_NO_RC4
22 | # include
23 | # ifdef __cplusplus
24 | extern "C" {
25 | # endif
26 |
27 | # ifndef OPENSSL_NO_DEPRECATED_3_0
28 | typedef struct rc4_key_st {
29 | RC4_INT x, y;
30 | RC4_INT data[256];
31 | } RC4_KEY;
32 | # endif
33 | # ifndef OPENSSL_NO_DEPRECATED_3_0
34 | OSSL_DEPRECATEDIN_3_0 const char *RC4_options(void);
35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len,
36 | const unsigned char *data);
37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len,
38 | const unsigned char *indata,
39 | unsigned char *outdata);
40 | # endif
41 |
42 | # ifdef __cplusplus
43 | }
44 | # endif
45 | # endif
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by util/mkbuildinf.pl
4 | *
5 | * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #define PLATFORM "platform: linux-x86_64"
14 | #define DATE "built on: Wed Jan 31 13:03:07 2024 UTC"
15 |
16 | /*
17 | * Generate compiler_flags as an array of individual characters. This is a
18 | * workaround for the situation where CFLAGS gets too long for a C90 string
19 | * literal
20 | */
21 | static const char compiler_flags[] = {
22 | 'c','o','m','p','i','l','e','r',':',' ','g','c','c',' ','-','f',
23 | 'P','I','C',' ','-','p','t','h','r','e','a','d',' ','-','m','6',
24 | '4',' ','-','W','a','l','l',' ','-','O','3',' ','-','D','O','P',
25 | 'E','N','S','S','L','_','U','S','E','_','N','O','D','E','L','E',
26 | 'T','E',' ','-','D','L','_','E','N','D','I','A','N',' ','-','D',
27 | 'O','P','E','N','S','S','L','_','P','I','C',' ','-','D','O','P',
28 | 'E','N','S','S','L','_','B','U','I','L','D','I','N','G','_','O',
29 | 'P','E','N','S','S','L',' ','-','D','N','D','E','B','U','G','\0'
30 | };
31 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by util/mkbuildinf.pl
4 | *
5 | * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #define PLATFORM "platform: linux-aarch64"
14 | #define DATE "built on: Wed Jan 31 13:00:44 2024 UTC"
15 |
16 | /*
17 | * Generate compiler_flags as an array of individual characters. This is a
18 | * workaround for the situation where CFLAGS gets too long for a C90 string
19 | * literal
20 | */
21 | static const char compiler_flags[] = {
22 | 'c','o','m','p','i','l','e','r',':',' ','g','c','c',' ','-','f',
23 | 'P','I','C',' ','-','p','t','h','r','e','a','d',' ','-','W','a',
24 | ',','-','-','n','o','e','x','e','c','s','t','a','c','k',' ','-',
25 | 'W','a','l','l',' ','-','O','3',' ','-','D','O','P','E','N','S',
26 | 'S','L','_','U','S','E','_','N','O','D','E','L','E','T','E',' ',
27 | '-','D','O','P','E','N','S','S','L','_','P','I','C',' ','-','D',
28 | 'O','P','E','N','S','S','L','_','B','U','I','L','D','I','N','G',
29 | '_','O','P','E','N','S','S','L',' ','-','D','N','D','E','B','U',
30 | 'G','\0'
31 | };
32 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by util/mkbuildinf.pl
4 | *
5 | * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #define PLATFORM "platform: darwin64-arm64-cc"
14 | #define DATE "built on: Wed Jan 31 13:00:08 2024 UTC"
15 |
16 | /*
17 | * Generate compiler_flags as an array of individual characters. This is a
18 | * workaround for the situation where CFLAGS gets too long for a C90 string
19 | * literal
20 | */
21 | static const char compiler_flags[] = {
22 | 'c','o','m','p','i','l','e','r',':',' ','g','c','c',' ','-','f',
23 | 'P','I','C',' ','-','a','r','c','h',' ','a','r','m','6','4',' ',
24 | '-','W','a',',','-','-','n','o','e','x','e','c','s','t','a','c',
25 | 'k',' ','-','O','3',' ','-','W','a','l','l',' ','-','D','L','_',
26 | 'E','N','D','I','A','N',' ','-','D','O','P','E','N','S','S','L',
27 | '_','P','I','C',' ','-','D','_','R','E','E','N','T','R','A','N',
28 | 'T',' ','-','D','O','P','E','N','S','S','L','_','B','U','I','L',
29 | 'D','I','N','G','_','O','P','E','N','S','S','L',' ','-','D','N',
30 | 'D','E','B','U','G','\0'
31 | };
32 |
--------------------------------------------------------------------------------
/android/libnode/include/node/openssl/symhacks.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_SYMHACKS_H
11 | # define OPENSSL_SYMHACKS_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_SYMHACKS_H
17 | # endif
18 |
19 | # include
20 |
21 | /* Case insensitive linking causes problems.... */
22 | # if defined(OPENSSL_SYS_VMS)
23 | # undef ERR_load_CRYPTO_strings
24 | # define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings
25 | # undef OCSP_crlID_new
26 | # define OCSP_crlID_new OCSP_crlID2_new
27 |
28 | # undef d2i_ECPARAMETERS
29 | # define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS
30 | # undef i2d_ECPARAMETERS
31 | # define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS
32 | # undef d2i_ECPKPARAMETERS
33 | # define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS
34 | # undef i2d_ECPKPARAMETERS
35 | # define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS
36 |
37 | # endif
38 |
39 | #endif /* ! defined HEADER_VMS_IDHACKS_H */
40 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/symhacks.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
3 | *
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use
5 | * this file except in compliance with the License. You can obtain a copy
6 | * in the file LICENSE in the source distribution or at
7 | * https://www.openssl.org/source/license.html
8 | */
9 |
10 | #ifndef OPENSSL_SYMHACKS_H
11 | # define OPENSSL_SYMHACKS_H
12 | # pragma once
13 |
14 | # include
15 | # ifndef OPENSSL_NO_DEPRECATED_3_0
16 | # define HEADER_SYMHACKS_H
17 | # endif
18 |
19 | # include
20 |
21 | /* Case insensitive linking causes problems.... */
22 | # if defined(OPENSSL_SYS_VMS)
23 | # undef ERR_load_CRYPTO_strings
24 | # define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings
25 | # undef OCSP_crlID_new
26 | # define OCSP_crlID_new OCSP_crlID2_new
27 |
28 | # undef d2i_ECPARAMETERS
29 | # define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS
30 | # undef i2d_ECPARAMETERS
31 | # define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS
32 | # undef d2i_ECPKPARAMETERS
33 | # define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS
34 | # undef i2d_ECPKPARAMETERS
35 | # define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS
36 |
37 | # endif
38 |
39 | #endif /* ! defined HEADER_VMS_IDHACKS_H */
40 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h:
--------------------------------------------------------------------------------
1 | /*
2 | * WARNING: do not edit!
3 | * Generated by util/mkbuildinf.pl
4 | *
5 | * Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
6 | *
7 | * Licensed under the Apache License 2.0 (the "License"). You may not use
8 | * this file except in compliance with the License. You can obtain a copy
9 | * in the file LICENSE in the source distribution or at
10 | * https://www.openssl.org/source/license.html
11 | */
12 |
13 | #define PLATFORM "platform: darwin64-x86_64-cc"
14 | #define DATE "built on: Wed Jan 31 12:58:49 2024 UTC"
15 |
16 | /*
17 | * Generate compiler_flags as an array of individual characters. This is a
18 | * workaround for the situation where CFLAGS gets too long for a C90 string
19 | * literal
20 | */
21 | static const char compiler_flags[] = {
22 | 'c','o','m','p','i','l','e','r',':',' ','g','c','c',' ','-','f',
23 | 'P','I','C',' ','-','a','r','c','h',' ','x','8','6','_','6','4',
24 | ' ','-','W','a',',','-','-','n','o','e','x','e','c','s','t','a',
25 | 'c','k',' ','-','O','3',' ','-','W','a','l','l',' ','-','D','L',
26 | '_','E','N','D','I','A','N',' ','-','D','O','P','E','N','S','S',
27 | 'L','_','P','I','C',' ','-','D','_','R','E','E','N','T','R','A',
28 | 'N','T',' ','-','D','O','P','E','N','S','S','L','_','B','U','I',
29 | 'L','D','I','N','G','_','O','P','E','N','S','S','L',' ','-','D',
30 | 'N','D','E','B','U','G','\0'
31 | };
32 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-memory-span.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_MEMORY_SPAN_H_
6 | #define INCLUDE_V8_MEMORY_SPAN_H_
7 |
8 | #include
9 |
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 |
14 | /**
15 | * Points to an unowned continous buffer holding a known number of elements.
16 | *
17 | * This is similar to std::span (under consideration for C++20), but does not
18 | * require advanced C++ support. In the (far) future, this may be replaced with
19 | * or aliased to std::span.
20 | *
21 | * To facilitate future migration, this class exposes a subset of the interface
22 | * implemented by std::span.
23 | */
24 | template
25 | class V8_EXPORT MemorySpan {
26 | public:
27 | /** The default constructor creates an empty span. */
28 | constexpr MemorySpan() = default;
29 |
30 | constexpr MemorySpan(T* data, size_t size) : data_(data), size_(size) {}
31 |
32 | /** Returns a pointer to the beginning of the buffer. */
33 | constexpr T* data() const { return data_; }
34 | /** Returns the number of elements that the buffer holds. */
35 | constexpr size_t size() const { return size_; }
36 |
37 | private:
38 | T* data_ = nullptr;
39 | size_t size_ = 0;
40 | };
41 |
42 | } // namespace v8
43 | #endif // INCLUDE_V8_MEMORY_SPAN_H_
44 |
--------------------------------------------------------------------------------
/android/libnode/include/node/v8-memory-span.h:
--------------------------------------------------------------------------------
1 | // Copyright 2021 the V8 project authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style license that can be
3 | // found in the LICENSE file.
4 |
5 | #ifndef INCLUDE_V8_MEMORY_SPAN_H_
6 | #define INCLUDE_V8_MEMORY_SPAN_H_
7 |
8 | #include
9 |
10 | #include "v8config.h" // NOLINT(build/include_directory)
11 |
12 | namespace v8 {
13 |
14 | /**
15 | * Points to an unowned continous buffer holding a known number of elements.
16 | *
17 | * This is similar to std::span (under consideration for C++20), but does not
18 | * require advanced C++ support. In the (far) future, this may be replaced with
19 | * or aliased to std::span.
20 | *
21 | * To facilitate future migration, this class exposes a subset of the interface
22 | * implemented by std::span.
23 | */
24 | template
25 | class V8_EXPORT MemorySpan {
26 | public:
27 | /** The default constructor creates an empty span. */
28 | constexpr MemorySpan() = default;
29 |
30 | constexpr MemorySpan(T* data, size_t size) : data_(data), size_(size) {}
31 |
32 | /** Returns a pointer to the beginning of the buffer. */
33 | constexpr T* data() const { return data_; }
34 | /** Returns the number of elements that the buffer holds. */
35 | constexpr size_t size() const { return size_; }
36 |
37 | private:
38 | T* data_ = nullptr;
39 | size_t size_ = 0;
40 | };
41 |
42 | } // namespace v8
43 | #endif // INCLUDE_V8_MEMORY_SPAN_H_
44 |
--------------------------------------------------------------------------------
/ios/libnode/include/node/v8-proxy.h:
--------------------------------------------------------------------------------
1 |
2 | // Copyright 2021 the V8 project authors. All rights reserved.
3 | // Use of this source code is governed by a BSD-style license that can be
4 | // found in the LICENSE file.
5 |
6 | #ifndef INCLUDE_V8_PROXY_H_
7 | #define INCLUDE_V8_PROXY_H_
8 |
9 | #include "v8-context.h" // NOLINT(build/include_directory)
10 | #include "v8-local-handle.h" // NOLINT(build/include_directory)
11 | #include "v8-object.h" // NOLINT(build/include_directory)
12 | #include "v8config.h" // NOLINT(build/include_directory)
13 |
14 | namespace v8 {
15 |
16 | class Context;
17 |
18 | /**
19 | * An instance of the built-in Proxy constructor (ECMA-262, 6th Edition,
20 | * 26.2.1).
21 | */
22 | class V8_EXPORT Proxy : public Object {
23 | public:
24 | Local GetTarget();
25 | Local GetHandler();
26 | bool IsRevoked() const;
27 | void Revoke();
28 |
29 | /**
30 | * Creates a new Proxy for the target object.
31 | */
32 | static MaybeLocal New(Local context,
33 | Local