koffi 0.9.24 → 0.9.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (718) hide show
  1. package/README.md +78 -19
  2. package/benchmark/CMakeLists.txt +51 -0
  3. package/benchmark/atoi_cc.cc +62 -0
  4. package/benchmark/atoi_koffi.js +51 -0
  5. package/benchmark/atoi_napi.cc +62 -0
  6. package/benchmark/atoi_napi.js +47 -0
  7. package/benchmark/atoi_node_ffi.js +57 -0
  8. package/benchmark/build/atoi_cc.exe +0 -0
  9. package/benchmark/build/atoi_napi.exp +0 -0
  10. package/benchmark/build/atoi_napi.lib +0 -0
  11. package/benchmark/build/atoi_napi.node +0 -0
  12. package/benchmark/build/koffi.exp +0 -0
  13. package/benchmark/build/koffi.lib +0 -0
  14. package/benchmark/build/koffi.node +0 -0
  15. package/benchmark/build/misc.dll +0 -0
  16. package/benchmark/build/misc.exp +0 -0
  17. package/benchmark/build/misc.lib +0 -0
  18. package/benchmark/build/raylib.dll +0 -0
  19. package/benchmark/build/raylib.exp +0 -0
  20. package/benchmark/build/raylib.lib +0 -0
  21. package/benchmark/build/raylib_cc.exe +0 -0
  22. package/benchmark/build/sqlite3.dll +0 -0
  23. package/benchmark/build/sqlite3.exp +0 -0
  24. package/benchmark/build/sqlite3.lib +0 -0
  25. package/benchmark/build/v16.14.0_x64/ALL_BUILD.vcxproj +210 -0
  26. package/benchmark/build/v16.14.0_x64/ALL_BUILD.vcxproj.filters +8 -0
  27. package/benchmark/build/v16.14.0_x64/CMakeCache.txt +432 -0
  28. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeASMCompiler.cmake +20 -0
  29. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeASM_MASMCompiler.cmake +20 -0
  30. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeCCompiler.cmake +72 -0
  31. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeCXXCompiler.cmake +83 -0
  32. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeDetermineCompilerABI_C.bin +0 -0
  33. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeDetermineCompilerABI_CXX.bin +0 -0
  34. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeRCCompiler.cmake +6 -0
  35. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CMakeSystem.cmake +15 -0
  36. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/CMakeCCompilerId.c +828 -0
  37. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/CompilerIdC.exe +0 -0
  38. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/CompilerIdC.vcxproj +71 -0
  39. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CMakeCCompilerId.obj +0 -0
  40. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.exe.recipe +11 -0
  41. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.command.1.tlog +0 -0
  42. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.read.1.tlog +0 -0
  43. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CL.write.1.tlog +0 -0
  44. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/CompilerIdC.lastbuildstate +2 -0
  45. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.command.1.tlog +0 -0
  46. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.read.1.tlog +0 -0
  47. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdC/Debug/CompilerIdC.tlog/link.write.1.tlog +0 -0
  48. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CMakeCXXCompilerId.cpp +816 -0
  49. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CompilerIdCXX.exe +0 -0
  50. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/CompilerIdCXX.vcxproj +71 -0
  51. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CMakeCXXCompilerId.obj +0 -0
  52. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.exe.recipe +11 -0
  53. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.command.1.tlog +0 -0
  54. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.read.1.tlog +0 -0
  55. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.write.1.tlog +0 -0
  56. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CompilerIdCXX.lastbuildstate +2 -0
  57. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.command.1.tlog +0 -0
  58. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.read.1.tlog +0 -0
  59. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.write.1.tlog +0 -0
  60. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/VCTargetsPath.txt +1 -0
  61. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/VCTargetsPath.vcxproj +31 -0
  62. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/x64/Debug/VCTargetsPath.recipe +11 -0
  63. package/benchmark/build/v16.14.0_x64/CMakeFiles/3.23.0-rc1/x64/Debug/VCTargetsPath.tlog/VCTargetsPath.lastbuildstate +2 -0
  64. package/benchmark/build/v16.14.0_x64/CMakeFiles/36e230b47ae534539f2cb53bb38ac86d/generate.stamp.rule +1 -0
  65. package/benchmark/build/v16.14.0_x64/CMakeFiles/CMakeError.log +108 -0
  66. package/benchmark/build/v16.14.0_x64/CMakeFiles/CMakeOutput.log +418 -0
  67. package/benchmark/build/v16.14.0_x64/CMakeFiles/TargetDirectories.txt +9 -0
  68. package/benchmark/build/v16.14.0_x64/CMakeFiles/cmake.check_cache +1 -0
  69. package/benchmark/build/v16.14.0_x64/CMakeFiles/generate.stamp +1 -0
  70. package/benchmark/build/v16.14.0_x64/CMakeFiles/generate.stamp.depend +27 -0
  71. package/benchmark/build/v16.14.0_x64/CMakeFiles/generate.stamp.list +3 -0
  72. package/benchmark/build/v16.14.0_x64/FindCNoke.cmake +23 -0
  73. package/benchmark/build/v16.14.0_x64/ZERO_CHECK.vcxproj +176 -0
  74. package/benchmark/build/v16.14.0_x64/ZERO_CHECK.vcxproj.filters +13 -0
  75. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.exe.recipe +14 -0
  76. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.obj +0 -0
  77. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/CL.command.1.tlog +0 -0
  78. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/CL.read.1.tlog +0 -0
  79. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/CL.write.1.tlog +0 -0
  80. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/CustomBuild.command.1.tlog +10 -0
  81. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/CustomBuild.read.1.tlog +26 -0
  82. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/CustomBuild.write.1.tlog +2 -0
  83. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/atoi_cc.lastbuildstate +2 -0
  84. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/link.command.1.tlog +0 -0
  85. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/link.read.1.tlog +0 -0
  86. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/atoi_cc.tlog/link.write.1.tlog +0 -0
  87. package/benchmark/build/v16.14.0_x64/atoi_cc.dir/Release/libcc.obj +0 -0
  88. package/benchmark/build/v16.14.0_x64/atoi_cc.vcxproj +352 -0
  89. package/benchmark/build/v16.14.0_x64/atoi_cc.vcxproj.filters +19 -0
  90. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.node.recipe +14 -0
  91. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.obj +0 -0
  92. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/CL.command.1.tlog +0 -0
  93. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/CL.read.1.tlog +0 -0
  94. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/CL.write.1.tlog +0 -0
  95. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/CustomBuild.command.1.tlog +10 -0
  96. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/CustomBuild.read.1.tlog +26 -0
  97. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/CustomBuild.write.1.tlog +2 -0
  98. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/atoi_napi.lastbuildstate +2 -0
  99. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/atoi_napi.write.1u.tlog +0 -0
  100. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/link.command.1.tlog +0 -0
  101. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/link.read.1.tlog +0 -0
  102. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/atoi_napi.tlog/link.write.1.tlog +0 -0
  103. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/libcc.obj +0 -0
  104. package/benchmark/build/v16.14.0_x64/atoi_napi.dir/Release/win_delay_hook.obj +0 -0
  105. package/benchmark/build/v16.14.0_x64/atoi_napi.vcxproj +357 -0
  106. package/benchmark/build/v16.14.0_x64/atoi_napi.vcxproj.filters +22 -0
  107. package/benchmark/build/v16.14.0_x64/cmake_install.cmake +51 -0
  108. package/benchmark/build/v16.14.0_x64/headers/include/node/common.gypi +627 -0
  109. package/benchmark/build/v16.14.0_x64/headers/include/node/config.gypi +346 -0
  110. package/benchmark/build/v16.14.0_x64/headers/include/node/cppgc/common.h +29 -0
  111. package/benchmark/build/v16.14.0_x64/headers/include/node/js_native_api.h +572 -0
  112. package/benchmark/build/v16.14.0_x64/headers/include/node/js_native_api_types.h +160 -0
  113. package/benchmark/build/v16.14.0_x64/headers/include/node/libplatform/libplatform-export.h +29 -0
  114. package/benchmark/build/v16.14.0_x64/headers/include/node/libplatform/libplatform.h +117 -0
  115. package/benchmark/build/v16.14.0_x64/headers/include/node/libplatform/v8-tracing.h +334 -0
  116. package/benchmark/build/v16.14.0_x64/headers/include/node/node.h +1153 -0
  117. package/benchmark/build/v16.14.0_x64/headers/include/node/node_api.h +275 -0
  118. package/benchmark/build/v16.14.0_x64/headers/include/node/node_api_types.h +50 -0
  119. package/benchmark/build/v16.14.0_x64/headers/include/node/node_buffer.h +92 -0
  120. package/benchmark/build/v16.14.0_x64/headers/include/node/node_object_wrap.h +132 -0
  121. package/benchmark/build/v16.14.0_x64/headers/include/node/node_version.h +98 -0
  122. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/aes.h +92 -0
  123. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +48 -0
  124. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm/crypto/include/internal/bn_conf.h +28 -0
  125. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm/crypto/include/internal/dso_conf.h +17 -0
  126. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslconf.h +197 -0
  127. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm/include/progs.h +507 -0
  128. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +49 -0
  129. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  130. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  131. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslconf.h +197 -0
  132. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/asm_avx2/include/progs.h +507 -0
  133. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +30 -0
  134. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/no-asm/crypto/include/internal/bn_conf.h +28 -0
  135. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/no-asm/crypto/include/internal/dso_conf.h +17 -0
  136. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslconf.h +200 -0
  137. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86/no-asm/include/progs.h +507 -0
  138. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +46 -0
  139. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/bn_conf.h +28 -0
  140. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/dso_conf.h +17 -0
  141. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslconf.h +197 -0
  142. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm/include/progs.h +507 -0
  143. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +47 -0
  144. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  145. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  146. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslconf.h +197 -0
  147. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/progs.h +507 -0
  148. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +29 -0
  149. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/bn_conf.h +28 -0
  150. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/dso_conf.h +17 -0
  151. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslconf.h +200 -0
  152. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/BSD-x86_64/no-asm/include/progs.h +507 -0
  153. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +45 -0
  154. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/bn_conf.h +28 -0
  155. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/dso_conf.h +16 -0
  156. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslconf.h +203 -0
  157. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm/include/progs.h +507 -0
  158. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +45 -0
  159. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  160. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/dso_conf.h +16 -0
  161. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslconf.h +203 -0
  162. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/asm_avx2/include/progs.h +507 -0
  163. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +45 -0
  164. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/bn_conf.h +28 -0
  165. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/dso_conf.h +16 -0
  166. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslconf.h +206 -0
  167. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN32/no-asm/include/progs.h +507 -0
  168. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +29 -0
  169. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/bn_conf.h +28 -0
  170. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/dso_conf.h +16 -0
  171. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslconf.h +203 -0
  172. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/progs.h +507 -0
  173. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +23 -0
  174. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/bn_conf.h +28 -0
  175. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/dso_conf.h +16 -0
  176. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslconf.h +203 -0
  177. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm/include/progs.h +507 -0
  178. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +23 -0
  179. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  180. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/dso_conf.h +16 -0
  181. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslconf.h +203 -0
  182. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/progs.h +507 -0
  183. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +23 -0
  184. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/bn_conf.h +28 -0
  185. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/dso_conf.h +16 -0
  186. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslconf.h +206 -0
  187. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/VC-WIN64A/no-asm/include/progs.h +507 -0
  188. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +35 -0
  189. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
  190. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
  191. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslconf.h +203 -0
  192. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm/include/progs.h +507 -0
  193. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +36 -0
  194. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  195. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  196. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/opensslconf.h +203 -0
  197. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/asm_avx2/include/progs.h +507 -0
  198. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +26 -0
  199. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  200. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  201. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslconf.h +206 -0
  202. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix-gcc/no-asm/include/progs.h +507 -0
  203. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +38 -0
  204. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
  205. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
  206. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm/include/openssl/opensslconf.h +203 -0
  207. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm/include/progs.h +507 -0
  208. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +39 -0
  209. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  210. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  211. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm_avx2/include/openssl/opensslconf.h +203 -0
  212. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/asm_avx2/include/progs.h +507 -0
  213. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +27 -0
  214. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  215. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  216. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/no-asm/include/openssl/opensslconf.h +206 -0
  217. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/aix64-gcc/no-asm/include/progs.h +507 -0
  218. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +47 -0
  219. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/bn_conf.h +28 -0
  220. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/dso_conf.h +17 -0
  221. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslconf.h +203 -0
  222. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm/include/progs.h +507 -0
  223. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +48 -0
  224. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  225. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  226. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslconf.h +203 -0
  227. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/progs.h +507 -0
  228. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +29 -0
  229. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  230. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  231. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslconf.h +206 -0
  232. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin-i386-cc/no-asm/include/progs.h +507 -0
  233. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +38 -0
  234. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/include/internal/bn_conf.h +28 -0
  235. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/include/internal/dso_conf.h +17 -0
  236. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslconf.h +203 -0
  237. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm/include/progs.h +507 -0
  238. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +39 -0
  239. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  240. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  241. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslconf.h +203 -0
  242. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/progs.h +507 -0
  243. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +28 -0
  244. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  245. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  246. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslconf.h +206 -0
  247. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/progs.h +507 -0
  248. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +46 -0
  249. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/bn_conf.h +28 -0
  250. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/dso_conf.h +17 -0
  251. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslconf.h +203 -0
  252. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/progs.h +507 -0
  253. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +47 -0
  254. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  255. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  256. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslconf.h +203 -0
  257. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h +507 -0
  258. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +28 -0
  259. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  260. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  261. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslconf.h +206 -0
  262. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/progs.h +507 -0
  263. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +38 -0
  264. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/bn_conf.h +28 -0
  265. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/dso_conf.h +17 -0
  266. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslconf.h +200 -0
  267. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm/include/progs.h +507 -0
  268. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +39 -0
  269. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  270. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  271. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslconf.h +200 -0
  272. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/asm_avx2/include/progs.h +507 -0
  273. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +28 -0
  274. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/bn_conf.h +28 -0
  275. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/dso_conf.h +17 -0
  276. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslconf.h +203 -0
  277. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-aarch64/no-asm/include/progs.h +507 -0
  278. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +40 -0
  279. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/bn_conf.h +28 -0
  280. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/dso_conf.h +17 -0
  281. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslconf.h +200 -0
  282. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm/include/progs.h +507 -0
  283. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +42 -0
  284. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  285. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  286. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslconf.h +200 -0
  287. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/asm_avx2/include/progs.h +507 -0
  288. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +28 -0
  289. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/bn_conf.h +28 -0
  290. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/dso_conf.h +17 -0
  291. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslconf.h +203 -0
  292. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-armv4/no-asm/include/progs.h +507 -0
  293. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +48 -0
  294. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/bn_conf.h +28 -0
  295. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/dso_conf.h +17 -0
  296. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslconf.h +200 -0
  297. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm/include/progs.h +507 -0
  298. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +49 -0
  299. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  300. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  301. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslconf.h +200 -0
  302. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/asm_avx2/include/progs.h +507 -0
  303. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +30 -0
  304. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/bn_conf.h +28 -0
  305. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/dso_conf.h +17 -0
  306. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslconf.h +203 -0
  307. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-elf/no-asm/include/progs.h +507 -0
  308. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +37 -0
  309. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/bn_conf.h +28 -0
  310. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/dso_conf.h +17 -0
  311. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm/include/openssl/opensslconf.h +200 -0
  312. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm/include/progs.h +507 -0
  313. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +38 -0
  314. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  315. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  316. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/opensslconf.h +200 -0
  317. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/asm_avx2/include/progs.h +507 -0
  318. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +28 -0
  319. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  320. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  321. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/opensslconf.h +203 -0
  322. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc/no-asm/include/progs.h +507 -0
  323. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +40 -0
  324. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/bn_conf.h +28 -0
  325. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/dso_conf.h +17 -0
  326. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm/include/openssl/opensslconf.h +200 -0
  327. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm/include/progs.h +507 -0
  328. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +41 -0
  329. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  330. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  331. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/opensslconf.h +200 -0
  332. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/asm_avx2/include/progs.h +507 -0
  333. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +29 -0
  334. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/bn_conf.h +28 -0
  335. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/dso_conf.h +17 -0
  336. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/opensslconf.h +203 -0
  337. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64/no-asm/include/progs.h +507 -0
  338. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +40 -0
  339. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/bn_conf.h +28 -0
  340. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/dso_conf.h +17 -0
  341. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslconf.h +200 -0
  342. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm/include/progs.h +507 -0
  343. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +41 -0
  344. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  345. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  346. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslconf.h +200 -0
  347. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/progs.h +507 -0
  348. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +29 -0
  349. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/bn_conf.h +28 -0
  350. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/dso_conf.h +17 -0
  351. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslconf.h +203 -0
  352. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-ppc64le/no-asm/include/progs.h +507 -0
  353. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm/crypto/buildinf.h +46 -0
  354. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm/crypto/include/internal/bn_conf.h +28 -0
  355. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm/crypto/include/internal/dso_conf.h +17 -0
  356. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm/include/openssl/opensslconf.h +200 -0
  357. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm/include/progs.h +507 -0
  358. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm_avx2/crypto/buildinf.h +48 -0
  359. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  360. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  361. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm_avx2/include/openssl/opensslconf.h +200 -0
  362. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/asm_avx2/include/progs.h +507 -0
  363. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/no-asm/crypto/buildinf.h +29 -0
  364. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h +28 -0
  365. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h +17 -0
  366. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/no-asm/include/openssl/opensslconf.h +203 -0
  367. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x32/no-asm/include/progs.h +507 -0
  368. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +46 -0
  369. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/bn_conf.h +28 -0
  370. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/dso_conf.h +17 -0
  371. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslconf.h +200 -0
  372. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm/include/progs.h +507 -0
  373. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +47 -0
  374. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  375. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  376. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslconf.h +200 -0
  377. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/asm_avx2/include/progs.h +507 -0
  378. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +29 -0
  379. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/bn_conf.h +28 -0
  380. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/dso_conf.h +17 -0
  381. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslconf.h +203 -0
  382. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux-x86_64/no-asm/include/progs.h +507 -0
  383. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +43 -0
  384. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/bn_conf.h +28 -0
  385. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/dso_conf.h +17 -0
  386. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslconf.h +200 -0
  387. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm/include/progs.h +507 -0
  388. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +44 -0
  389. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  390. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  391. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslconf.h +200 -0
  392. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/asm_avx2/include/progs.h +507 -0
  393. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +29 -0
  394. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/bn_conf.h +28 -0
  395. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/dso_conf.h +17 -0
  396. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslconf.h +203 -0
  397. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux32-s390x/no-asm/include/progs.h +507 -0
  398. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +35 -0
  399. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm/crypto/include/internal/bn_conf.h +28 -0
  400. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm/crypto/include/internal/dso_conf.h +17 -0
  401. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslconf.h +200 -0
  402. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm/include/progs.h +507 -0
  403. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +36 -0
  404. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  405. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  406. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslconf.h +200 -0
  407. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/asm_avx2/include/progs.h +507 -0
  408. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +28 -0
  409. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/no-asm/crypto/include/internal/bn_conf.h +28 -0
  410. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/no-asm/crypto/include/internal/dso_conf.h +17 -0
  411. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslconf.h +203 -0
  412. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-mips64/no-asm/include/progs.h +507 -0
  413. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +28 -0
  414. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/bn_conf.h +28 -0
  415. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/dso_conf.h +17 -0
  416. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslconf.h +203 -0
  417. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-riscv64/no-asm/include/progs.h +507 -0
  418. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +42 -0
  419. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/bn_conf.h +28 -0
  420. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/dso_conf.h +17 -0
  421. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslconf.h +200 -0
  422. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm/include/progs.h +507 -0
  423. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +43 -0
  424. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  425. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  426. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslconf.h +200 -0
  427. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/asm_avx2/include/progs.h +507 -0
  428. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +29 -0
  429. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/bn_conf.h +28 -0
  430. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/dso_conf.h +17 -0
  431. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslconf.h +203 -0
  432. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/linux64-s390x/no-asm/include/progs.h +507 -0
  433. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +47 -0
  434. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
  435. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
  436. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslconf.h +200 -0
  437. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm/include/progs.h +507 -0
  438. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +48 -0
  439. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  440. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  441. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslconf.h +200 -0
  442. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/progs.h +507 -0
  443. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +29 -0
  444. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  445. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  446. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslconf.h +203 -0
  447. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/progs.h +507 -0
  448. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +46 -0
  449. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
  450. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
  451. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslconf.h +200 -0
  452. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/progs.h +507 -0
  453. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +47 -0
  454. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
  455. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
  456. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslconf.h +200 -0
  457. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h +507 -0
  458. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +28 -0
  459. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
  460. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
  461. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslconf.h +203 -0
  462. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/progs.h +507 -0
  463. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/asn1.h +886 -0
  464. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/asn1_mac.h +10 -0
  465. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/asn1err.h +256 -0
  466. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/asn1t.h +945 -0
  467. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/async.h +76 -0
  468. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/asyncerr.h +42 -0
  469. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/bio.h +801 -0
  470. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/bioerr.h +124 -0
  471. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/blowfish.h +61 -0
  472. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/bn.h +539 -0
  473. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/bn_conf.h +5 -0
  474. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/bn_conf_asm.h +59 -0
  475. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/bn_conf_no-asm.h +61 -0
  476. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/bnerr.h +100 -0
  477. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/buffer.h +58 -0
  478. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/buffererr.h +34 -0
  479. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/camellia.h +83 -0
  480. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/cast.h +53 -0
  481. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/cmac.h +41 -0
  482. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/cms.h +339 -0
  483. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/cmserr.h +202 -0
  484. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/comp.h +53 -0
  485. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/comperr.h +44 -0
  486. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/conf.h +168 -0
  487. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/conf_api.h +40 -0
  488. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/conferr.h +76 -0
  489. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/crypto.h +449 -0
  490. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/cryptoerr.h +57 -0
  491. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ct.h +474 -0
  492. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/cterr.h +80 -0
  493. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/des.h +174 -0
  494. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dh.h +340 -0
  495. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dherr.h +88 -0
  496. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dsa.h +244 -0
  497. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dsaerr.h +72 -0
  498. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dso_conf.h +5 -0
  499. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dso_conf_asm.h +59 -0
  500. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dso_conf_no-asm.h +61 -0
  501. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/dtls1.h +55 -0
  502. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/e_os2.h +301 -0
  503. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ebcdic.h +33 -0
  504. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ec.h +1484 -0
  505. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ecdh.h +10 -0
  506. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ecdsa.h +10 -0
  507. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ecerr.h +276 -0
  508. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/engine.h +751 -0
  509. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/engineerr.h +111 -0
  510. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/err.h +274 -0
  511. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/evp.h +1670 -0
  512. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/evperr.h +204 -0
  513. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/hmac.h +51 -0
  514. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/idea.h +64 -0
  515. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/kdf.h +97 -0
  516. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/kdferr.h +55 -0
  517. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/lhash.h +241 -0
  518. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/md2.h +44 -0
  519. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/md4.h +51 -0
  520. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/md5.h +50 -0
  521. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/mdc2.h +42 -0
  522. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/modes.h +208 -0
  523. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/obj_mac.h +5198 -0
  524. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/objects.h +175 -0
  525. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/objectserr.h +42 -0
  526. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ocsp.h +352 -0
  527. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ocsperr.h +78 -0
  528. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/opensslconf.h +23 -0
  529. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/opensslconf_asm.h +140 -0
  530. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/opensslconf_no-asm.h +49 -0
  531. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/opensslv.h +101 -0
  532. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ossl_typ.h +199 -0
  533. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/pem.h +378 -0
  534. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/pem2.h +13 -0
  535. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/pemerr.h +105 -0
  536. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/pkcs12.h +223 -0
  537. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/pkcs12err.h +81 -0
  538. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/pkcs7.h +319 -0
  539. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/pkcs7err.h +103 -0
  540. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/rand.h +77 -0
  541. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/rand_drbg.h +130 -0
  542. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/randerr.h +94 -0
  543. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/rc2.h +51 -0
  544. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/rc4.h +36 -0
  545. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/rc5.h +63 -0
  546. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ripemd.h +47 -0
  547. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/rsa.h +513 -0
  548. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/rsaerr.h +167 -0
  549. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/safestack.h +207 -0
  550. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/seed.h +96 -0
  551. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/sha.h +119 -0
  552. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/srp.h +135 -0
  553. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/srtp.h +50 -0
  554. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ssl.h +2499 -0
  555. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ssl2.h +24 -0
  556. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ssl3.h +342 -0
  557. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/sslerr.h +795 -0
  558. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/stack.h +83 -0
  559. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/store.h +266 -0
  560. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/storeerr.h +91 -0
  561. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/symhacks.h +37 -0
  562. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/tls1.h +1241 -0
  563. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ts.h +559 -0
  564. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/tserr.h +132 -0
  565. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/txt_db.h +57 -0
  566. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/ui.h +368 -0
  567. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/uierr.h +65 -0
  568. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/whrlpool.h +48 -0
  569. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/x509.h +1050 -0
  570. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/x509_vfy.h +632 -0
  571. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/x509err.h +129 -0
  572. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/x509v3.h +938 -0
  573. package/benchmark/build/v16.14.0_x64/headers/include/node/openssl/x509v3err.h +164 -0
  574. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/aix.h +32 -0
  575. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/android-ifaddrs.h +54 -0
  576. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/bsd.h +34 -0
  577. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/darwin.h +61 -0
  578. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/errno.h +460 -0
  579. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/linux.h +34 -0
  580. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/os390.h +33 -0
  581. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/posix.h +31 -0
  582. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/stdint-msvc2008.h +247 -0
  583. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/sunos.h +44 -0
  584. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/threadpool.h +37 -0
  585. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/tree.h +768 -0
  586. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/unix.h +505 -0
  587. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/version.h +43 -0
  588. package/benchmark/build/v16.14.0_x64/headers/include/node/uv/win.h +698 -0
  589. package/benchmark/build/v16.14.0_x64/headers/include/node/uv.h +1849 -0
  590. package/benchmark/build/v16.14.0_x64/headers/include/node/v8-internal.h +511 -0
  591. package/benchmark/build/v16.14.0_x64/headers/include/node/v8-platform.h +709 -0
  592. package/benchmark/build/v16.14.0_x64/headers/include/node/v8-profiler.h +1123 -0
  593. package/benchmark/build/v16.14.0_x64/headers/include/node/v8-version.h +20 -0
  594. package/benchmark/build/v16.14.0_x64/headers/include/node/v8.h +12652 -0
  595. package/benchmark/build/v16.14.0_x64/headers/include/node/v8config.h +560 -0
  596. package/benchmark/build/v16.14.0_x64/headers/include/node/zconf.h +549 -0
  597. package/benchmark/build/v16.14.0_x64/headers/include/node/zlib.h +1935 -0
  598. package/benchmark/build/v16.14.0_x64/koffi/CMakeFiles/generate.stamp +1 -0
  599. package/benchmark/build/v16.14.0_x64/koffi/CMakeFiles/generate.stamp.depend +7 -0
  600. package/benchmark/build/v16.14.0_x64/koffi/cmake_install.cmake +34 -0
  601. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/call_arm32.obj +0 -0
  602. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/call_arm64.obj +0 -0
  603. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/call_x64_sysv.obj +0 -0
  604. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/call_x64_win.obj +0 -0
  605. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/call_x64_win_fwd.obj +0 -0
  606. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/call_x86.obj +0 -0
  607. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/ffi.obj +0 -0
  608. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.node.recipe +14 -0
  609. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/CL.command.1.tlog +0 -0
  610. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/CL.read.1.tlog +0 -0
  611. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/CL.write.1.tlog +0 -0
  612. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/CustomBuild.command.1.tlog +10 -0
  613. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/CustomBuild.read.1.tlog +6 -0
  614. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/CustomBuild.write.1.tlog +2 -0
  615. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/Masm.read.1u.tlog +0 -0
  616. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/Masm.write.1u.tlog +0 -0
  617. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/koffi.lastbuildstate +2 -0
  618. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/koffi.write.1u.tlog +0 -0
  619. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/link.command.1.tlog +0 -0
  620. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/link.read.1.tlog +0 -0
  621. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/koffi.tlog/link.write.1.tlog +0 -0
  622. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/libcc.obj +0 -0
  623. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/util.obj +0 -0
  624. package/benchmark/build/v16.14.0_x64/koffi/koffi.dir/Release/win_delay_hook.obj +0 -0
  625. package/benchmark/build/v16.14.0_x64/koffi/koffi.vcxproj +368 -0
  626. package/benchmark/build/v16.14.0_x64/koffi/koffi.vcxproj.filters +43 -0
  627. package/benchmark/build/v16.14.0_x64/koffi.sln +138 -0
  628. package/benchmark/build/v16.14.0_x64/node.lib +0 -0
  629. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/atoi_cc.obj +0 -0
  630. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/libcc.obj +0 -0
  631. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.exe.recipe +17 -0
  632. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/CL.command.1.tlog +0 -0
  633. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/CL.read.1.tlog +0 -0
  634. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/CL.write.1.tlog +0 -0
  635. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/CustomBuild.command.1.tlog +10 -0
  636. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/CustomBuild.read.1.tlog +26 -0
  637. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/CustomBuild.write.1.tlog +2 -0
  638. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/link.command.1.tlog +0 -0
  639. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/link.read.1.tlog +0 -0
  640. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/link.write.1.tlog +0 -0
  641. package/benchmark/build/v16.14.0_x64/raylib_cc.dir/Release/raylib_cc.tlog/raylib_cc.lastbuildstate +2 -0
  642. package/benchmark/build/v16.14.0_x64/raylib_cc.vcxproj +356 -0
  643. package/benchmark/build/v16.14.0_x64/raylib_cc.vcxproj.filters +19 -0
  644. package/benchmark/build/v16.14.0_x64/test/CMakeFiles/generate.stamp +1 -0
  645. package/benchmark/build/v16.14.0_x64/test/CMakeFiles/generate.stamp.depend +2 -0
  646. package/benchmark/build/v16.14.0_x64/test/cmake_install.cmake +34 -0
  647. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.dll.recipe +14 -0
  648. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.obj +0 -0
  649. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/CL.command.1.tlog +0 -0
  650. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/CL.read.1.tlog +0 -0
  651. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/CL.write.1.tlog +0 -0
  652. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/CustomBuild.command.1.tlog +10 -0
  653. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/CustomBuild.read.1.tlog +1 -0
  654. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/CustomBuild.write.1.tlog +2 -0
  655. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/link.command.1.tlog +0 -0
  656. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/link.read.1.tlog +0 -0
  657. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/link.write.1.tlog +0 -0
  658. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/misc.lastbuildstate +2 -0
  659. package/benchmark/build/v16.14.0_x64/test/misc.dir/Release/misc.tlog/misc.write.1u.tlog +0 -0
  660. package/benchmark/build/v16.14.0_x64/test/misc.vcxproj +339 -0
  661. package/benchmark/build/v16.14.0_x64/test/misc.vcxproj.filters +16 -0
  662. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raudio.obj +0 -0
  663. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.dll.recipe +14 -0
  664. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/CL.command.1.tlog +0 -0
  665. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/CL.read.1.tlog +0 -0
  666. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/CL.write.1.tlog +0 -0
  667. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/CustomBuild.command.1.tlog +10 -0
  668. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/CustomBuild.read.1.tlog +1 -0
  669. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/CustomBuild.write.1.tlog +2 -0
  670. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/link.command.1.tlog +0 -0
  671. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/link.read.1.tlog +0 -0
  672. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/link.write.1.tlog +0 -0
  673. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/raylib.lastbuildstate +2 -0
  674. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/raylib.tlog/raylib.write.1u.tlog +0 -0
  675. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/rcore.obj +0 -0
  676. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/rglfw.obj +0 -0
  677. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/rmodels.obj +0 -0
  678. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/rshapes.obj +0 -0
  679. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/rtext.obj +0 -0
  680. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/rtextures.obj +0 -0
  681. package/benchmark/build/v16.14.0_x64/test/raylib.dir/Release/utils.obj +0 -0
  682. package/benchmark/build/v16.14.0_x64/test/raylib.vcxproj +358 -0
  683. package/benchmark/build/v16.14.0_x64/test/raylib.vcxproj.filters +37 -0
  684. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.dll.recipe +14 -0
  685. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.obj +0 -0
  686. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/CL.command.1.tlog +0 -0
  687. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/CL.read.1.tlog +0 -0
  688. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/CL.write.1.tlog +0 -0
  689. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/CustomBuild.command.1.tlog +10 -0
  690. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/CustomBuild.read.1.tlog +1 -0
  691. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/CustomBuild.write.1.tlog +2 -0
  692. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/link.command.1.tlog +0 -0
  693. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/link.read.1.tlog +0 -0
  694. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/link.write.1.tlog +0 -0
  695. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/sqlite3.lastbuildstate +2 -0
  696. package/benchmark/build/v16.14.0_x64/test/sqlite3.dir/Release/sqlite3.tlog/sqlite3.write.1u.tlog +0 -0
  697. package/benchmark/build/v16.14.0_x64/test/sqlite3.vcxproj +335 -0
  698. package/benchmark/build/v16.14.0_x64/test/sqlite3.vcxproj.filters +16 -0
  699. package/benchmark/build/v16.14.0_x64/win_delay_hook.c +34 -0
  700. package/benchmark/build/v16.14.0_x64/x64/Release/ALL_BUILD/ALL_BUILD.recipe +35 -0
  701. package/benchmark/build/v16.14.0_x64/x64/Release/ALL_BUILD/ALL_BUILD.tlog/ALL_BUILD.lastbuildstate +2 -0
  702. package/benchmark/build/v16.14.0_x64/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.command.1.tlog +10 -0
  703. package/benchmark/build/v16.14.0_x64/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.read.1.tlog +26 -0
  704. package/benchmark/build/v16.14.0_x64/x64/Release/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.write.1.tlog +2 -0
  705. package/benchmark/build/v16.14.0_x64/x64/Release/ZERO_CHECK/ZERO_CHECK.recipe +11 -0
  706. package/benchmark/build/v16.14.0_x64/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.command.1.tlog +10 -0
  707. package/benchmark/build/v16.14.0_x64/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.read.1.tlog +31 -0
  708. package/benchmark/build/v16.14.0_x64/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.write.1.tlog +4 -0
  709. package/benchmark/build/v16.14.0_x64/x64/Release/ZERO_CHECK/ZERO_CHECK.tlog/ZERO_CHECK.lastbuildstate +2 -0
  710. package/benchmark/raylib.dll +0 -0
  711. package/benchmark/{raylib_c.c → raylib_cc.cc} +25 -34
  712. package/benchmark/raylib_cc.exe +0 -0
  713. package/benchmark/raylib_koffi.js +5 -0
  714. package/benchmark/raylib_node_ffi.js +6 -0
  715. package/package.json +1 -1
  716. package/test/tests/misc.c +11 -0
  717. package/test/tests/misc.js +4 -0
  718. package/benchmark/build.sh +0 -13
@@ -0,0 +1,1153 @@
1
+ // Copyright Joyent, Inc. and other Node contributors.
2
+ //
3
+ // Permission is hereby granted, free of charge, to any person obtaining a
4
+ // copy of this software and associated documentation files (the
5
+ // "Software"), to deal in the Software without restriction, including
6
+ // without limitation the rights to use, copy, modify, merge, publish,
7
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
8
+ // persons to whom the Software is furnished to do so, subject to the
9
+ // following conditions:
10
+ //
11
+ // The above copyright notice and this permission notice shall be included
12
+ // in all copies or substantial portions of the Software.
13
+ //
14
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
17
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
18
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
19
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
20
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ #ifndef SRC_NODE_H_
23
+ #define SRC_NODE_H_
24
+
25
+ #ifdef _WIN32
26
+ # ifndef BUILDING_NODE_EXTENSION
27
+ # define NODE_EXTERN __declspec(dllexport)
28
+ # else
29
+ # define NODE_EXTERN __declspec(dllimport)
30
+ # endif
31
+ #else
32
+ # define NODE_EXTERN __attribute__((visibility("default")))
33
+ #endif
34
+
35
+ #ifdef BUILDING_NODE_EXTENSION
36
+ # undef BUILDING_V8_SHARED
37
+ # undef BUILDING_UV_SHARED
38
+ # define USING_V8_SHARED 1
39
+ # define USING_UV_SHARED 1
40
+ #endif
41
+
42
+ // This should be defined in make system.
43
+ // See issue https://github.com/nodejs/node-v0.x-archive/issues/1236
44
+ #if defined(__MINGW32__) || defined(_MSC_VER)
45
+ #ifndef _WIN32_WINNT
46
+ # define _WIN32_WINNT 0x0600 // Windows Server 2008
47
+ #endif
48
+
49
+ #ifndef NOMINMAX
50
+ # define NOMINMAX
51
+ #endif
52
+
53
+ #endif
54
+
55
+ #if defined(_MSC_VER)
56
+ #define PATH_MAX MAX_PATH
57
+ #endif
58
+
59
+ #ifdef _WIN32
60
+ # define SIGKILL 9
61
+ #endif
62
+
63
+ #include "v8.h" // NOLINT(build/include_order)
64
+
65
+ #include "v8-platform.h" // NOLINT(build/include_order)
66
+ #include "node_version.h" // NODE_MODULE_VERSION
67
+
68
+ #include <memory>
69
+ #include <functional>
70
+
71
+ // We cannot use __POSIX__ in this header because that's only defined when
72
+ // building Node.js.
73
+ #ifndef _WIN32
74
+ #include <signal.h>
75
+ #endif // _WIN32
76
+
77
+ #define NODE_MAKE_VERSION(major, minor, patch) \
78
+ ((major) * 0x1000 + (minor) * 0x100 + (patch))
79
+
80
+ #ifdef __clang__
81
+ # define NODE_CLANG_AT_LEAST(major, minor, patch) \
82
+ (NODE_MAKE_VERSION(major, minor, patch) <= \
83
+ NODE_MAKE_VERSION(__clang_major__, __clang_minor__, __clang_patchlevel__))
84
+ #else
85
+ # define NODE_CLANG_AT_LEAST(major, minor, patch) (0)
86
+ #endif
87
+
88
+ #ifdef __GNUC__
89
+ # define NODE_GNUC_AT_LEAST(major, minor, patch) \
90
+ (NODE_MAKE_VERSION(major, minor, patch) <= \
91
+ NODE_MAKE_VERSION(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__))
92
+ #else
93
+ # define NODE_GNUC_AT_LEAST(major, minor, patch) (0)
94
+ #endif
95
+
96
+ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
97
+ # define NODE_DEPRECATED(message, declarator) declarator
98
+ #else // NODE_WANT_INTERNALS
99
+ # if NODE_CLANG_AT_LEAST(2, 9, 0) || NODE_GNUC_AT_LEAST(4, 5, 0)
100
+ # define NODE_DEPRECATED(message, declarator) \
101
+ __attribute__((deprecated(message))) declarator
102
+ # elif defined(_MSC_VER)
103
+ # define NODE_DEPRECATED(message, declarator) \
104
+ __declspec(deprecated) declarator
105
+ # else
106
+ # define NODE_DEPRECATED(message, declarator) declarator
107
+ # endif
108
+ #endif
109
+
110
+ // Forward-declare libuv loop
111
+ struct uv_loop_s;
112
+
113
+ struct napi_module;
114
+
115
+ // Forward-declare these functions now to stop MSVS from becoming
116
+ // terminally confused when it's done in node_internals.h
117
+ namespace node {
118
+
119
+ namespace tracing {
120
+
121
+ class TracingController;
122
+
123
+ }
124
+
125
+ NODE_EXTERN v8::Local<v8::Value> ErrnoException(v8::Isolate* isolate,
126
+ int errorno,
127
+ const char* syscall = nullptr,
128
+ const char* message = nullptr,
129
+ const char* path = nullptr);
130
+ NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate,
131
+ int errorno,
132
+ const char* syscall = nullptr,
133
+ const char* message = nullptr,
134
+ const char* path = nullptr,
135
+ const char* dest = nullptr);
136
+
137
+ NODE_DEPRECATED("Use ErrnoException(isolate, ...)",
138
+ inline v8::Local<v8::Value> ErrnoException(
139
+ int errorno,
140
+ const char* syscall = nullptr,
141
+ const char* message = nullptr,
142
+ const char* path = nullptr) {
143
+ return ErrnoException(v8::Isolate::GetCurrent(),
144
+ errorno,
145
+ syscall,
146
+ message,
147
+ path);
148
+ })
149
+
150
+ NODE_DEPRECATED("Use UVException(isolate, ...)",
151
+ inline v8::Local<v8::Value> UVException(int errorno,
152
+ const char* syscall = nullptr,
153
+ const char* message = nullptr,
154
+ const char* path = nullptr) {
155
+ return UVException(v8::Isolate::GetCurrent(),
156
+ errorno,
157
+ syscall,
158
+ message,
159
+ path);
160
+ })
161
+
162
+ /*
163
+ * These methods need to be called in a HandleScope.
164
+ *
165
+ * It is preferred that you use the `MakeCallback` overloads taking
166
+ * `async_context` arguments.
167
+ */
168
+
169
+ NODE_DEPRECATED("Use MakeCallback(..., async_context)",
170
+ NODE_EXTERN v8::Local<v8::Value> MakeCallback(
171
+ v8::Isolate* isolate,
172
+ v8::Local<v8::Object> recv,
173
+ const char* method,
174
+ int argc,
175
+ v8::Local<v8::Value>* argv));
176
+ NODE_DEPRECATED("Use MakeCallback(..., async_context)",
177
+ NODE_EXTERN v8::Local<v8::Value> MakeCallback(
178
+ v8::Isolate* isolate,
179
+ v8::Local<v8::Object> recv,
180
+ v8::Local<v8::String> symbol,
181
+ int argc,
182
+ v8::Local<v8::Value>* argv));
183
+ NODE_DEPRECATED("Use MakeCallback(..., async_context)",
184
+ NODE_EXTERN v8::Local<v8::Value> MakeCallback(
185
+ v8::Isolate* isolate,
186
+ v8::Local<v8::Object> recv,
187
+ v8::Local<v8::Function> callback,
188
+ int argc,
189
+ v8::Local<v8::Value>* argv));
190
+
191
+ } // namespace node
192
+
193
+ #include <cassert>
194
+ #include <cstdint>
195
+
196
+ #ifndef NODE_STRINGIFY
197
+ # define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
198
+ # define NODE_STRINGIFY_HELPER(n) #n
199
+ #endif
200
+
201
+ #ifdef _WIN32
202
+ #if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
203
+ typedef intptr_t ssize_t;
204
+ # define _SSIZE_T_
205
+ # define _SSIZE_T_DEFINED
206
+ #endif
207
+ #else // !_WIN32
208
+ # include <sys/types.h> // size_t, ssize_t
209
+ #endif // _WIN32
210
+
211
+
212
+ namespace node {
213
+
214
+ class IsolateData;
215
+ class Environment;
216
+
217
+ namespace ProcessFlags {
218
+ enum Flags : uint64_t {
219
+ kNoFlags = 0,
220
+ // Enable stdio inheritance, which is disabled by default.
221
+ kEnableStdioInheritance = 1 << 0,
222
+ // Disable reading the NODE_OPTIONS environment variable.
223
+ kDisableNodeOptionsEnv = 1 << 1,
224
+ // Do not parse CLI options.
225
+ kDisableCLIOptions = 1 << 2,
226
+ // Do not initialize ICU.
227
+ kNoICU = 1 << 3,
228
+ };
229
+ } // namespace ProcessFlags
230
+
231
+ // TODO(addaleax): Officially deprecate this and replace it with something
232
+ // better suited for a public embedder API.
233
+ NODE_EXTERN int Start(int argc, char* argv[]);
234
+
235
+ // Tear down Node.js while it is running (there are active handles
236
+ // in the loop and / or actively executing JavaScript code).
237
+ NODE_EXTERN int Stop(Environment* env);
238
+
239
+ // Set up per-process state needed to run Node.js. This will consume arguments
240
+ // from argv, fill exec_argv, and possibly add errors resulting from parsing
241
+ // the arguments to `errors`. The return value is a suggested exit code for the
242
+ // program; If it is 0, then initializing Node.js succeeded.
243
+ NODE_EXTERN int InitializeNodeWithArgs(
244
+ std::vector<std::string>* argv,
245
+ std::vector<std::string>* exec_argv,
246
+ std::vector<std::string>* errors);
247
+ // TODO(zcbenz): Turn above overloaded version into below's default argument.
248
+ NODE_EXTERN int InitializeNodeWithArgs(
249
+ std::vector<std::string>* argv,
250
+ std::vector<std::string>* exec_argv,
251
+ std::vector<std::string>* errors,
252
+ ProcessFlags::Flags flags);
253
+
254
+ enum OptionEnvvarSettings {
255
+ kAllowedInEnvironment,
256
+ kDisallowedInEnvironment
257
+ };
258
+
259
+ NODE_EXTERN int ProcessGlobalArgs(std::vector<std::string>* args,
260
+ std::vector<std::string>* exec_args,
261
+ std::vector<std::string>* errors,
262
+ OptionEnvvarSettings settings);
263
+
264
+ class NodeArrayBufferAllocator;
265
+
266
+ // An ArrayBuffer::Allocator class with some Node.js-specific tweaks. If you do
267
+ // not have to use another allocator, using this class is recommended:
268
+ // - It supports Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() with
269
+ // uninitialized memory.
270
+ // - It supports transferring, rather than copying, ArrayBuffers when using
271
+ // MessagePorts.
272
+ class NODE_EXTERN ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
273
+ public:
274
+ // If `always_debug` is true, create an ArrayBuffer::Allocator instance
275
+ // that performs additional integrity checks (e.g. make sure that only memory
276
+ // that was allocated by the it is also freed by it).
277
+ // This can also be set using the --debug-arraybuffer-allocations flag.
278
+ static std::unique_ptr<ArrayBufferAllocator> Create(
279
+ bool always_debug = false);
280
+
281
+ private:
282
+ virtual NodeArrayBufferAllocator* GetImpl() = 0;
283
+
284
+ friend class IsolateData;
285
+ };
286
+
287
+ // Legacy equivalents for ArrayBufferAllocator::Create().
288
+ NODE_EXTERN ArrayBufferAllocator* CreateArrayBufferAllocator();
289
+ NODE_EXTERN void FreeArrayBufferAllocator(ArrayBufferAllocator* allocator);
290
+
291
+ class NODE_EXTERN IsolatePlatformDelegate {
292
+ public:
293
+ virtual std::shared_ptr<v8::TaskRunner> GetForegroundTaskRunner() = 0;
294
+ virtual bool IdleTasksEnabled() = 0;
295
+ };
296
+
297
+ class NODE_EXTERN MultiIsolatePlatform : public v8::Platform {
298
+ public:
299
+ ~MultiIsolatePlatform() override = default;
300
+ // Returns true if work was dispatched or executed. New tasks that are
301
+ // posted during flushing of the queue are postponed until the next
302
+ // flushing.
303
+ virtual bool FlushForegroundTasks(v8::Isolate* isolate) = 0;
304
+ virtual void DrainTasks(v8::Isolate* isolate) = 0;
305
+
306
+ // This needs to be called between the calls to `Isolate::Allocate()` and
307
+ // `Isolate::Initialize()`, so that initialization can already start
308
+ // using the platform.
309
+ // When using `NewIsolate()`, this is taken care of by that function.
310
+ // This function may only be called once per `Isolate`.
311
+ virtual void RegisterIsolate(v8::Isolate* isolate,
312
+ struct uv_loop_s* loop) = 0;
313
+ // This method can be used when an application handles task scheduling on its
314
+ // own through `IsolatePlatformDelegate`. Upon registering an isolate with
315
+ // this overload any other method in this class with the exception of
316
+ // `UnregisterIsolate` *must not* be used on that isolate.
317
+ virtual void RegisterIsolate(v8::Isolate* isolate,
318
+ IsolatePlatformDelegate* delegate) = 0;
319
+
320
+ // This function may only be called once per `Isolate`, and discard any
321
+ // pending delayed tasks scheduled for that isolate.
322
+ // This needs to be called right before calling `Isolate::Dispose()`.
323
+ virtual void UnregisterIsolate(v8::Isolate* isolate) = 0;
324
+
325
+ // The platform should call the passed function once all state associated
326
+ // with the given isolate has been cleaned up. This can, but does not have to,
327
+ // happen asynchronously.
328
+ virtual void AddIsolateFinishedCallback(v8::Isolate* isolate,
329
+ void (*callback)(void*),
330
+ void* data) = 0;
331
+
332
+ static std::unique_ptr<MultiIsolatePlatform> Create(
333
+ int thread_pool_size,
334
+ v8::TracingController* tracing_controller = nullptr);
335
+ };
336
+
337
+ enum IsolateSettingsFlags {
338
+ MESSAGE_LISTENER_WITH_ERROR_LEVEL = 1 << 0,
339
+ DETAILED_SOURCE_POSITIONS_FOR_PROFILING = 1 << 1,
340
+ SHOULD_NOT_SET_PROMISE_REJECTION_CALLBACK = 1 << 2,
341
+ SHOULD_NOT_SET_PREPARE_STACK_TRACE_CALLBACK = 1 << 3
342
+ };
343
+
344
+ struct IsolateSettings {
345
+ uint64_t flags = MESSAGE_LISTENER_WITH_ERROR_LEVEL |
346
+ DETAILED_SOURCE_POSITIONS_FOR_PROFILING;
347
+ v8::MicrotasksPolicy policy = v8::MicrotasksPolicy::kExplicit;
348
+
349
+ // Error handling callbacks
350
+ v8::Isolate::AbortOnUncaughtExceptionCallback
351
+ should_abort_on_uncaught_exception_callback = nullptr;
352
+ v8::FatalErrorCallback fatal_error_callback = nullptr;
353
+ v8::PrepareStackTraceCallback prepare_stack_trace_callback = nullptr;
354
+
355
+ // Miscellaneous callbacks
356
+ v8::PromiseRejectCallback promise_reject_callback = nullptr;
357
+ v8::AllowWasmCodeGenerationCallback
358
+ allow_wasm_code_generation_callback = nullptr;
359
+ };
360
+
361
+ // Overriding IsolateSettings may produce unexpected behavior
362
+ // in Node.js core functionality, so proceed at your own risk.
363
+ NODE_EXTERN void SetIsolateUpForNode(v8::Isolate* isolate,
364
+ const IsolateSettings& settings);
365
+
366
+ // Set a number of callbacks for the `isolate`, in particular the Node.js
367
+ // uncaught exception listener.
368
+ NODE_EXTERN void SetIsolateUpForNode(v8::Isolate* isolate);
369
+
370
+ // Creates a new isolate with Node.js-specific settings.
371
+ // This is a convenience method equivalent to using SetIsolateCreateParams(),
372
+ // Isolate::Allocate(), MultiIsolatePlatform::RegisterIsolate(),
373
+ // Isolate::Initialize(), and SetIsolateUpForNode().
374
+ NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,
375
+ struct uv_loop_s* event_loop,
376
+ MultiIsolatePlatform* platform = nullptr);
377
+ NODE_EXTERN v8::Isolate* NewIsolate(
378
+ std::shared_ptr<ArrayBufferAllocator> allocator,
379
+ struct uv_loop_s* event_loop,
380
+ MultiIsolatePlatform* platform);
381
+
382
+ // Creates a new context with Node.js-specific tweaks.
383
+ NODE_EXTERN v8::Local<v8::Context> NewContext(
384
+ v8::Isolate* isolate,
385
+ v8::Local<v8::ObjectTemplate> object_template =
386
+ v8::Local<v8::ObjectTemplate>());
387
+
388
+ // Runs Node.js-specific tweaks on an already constructed context
389
+ // Return value indicates success of operation
390
+ NODE_EXTERN bool InitializeContext(v8::Local<v8::Context> context);
391
+
392
+ // If `platform` is passed, it will be used to register new Worker instances.
393
+ // It can be `nullptr`, in which case creating new Workers inside of
394
+ // Environments that use this `IsolateData` will not work.
395
+ NODE_EXTERN IsolateData* CreateIsolateData(
396
+ v8::Isolate* isolate,
397
+ struct uv_loop_s* loop,
398
+ MultiIsolatePlatform* platform = nullptr,
399
+ ArrayBufferAllocator* allocator = nullptr);
400
+ NODE_EXTERN void FreeIsolateData(IsolateData* isolate_data);
401
+
402
+ struct ThreadId {
403
+ uint64_t id = static_cast<uint64_t>(-1);
404
+ };
405
+ NODE_EXTERN ThreadId AllocateEnvironmentThreadId();
406
+
407
+ namespace EnvironmentFlags {
408
+ enum Flags : uint64_t {
409
+ kNoFlags = 0,
410
+ // Use the default behaviour for Node.js instances.
411
+ kDefaultFlags = 1 << 0,
412
+ // Controls whether this Environment is allowed to affect per-process state
413
+ // (e.g. cwd, process title, uid, etc.).
414
+ // This is set when using kDefaultFlags.
415
+ kOwnsProcessState = 1 << 1,
416
+ // Set if this Environment instance is associated with the global inspector
417
+ // handling code (i.e. listening on SIGUSR1).
418
+ // This is set when using kDefaultFlags.
419
+ kOwnsInspector = 1 << 2,
420
+ // Set if Node.js should not run its own esm loader. This is needed by some
421
+ // embedders, because it's possible for the Node.js esm loader to conflict
422
+ // with another one in an embedder environment, e.g. Blink's in Chromium.
423
+ kNoRegisterESMLoader = 1 << 3,
424
+ // Set this flag to make Node.js track "raw" file descriptors, i.e. managed
425
+ // by fs.open() and fs.close(), and close them during FreeEnvironment().
426
+ kTrackUnmanagedFds = 1 << 4,
427
+ // Set this flag to force hiding console windows when spawning child
428
+ // processes. This is usually used when embedding Node.js in GUI programs on
429
+ // Windows.
430
+ kHideConsoleWindows = 1 << 5,
431
+ // Set this flag to disable loading native addons via `process.dlopen`.
432
+ // This environment flag is especially important for worker threads
433
+ // so that a worker thread can't load a native addon even if `execArgv`
434
+ // is overwritten and `--no-addons` is not specified but was specified
435
+ // for this Environment instance.
436
+ kNoNativeAddons = 1 << 6,
437
+ // Set this flag to disable searching modules from global paths like
438
+ // $HOME/.node_modules and $NODE_PATH. This is used by standalone apps that
439
+ // do not expect to have their behaviors changed because of globally
440
+ // installed modules.
441
+ kNoGlobalSearchPaths = 1 << 7
442
+ };
443
+ } // namespace EnvironmentFlags
444
+
445
+ struct InspectorParentHandle {
446
+ virtual ~InspectorParentHandle();
447
+ };
448
+
449
+ // TODO(addaleax): Maybe move per-Environment options parsing here.
450
+ // Returns nullptr when the Environment cannot be created e.g. there are
451
+ // pending JavaScript exceptions.
452
+ NODE_EXTERN Environment* CreateEnvironment(
453
+ IsolateData* isolate_data,
454
+ v8::Local<v8::Context> context,
455
+ const std::vector<std::string>& args,
456
+ const std::vector<std::string>& exec_args,
457
+ EnvironmentFlags::Flags flags = EnvironmentFlags::kDefaultFlags,
458
+ ThreadId thread_id = {} /* allocates a thread id automatically */,
459
+ std::unique_ptr<InspectorParentHandle> inspector_parent_handle = {});
460
+
461
+ // Returns a handle that can be passed to `LoadEnvironment()`, making the
462
+ // child Environment accessible to the inspector as if it were a Node.js Worker.
463
+ // `child_thread_id` can be created using `AllocateEnvironmentThreadId()`
464
+ // and then later passed on to `CreateEnvironment()` to create the child
465
+ // Environment, together with the inspector handle.
466
+ // This method should not be called while the parent Environment is active
467
+ // on another thread.
468
+ NODE_EXTERN std::unique_ptr<InspectorParentHandle> GetInspectorParentHandle(
469
+ Environment* parent_env,
470
+ ThreadId child_thread_id,
471
+ const char* child_url);
472
+
473
+ struct StartExecutionCallbackInfo {
474
+ v8::Local<v8::Object> process_object;
475
+ v8::Local<v8::Function> native_require;
476
+ };
477
+
478
+ using StartExecutionCallback =
479
+ std::function<v8::MaybeLocal<v8::Value>(const StartExecutionCallbackInfo&)>;
480
+
481
+ NODE_EXTERN v8::MaybeLocal<v8::Value> LoadEnvironment(
482
+ Environment* env,
483
+ StartExecutionCallback cb);
484
+ NODE_EXTERN v8::MaybeLocal<v8::Value> LoadEnvironment(
485
+ Environment* env,
486
+ const char* main_script_source_utf8);
487
+ NODE_EXTERN void FreeEnvironment(Environment* env);
488
+
489
+ // Set a callback that is called when process.exit() is called from JS,
490
+ // overriding the default handler.
491
+ // It receives the Environment* instance and the exit code as arguments.
492
+ // This could e.g. call Stop(env); in order to terminate execution and stop
493
+ // the event loop.
494
+ // The default handler disposes of the global V8 platform instance, if one is
495
+ // being used, and calls exit().
496
+ NODE_EXTERN void SetProcessExitHandler(
497
+ Environment* env,
498
+ std::function<void(Environment*, int)>&& handler);
499
+ NODE_EXTERN void DefaultProcessExitHandler(Environment* env, int exit_code);
500
+
501
+ // This may return nullptr if context is not associated with a Node instance.
502
+ NODE_EXTERN Environment* GetCurrentEnvironment(v8::Local<v8::Context> context);
503
+ NODE_EXTERN IsolateData* GetEnvironmentIsolateData(Environment* env);
504
+ NODE_EXTERN ArrayBufferAllocator* GetArrayBufferAllocator(IsolateData* data);
505
+
506
+ NODE_EXTERN void OnFatalError(const char* location, const char* message);
507
+ NODE_EXTERN void PromiseRejectCallback(v8::PromiseRejectMessage message);
508
+ NODE_EXTERN bool AllowWasmCodeGenerationCallback(v8::Local<v8::Context> context,
509
+ v8::Local<v8::String>);
510
+ NODE_EXTERN bool ShouldAbortOnUncaughtException(v8::Isolate* isolate);
511
+ NODE_EXTERN v8::MaybeLocal<v8::Value> PrepareStackTraceCallback(
512
+ v8::Local<v8::Context> context,
513
+ v8::Local<v8::Value> exception,
514
+ v8::Local<v8::Array> trace);
515
+
516
+ // This returns the MultiIsolatePlatform used for an Environment or IsolateData
517
+ // instance, if one exists.
518
+ NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(Environment* env);
519
+ NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(IsolateData* env);
520
+
521
+ NODE_DEPRECATED("Use MultiIsolatePlatform::Create() instead",
522
+ NODE_EXTERN MultiIsolatePlatform* CreatePlatform(
523
+ int thread_pool_size,
524
+ v8::TracingController* tracing_controller));
525
+ NODE_DEPRECATED("Use MultiIsolatePlatform::Create() instead",
526
+ NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform));
527
+
528
+ // Get/set the currently active tracing controller. Using CreatePlatform()
529
+ // will implicitly set this by default. This is global and should be initialized
530
+ // along with the v8::Platform instance that is being used. `controller`
531
+ // is allowed to be `nullptr`.
532
+ // This is used for tracing events from Node.js itself. V8 uses the tracing
533
+ // controller returned from the active `v8::Platform` instance.
534
+ NODE_EXTERN v8::TracingController* GetTracingController();
535
+ NODE_EXTERN void SetTracingController(v8::TracingController* controller);
536
+
537
+ // Run `process.emit('beforeExit')` as it would usually happen when Node.js is
538
+ // run in standalone mode.
539
+ NODE_EXTERN v8::Maybe<bool> EmitProcessBeforeExit(Environment* env);
540
+ NODE_DEPRECATED("Use Maybe version (EmitProcessBeforeExit) instead",
541
+ NODE_EXTERN void EmitBeforeExit(Environment* env));
542
+ // Run `process.emit('exit')` as it would usually happen when Node.js is run
543
+ // in standalone mode. The return value corresponds to the exit code.
544
+ NODE_EXTERN v8::Maybe<int> EmitProcessExit(Environment* env);
545
+ NODE_DEPRECATED("Use Maybe version (EmitProcessExit) instead",
546
+ NODE_EXTERN int EmitExit(Environment* env));
547
+
548
+ // Runs hooks added through `AtExit()`. This is part of `FreeEnvironment()`,
549
+ // so calling it manually is typically not necessary.
550
+ NODE_EXTERN void RunAtExit(Environment* env);
551
+
552
+ // This may return nullptr if the current v8::Context is not associated
553
+ // with a Node instance.
554
+ NODE_EXTERN struct uv_loop_s* GetCurrentEventLoop(v8::Isolate* isolate);
555
+
556
+ // Runs the main loop for a given Environment. This roughly performs the
557
+ // following steps:
558
+ // 1. Call uv_run() on the event loop until it is drained.
559
+ // 2. Call platform->DrainTasks() on the associated platform/isolate.
560
+ // 3. If the event loop is alive again, go to Step 1.
561
+ // 4. Call EmitProcessBeforeExit().
562
+ // 5. If the event loop is alive again, go to Step 1.
563
+ // 6. Call EmitProcessExit() and forward the return value.
564
+ // If at any point node::Stop() is called, the function will attempt to return
565
+ // as soon as possible, returning an empty `Maybe`.
566
+ // This function only works if `env` has an associated `MultiIsolatePlatform`.
567
+ NODE_EXTERN v8::Maybe<int> SpinEventLoop(Environment* env);
568
+
569
+ class NODE_EXTERN CommonEnvironmentSetup {
570
+ public:
571
+ ~CommonEnvironmentSetup();
572
+
573
+ // Create a new CommonEnvironmentSetup, that is, a group of objects that
574
+ // together form the typical setup for a single Node.js Environment instance.
575
+ // If any error occurs, `*errors` will be populated and the returned pointer
576
+ // will be empty.
577
+ // env_args will be passed through as arguments to CreateEnvironment(), after
578
+ // `isolate_data` and `context`.
579
+ template <typename... EnvironmentArgs>
580
+ static std::unique_ptr<CommonEnvironmentSetup> Create(
581
+ MultiIsolatePlatform* platform,
582
+ std::vector<std::string>* errors,
583
+ EnvironmentArgs&&... env_args);
584
+
585
+ struct uv_loop_s* event_loop() const;
586
+ std::shared_ptr<ArrayBufferAllocator> array_buffer_allocator() const;
587
+ v8::Isolate* isolate() const;
588
+ IsolateData* isolate_data() const;
589
+ Environment* env() const;
590
+ v8::Local<v8::Context> context() const;
591
+
592
+ CommonEnvironmentSetup(const CommonEnvironmentSetup&) = delete;
593
+ CommonEnvironmentSetup& operator=(const CommonEnvironmentSetup&) = delete;
594
+ CommonEnvironmentSetup(CommonEnvironmentSetup&&) = delete;
595
+ CommonEnvironmentSetup& operator=(CommonEnvironmentSetup&&) = delete;
596
+
597
+ private:
598
+ struct Impl;
599
+ Impl* impl_;
600
+ CommonEnvironmentSetup(
601
+ MultiIsolatePlatform*,
602
+ std::vector<std::string>*,
603
+ std::function<Environment*(const CommonEnvironmentSetup*)>);
604
+ };
605
+
606
+ // Implementation for CommonEnvironmentSetup::Create
607
+ template <typename... EnvironmentArgs>
608
+ std::unique_ptr<CommonEnvironmentSetup> CommonEnvironmentSetup::Create(
609
+ MultiIsolatePlatform* platform,
610
+ std::vector<std::string>* errors,
611
+ EnvironmentArgs&&... env_args) {
612
+ auto ret = std::unique_ptr<CommonEnvironmentSetup>(new CommonEnvironmentSetup(
613
+ platform, errors,
614
+ [&](const CommonEnvironmentSetup* setup) -> Environment* {
615
+ return CreateEnvironment(
616
+ setup->isolate_data(), setup->context(),
617
+ std::forward<EnvironmentArgs>(env_args)...);
618
+ }));
619
+ if (!errors->empty()) ret.reset();
620
+ return ret;
621
+ }
622
+
623
+ /* Converts a unixtime to V8 Date */
624
+ NODE_DEPRECATED("Use v8::Date::New() directly",
625
+ inline v8::Local<v8::Value> NODE_UNIXTIME_V8(double time) {
626
+ return v8::Date::New(
627
+ v8::Isolate::GetCurrent()->GetCurrentContext(),
628
+ 1000 * time)
629
+ .ToLocalChecked();
630
+ })
631
+ #define NODE_UNIXTIME_V8 node::NODE_UNIXTIME_V8
632
+ NODE_DEPRECATED("Use v8::Date::ValueOf() directly",
633
+ inline double NODE_V8_UNIXTIME(v8::Local<v8::Date> date) {
634
+ return date->ValueOf() / 1000;
635
+ })
636
+ #define NODE_V8_UNIXTIME node::NODE_V8_UNIXTIME
637
+
638
+ #define NODE_DEFINE_CONSTANT(target, constant) \
639
+ do { \
640
+ v8::Isolate* isolate = target->GetIsolate(); \
641
+ v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
642
+ v8::Local<v8::String> constant_name = \
643
+ v8::String::NewFromUtf8(isolate, #constant, \
644
+ v8::NewStringType::kInternalized).ToLocalChecked(); \
645
+ v8::Local<v8::Number> constant_value = \
646
+ v8::Number::New(isolate, static_cast<double>(constant)); \
647
+ v8::PropertyAttribute constant_attributes = \
648
+ static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete); \
649
+ (target)->DefineOwnProperty(context, \
650
+ constant_name, \
651
+ constant_value, \
652
+ constant_attributes).Check(); \
653
+ } \
654
+ while (0)
655
+
656
+ #define NODE_DEFINE_HIDDEN_CONSTANT(target, constant) \
657
+ do { \
658
+ v8::Isolate* isolate = target->GetIsolate(); \
659
+ v8::Local<v8::Context> context = isolate->GetCurrentContext(); \
660
+ v8::Local<v8::String> constant_name = \
661
+ v8::String::NewFromUtf8(isolate, #constant, \
662
+ v8::NewStringType::kInternalized) \
663
+ .ToLocalChecked(); \
664
+ v8::Local<v8::Number> constant_value = \
665
+ v8::Number::New(isolate, static_cast<double>(constant)); \
666
+ v8::PropertyAttribute constant_attributes = \
667
+ static_cast<v8::PropertyAttribute>(v8::ReadOnly | \
668
+ v8::DontDelete | \
669
+ v8::DontEnum); \
670
+ (target)->DefineOwnProperty(context, \
671
+ constant_name, \
672
+ constant_value, \
673
+ constant_attributes).Check(); \
674
+ } \
675
+ while (0)
676
+
677
+ // Used to be a macro, hence the uppercase name.
678
+ inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
679
+ const char* name,
680
+ v8::FunctionCallback callback) {
681
+ v8::Isolate* isolate = v8::Isolate::GetCurrent();
682
+ v8::HandleScope handle_scope(isolate);
683
+ v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate,
684
+ callback);
685
+ v8::Local<v8::String> fn_name = v8::String::NewFromUtf8(isolate, name,
686
+ v8::NewStringType::kInternalized).ToLocalChecked();
687
+ t->SetClassName(fn_name);
688
+ recv->Set(fn_name, t);
689
+ }
690
+
691
+ // Used to be a macro, hence the uppercase name.
692
+ inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
693
+ const char* name,
694
+ v8::FunctionCallback callback) {
695
+ v8::Isolate* isolate = v8::Isolate::GetCurrent();
696
+ v8::HandleScope handle_scope(isolate);
697
+ v8::Local<v8::Context> context = isolate->GetCurrentContext();
698
+ v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate,
699
+ callback);
700
+ v8::Local<v8::Function> fn = t->GetFunction(context).ToLocalChecked();
701
+ v8::Local<v8::String> fn_name = v8::String::NewFromUtf8(isolate, name,
702
+ v8::NewStringType::kInternalized).ToLocalChecked();
703
+ fn->SetName(fn_name);
704
+ recv->Set(context, fn_name, fn).Check();
705
+ }
706
+ #define NODE_SET_METHOD node::NODE_SET_METHOD
707
+
708
+ // Used to be a macro, hence the uppercase name.
709
+ // Not a template because it only makes sense for FunctionTemplates.
710
+ inline void NODE_SET_PROTOTYPE_METHOD(v8::Local<v8::FunctionTemplate> recv,
711
+ const char* name,
712
+ v8::FunctionCallback callback) {
713
+ v8::Isolate* isolate = v8::Isolate::GetCurrent();
714
+ v8::HandleScope handle_scope(isolate);
715
+ v8::Local<v8::Signature> s = v8::Signature::New(isolate, recv);
716
+ v8::Local<v8::FunctionTemplate> t =
717
+ v8::FunctionTemplate::New(isolate, callback, v8::Local<v8::Value>(), s);
718
+ v8::Local<v8::String> fn_name = v8::String::NewFromUtf8(isolate, name,
719
+ v8::NewStringType::kInternalized).ToLocalChecked();
720
+ t->SetClassName(fn_name);
721
+ recv->PrototypeTemplate()->Set(fn_name, t);
722
+ }
723
+ #define NODE_SET_PROTOTYPE_METHOD node::NODE_SET_PROTOTYPE_METHOD
724
+
725
+ // BINARY is a deprecated alias of LATIN1.
726
+ // BASE64URL is not currently exposed to the JavaScript side.
727
+ enum encoding {
728
+ ASCII,
729
+ UTF8,
730
+ BASE64,
731
+ UCS2,
732
+ BINARY,
733
+ HEX,
734
+ BUFFER,
735
+ BASE64URL,
736
+ LATIN1 = BINARY
737
+ };
738
+
739
+ NODE_EXTERN enum encoding ParseEncoding(
740
+ v8::Isolate* isolate,
741
+ v8::Local<v8::Value> encoding_v,
742
+ enum encoding default_encoding = LATIN1);
743
+
744
+ NODE_EXTERN void FatalException(v8::Isolate* isolate,
745
+ const v8::TryCatch& try_catch);
746
+
747
+ NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
748
+ const char* buf,
749
+ size_t len,
750
+ enum encoding encoding = LATIN1);
751
+
752
+ // Warning: This reverses endianness on Big Endian platforms, even though the
753
+ // signature using uint16_t implies that it should not.
754
+ NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
755
+ const uint16_t* buf,
756
+ size_t len);
757
+
758
+ // Returns -1 if the handle was not valid for decoding
759
+ NODE_EXTERN ssize_t DecodeBytes(v8::Isolate* isolate,
760
+ v8::Local<v8::Value>,
761
+ enum encoding encoding = LATIN1);
762
+ // returns bytes written.
763
+ NODE_EXTERN ssize_t DecodeWrite(v8::Isolate* isolate,
764
+ char* buf,
765
+ size_t buflen,
766
+ v8::Local<v8::Value>,
767
+ enum encoding encoding = LATIN1);
768
+ #ifdef _WIN32
769
+ NODE_EXTERN v8::Local<v8::Value> WinapiErrnoException(
770
+ v8::Isolate* isolate,
771
+ int errorno,
772
+ const char* syscall = nullptr,
773
+ const char* msg = "",
774
+ const char* path = nullptr);
775
+ #endif
776
+
777
+ const char* signo_string(int errorno);
778
+
779
+
780
+ typedef void (*addon_register_func)(
781
+ v8::Local<v8::Object> exports,
782
+ v8::Local<v8::Value> module,
783
+ void* priv);
784
+
785
+ typedef void (*addon_context_register_func)(
786
+ v8::Local<v8::Object> exports,
787
+ v8::Local<v8::Value> module,
788
+ v8::Local<v8::Context> context,
789
+ void* priv);
790
+
791
+ enum ModuleFlags {
792
+ kLinked = 0x02
793
+ };
794
+
795
+ struct node_module {
796
+ int nm_version;
797
+ unsigned int nm_flags;
798
+ void* nm_dso_handle;
799
+ const char* nm_filename;
800
+ node::addon_register_func nm_register_func;
801
+ node::addon_context_register_func nm_context_register_func;
802
+ const char* nm_modname;
803
+ void* nm_priv;
804
+ struct node_module* nm_link;
805
+ };
806
+
807
+ extern "C" NODE_EXTERN void node_module_register(void* mod);
808
+
809
+ #ifdef _WIN32
810
+ # define NODE_MODULE_EXPORT __declspec(dllexport)
811
+ #else
812
+ # define NODE_MODULE_EXPORT __attribute__((visibility("default")))
813
+ #endif
814
+
815
+ #ifdef NODE_SHARED_MODE
816
+ # define NODE_CTOR_PREFIX
817
+ #else
818
+ # define NODE_CTOR_PREFIX static
819
+ #endif
820
+
821
+ #if defined(_MSC_VER)
822
+ #pragma section(".CRT$XCU", read)
823
+ #define NODE_C_CTOR(fn) \
824
+ NODE_CTOR_PREFIX void __cdecl fn(void); \
825
+ __declspec(dllexport, allocate(".CRT$XCU")) \
826
+ void (__cdecl*fn ## _)(void) = fn; \
827
+ NODE_CTOR_PREFIX void __cdecl fn(void)
828
+ #else
829
+ #define NODE_C_CTOR(fn) \
830
+ NODE_CTOR_PREFIX void fn(void) __attribute__((constructor)); \
831
+ NODE_CTOR_PREFIX void fn(void)
832
+ #endif
833
+
834
+ #define NODE_MODULE_X(modname, regfunc, priv, flags) \
835
+ extern "C" { \
836
+ static node::node_module _module = \
837
+ { \
838
+ NODE_MODULE_VERSION, \
839
+ flags, \
840
+ NULL, /* NOLINT (readability/null_usage) */ \
841
+ __FILE__, \
842
+ (node::addon_register_func) (regfunc), \
843
+ NULL, /* NOLINT (readability/null_usage) */ \
844
+ NODE_STRINGIFY(modname), \
845
+ priv, \
846
+ NULL /* NOLINT (readability/null_usage) */ \
847
+ }; \
848
+ NODE_C_CTOR(_register_ ## modname) { \
849
+ node_module_register(&_module); \
850
+ } \
851
+ }
852
+
853
+ #define NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, priv, flags) \
854
+ extern "C" { \
855
+ static node::node_module _module = \
856
+ { \
857
+ NODE_MODULE_VERSION, \
858
+ flags, \
859
+ NULL, /* NOLINT (readability/null_usage) */ \
860
+ __FILE__, \
861
+ NULL, /* NOLINT (readability/null_usage) */ \
862
+ (node::addon_context_register_func) (regfunc), \
863
+ NODE_STRINGIFY(modname), \
864
+ priv, \
865
+ NULL /* NOLINT (readability/null_usage) */ \
866
+ }; \
867
+ NODE_C_CTOR(_register_ ## modname) { \
868
+ node_module_register(&_module); \
869
+ } \
870
+ }
871
+
872
+ // Usage: `NODE_MODULE(NODE_GYP_MODULE_NAME, InitializerFunction)`
873
+ // If no NODE_MODULE is declared, Node.js looks for the well-known
874
+ // symbol `node_register_module_v${NODE_MODULE_VERSION}`.
875
+ #define NODE_MODULE(modname, regfunc) \
876
+ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
877
+
878
+ #define NODE_MODULE_CONTEXT_AWARE(modname, regfunc) \
879
+ /* NOLINTNEXTLINE (readability/null_usage) */ \
880
+ NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
881
+
882
+ // Embedders can use this type of binding for statically linked native bindings.
883
+ // It is used the same way addon bindings are used, except that linked bindings
884
+ // can be accessed through `process._linkedBinding(modname)`.
885
+ #define NODE_MODULE_LINKED(modname, regfunc) \
886
+ /* NOLINTNEXTLINE (readability/null_usage) */ \
887
+ NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, \
888
+ node::ModuleFlags::kLinked)
889
+
890
+ /*
891
+ * For backward compatibility in add-on modules.
892
+ */
893
+ #define NODE_MODULE_DECL /* nothing */
894
+
895
+ #define NODE_MODULE_INITIALIZER_BASE node_register_module_v
896
+
897
+ #define NODE_MODULE_INITIALIZER_X(base, version) \
898
+ NODE_MODULE_INITIALIZER_X_HELPER(base, version)
899
+
900
+ #define NODE_MODULE_INITIALIZER_X_HELPER(base, version) base##version
901
+
902
+ #define NODE_MODULE_INITIALIZER \
903
+ NODE_MODULE_INITIALIZER_X(NODE_MODULE_INITIALIZER_BASE, \
904
+ NODE_MODULE_VERSION)
905
+
906
+ #define NODE_MODULE_INIT() \
907
+ extern "C" NODE_MODULE_EXPORT void \
908
+ NODE_MODULE_INITIALIZER(v8::Local<v8::Object> exports, \
909
+ v8::Local<v8::Value> module, \
910
+ v8::Local<v8::Context> context); \
911
+ NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \
912
+ NODE_MODULE_INITIALIZER) \
913
+ void NODE_MODULE_INITIALIZER(v8::Local<v8::Object> exports, \
914
+ v8::Local<v8::Value> module, \
915
+ v8::Local<v8::Context> context)
916
+
917
+ // Allows embedders to add a binding to the current Environment* that can be
918
+ // accessed through process._linkedBinding() in the target Environment and all
919
+ // Worker threads that it creates.
920
+ // In each variant, the registration function needs to be usable at least for
921
+ // the time during which the Environment exists.
922
+ NODE_EXTERN void AddLinkedBinding(Environment* env, const node_module& mod);
923
+ NODE_EXTERN void AddLinkedBinding(Environment* env,
924
+ const struct napi_module& mod);
925
+ NODE_EXTERN void AddLinkedBinding(Environment* env,
926
+ const char* name,
927
+ addon_context_register_func fn,
928
+ void* priv);
929
+
930
+ /* Registers a callback with the passed-in Environment instance. The callback
931
+ * is called after the event loop exits, but before the VM is disposed.
932
+ * Callbacks are run in reverse order of registration, i.e. newest first.
933
+ */
934
+ NODE_EXTERN void AtExit(Environment* env,
935
+ void (*cb)(void* arg),
936
+ void* arg);
937
+
938
+ typedef double async_id;
939
+ struct async_context {
940
+ ::node::async_id async_id;
941
+ ::node::async_id trigger_async_id;
942
+ };
943
+
944
+ /* This is a lot like node::AtExit, except that the hooks added via this
945
+ * function are run before the AtExit ones and will always be registered
946
+ * for the current Environment instance.
947
+ * These functions are safe to use in an addon supporting multiple
948
+ * threads/isolates. */
949
+ NODE_EXTERN void AddEnvironmentCleanupHook(v8::Isolate* isolate,
950
+ void (*fun)(void* arg),
951
+ void* arg);
952
+
953
+ NODE_EXTERN void RemoveEnvironmentCleanupHook(v8::Isolate* isolate,
954
+ void (*fun)(void* arg),
955
+ void* arg);
956
+
957
+ /* These are async equivalents of the above. After the cleanup hook is invoked,
958
+ * `cb(cbarg)` *must* be called, and attempting to remove the cleanup hook will
959
+ * have no effect. */
960
+ struct ACHHandle;
961
+ struct NODE_EXTERN DeleteACHHandle { void operator()(ACHHandle*) const; };
962
+ typedef std::unique_ptr<ACHHandle, DeleteACHHandle> AsyncCleanupHookHandle;
963
+
964
+ /* This function is not intended to be used externally, it exists to aid in
965
+ * keeping ABI compatibility between Node and Electron. */
966
+ NODE_EXTERN ACHHandle* AddEnvironmentCleanupHookInternal(
967
+ v8::Isolate* isolate,
968
+ void (*fun)(void* arg, void (*cb)(void*), void* cbarg),
969
+ void* arg);
970
+ inline AsyncCleanupHookHandle AddEnvironmentCleanupHook(
971
+ v8::Isolate* isolate,
972
+ void (*fun)(void* arg, void (*cb)(void*), void* cbarg),
973
+ void* arg) {
974
+ return AsyncCleanupHookHandle(AddEnvironmentCleanupHookInternal(isolate, fun,
975
+ arg));
976
+ }
977
+
978
+ /* This function is not intended to be used externally, it exists to aid in
979
+ * keeping ABI compatibility between Node and Electron. */
980
+ NODE_EXTERN void RemoveEnvironmentCleanupHookInternal(ACHHandle* holder);
981
+ inline void RemoveEnvironmentCleanupHook(AsyncCleanupHookHandle holder) {
982
+ RemoveEnvironmentCleanupHookInternal(holder.get());
983
+ }
984
+
985
+ /* Returns the id of the current execution context. If the return value is
986
+ * zero then no execution has been set. This will happen if the user handles
987
+ * I/O from native code. */
988
+ NODE_EXTERN async_id AsyncHooksGetExecutionAsyncId(v8::Isolate* isolate);
989
+
990
+ /* Return same value as async_hooks.triggerAsyncId(); */
991
+ NODE_EXTERN async_id AsyncHooksGetTriggerAsyncId(v8::Isolate* isolate);
992
+
993
+ /* If the native API doesn't inherit from the helper class then the callbacks
994
+ * must be triggered manually. This triggers the init() callback. The return
995
+ * value is the async id assigned to the resource.
996
+ *
997
+ * The `trigger_async_id` parameter should correspond to the resource which is
998
+ * creating the new resource, which will usually be the return value of
999
+ * `AsyncHooksGetTriggerAsyncId()`. */
1000
+ NODE_EXTERN async_context EmitAsyncInit(v8::Isolate* isolate,
1001
+ v8::Local<v8::Object> resource,
1002
+ const char* name,
1003
+ async_id trigger_async_id = -1);
1004
+
1005
+ NODE_EXTERN async_context EmitAsyncInit(v8::Isolate* isolate,
1006
+ v8::Local<v8::Object> resource,
1007
+ v8::Local<v8::String> name,
1008
+ async_id trigger_async_id = -1);
1009
+
1010
+ /* Emit the destroy() callback. The overload taking an `Environment*` argument
1011
+ * should be used when the Isolate’s current Context is not associated with
1012
+ * a Node.js Environment, or when there is no current Context, for example
1013
+ * when calling this function during garbage collection. In that case, the
1014
+ * `Environment*` value should have been acquired previously, e.g. through
1015
+ * `GetCurrentEnvironment()`. */
1016
+ NODE_EXTERN void EmitAsyncDestroy(v8::Isolate* isolate,
1017
+ async_context asyncContext);
1018
+ NODE_EXTERN void EmitAsyncDestroy(Environment* env,
1019
+ async_context asyncContext);
1020
+
1021
+ class InternalCallbackScope;
1022
+
1023
+ /* This class works like `MakeCallback()` in that it sets up a specific
1024
+ * asyncContext as the current one and informs the async_hooks and domains
1025
+ * modules that this context is currently active.
1026
+ *
1027
+ * `MakeCallback()` is a wrapper around this class as well as
1028
+ * `Function::Call()`. Either one of these mechanisms needs to be used for
1029
+ * top-level calls into JavaScript (i.e. without any existing JS stack).
1030
+ *
1031
+ * This object should be stack-allocated to ensure that it is contained in a
1032
+ * valid HandleScope.
1033
+ *
1034
+ * Exceptions happening within this scope will be treated like uncaught
1035
+ * exceptions. If this behaviour is undesirable, a new `v8::TryCatch` scope
1036
+ * needs to be created inside of this scope.
1037
+ */
1038
+ class NODE_EXTERN CallbackScope {
1039
+ public:
1040
+ CallbackScope(v8::Isolate* isolate,
1041
+ v8::Local<v8::Object> resource,
1042
+ async_context asyncContext);
1043
+ CallbackScope(Environment* env,
1044
+ v8::Local<v8::Object> resource,
1045
+ async_context asyncContext);
1046
+ ~CallbackScope();
1047
+
1048
+ void operator=(const CallbackScope&) = delete;
1049
+ void operator=(CallbackScope&&) = delete;
1050
+ CallbackScope(const CallbackScope&) = delete;
1051
+ CallbackScope(CallbackScope&&) = delete;
1052
+
1053
+ private:
1054
+ InternalCallbackScope* private_;
1055
+ v8::TryCatch try_catch_;
1056
+ };
1057
+
1058
+ /* An API specific to emit before/after callbacks is unnecessary because
1059
+ * MakeCallback will automatically call them for you.
1060
+ *
1061
+ * These methods may create handles on their own, so run them inside a
1062
+ * HandleScope.
1063
+ *
1064
+ * `asyncId` and `triggerAsyncId` should correspond to the values returned by
1065
+ * `EmitAsyncInit()` and `AsyncHooksGetTriggerAsyncId()`, respectively, when the
1066
+ * invoking resource was created. If these values are unknown, 0 can be passed.
1067
+ * */
1068
+ NODE_EXTERN
1069
+ v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
1070
+ v8::Local<v8::Object> recv,
1071
+ v8::Local<v8::Function> callback,
1072
+ int argc,
1073
+ v8::Local<v8::Value>* argv,
1074
+ async_context asyncContext);
1075
+ NODE_EXTERN
1076
+ v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
1077
+ v8::Local<v8::Object> recv,
1078
+ const char* method,
1079
+ int argc,
1080
+ v8::Local<v8::Value>* argv,
1081
+ async_context asyncContext);
1082
+ NODE_EXTERN
1083
+ v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,
1084
+ v8::Local<v8::Object> recv,
1085
+ v8::Local<v8::String> symbol,
1086
+ int argc,
1087
+ v8::Local<v8::Value>* argv,
1088
+ async_context asyncContext);
1089
+
1090
+ /* Helper class users can optionally inherit from. If
1091
+ * `AsyncResource::MakeCallback()` is used, then all four callbacks will be
1092
+ * called automatically. */
1093
+ class NODE_EXTERN AsyncResource {
1094
+ public:
1095
+ AsyncResource(v8::Isolate* isolate,
1096
+ v8::Local<v8::Object> resource,
1097
+ const char* name,
1098
+ async_id trigger_async_id = -1);
1099
+
1100
+ virtual ~AsyncResource();
1101
+
1102
+ AsyncResource(const AsyncResource&) = delete;
1103
+ void operator=(const AsyncResource&) = delete;
1104
+
1105
+ v8::MaybeLocal<v8::Value> MakeCallback(
1106
+ v8::Local<v8::Function> callback,
1107
+ int argc,
1108
+ v8::Local<v8::Value>* argv);
1109
+
1110
+ v8::MaybeLocal<v8::Value> MakeCallback(
1111
+ const char* method,
1112
+ int argc,
1113
+ v8::Local<v8::Value>* argv);
1114
+
1115
+ v8::MaybeLocal<v8::Value> MakeCallback(
1116
+ v8::Local<v8::String> symbol,
1117
+ int argc,
1118
+ v8::Local<v8::Value>* argv);
1119
+
1120
+ v8::Local<v8::Object> get_resource();
1121
+ async_id get_async_id() const;
1122
+ async_id get_trigger_async_id() const;
1123
+
1124
+ protected:
1125
+ class NODE_EXTERN CallbackScope : public node::CallbackScope {
1126
+ public:
1127
+ explicit CallbackScope(AsyncResource* res);
1128
+ };
1129
+
1130
+ private:
1131
+ Environment* env_;
1132
+ v8::Global<v8::Object> resource_;
1133
+ async_context async_context_;
1134
+ };
1135
+
1136
+ #ifndef _WIN32
1137
+ // Register a signal handler without interrupting any handlers that node
1138
+ // itself needs. This does override handlers registered through
1139
+ // process.on('SIG...', function() { ... }). The `reset_handler` flag indicates
1140
+ // whether the signal handler for the given signal should be reset to its
1141
+ // default value before executing the handler (i.e. it works like SA_RESETHAND).
1142
+ // The `reset_handler` flag is invalid when `signal` is SIGSEGV.
1143
+ NODE_EXTERN
1144
+ void RegisterSignalHandler(int signal,
1145
+ void (*handler)(int signal,
1146
+ siginfo_t* info,
1147
+ void* ucontext),
1148
+ bool reset_handler = false);
1149
+ #endif // _WIN32
1150
+
1151
+ } // namespace node
1152
+
1153
+ #endif // SRC_NODE_H_