├── CMakeLists.txt ├── LICENSE ├── README.MD ├── README_CN.MD ├── build.sh ├── framework ├── CMakeLists.txt ├── examples │ ├── CMakeLists.txt │ ├── apex-dumper │ │ ├── CMakeLists.txt │ │ ├── apex │ │ │ ├── CompatibleLayer.cpp │ │ │ ├── CompatibleLayer.h │ │ │ ├── NetVars.cpp │ │ │ ├── NetVars.h │ │ │ ├── Vars.cpp │ │ │ ├── Vars.h │ │ │ ├── forceinline.h │ │ │ ├── offsets.cpp │ │ │ ├── offsets.h │ │ │ ├── oldnames.h │ │ │ ├── oldnames_inline.h │ │ │ ├── util.h │ │ │ ├── windows.h │ │ │ └── windows_defs.h │ │ ├── main.cpp │ │ └── 这是3年前的代码加了兼容层,所以有点乱 │ └── apex │ │ ├── CMakeLists.txt │ │ ├── apex │ │ ├── AimFramework.cpp │ │ ├── AimFramework.h │ │ ├── AimVec.h │ │ ├── CompatibleLayer.cpp │ │ ├── CompatibleLayer.h │ │ ├── HotKeys.cpp │ │ ├── HotKeys.h │ │ ├── Parser.cpp │ │ ├── Parser.h │ │ ├── ParserStruct.h │ │ ├── Vars.cpp │ │ ├── Vars.h │ │ ├── offsets.h │ │ ├── vector.cpp │ │ ├── vector.h │ │ └── windows.h │ │ ├── main.cpp │ │ └── 这是3年前的代码加了兼容层,所以有点乱 ├── libblacksun │ ├── CMakeLists.txt │ ├── libblacksun-controller │ │ ├── CMakeLists.txt │ │ ├── blacksun-controller.cpp │ │ └── blacksun-controller.h │ ├── libblacksun-dma │ │ ├── CMakeLists.txt │ │ ├── dma │ │ │ ├── CMakeLists.txt │ │ │ ├── include │ │ │ │ ├── dma.h │ │ │ │ ├── dma_memsch.h │ │ │ │ ├── dma_mmu.h │ │ │ │ ├── dma_ntutil.h │ │ │ │ ├── dma_peparser.h │ │ │ │ ├── dma_symbol.h │ │ │ │ ├── dma_type.h │ │ │ │ └── dma_winver.h │ │ │ └── src │ │ │ │ ├── defs.h │ │ │ │ ├── dma.cpp │ │ │ │ ├── dma_memsch.cpp │ │ │ │ ├── dma_mmu.cpp │ │ │ │ ├── dma_ntutil.cpp │ │ │ │ ├── dma_peparser.cpp │ │ │ │ ├── oldnames_inline.h │ │ │ │ ├── peb.h │ │ │ │ ├── src_olddefine.h │ │ │ │ ├── windows.h │ │ │ │ └── windows_defs.h │ │ ├── dma_symbol │ │ │ ├── CMakeLists.txt │ │ │ ├── include │ │ │ │ ├── dma_symbol_remote_pdb.h │ │ │ │ └── downloader.h │ │ │ └── lib │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── ExampleMemoryMappedFile.cpp │ │ │ │ ├── ExampleMemoryMappedFile.h │ │ │ │ ├── Examples_PCH.h │ │ │ │ ├── dma_symbol_remote_pdb.cpp │ │ │ │ ├── downloader.cpp │ │ │ │ ├── handle_guard.h │ │ │ │ ├── pdb_helper.cpp │ │ │ │ ├── pdb_helper.h │ │ │ │ ├── pdb_parser.cpp │ │ │ │ └── pdb_parser.h │ │ ├── main.cpp │ │ ├── qemukvm │ │ │ ├── CMakeLists.txt │ │ │ ├── include │ │ │ │ └── qemukvm2dma.h │ │ │ └── src │ │ │ │ └── qemukvm2dma.cpp │ │ ├── rawmemfile │ │ │ ├── CMakeLists.txt │ │ │ ├── include │ │ │ │ └── rawmem2dma.h │ │ │ └── src │ │ │ │ └── rawmem2dma.cpp │ │ └── thirdparty │ │ │ ├── cpp-httplib │ │ │ ├── CMakeLists.txt │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── cmake │ │ │ │ └── FindBrotli.cmake │ │ │ ├── example │ │ │ │ ├── Dockerfile.hello │ │ │ │ ├── Makefile │ │ │ │ ├── benchmark.cc │ │ │ │ ├── ca-bundle.crt │ │ │ │ ├── client.cc │ │ │ │ ├── client.vcxproj │ │ │ │ ├── example.sln │ │ │ │ ├── hello.cc │ │ │ │ ├── redirect.cc │ │ │ │ ├── server.cc │ │ │ │ ├── server.vcxproj │ │ │ │ ├── simplecli.cc │ │ │ │ ├── simplesvr.cc │ │ │ │ ├── upload.cc │ │ │ │ └── uploader.sh │ │ │ ├── httplib.h │ │ │ ├── httplibConfig.cmake │ │ │ ├── httplibConfig.cmake.in │ │ │ ├── httplibConfigVersion.cmake │ │ │ ├── meson.build │ │ │ ├── meson_options.txt │ │ │ ├── split.py │ │ │ └── test │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── ca-bundle.crt │ │ │ │ ├── fuzzing │ │ │ │ ├── Makefile │ │ │ │ ├── corpus │ │ │ │ │ ├── 1 │ │ │ │ │ ├── 2 │ │ │ │ │ ├── 3 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-5042094968537088 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-5372331946541056 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-5386708825800704 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-5667822731132928 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-5886572146327552 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-5942767436562432 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-6007379124158464 │ │ │ │ │ ├── clusterfuzz-testcase-minimized-server_fuzzer-6508706672541696 │ │ │ │ │ └── issue1264 │ │ │ │ ├── server_fuzzer.cc │ │ │ │ ├── server_fuzzer.dict │ │ │ │ └── standalone_fuzz_target_runner.cpp │ │ │ │ ├── gtest │ │ │ │ ├── gtest-all.cc │ │ │ │ ├── gtest.h │ │ │ │ └── gtest_main.cc │ │ │ │ ├── image.jpg │ │ │ │ ├── include_httplib.cc │ │ │ │ ├── meson.build │ │ │ │ ├── proxy │ │ │ │ ├── Dockerfile │ │ │ │ ├── basic_passwd │ │ │ │ ├── basic_squid.conf │ │ │ │ ├── digest_passwd │ │ │ │ ├── digest_squid.conf │ │ │ │ └── docker-compose.yml │ │ │ │ ├── test.cc │ │ │ │ ├── test.conf │ │ │ │ ├── test.rootCA.conf │ │ │ │ ├── test.sln │ │ │ │ ├── test.vcxproj │ │ │ │ ├── test_proxy.cc │ │ │ │ ├── www │ │ │ │ └── dir │ │ │ │ │ ├── index.html │ │ │ │ │ ├── meson.build │ │ │ │ │ ├── test.abcde │ │ │ │ │ └── test.html │ │ │ │ ├── www2 │ │ │ │ └── dir │ │ │ │ │ ├── index.html │ │ │ │ │ ├── meson.build │ │ │ │ │ └── test.html │ │ │ │ └── www3 │ │ │ │ └── dir │ │ │ │ ├── index.html │ │ │ │ ├── meson.build │ │ │ │ └── test.html │ │ │ ├── cxxopts │ │ │ ├── .github │ │ │ │ └── workflows │ │ │ │ │ ├── build.yml │ │ │ │ │ └── cmake.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── BUILD.bazel │ │ │ ├── CHANGELOG.md │ │ │ ├── CMakeLists.txt │ │ │ ├── INSTALL │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── WORKSPACE │ │ │ ├── cmake │ │ │ │ └── cxxopts.cmake │ │ │ ├── include │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── cxxopts.hpp │ │ │ ├── packaging │ │ │ │ ├── cxxopts-config.cmake.in │ │ │ │ └── pkgconfig.pc.in │ │ │ ├── src │ │ │ │ ├── .gitignore │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── example.cpp │ │ │ └── test │ │ │ │ ├── .gitignore │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── add-subdirectory-test │ │ │ │ └── CMakeLists.txt │ │ │ │ ├── catch.hpp │ │ │ │ ├── find-package-test │ │ │ │ └── CMakeLists.txt │ │ │ │ ├── link_a.cpp │ │ │ │ ├── link_b.cpp │ │ │ │ ├── main.cpp │ │ │ │ └── options.cpp │ │ │ ├── nlohmann_json │ │ │ ├── .clang-format │ │ │ ├── .clang-tidy │ │ │ ├── .github │ │ │ │ ├── CODEOWNERS │ │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ ├── FUNDING.yml │ │ │ │ ├── ISSUE_TEMPLATE │ │ │ │ │ ├── bug.yaml │ │ │ │ │ └── config.yml │ │ │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ │ │ ├── SECURITY.md │ │ │ │ ├── config.yml │ │ │ │ ├── external_ci │ │ │ │ │ ├── .drone.yml │ │ │ │ │ └── appveyor.yml │ │ │ │ ├── labeler.yml │ │ │ │ ├── stale.yml │ │ │ │ └── workflows │ │ │ │ │ ├── codeql-analysis.yml │ │ │ │ │ ├── labeler.yml │ │ │ │ │ ├── macos.yml │ │ │ │ │ ├── publish_documentation.yml │ │ │ │ │ ├── ubuntu.yml │ │ │ │ │ └── windows.yml │ │ │ ├── .gitignore │ │ │ ├── .lgtm.yml │ │ │ ├── .reuse │ │ │ │ ├── README.md │ │ │ │ ├── dep5 │ │ │ │ └── templates │ │ │ │ │ ├── json.jinja2 │ │ │ │ │ └── json_support.jinja2 │ │ │ ├── CITATION.cff │ │ │ ├── CMakeLists.txt │ │ │ ├── ChangeLog.md │ │ │ ├── LICENSE.MIT │ │ │ ├── LICENSES │ │ │ │ ├── Apache-2.0.txt │ │ │ │ ├── BSD-3-Clause.txt │ │ │ │ ├── GPL-3.0-only.txt │ │ │ │ └── MIT.txt │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── cmake │ │ │ │ ├── ci.cmake │ │ │ │ ├── config.cmake.in │ │ │ │ ├── download_test_data.cmake │ │ │ │ ├── nlohmann_jsonConfigVersion.cmake.in │ │ │ │ ├── pkg-config.pc.in │ │ │ │ └── test.cmake │ │ │ ├── docs │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── avatars.png │ │ │ │ ├── docset │ │ │ │ │ ├── Info.plist │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── README.md │ │ │ │ │ ├── docSet.sql │ │ │ │ │ ├── docset.json │ │ │ │ │ ├── icon.png │ │ │ │ │ └── icon@2x.png │ │ │ │ ├── examples │ │ │ │ │ ├── README.cpp │ │ │ │ │ ├── README.output │ │ │ │ │ ├── accept__string.cpp │ │ │ │ │ ├── accept__string.output │ │ │ │ │ ├── array.cpp │ │ │ │ │ ├── array.output │ │ │ │ │ ├── array_t.cpp │ │ │ │ │ ├── array_t.output │ │ │ │ │ ├── at__json_pointer.cpp │ │ │ │ │ ├── at__json_pointer.output │ │ │ │ │ ├── at__json_pointer_const.cpp │ │ │ │ │ ├── at__json_pointer_const.output │ │ │ │ │ ├── at__keytype.c++17.cpp │ │ │ │ │ ├── at__keytype.c++17.output │ │ │ │ │ ├── at__keytype_const.c++17.cpp │ │ │ │ │ ├── at__keytype_const.c++17.output │ │ │ │ │ ├── at__object_t_key_type.cpp │ │ │ │ │ ├── at__object_t_key_type.output │ │ │ │ │ ├── at__object_t_key_type_const.cpp │ │ │ │ │ ├── at__object_t_key_type_const.output │ │ │ │ │ ├── at__size_type.cpp │ │ │ │ │ ├── at__size_type.output │ │ │ │ │ ├── at__size_type_const.cpp │ │ │ │ │ ├── at__size_type_const.output │ │ │ │ │ ├── back.cpp │ │ │ │ │ ├── back.output │ │ │ │ │ ├── basic_json__CompatibleType.cpp │ │ │ │ │ ├── basic_json__CompatibleType.output │ │ │ │ │ ├── basic_json__InputIt_InputIt.cpp │ │ │ │ │ ├── basic_json__InputIt_InputIt.output │ │ │ │ │ ├── basic_json__basic_json.cpp │ │ │ │ │ ├── basic_json__basic_json.output │ │ │ │ │ ├── basic_json__copyassignment.cpp │ │ │ │ │ ├── basic_json__copyassignment.output │ │ │ │ │ ├── basic_json__list_init_t.cpp │ │ │ │ │ ├── basic_json__list_init_t.output │ │ │ │ │ ├── basic_json__moveconstructor.cpp │ │ │ │ │ ├── basic_json__moveconstructor.output │ │ │ │ │ ├── basic_json__nullptr_t.cpp │ │ │ │ │ ├── basic_json__nullptr_t.output │ │ │ │ │ ├── basic_json__size_type_basic_json.cpp │ │ │ │ │ ├── basic_json__size_type_basic_json.output │ │ │ │ │ ├── basic_json__value_t.cpp │ │ │ │ │ ├── basic_json__value_t.output │ │ │ │ │ ├── begin.cpp │ │ │ │ │ ├── begin.output │ │ │ │ │ ├── binary.cpp │ │ │ │ │ ├── binary.output │ │ │ │ │ ├── binary_t.cpp │ │ │ │ │ ├── binary_t.output │ │ │ │ │ ├── boolean_t.cpp │ │ │ │ │ ├── boolean_t.output │ │ │ │ │ ├── byte_container_with_subtype__byte_container_with_subtype.cpp │ │ │ │ │ ├── byte_container_with_subtype__byte_container_with_subtype.output │ │ │ │ │ ├── byte_container_with_subtype__clear_subtype.cpp │ │ │ │ │ ├── byte_container_with_subtype__clear_subtype.output │ │ │ │ │ ├── byte_container_with_subtype__has_subtype.cpp │ │ │ │ │ ├── byte_container_with_subtype__has_subtype.output │ │ │ │ │ ├── byte_container_with_subtype__set_subtype.cpp │ │ │ │ │ ├── byte_container_with_subtype__set_subtype.output │ │ │ │ │ ├── byte_container_with_subtype__subtype.cpp │ │ │ │ │ ├── byte_container_with_subtype__subtype.output │ │ │ │ │ ├── cbegin.cpp │ │ │ │ │ ├── cbegin.output │ │ │ │ │ ├── cbor_tag_handler_t.cpp │ │ │ │ │ ├── cbor_tag_handler_t.output │ │ │ │ │ ├── cend.cpp │ │ │ │ │ ├── cend.output │ │ │ │ │ ├── clear.cpp │ │ │ │ │ ├── clear.output │ │ │ │ │ ├── contains__json_pointer.cpp │ │ │ │ │ ├── contains__json_pointer.output │ │ │ │ │ ├── contains__keytype.c++17.cpp │ │ │ │ │ ├── contains__keytype.c++17.output │ │ │ │ │ ├── contains__object_t_key_type.cpp │ │ │ │ │ ├── contains__object_t_key_type.output │ │ │ │ │ ├── count__keytype.c++17.cpp │ │ │ │ │ ├── count__keytype.c++17.output │ │ │ │ │ ├── count__object_t_key_type.cpp │ │ │ │ │ ├── count__object_t_key_type.output │ │ │ │ │ ├── crbegin.cpp │ │ │ │ │ ├── crbegin.output │ │ │ │ │ ├── crend.cpp │ │ │ │ │ ├── crend.output │ │ │ │ │ ├── default_object_comparator_t.cpp │ │ │ │ │ ├── default_object_comparator_t.output │ │ │ │ │ ├── diagnostics_extended.cpp │ │ │ │ │ ├── diagnostics_extended.output │ │ │ │ │ ├── diagnostics_standard.cpp │ │ │ │ │ ├── diagnostics_standard.output │ │ │ │ │ ├── diff.cpp │ │ │ │ │ ├── diff.output │ │ │ │ │ ├── dump.cpp │ │ │ │ │ ├── dump.output │ │ │ │ │ ├── emplace.cpp │ │ │ │ │ ├── emplace.output │ │ │ │ │ ├── emplace_back.cpp │ │ │ │ │ ├── emplace_back.output │ │ │ │ │ ├── empty.cpp │ │ │ │ │ ├── empty.output │ │ │ │ │ ├── end.cpp │ │ │ │ │ ├── end.output │ │ │ │ │ ├── erase__IteratorType.cpp │ │ │ │ │ ├── erase__IteratorType.output │ │ │ │ │ ├── erase__IteratorType_IteratorType.cpp │ │ │ │ │ ├── erase__IteratorType_IteratorType.output │ │ │ │ │ ├── erase__keytype.c++17.cpp │ │ │ │ │ ├── erase__keytype.c++17.output │ │ │ │ │ ├── erase__object_t_key_type.cpp │ │ │ │ │ ├── erase__object_t_key_type.output │ │ │ │ │ ├── erase__size_type.cpp │ │ │ │ │ ├── erase__size_type.output │ │ │ │ │ ├── error_handler_t.cpp │ │ │ │ │ ├── error_handler_t.output │ │ │ │ │ ├── exception.cpp │ │ │ │ │ ├── exception.output │ │ │ │ │ ├── find__keytype.c++17.cpp │ │ │ │ │ ├── find__keytype.c++17.output │ │ │ │ │ ├── find__object_t_key_type.cpp │ │ │ │ │ ├── find__object_t_key_type.output │ │ │ │ │ ├── flatten.cpp │ │ │ │ │ ├── flatten.output │ │ │ │ │ ├── from_bjdata.cpp │ │ │ │ │ ├── from_bjdata.output │ │ │ │ │ ├── from_bson.cpp │ │ │ │ │ ├── from_bson.output │ │ │ │ │ ├── from_cbor.cpp │ │ │ │ │ ├── from_cbor.output │ │ │ │ │ ├── from_json__default_constructible.cpp │ │ │ │ │ ├── from_json__default_constructible.output │ │ │ │ │ ├── from_json__non_default_constructible.cpp │ │ │ │ │ ├── from_json__non_default_constructible.output │ │ │ │ │ ├── from_msgpack.cpp │ │ │ │ │ ├── from_msgpack.output │ │ │ │ │ ├── from_ubjson.cpp │ │ │ │ │ ├── from_ubjson.output │ │ │ │ │ ├── front.cpp │ │ │ │ │ ├── front.output │ │ │ │ │ ├── get__PointerType.cpp │ │ │ │ │ ├── get__PointerType.output │ │ │ │ │ ├── get__ValueType_const.cpp │ │ │ │ │ ├── get__ValueType_const.output │ │ │ │ │ ├── get_allocator.cpp │ │ │ │ │ ├── get_allocator.output │ │ │ │ │ ├── get_binary.cpp │ │ │ │ │ ├── get_binary.output │ │ │ │ │ ├── get_ptr.cpp │ │ │ │ │ ├── get_ptr.output │ │ │ │ │ ├── get_ref.cpp │ │ │ │ │ ├── get_ref.output │ │ │ │ │ ├── get_to.cpp │ │ │ │ │ ├── get_to.output │ │ │ │ │ ├── insert.cpp │ │ │ │ │ ├── insert.output │ │ │ │ │ ├── insert__count.cpp │ │ │ │ │ ├── insert__count.output │ │ │ │ │ ├── insert__ilist.cpp │ │ │ │ │ ├── insert__ilist.output │ │ │ │ │ ├── insert__range.cpp │ │ │ │ │ ├── insert__range.output │ │ │ │ │ ├── insert__range_object.cpp │ │ │ │ │ ├── insert__range_object.output │ │ │ │ │ ├── invalid_iterator.cpp │ │ │ │ │ ├── invalid_iterator.output │ │ │ │ │ ├── is_array.cpp │ │ │ │ │ ├── is_array.output │ │ │ │ │ ├── is_binary.cpp │ │ │ │ │ ├── is_binary.output │ │ │ │ │ ├── is_boolean.cpp │ │ │ │ │ ├── is_boolean.output │ │ │ │ │ ├── is_discarded.cpp │ │ │ │ │ ├── is_discarded.output │ │ │ │ │ ├── is_null.cpp │ │ │ │ │ ├── is_null.output │ │ │ │ │ ├── is_number.cpp │ │ │ │ │ ├── is_number.output │ │ │ │ │ ├── is_number_float.cpp │ │ │ │ │ ├── is_number_float.output │ │ │ │ │ ├── is_number_integer.cpp │ │ │ │ │ ├── is_number_integer.output │ │ │ │ │ ├── is_number_unsigned.cpp │ │ │ │ │ ├── is_number_unsigned.output │ │ │ │ │ ├── is_object.cpp │ │ │ │ │ ├── is_object.output │ │ │ │ │ ├── is_primitive.cpp │ │ │ │ │ ├── is_primitive.output │ │ │ │ │ ├── is_string.cpp │ │ │ │ │ ├── is_string.output │ │ │ │ │ ├── is_structured.cpp │ │ │ │ │ ├── is_structured.output │ │ │ │ │ ├── items.cpp │ │ │ │ │ ├── items.output │ │ │ │ │ ├── json_lines.cpp │ │ │ │ │ ├── json_lines.output │ │ │ │ │ ├── json_pointer.cpp │ │ │ │ │ ├── json_pointer.output │ │ │ │ │ ├── json_pointer__back.cpp │ │ │ │ │ ├── json_pointer__back.output │ │ │ │ │ ├── json_pointer__empty.cpp │ │ │ │ │ ├── json_pointer__empty.output │ │ │ │ │ ├── json_pointer__operator__equal.cpp │ │ │ │ │ ├── json_pointer__operator__equal.output │ │ │ │ │ ├── json_pointer__operator__equal_stringtype.cpp │ │ │ │ │ ├── json_pointer__operator__equal_stringtype.output │ │ │ │ │ ├── json_pointer__operator__notequal.cpp │ │ │ │ │ ├── json_pointer__operator__notequal.output │ │ │ │ │ ├── json_pointer__operator__notequal_stringtype.cpp │ │ │ │ │ ├── json_pointer__operator__notequal_stringtype.output │ │ │ │ │ ├── json_pointer__operator_add.cpp │ │ │ │ │ ├── json_pointer__operator_add.output │ │ │ │ │ ├── json_pointer__operator_add_binary.cpp │ │ │ │ │ ├── json_pointer__operator_add_binary.output │ │ │ │ │ ├── json_pointer__operator_string_t.cpp │ │ │ │ │ ├── json_pointer__operator_string_t.output │ │ │ │ │ ├── json_pointer__parent_pointer.cpp │ │ │ │ │ ├── json_pointer__parent_pointer.output │ │ │ │ │ ├── json_pointer__pop_back.cpp │ │ │ │ │ ├── json_pointer__pop_back.output │ │ │ │ │ ├── json_pointer__push_back.cpp │ │ │ │ │ ├── json_pointer__push_back.output │ │ │ │ │ ├── json_pointer__string_t.cpp │ │ │ │ │ ├── json_pointer__string_t.output │ │ │ │ │ ├── json_pointer__to_string.cpp │ │ │ │ │ ├── json_pointer__to_string.output │ │ │ │ │ ├── max_size.cpp │ │ │ │ │ ├── max_size.output │ │ │ │ │ ├── merge_patch.cpp │ │ │ │ │ ├── merge_patch.output │ │ │ │ │ ├── meta.cpp │ │ │ │ │ ├── meta.output │ │ │ │ │ ├── nlohmann_define_type_intrusive_explicit.cpp │ │ │ │ │ ├── nlohmann_define_type_intrusive_explicit.output │ │ │ │ │ ├── nlohmann_define_type_intrusive_macro.cpp │ │ │ │ │ ├── nlohmann_define_type_intrusive_macro.output │ │ │ │ │ ├── nlohmann_define_type_intrusive_with_default_explicit.cpp │ │ │ │ │ ├── nlohmann_define_type_intrusive_with_default_explicit.output │ │ │ │ │ ├── nlohmann_define_type_intrusive_with_default_macro.cpp │ │ │ │ │ ├── nlohmann_define_type_intrusive_with_default_macro.output │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_explicit.cpp │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_explicit.output │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_macro.cpp │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_macro.output │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_with_default_explicit.cpp │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_with_default_explicit.output │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_with_default_macro.cpp │ │ │ │ │ ├── nlohmann_define_type_non_intrusive_with_default_macro.output │ │ │ │ │ ├── nlohmann_json_namespace.cpp │ │ │ │ │ ├── nlohmann_json_namespace.output │ │ │ │ │ ├── nlohmann_json_namespace_begin.c++17.cpp │ │ │ │ │ ├── nlohmann_json_namespace_begin.c++17.output │ │ │ │ │ ├── nlohmann_json_namespace_no_version.cpp │ │ │ │ │ ├── nlohmann_json_namespace_no_version.output │ │ │ │ │ ├── nlohmann_json_serialize_enum.cpp │ │ │ │ │ ├── nlohmann_json_serialize_enum.output │ │ │ │ │ ├── nlohmann_json_serialize_enum_2.cpp │ │ │ │ │ ├── nlohmann_json_serialize_enum_2.output │ │ │ │ │ ├── nlohmann_json_version.cpp │ │ │ │ │ ├── nlohmann_json_version.output │ │ │ │ │ ├── number_float_t.cpp │ │ │ │ │ ├── number_float_t.output │ │ │ │ │ ├── number_integer_t.cpp │ │ │ │ │ ├── number_integer_t.output │ │ │ │ │ ├── number_unsigned_t.cpp │ │ │ │ │ ├── number_unsigned_t.output │ │ │ │ │ ├── object.cpp │ │ │ │ │ ├── object.output │ │ │ │ │ ├── object_comparator_t.cpp │ │ │ │ │ ├── object_comparator_t.output │ │ │ │ │ ├── object_t.cpp │ │ │ │ │ ├── object_t.output │ │ │ │ │ ├── operator__ValueType.cpp │ │ │ │ │ ├── operator__ValueType.output │ │ │ │ │ ├── operator__equal.cpp │ │ │ │ │ ├── operator__equal.output │ │ │ │ │ ├── operator__equal__nullptr_t.cpp │ │ │ │ │ ├── operator__equal__nullptr_t.output │ │ │ │ │ ├── operator__equal__specializations.cpp │ │ │ │ │ ├── operator__equal__specializations.output │ │ │ │ │ ├── operator__greater.cpp │ │ │ │ │ ├── operator__greater.output │ │ │ │ │ ├── operator__greaterequal.cpp │ │ │ │ │ ├── operator__greaterequal.output │ │ │ │ │ ├── operator__less.cpp │ │ │ │ │ ├── operator__less.output │ │ │ │ │ ├── operator__lessequal.cpp │ │ │ │ │ ├── operator__lessequal.output │ │ │ │ │ ├── operator__notequal.cpp │ │ │ │ │ ├── operator__notequal.output │ │ │ │ │ ├── operator__notequal__nullptr_t.cpp │ │ │ │ │ ├── operator__notequal__nullptr_t.output │ │ │ │ │ ├── operator__value_t.cpp │ │ │ │ │ ├── operator__value_t.output │ │ │ │ │ ├── operator_array__json_pointer.cpp │ │ │ │ │ ├── operator_array__json_pointer.output │ │ │ │ │ ├── operator_array__json_pointer_const.cpp │ │ │ │ │ ├── operator_array__json_pointer_const.output │ │ │ │ │ ├── operator_array__keytype.c++17.cpp │ │ │ │ │ ├── operator_array__keytype.c++17.output │ │ │ │ │ ├── operator_array__keytype_const.c++17.cpp │ │ │ │ │ ├── operator_array__keytype_const.c++17.output │ │ │ │ │ ├── operator_array__object_t_key_type.cpp │ │ │ │ │ ├── operator_array__object_t_key_type.output │ │ │ │ │ ├── operator_array__object_t_key_type_const.cpp │ │ │ │ │ ├── operator_array__object_t_key_type_const.output │ │ │ │ │ ├── operator_array__size_type.cpp │ │ │ │ │ ├── operator_array__size_type.output │ │ │ │ │ ├── operator_array__size_type_const.cpp │ │ │ │ │ ├── operator_array__size_type_const.output │ │ │ │ │ ├── operator_deserialize.cpp │ │ │ │ │ ├── operator_deserialize.output │ │ │ │ │ ├── operator_literal_json.cpp │ │ │ │ │ ├── operator_literal_json.output │ │ │ │ │ ├── operator_literal_json_pointer.cpp │ │ │ │ │ ├── operator_literal_json_pointer.output │ │ │ │ │ ├── operator_ltlt__basic_json.cpp │ │ │ │ │ ├── operator_ltlt__basic_json.output │ │ │ │ │ ├── operator_ltlt__json_pointer.cpp │ │ │ │ │ ├── operator_ltlt__json_pointer.output │ │ │ │ │ ├── operator_spaceship__const_reference.c++20.cpp │ │ │ │ │ ├── operator_spaceship__const_reference.c++20.output │ │ │ │ │ ├── operator_spaceship__scalartype.c++20.cpp │ │ │ │ │ ├── operator_spaceship__scalartype.c++20.output │ │ │ │ │ ├── ordered_json.cpp │ │ │ │ │ ├── ordered_json.output │ │ │ │ │ ├── ordered_map.cpp │ │ │ │ │ ├── ordered_map.output │ │ │ │ │ ├── other_error.cpp │ │ │ │ │ ├── other_error.output │ │ │ │ │ ├── out_of_range.cpp │ │ │ │ │ ├── out_of_range.output │ │ │ │ │ ├── parse__allow_exceptions.cpp │ │ │ │ │ ├── parse__allow_exceptions.output │ │ │ │ │ ├── parse__array__parser_callback_t.cpp │ │ │ │ │ ├── parse__array__parser_callback_t.output │ │ │ │ │ ├── parse__contiguouscontainer__parser_callback_t.cpp │ │ │ │ │ ├── parse__contiguouscontainer__parser_callback_t.output │ │ │ │ │ ├── parse__istream__parser_callback_t.cpp │ │ │ │ │ ├── parse__istream__parser_callback_t.output │ │ │ │ │ ├── parse__iterator_pair.cpp │ │ │ │ │ ├── parse__iterator_pair.link │ │ │ │ │ ├── parse__iterator_pair.output │ │ │ │ │ ├── parse__pointers.cpp │ │ │ │ │ ├── parse__pointers.link │ │ │ │ │ ├── parse__pointers.output │ │ │ │ │ ├── parse__string__parser_callback_t.cpp │ │ │ │ │ ├── parse__string__parser_callback_t.output │ │ │ │ │ ├── parse_error.cpp │ │ │ │ │ ├── parse_error.output │ │ │ │ │ ├── patch.cpp │ │ │ │ │ ├── patch.output │ │ │ │ │ ├── patch_inplace.cpp │ │ │ │ │ ├── patch_inplace.output │ │ │ │ │ ├── push_back.cpp │ │ │ │ │ ├── push_back.output │ │ │ │ │ ├── push_back__initializer_list.cpp │ │ │ │ │ ├── push_back__initializer_list.output │ │ │ │ │ ├── push_back__object_t__value.cpp │ │ │ │ │ ├── push_back__object_t__value.output │ │ │ │ │ ├── rbegin.cpp │ │ │ │ │ ├── rbegin.output │ │ │ │ │ ├── rend.cpp │ │ │ │ │ ├── rend.output │ │ │ │ │ ├── sax_parse.cpp │ │ │ │ │ ├── sax_parse.output │ │ │ │ │ ├── sax_parse__binary.cpp │ │ │ │ │ ├── sax_parse__binary.output │ │ │ │ │ ├── size.cpp │ │ │ │ │ ├── size.output │ │ │ │ │ ├── std_hash.cpp │ │ │ │ │ ├── std_hash.output │ │ │ │ │ ├── std_swap.cpp │ │ │ │ │ ├── std_swap.output │ │ │ │ │ ├── string_t.cpp │ │ │ │ │ ├── string_t.output │ │ │ │ │ ├── swap__array_t.cpp │ │ │ │ │ ├── swap__array_t.output │ │ │ │ │ ├── swap__binary_t.cpp │ │ │ │ │ ├── swap__binary_t.output │ │ │ │ │ ├── swap__object_t.cpp │ │ │ │ │ ├── swap__object_t.output │ │ │ │ │ ├── swap__reference.cpp │ │ │ │ │ ├── swap__reference.output │ │ │ │ │ ├── swap__string_t.cpp │ │ │ │ │ ├── swap__string_t.output │ │ │ │ │ ├── to_bjdata.cpp │ │ │ │ │ ├── to_bjdata.output │ │ │ │ │ ├── to_bson.cpp │ │ │ │ │ ├── to_bson.output │ │ │ │ │ ├── to_cbor.cpp │ │ │ │ │ ├── to_cbor.output │ │ │ │ │ ├── to_json.cpp │ │ │ │ │ ├── to_json.output │ │ │ │ │ ├── to_msgpack.cpp │ │ │ │ │ ├── to_msgpack.output │ │ │ │ │ ├── to_string.cpp │ │ │ │ │ ├── to_string.output │ │ │ │ │ ├── to_ubjson.cpp │ │ │ │ │ ├── to_ubjson.output │ │ │ │ │ ├── type.cpp │ │ │ │ │ ├── type.output │ │ │ │ │ ├── type_error.cpp │ │ │ │ │ ├── type_error.output │ │ │ │ │ ├── type_name.cpp │ │ │ │ │ ├── type_name.output │ │ │ │ │ ├── unflatten.cpp │ │ │ │ │ ├── unflatten.output │ │ │ │ │ ├── update.cpp │ │ │ │ │ ├── update.output │ │ │ │ │ ├── update__range.cpp │ │ │ │ │ ├── update__range.output │ │ │ │ │ ├── value__json_ptr.cpp │ │ │ │ │ ├── value__json_ptr.output │ │ │ │ │ ├── value__keytype.c++17.cpp │ │ │ │ │ ├── value__keytype.c++17.output │ │ │ │ │ ├── value__object_t_key_type.cpp │ │ │ │ │ └── value__object_t_key_type.output │ │ │ │ ├── json.gif │ │ │ │ ├── mkdocs │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── docs │ │ │ │ │ │ ├── api │ │ │ │ │ │ │ ├── adl_serializer │ │ │ │ │ │ │ │ ├── from_json.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── to_json.md │ │ │ │ │ │ │ ├── basic_json │ │ │ │ │ │ │ │ ├── accept.md │ │ │ │ │ │ │ │ ├── array.md │ │ │ │ │ │ │ │ ├── array_t.md │ │ │ │ │ │ │ │ ├── at.md │ │ │ │ │ │ │ │ ├── back.md │ │ │ │ │ │ │ │ ├── basic_json.md │ │ │ │ │ │ │ │ ├── begin.md │ │ │ │ │ │ │ │ ├── binary.md │ │ │ │ │ │ │ │ ├── binary_t.md │ │ │ │ │ │ │ │ ├── boolean_t.md │ │ │ │ │ │ │ │ ├── cbegin.md │ │ │ │ │ │ │ │ ├── cbor_tag_handler_t.md │ │ │ │ │ │ │ │ ├── cend.md │ │ │ │ │ │ │ │ ├── clear.md │ │ │ │ │ │ │ │ ├── contains.md │ │ │ │ │ │ │ │ ├── count.md │ │ │ │ │ │ │ │ ├── crbegin.md │ │ │ │ │ │ │ │ ├── crend.md │ │ │ │ │ │ │ │ ├── default_object_comparator_t.md │ │ │ │ │ │ │ │ ├── diff.md │ │ │ │ │ │ │ │ ├── dump.md │ │ │ │ │ │ │ │ ├── emplace.md │ │ │ │ │ │ │ │ ├── emplace_back.md │ │ │ │ │ │ │ │ ├── empty.md │ │ │ │ │ │ │ │ ├── end.md │ │ │ │ │ │ │ │ ├── erase.md │ │ │ │ │ │ │ │ ├── error_handler_t.md │ │ │ │ │ │ │ │ ├── exception.md │ │ │ │ │ │ │ │ ├── find.md │ │ │ │ │ │ │ │ ├── flatten.md │ │ │ │ │ │ │ │ ├── from_bjdata.md │ │ │ │ │ │ │ │ ├── from_bson.md │ │ │ │ │ │ │ │ ├── from_cbor.md │ │ │ │ │ │ │ │ ├── from_msgpack.md │ │ │ │ │ │ │ │ ├── from_ubjson.md │ │ │ │ │ │ │ │ ├── front.md │ │ │ │ │ │ │ │ ├── get.md │ │ │ │ │ │ │ │ ├── get_allocator.md │ │ │ │ │ │ │ │ ├── get_binary.md │ │ │ │ │ │ │ │ ├── get_ptr.md │ │ │ │ │ │ │ │ ├── get_ref.md │ │ │ │ │ │ │ │ ├── get_to.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── input_format_t.md │ │ │ │ │ │ │ │ ├── insert.md │ │ │ │ │ │ │ │ ├── invalid_iterator.md │ │ │ │ │ │ │ │ ├── is_array.md │ │ │ │ │ │ │ │ ├── is_binary.md │ │ │ │ │ │ │ │ ├── is_boolean.md │ │ │ │ │ │ │ │ ├── is_discarded.md │ │ │ │ │ │ │ │ ├── is_null.md │ │ │ │ │ │ │ │ ├── is_number.md │ │ │ │ │ │ │ │ ├── is_number_float.md │ │ │ │ │ │ │ │ ├── is_number_integer.md │ │ │ │ │ │ │ │ ├── is_number_unsigned.md │ │ │ │ │ │ │ │ ├── is_object.md │ │ │ │ │ │ │ │ ├── is_primitive.md │ │ │ │ │ │ │ │ ├── is_string.md │ │ │ │ │ │ │ │ ├── is_structured.md │ │ │ │ │ │ │ │ ├── items.md │ │ │ │ │ │ │ │ ├── json_serializer.md │ │ │ │ │ │ │ │ ├── max_size.md │ │ │ │ │ │ │ │ ├── merge_patch.md │ │ │ │ │ │ │ │ ├── meta.md │ │ │ │ │ │ │ │ ├── number_float_t.md │ │ │ │ │ │ │ │ ├── number_integer_t.md │ │ │ │ │ │ │ │ ├── number_unsigned_t.md │ │ │ │ │ │ │ │ ├── object.md │ │ │ │ │ │ │ │ ├── object_comparator_t.md │ │ │ │ │ │ │ │ ├── object_t.md │ │ │ │ │ │ │ │ ├── operator+=.md │ │ │ │ │ │ │ │ ├── operator=.md │ │ │ │ │ │ │ │ ├── operator[].md │ │ │ │ │ │ │ │ ├── operator_ValueType.md │ │ │ │ │ │ │ │ ├── operator_eq.md │ │ │ │ │ │ │ │ ├── operator_ge.md │ │ │ │ │ │ │ │ ├── operator_gt.md │ │ │ │ │ │ │ │ ├── operator_le.md │ │ │ │ │ │ │ │ ├── operator_lt.md │ │ │ │ │ │ │ │ ├── operator_ne.md │ │ │ │ │ │ │ │ ├── operator_spaceship.md │ │ │ │ │ │ │ │ ├── operator_value_t.md │ │ │ │ │ │ │ │ ├── other_error.md │ │ │ │ │ │ │ │ ├── out_of_range.md │ │ │ │ │ │ │ │ ├── parse.md │ │ │ │ │ │ │ │ ├── parse_error.md │ │ │ │ │ │ │ │ ├── parse_event_t.md │ │ │ │ │ │ │ │ ├── parser_callback_t.md │ │ │ │ │ │ │ │ ├── patch.md │ │ │ │ │ │ │ │ ├── patch_inplace.md │ │ │ │ │ │ │ │ ├── push_back.md │ │ │ │ │ │ │ │ ├── rbegin.md │ │ │ │ │ │ │ │ ├── rend.md │ │ │ │ │ │ │ │ ├── sax_parse.md │ │ │ │ │ │ │ │ ├── size.md │ │ │ │ │ │ │ │ ├── std_hash.md │ │ │ │ │ │ │ │ ├── std_swap.md │ │ │ │ │ │ │ │ ├── string_t.md │ │ │ │ │ │ │ │ ├── swap.md │ │ │ │ │ │ │ │ ├── to_bjdata.md │ │ │ │ │ │ │ │ ├── to_bson.md │ │ │ │ │ │ │ │ ├── to_cbor.md │ │ │ │ │ │ │ │ ├── to_msgpack.md │ │ │ │ │ │ │ │ ├── to_string.md │ │ │ │ │ │ │ │ ├── to_ubjson.md │ │ │ │ │ │ │ │ ├── type.md │ │ │ │ │ │ │ │ ├── type_error.md │ │ │ │ │ │ │ │ ├── type_name.md │ │ │ │ │ │ │ │ ├── unflatten.md │ │ │ │ │ │ │ │ ├── update.md │ │ │ │ │ │ │ │ ├── value.md │ │ │ │ │ │ │ │ ├── value_t.md │ │ │ │ │ │ │ │ └── ~basic_json.md │ │ │ │ │ │ │ ├── byte_container_with_subtype │ │ │ │ │ │ │ │ ├── byte_container_with_subtype.md │ │ │ │ │ │ │ │ ├── clear_subtype.md │ │ │ │ │ │ │ │ ├── has_subtype.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── set_subtype.md │ │ │ │ │ │ │ │ └── subtype.md │ │ │ │ │ │ │ ├── json.md │ │ │ │ │ │ │ ├── json_pointer │ │ │ │ │ │ │ │ ├── back.md │ │ │ │ │ │ │ │ ├── empty.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── json_pointer.md │ │ │ │ │ │ │ │ ├── operator_eq.md │ │ │ │ │ │ │ │ ├── operator_ne.md │ │ │ │ │ │ │ │ ├── operator_slash.md │ │ │ │ │ │ │ │ ├── operator_slasheq.md │ │ │ │ │ │ │ │ ├── operator_string_t.md │ │ │ │ │ │ │ │ ├── parent_pointer.md │ │ │ │ │ │ │ │ ├── pop_back.md │ │ │ │ │ │ │ │ ├── push_back.md │ │ │ │ │ │ │ │ ├── string_t.md │ │ │ │ │ │ │ │ └── to_string.md │ │ │ │ │ │ │ ├── json_sax │ │ │ │ │ │ │ │ ├── binary.md │ │ │ │ │ │ │ │ ├── boolean.md │ │ │ │ │ │ │ │ ├── end_array.md │ │ │ │ │ │ │ │ ├── end_object.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── key.md │ │ │ │ │ │ │ │ ├── null.md │ │ │ │ │ │ │ │ ├── number_float.md │ │ │ │ │ │ │ │ ├── number_integer.md │ │ │ │ │ │ │ │ ├── number_unsigned.md │ │ │ │ │ │ │ │ ├── parse_error.md │ │ │ │ │ │ │ │ ├── start_array.md │ │ │ │ │ │ │ │ ├── start_object.md │ │ │ │ │ │ │ │ └── string.md │ │ │ │ │ │ │ ├── macros │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── json_assert.md │ │ │ │ │ │ │ │ ├── json_diagnostics.md │ │ │ │ │ │ │ │ ├── json_disable_enum_serialization.md │ │ │ │ │ │ │ │ ├── json_has_cpp_11.md │ │ │ │ │ │ │ │ ├── json_has_filesystem.md │ │ │ │ │ │ │ │ ├── json_has_ranges.md │ │ │ │ │ │ │ │ ├── json_has_three_way_comparison.md │ │ │ │ │ │ │ │ ├── json_no_io.md │ │ │ │ │ │ │ │ ├── json_noexception.md │ │ │ │ │ │ │ │ ├── json_skip_library_version_check.md │ │ │ │ │ │ │ │ ├── json_skip_unsupported_compiler_check.md │ │ │ │ │ │ │ │ ├── json_throw_user.md │ │ │ │ │ │ │ │ ├── json_use_global_udls.md │ │ │ │ │ │ │ │ ├── json_use_implicit_conversions.md │ │ │ │ │ │ │ │ ├── json_use_legacy_discarded_value_comparison.md │ │ │ │ │ │ │ │ ├── nlohmann_define_type_intrusive.md │ │ │ │ │ │ │ │ ├── nlohmann_define_type_non_intrusive.md │ │ │ │ │ │ │ │ ├── nlohmann_json_namespace.md │ │ │ │ │ │ │ │ ├── nlohmann_json_namespace_begin.md │ │ │ │ │ │ │ │ ├── nlohmann_json_namespace_no_version.md │ │ │ │ │ │ │ │ ├── nlohmann_json_serialize_enum.md │ │ │ │ │ │ │ │ └── nlohmann_json_version_major.md │ │ │ │ │ │ │ ├── operator_gtgt.md │ │ │ │ │ │ │ ├── operator_literal_json.md │ │ │ │ │ │ │ ├── operator_literal_json_pointer.md │ │ │ │ │ │ │ ├── operator_ltlt.md │ │ │ │ │ │ │ ├── ordered_json.md │ │ │ │ │ │ │ └── ordered_map.md │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ └── custom.css │ │ │ │ │ │ ├── features │ │ │ │ │ │ │ ├── arbitrary_types.md │ │ │ │ │ │ │ ├── assertions.md │ │ │ │ │ │ │ ├── binary_formats │ │ │ │ │ │ │ │ ├── bjdata.md │ │ │ │ │ │ │ │ ├── bson.md │ │ │ │ │ │ │ │ ├── cbor.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── messagepack.md │ │ │ │ │ │ │ │ └── ubjson.md │ │ │ │ │ │ │ ├── binary_values.md │ │ │ │ │ │ │ ├── comments.md │ │ │ │ │ │ │ ├── element_access │ │ │ │ │ │ │ │ ├── checked_access.md │ │ │ │ │ │ │ │ ├── default_value.md │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── unchecked_access.md │ │ │ │ │ │ │ ├── enum_conversion.md │ │ │ │ │ │ │ ├── iterators.md │ │ │ │ │ │ │ ├── json_patch.md │ │ │ │ │ │ │ ├── json_pointer.md │ │ │ │ │ │ │ ├── macros.md │ │ │ │ │ │ │ ├── merge_patch.md │ │ │ │ │ │ │ ├── namespace.md │ │ │ │ │ │ │ ├── object_order.md │ │ │ │ │ │ │ ├── parsing │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ ├── json_lines.md │ │ │ │ │ │ │ │ ├── parse_exceptions.md │ │ │ │ │ │ │ │ ├── parser_callbacks.md │ │ │ │ │ │ │ │ └── sax_interface.md │ │ │ │ │ │ │ └── types │ │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ │ └── number_handling.md │ │ │ │ │ │ ├── home │ │ │ │ │ │ │ ├── code_of_conduct.md │ │ │ │ │ │ │ ├── design_goals.md │ │ │ │ │ │ │ ├── exceptions.md │ │ │ │ │ │ │ ├── faq.md │ │ │ │ │ │ │ ├── license.md │ │ │ │ │ │ │ ├── releases.md │ │ │ │ │ │ │ └── sponsors.md │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ ├── callback_events.png │ │ │ │ │ │ │ ├── json_syntax_number.png │ │ │ │ │ │ │ ├── range-begin-end.svg │ │ │ │ │ │ │ └── range-rbegin-rend.svg │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ └── integration │ │ │ │ │ │ │ ├── cmake.md │ │ │ │ │ │ │ ├── conan │ │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ │ ├── Conanfile.txt │ │ │ │ │ │ │ └── example.cpp │ │ │ │ │ │ │ ├── example.cpp │ │ │ │ │ │ │ ├── index.md │ │ │ │ │ │ │ ├── package_managers.md │ │ │ │ │ │ │ ├── pkg-config.md │ │ │ │ │ │ │ └── vcpkg │ │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ │ └── example.cpp │ │ │ │ │ ├── mkdocs.yml │ │ │ │ │ ├── requirements.txt │ │ │ │ │ └── scripts │ │ │ │ │ │ └── check_structure.py │ │ │ │ └── usages │ │ │ │ │ ├── ios.png │ │ │ │ │ └── macos.png │ │ │ ├── include │ │ │ │ └── nlohmann │ │ │ │ │ ├── adl_serializer.hpp │ │ │ │ │ ├── byte_container_with_subtype.hpp │ │ │ │ │ ├── detail │ │ │ │ │ ├── abi_macros.hpp │ │ │ │ │ ├── conversions │ │ │ │ │ │ ├── from_json.hpp │ │ │ │ │ │ ├── to_chars.hpp │ │ │ │ │ │ └── to_json.hpp │ │ │ │ │ ├── exceptions.hpp │ │ │ │ │ ├── hash.hpp │ │ │ │ │ ├── input │ │ │ │ │ │ ├── binary_reader.hpp │ │ │ │ │ │ ├── input_adapters.hpp │ │ │ │ │ │ ├── json_sax.hpp │ │ │ │ │ │ ├── lexer.hpp │ │ │ │ │ │ ├── parser.hpp │ │ │ │ │ │ └── position_t.hpp │ │ │ │ │ ├── iterators │ │ │ │ │ │ ├── internal_iterator.hpp │ │ │ │ │ │ ├── iter_impl.hpp │ │ │ │ │ │ ├── iteration_proxy.hpp │ │ │ │ │ │ ├── iterator_traits.hpp │ │ │ │ │ │ ├── json_reverse_iterator.hpp │ │ │ │ │ │ └── primitive_iterator.hpp │ │ │ │ │ ├── json_pointer.hpp │ │ │ │ │ ├── json_ref.hpp │ │ │ │ │ ├── macro_scope.hpp │ │ │ │ │ ├── macro_unscope.hpp │ │ │ │ │ ├── meta │ │ │ │ │ │ ├── call_std │ │ │ │ │ │ │ ├── begin.hpp │ │ │ │ │ │ │ └── end.hpp │ │ │ │ │ │ ├── cpp_future.hpp │ │ │ │ │ │ ├── detected.hpp │ │ │ │ │ │ ├── identity_tag.hpp │ │ │ │ │ │ ├── is_sax.hpp │ │ │ │ │ │ ├── std_fs.hpp │ │ │ │ │ │ ├── type_traits.hpp │ │ │ │ │ │ └── void_t.hpp │ │ │ │ │ ├── output │ │ │ │ │ │ ├── binary_writer.hpp │ │ │ │ │ │ ├── output_adapters.hpp │ │ │ │ │ │ └── serializer.hpp │ │ │ │ │ ├── string_concat.hpp │ │ │ │ │ ├── string_escape.hpp │ │ │ │ │ └── value_t.hpp │ │ │ │ │ ├── json.hpp │ │ │ │ │ ├── json_fwd.hpp │ │ │ │ │ ├── ordered_map.hpp │ │ │ │ │ └── thirdparty │ │ │ │ │ └── hedley │ │ │ │ │ ├── hedley.hpp │ │ │ │ │ └── hedley_undef.hpp │ │ │ ├── meson.build │ │ │ ├── nlohmann_json.natvis │ │ │ ├── nlohmann_json.pc │ │ │ ├── nlohmann_jsonConfig.cmake │ │ │ ├── nlohmann_jsonConfigVersion.cmake │ │ │ ├── single_include │ │ │ │ └── nlohmann │ │ │ │ │ ├── json.hpp │ │ │ │ │ └── json_fwd.hpp │ │ │ ├── tests │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Makefile │ │ │ │ ├── abi │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── config │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── config.hpp │ │ │ │ │ │ ├── custom.cpp │ │ │ │ │ │ ├── default.cpp │ │ │ │ │ │ └── noversion.cpp │ │ │ │ │ ├── diag │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── diag.cpp │ │ │ │ │ │ ├── diag.hpp │ │ │ │ │ │ ├── diag_off.cpp │ │ │ │ │ │ └── diag_on.cpp │ │ │ │ │ ├── include │ │ │ │ │ │ └── nlohmann │ │ │ │ │ │ │ └── json_v3_10_5.hpp │ │ │ │ │ ├── inline_ns │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── use_current.cpp │ │ │ │ │ │ └── use_v3_10_5.cpp │ │ │ │ │ └── main.cpp │ │ │ │ ├── benchmarks │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── src │ │ │ │ │ │ └── benchmarks.cpp │ │ │ │ ├── cmake_add_subdirectory │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── project │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ └── main.cpp │ │ │ │ ├── cmake_fetch_content │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── project │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ └── main.cpp │ │ │ │ ├── cmake_fetch_content2 │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── project │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ └── main.cpp │ │ │ │ ├── cmake_import │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── project │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ └── main.cpp │ │ │ │ ├── cmake_import_minver │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── project │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ └── main.cpp │ │ │ │ ├── cmake_target_include_directories │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── project │ │ │ │ │ │ ├── Bar.cpp │ │ │ │ │ │ ├── Bar.hpp │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── Foo.cpp │ │ │ │ │ │ ├── Foo.hpp │ │ │ │ │ │ └── main.cpp │ │ │ │ ├── cuda_example │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── json_cuda.cu │ │ │ │ ├── fuzzing.md │ │ │ │ ├── reports │ │ │ │ │ ├── 2016-08-29-fuzz │ │ │ │ │ │ ├── exec_speed.png │ │ │ │ │ │ ├── fuzz.tiff │ │ │ │ │ │ ├── high_freq.png │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── low_freq.png │ │ │ │ │ ├── 2016-09-09-nativejson_benchmark │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── conformance_Nlohmann (C++11).md │ │ │ │ │ │ ├── conformance_overall_Result.png │ │ │ │ │ │ ├── performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Memory_(byte).png │ │ │ │ │ │ ├── performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Time_(ms).png │ │ │ │ │ │ ├── performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_2._Stringify_Time_(ms).png │ │ │ │ │ │ ├── performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_3._Prettify_Time_(ms).png │ │ │ │ │ │ └── performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_7._Code_size_FileSize_(byte).png │ │ │ │ │ └── 2016-10-02-fuzz │ │ │ │ │ │ ├── exec_speed.png │ │ │ │ │ │ ├── fuzz.tiff │ │ │ │ │ │ ├── high_freq.png │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── low_freq.png │ │ │ │ ├── src │ │ │ │ │ ├── fuzzer-driver_afl.cpp │ │ │ │ │ ├── fuzzer-parse_bjdata.cpp │ │ │ │ │ ├── fuzzer-parse_bson.cpp │ │ │ │ │ ├── fuzzer-parse_cbor.cpp │ │ │ │ │ ├── fuzzer-parse_json.cpp │ │ │ │ │ ├── fuzzer-parse_msgpack.cpp │ │ │ │ │ ├── fuzzer-parse_ubjson.cpp │ │ │ │ │ ├── make_test_data_available.hpp │ │ │ │ │ ├── test_utils.hpp │ │ │ │ │ ├── unit-32bit.cpp │ │ │ │ │ ├── unit-algorithms.cpp │ │ │ │ │ ├── unit-allocator.cpp │ │ │ │ │ ├── unit-alt-string.cpp │ │ │ │ │ ├── unit-assert_macro.cpp │ │ │ │ │ ├── unit-binary_formats.cpp │ │ │ │ │ ├── unit-bjdata.cpp │ │ │ │ │ ├── unit-bson.cpp │ │ │ │ │ ├── unit-byte_container_with_subtype.cpp │ │ │ │ │ ├── unit-capacity.cpp │ │ │ │ │ ├── unit-cbor.cpp │ │ │ │ │ ├── unit-class_const_iterator.cpp │ │ │ │ │ ├── unit-class_iterator.cpp │ │ │ │ │ ├── unit-class_lexer.cpp │ │ │ │ │ ├── unit-class_parser.cpp │ │ │ │ │ ├── unit-comparison.cpp │ │ │ │ │ ├── unit-concepts.cpp │ │ │ │ │ ├── unit-constructor1.cpp │ │ │ │ │ ├── unit-constructor2.cpp │ │ │ │ │ ├── unit-convenience.cpp │ │ │ │ │ ├── unit-conversions.cpp │ │ │ │ │ ├── unit-deserialization.cpp │ │ │ │ │ ├── unit-diagnostics.cpp │ │ │ │ │ ├── unit-disabled_exceptions.cpp │ │ │ │ │ ├── unit-element_access1.cpp │ │ │ │ │ ├── unit-element_access2.cpp │ │ │ │ │ ├── unit-hash.cpp │ │ │ │ │ ├── unit-inspection.cpp │ │ │ │ │ ├── unit-items.cpp │ │ │ │ │ ├── unit-iterators1.cpp │ │ │ │ │ ├── unit-iterators2.cpp │ │ │ │ │ ├── unit-json_patch.cpp │ │ │ │ │ ├── unit-json_pointer.cpp │ │ │ │ │ ├── unit-large_json.cpp │ │ │ │ │ ├── unit-merge_patch.cpp │ │ │ │ │ ├── unit-meta.cpp │ │ │ │ │ ├── unit-modifiers.cpp │ │ │ │ │ ├── unit-msgpack.cpp │ │ │ │ │ ├── unit-noexcept.cpp │ │ │ │ │ ├── unit-ordered_json.cpp │ │ │ │ │ ├── unit-ordered_map.cpp │ │ │ │ │ ├── unit-pointer_access.cpp │ │ │ │ │ ├── unit-readme.cpp │ │ │ │ │ ├── unit-reference_access.cpp │ │ │ │ │ ├── unit-regression1.cpp │ │ │ │ │ ├── unit-regression2.cpp │ │ │ │ │ ├── unit-serialization.cpp │ │ │ │ │ ├── unit-testsuites.cpp │ │ │ │ │ ├── unit-to_chars.cpp │ │ │ │ │ ├── unit-type_traits.cpp │ │ │ │ │ ├── unit-ubjson.cpp │ │ │ │ │ ├── unit-udl.cpp │ │ │ │ │ ├── unit-udt.cpp │ │ │ │ │ ├── unit-udt_macro.cpp │ │ │ │ │ ├── unit-unicode1.cpp │ │ │ │ │ ├── unit-unicode2.cpp │ │ │ │ │ ├── unit-unicode3.cpp │ │ │ │ │ ├── unit-unicode4.cpp │ │ │ │ │ ├── unit-unicode5.cpp │ │ │ │ │ ├── unit-user_defined_input.cpp │ │ │ │ │ ├── unit-windows_h.cpp │ │ │ │ │ ├── unit-wstring.cpp │ │ │ │ │ └── unit.cpp │ │ │ │ └── thirdparty │ │ │ │ │ ├── Fuzzer │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── FuzzerCorpus.h │ │ │ │ │ ├── FuzzerCrossOver.cpp │ │ │ │ │ ├── FuzzerDefs.h │ │ │ │ │ ├── FuzzerDictionary.h │ │ │ │ │ ├── FuzzerDriver.cpp │ │ │ │ │ ├── FuzzerExtFunctions.def │ │ │ │ │ ├── FuzzerExtFunctions.h │ │ │ │ │ ├── FuzzerExtFunctionsDlsym.cpp │ │ │ │ │ ├── FuzzerExtFunctionsWeak.cpp │ │ │ │ │ ├── FuzzerExtFunctionsWeakAlias.cpp │ │ │ │ │ ├── FuzzerFlags.def │ │ │ │ │ ├── FuzzerIO.cpp │ │ │ │ │ ├── FuzzerIO.h │ │ │ │ │ ├── FuzzerIOPosix.cpp │ │ │ │ │ ├── FuzzerIOWindows.cpp │ │ │ │ │ ├── FuzzerInterface.h │ │ │ │ │ ├── FuzzerInternal.h │ │ │ │ │ ├── FuzzerLoop.cpp │ │ │ │ │ ├── FuzzerMain.cpp │ │ │ │ │ ├── FuzzerMerge.cpp │ │ │ │ │ ├── FuzzerMerge.h │ │ │ │ │ ├── FuzzerMutate.cpp │ │ │ │ │ ├── FuzzerMutate.h │ │ │ │ │ ├── FuzzerOptions.h │ │ │ │ │ ├── FuzzerRandom.h │ │ │ │ │ ├── FuzzerSHA1.cpp │ │ │ │ │ ├── FuzzerSHA1.h │ │ │ │ │ ├── FuzzerTracePC.cpp │ │ │ │ │ ├── FuzzerTracePC.h │ │ │ │ │ ├── FuzzerTraceState.cpp │ │ │ │ │ ├── FuzzerUtil.cpp │ │ │ │ │ ├── FuzzerUtil.h │ │ │ │ │ ├── FuzzerUtilDarwin.cpp │ │ │ │ │ ├── FuzzerUtilLinux.cpp │ │ │ │ │ ├── FuzzerUtilPosix.cpp │ │ │ │ │ ├── FuzzerUtilWindows.cpp │ │ │ │ │ ├── FuzzerValueBitMap.h │ │ │ │ │ ├── README.txt │ │ │ │ │ ├── afl │ │ │ │ │ │ └── afl_driver.cpp │ │ │ │ │ ├── build.sh │ │ │ │ │ ├── cxx.dict │ │ │ │ │ ├── standalone │ │ │ │ │ │ └── StandaloneFuzzTargetMain.c │ │ │ │ │ └── test │ │ │ │ │ │ ├── AFLDriverTest.cpp │ │ │ │ │ │ ├── AbsNegAndConstant64Test.cpp │ │ │ │ │ │ ├── AbsNegAndConstantTest.cpp │ │ │ │ │ │ ├── AccumulateAllocationsTest.cpp │ │ │ │ │ │ ├── BufferOverflowOnInput.cpp │ │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ │ ├── CallerCalleeTest.cpp │ │ │ │ │ │ ├── CounterTest.cpp │ │ │ │ │ │ ├── CustomCrossOverTest.cpp │ │ │ │ │ │ ├── CustomMutatorTest.cpp │ │ │ │ │ │ ├── DSO1.cpp │ │ │ │ │ │ ├── DSO2.cpp │ │ │ │ │ │ ├── DSOTestExtra.cpp │ │ │ │ │ │ ├── DSOTestMain.cpp │ │ │ │ │ │ ├── DivTest.cpp │ │ │ │ │ │ ├── EmptyTest.cpp │ │ │ │ │ │ ├── FourIndependentBranchesTest.cpp │ │ │ │ │ │ ├── FullCoverageSetTest.cpp │ │ │ │ │ │ ├── FuzzerUnittest.cpp │ │ │ │ │ │ ├── InitializeTest.cpp │ │ │ │ │ │ ├── LeakTest.cpp │ │ │ │ │ │ ├── LeakTimeoutTest.cpp │ │ │ │ │ │ ├── LoadTest.cpp │ │ │ │ │ │ ├── MemcmpTest.cpp │ │ │ │ │ │ ├── NthRunCrashTest.cpp │ │ │ │ │ │ ├── NullDerefOnEmptyTest.cpp │ │ │ │ │ │ ├── NullDerefTest.cpp │ │ │ │ │ │ ├── OneHugeAllocTest.cpp │ │ │ │ │ │ ├── OutOfMemorySingleLargeMallocTest.cpp │ │ │ │ │ │ ├── OutOfMemoryTest.cpp │ │ │ │ │ │ ├── RepeatedBytesTest.cpp │ │ │ │ │ │ ├── RepeatedMemcmp.cpp │ │ │ │ │ │ ├── ShrinkControlFlowTest.cpp │ │ │ │ │ │ ├── ShrinkValueProfileTest.cpp │ │ │ │ │ │ ├── SignedIntOverflowTest.cpp │ │ │ │ │ │ ├── SimpleCmpTest.cpp │ │ │ │ │ │ ├── SimpleDictionaryTest.cpp │ │ │ │ │ │ ├── SimpleHashTest.cpp │ │ │ │ │ │ ├── SimpleTest.cpp │ │ │ │ │ │ ├── SimpleThreadedTest.cpp │ │ │ │ │ │ ├── SingleMemcmpTest.cpp │ │ │ │ │ │ ├── SingleStrcmpTest.cpp │ │ │ │ │ │ ├── SingleStrncmpTest.cpp │ │ │ │ │ │ ├── SpamyTest.cpp │ │ │ │ │ │ ├── StrcmpTest.cpp │ │ │ │ │ │ ├── StrncmpOOBTest.cpp │ │ │ │ │ │ ├── StrncmpTest.cpp │ │ │ │ │ │ ├── StrstrTest.cpp │ │ │ │ │ │ ├── SwapCmpTest.cpp │ │ │ │ │ │ ├── Switch2Test.cpp │ │ │ │ │ │ ├── SwitchTest.cpp │ │ │ │ │ │ ├── ThreadedLeakTest.cpp │ │ │ │ │ │ ├── ThreadedTest.cpp │ │ │ │ │ │ ├── TimeoutEmptyTest.cpp │ │ │ │ │ │ ├── TimeoutTest.cpp │ │ │ │ │ │ ├── TraceMallocTest.cpp │ │ │ │ │ │ ├── UninstrumentedTest.cpp │ │ │ │ │ │ ├── afl-driver-extra-stats.test │ │ │ │ │ │ ├── afl-driver-stderr.test │ │ │ │ │ │ ├── caller-callee.test │ │ │ │ │ │ ├── coverage.test │ │ │ │ │ │ ├── dict1.txt │ │ │ │ │ │ ├── dump_coverage.test │ │ │ │ │ │ ├── fuzzer-customcrossover.test │ │ │ │ │ │ ├── fuzzer-custommutator.test │ │ │ │ │ │ ├── fuzzer-dict.test │ │ │ │ │ │ ├── fuzzer-dirs.test │ │ │ │ │ │ ├── fuzzer-fdmask.test │ │ │ │ │ │ ├── fuzzer-finalstats.test │ │ │ │ │ │ ├── fuzzer-flags.test │ │ │ │ │ │ ├── fuzzer-jobs.test │ │ │ │ │ │ ├── fuzzer-leak.test │ │ │ │ │ │ ├── fuzzer-oom-with-profile.test │ │ │ │ │ │ ├── fuzzer-oom.test │ │ │ │ │ │ ├── fuzzer-printcovpcs.test │ │ │ │ │ │ ├── fuzzer-runs.test │ │ │ │ │ │ ├── fuzzer-seed.test │ │ │ │ │ │ ├── fuzzer-segv.test │ │ │ │ │ │ ├── fuzzer-singleinputs.test │ │ │ │ │ │ ├── fuzzer-threaded.test │ │ │ │ │ │ ├── fuzzer-timeout.test │ │ │ │ │ │ ├── fuzzer-traces-hooks.test │ │ │ │ │ │ ├── fuzzer-ubsan.test │ │ │ │ │ │ ├── fuzzer.test │ │ │ │ │ │ ├── hi.txt │ │ │ │ │ │ ├── lit.cfg │ │ │ │ │ │ ├── lit.site.cfg.in │ │ │ │ │ │ ├── merge.test │ │ │ │ │ │ ├── minimize_crash.test │ │ │ │ │ │ ├── no-coverage │ │ │ │ │ │ └── CMakeLists.txt │ │ │ │ │ │ ├── repeated-bytes.test │ │ │ │ │ │ ├── shrink.test │ │ │ │ │ │ ├── simple-cmp.test │ │ │ │ │ │ ├── standalone.test │ │ │ │ │ │ ├── swap-cmp.test │ │ │ │ │ │ ├── trace-malloc.test │ │ │ │ │ │ ├── ubsan │ │ │ │ │ │ └── CMakeLists.txt │ │ │ │ │ │ ├── ulimit.test │ │ │ │ │ │ ├── uninstrumented │ │ │ │ │ │ └── CMakeLists.txt │ │ │ │ │ │ ├── unit │ │ │ │ │ │ ├── lit.cfg │ │ │ │ │ │ └── lit.site.cfg.in │ │ │ │ │ │ ├── value-profile-cmp.test │ │ │ │ │ │ ├── value-profile-cmp2.test │ │ │ │ │ │ ├── value-profile-cmp3.test │ │ │ │ │ │ ├── value-profile-cmp4.test │ │ │ │ │ │ ├── value-profile-div.test │ │ │ │ │ │ ├── value-profile-load.test │ │ │ │ │ │ ├── value-profile-mem.test │ │ │ │ │ │ ├── value-profile-set.test │ │ │ │ │ │ ├── value-profile-strcmp.test │ │ │ │ │ │ ├── value-profile-strncmp.test │ │ │ │ │ │ └── value-profile-switch.test │ │ │ │ │ ├── doctest │ │ │ │ │ ├── doctest.h │ │ │ │ │ └── doctest_compatibility.h │ │ │ │ │ ├── fifo_map │ │ │ │ │ └── fifo_map.hpp │ │ │ │ │ └── imapdl │ │ │ │ │ └── filterbr.py │ │ │ ├── tools │ │ │ │ ├── amalgamate │ │ │ │ │ ├── CHANGES.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── amalgamate.py │ │ │ │ │ ├── config_json.json │ │ │ │ │ └── config_json_fwd.json │ │ │ │ ├── cpplint │ │ │ │ │ ├── README.rst │ │ │ │ │ ├── cpplint.py │ │ │ │ │ └── update.sh │ │ │ │ ├── gdb_pretty_printer │ │ │ │ │ ├── README.md │ │ │ │ │ └── nlohmann-json.py │ │ │ │ ├── generate_natvis │ │ │ │ │ ├── README.md │ │ │ │ │ ├── generate_natvis.py │ │ │ │ │ └── nlohmann_json.natvis.j2 │ │ │ │ ├── macro_builder │ │ │ │ │ └── main.cpp │ │ │ │ └── serve_header │ │ │ │ │ ├── README.md │ │ │ │ │ ├── demo.png │ │ │ │ │ ├── requirements.txt │ │ │ │ │ ├── serve_header.py │ │ │ │ │ └── serve_header.yml.example │ │ │ └── wsjcpp.yml │ │ │ ├── raw_pdb │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── build │ │ │ │ ├── Examples.vcxproj │ │ │ │ ├── Examples.vcxproj.filters │ │ │ │ ├── RawPDB.sln │ │ │ │ ├── RawPDB.vcxproj │ │ │ │ └── RawPDB.vcxproj.filters │ │ │ └── src │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Examples │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── ExampleContributions.cpp │ │ │ │ ├── ExampleFunctionSymbols.cpp │ │ │ │ ├── ExampleLines.cpp │ │ │ │ ├── ExampleMain.cpp │ │ │ │ ├── ExampleMemoryMappedFile.cpp │ │ │ │ ├── ExampleMemoryMappedFile.h │ │ │ │ ├── ExampleSymbols.cpp │ │ │ │ ├── ExampleTimedScope.cpp │ │ │ │ ├── ExampleTimedScope.h │ │ │ │ ├── ExampleTypes.cpp │ │ │ │ ├── Examples_PCH.cpp │ │ │ │ └── Examples_PCH.h │ │ │ │ ├── Foundation │ │ │ │ ├── PDB_ArrayView.h │ │ │ │ ├── PDB_Assert.h │ │ │ │ ├── PDB_BitOperators.h │ │ │ │ ├── PDB_BitUtil.h │ │ │ │ ├── PDB_DisableWarningsPop.h │ │ │ │ ├── PDB_DisableWarningsPush.h │ │ │ │ ├── PDB_Forward.h │ │ │ │ ├── PDB_Log.h │ │ │ │ ├── PDB_Macros.h │ │ │ │ ├── PDB_Memory.h │ │ │ │ ├── PDB_Move.h │ │ │ │ ├── PDB_Platform.h │ │ │ │ ├── PDB_PointerUtil.h │ │ │ │ └── PDB_Warnings.h │ │ │ │ ├── PDB.cpp │ │ │ │ ├── PDB.h │ │ │ │ ├── PDB_CoalescedMSFStream.cpp │ │ │ │ ├── PDB_CoalescedMSFStream.h │ │ │ │ ├── PDB_DBIStream.cpp │ │ │ │ ├── PDB_DBIStream.h │ │ │ │ ├── PDB_DBITypes.cpp │ │ │ │ ├── PDB_DBITypes.h │ │ │ │ ├── PDB_DirectMSFStream.cpp │ │ │ │ ├── PDB_DirectMSFStream.h │ │ │ │ ├── PDB_ErrorCodes.h │ │ │ │ ├── PDB_GlobalSymbolStream.cpp │ │ │ │ ├── PDB_GlobalSymbolStream.h │ │ │ │ ├── PDB_IPIStream.cpp │ │ │ │ ├── PDB_IPIStream.h │ │ │ │ ├── PDB_IPITypes.h │ │ │ │ ├── PDB_ImageSectionStream.cpp │ │ │ │ ├── PDB_ImageSectionStream.h │ │ │ │ ├── PDB_InfoStream.cpp │ │ │ │ ├── PDB_InfoStream.h │ │ │ │ ├── PDB_ModuleInfoStream.cpp │ │ │ │ ├── PDB_ModuleInfoStream.h │ │ │ │ ├── PDB_ModuleLineStream.cpp │ │ │ │ ├── PDB_ModuleLineStream.h │ │ │ │ ├── PDB_ModuleSymbolStream.cpp │ │ │ │ ├── PDB_ModuleSymbolStream.h │ │ │ │ ├── PDB_NamesStream.cpp │ │ │ │ ├── PDB_NamesStream.h │ │ │ │ ├── PDB_PCH.cpp │ │ │ │ ├── PDB_PCH.h │ │ │ │ ├── PDB_PublicSymbolStream.cpp │ │ │ │ ├── PDB_PublicSymbolStream.h │ │ │ │ ├── PDB_RawFile.cpp │ │ │ │ ├── PDB_RawFile.h │ │ │ │ ├── PDB_SectionContributionStream.cpp │ │ │ │ ├── PDB_SectionContributionStream.h │ │ │ │ ├── PDB_SourceFileStream.cpp │ │ │ │ ├── PDB_SourceFileStream.h │ │ │ │ ├── PDB_TPIStream.cpp │ │ │ │ ├── PDB_TPIStream.h │ │ │ │ ├── PDB_TPITypes.h │ │ │ │ ├── PDB_Types.cpp │ │ │ │ ├── PDB_Types.h │ │ │ │ └── PDB_Util.h │ │ │ └── spdlog │ │ │ ├── .clang-format │ │ │ ├── .clang-tidy │ │ │ ├── .gitattributes │ │ │ ├── .github │ │ │ └── workflows │ │ │ │ └── ci.yml │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── INSTALL │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── appveyor.yml │ │ │ ├── bench │ │ │ ├── CMakeLists.txt │ │ │ ├── async_bench.cpp │ │ │ ├── bench.cpp │ │ │ ├── formatter-bench.cpp │ │ │ ├── latency.cpp │ │ │ └── utils.h │ │ │ ├── cmake │ │ │ ├── ide.cmake │ │ │ ├── pch.h.in │ │ │ ├── spdlog.pc.in │ │ │ ├── spdlogCPack.cmake │ │ │ ├── spdlogConfig.cmake.in │ │ │ ├── utils.cmake │ │ │ └── version.rc.in │ │ │ ├── example │ │ │ ├── CMakeLists.txt │ │ │ └── example.cpp │ │ │ ├── include │ │ │ └── spdlog │ │ │ │ ├── async.h │ │ │ │ ├── async_logger-inl.h │ │ │ │ ├── async_logger.h │ │ │ │ ├── cfg │ │ │ │ ├── argv.h │ │ │ │ ├── env.h │ │ │ │ ├── helpers-inl.h │ │ │ │ └── helpers.h │ │ │ │ ├── common-inl.h │ │ │ │ ├── common.h │ │ │ │ ├── details │ │ │ │ ├── backtracer-inl.h │ │ │ │ ├── backtracer.h │ │ │ │ ├── circular_q.h │ │ │ │ ├── console_globals.h │ │ │ │ ├── file_helper-inl.h │ │ │ │ ├── file_helper.h │ │ │ │ ├── fmt_helper.h │ │ │ │ ├── log_msg-inl.h │ │ │ │ ├── log_msg.h │ │ │ │ ├── log_msg_buffer-inl.h │ │ │ │ ├── log_msg_buffer.h │ │ │ │ ├── mpmc_blocking_q.h │ │ │ │ ├── null_mutex.h │ │ │ │ ├── os-inl.h │ │ │ │ ├── os.h │ │ │ │ ├── periodic_worker-inl.h │ │ │ │ ├── periodic_worker.h │ │ │ │ ├── registry-inl.h │ │ │ │ ├── registry.h │ │ │ │ ├── synchronous_factory.h │ │ │ │ ├── tcp_client-windows.h │ │ │ │ ├── tcp_client.h │ │ │ │ ├── thread_pool-inl.h │ │ │ │ ├── thread_pool.h │ │ │ │ ├── udp_client-windows.h │ │ │ │ ├── udp_client.h │ │ │ │ └── windows_include.h │ │ │ │ ├── fmt │ │ │ │ ├── bin_to_hex.h │ │ │ │ ├── bundled │ │ │ │ │ ├── args.h │ │ │ │ │ ├── chrono.h │ │ │ │ │ ├── color.h │ │ │ │ │ ├── compile.h │ │ │ │ │ ├── core.h │ │ │ │ │ ├── fmt.license.rst │ │ │ │ │ ├── format-inl.h │ │ │ │ │ ├── format.h │ │ │ │ │ ├── locale.h │ │ │ │ │ ├── os.h │ │ │ │ │ ├── ostream.h │ │ │ │ │ ├── printf.h │ │ │ │ │ ├── ranges.h │ │ │ │ │ ├── std.h │ │ │ │ │ └── xchar.h │ │ │ │ ├── chrono.h │ │ │ │ ├── compile.h │ │ │ │ ├── fmt.h │ │ │ │ ├── ostr.h │ │ │ │ ├── ranges.h │ │ │ │ ├── std.h │ │ │ │ └── xchar.h │ │ │ │ ├── formatter.h │ │ │ │ ├── fwd.h │ │ │ │ ├── logger-inl.h │ │ │ │ ├── logger.h │ │ │ │ ├── pattern_formatter-inl.h │ │ │ │ ├── pattern_formatter.h │ │ │ │ ├── sinks │ │ │ │ ├── android_sink.h │ │ │ │ ├── ansicolor_sink-inl.h │ │ │ │ ├── ansicolor_sink.h │ │ │ │ ├── base_sink-inl.h │ │ │ │ ├── base_sink.h │ │ │ │ ├── basic_file_sink-inl.h │ │ │ │ ├── basic_file_sink.h │ │ │ │ ├── callback_sink.h │ │ │ │ ├── daily_file_sink.h │ │ │ │ ├── dist_sink.h │ │ │ │ ├── dup_filter_sink.h │ │ │ │ ├── hourly_file_sink.h │ │ │ │ ├── mongo_sink.h │ │ │ │ ├── msvc_sink.h │ │ │ │ ├── null_sink.h │ │ │ │ ├── ostream_sink.h │ │ │ │ ├── qt_sinks.h │ │ │ │ ├── ringbuffer_sink.h │ │ │ │ ├── rotating_file_sink-inl.h │ │ │ │ ├── rotating_file_sink.h │ │ │ │ ├── sink-inl.h │ │ │ │ ├── sink.h │ │ │ │ ├── stdout_color_sinks-inl.h │ │ │ │ ├── stdout_color_sinks.h │ │ │ │ ├── stdout_sinks-inl.h │ │ │ │ ├── stdout_sinks.h │ │ │ │ ├── syslog_sink.h │ │ │ │ ├── systemd_sink.h │ │ │ │ ├── tcp_sink.h │ │ │ │ ├── udp_sink.h │ │ │ │ ├── win_eventlog_sink.h │ │ │ │ ├── wincolor_sink-inl.h │ │ │ │ └── wincolor_sink.h │ │ │ │ ├── spdlog-inl.h │ │ │ │ ├── spdlog.h │ │ │ │ ├── stopwatch.h │ │ │ │ ├── tweakme.h │ │ │ │ └── version.h │ │ │ ├── logos │ │ │ └── jetbrains-variant-4.svg │ │ │ ├── scripts │ │ │ ├── ci_setup_clang.sh │ │ │ ├── extract_version.py │ │ │ └── format.sh │ │ │ ├── src │ │ │ ├── async.cpp │ │ │ ├── bundled_fmtlib_format.cpp │ │ │ ├── cfg.cpp │ │ │ ├── color_sinks.cpp │ │ │ ├── file_sinks.cpp │ │ │ ├── spdlog.cpp │ │ │ └── stdout_sinks.cpp │ │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── catch.hpp │ │ │ ├── catch.license │ │ │ ├── includes.h │ │ │ ├── main.cpp │ │ │ ├── test_async.cpp │ │ │ ├── test_backtrace.cpp │ │ │ ├── test_cfg.cpp │ │ │ ├── test_create_dir.cpp │ │ │ ├── test_custom_callbacks.cpp │ │ │ ├── test_daily_logger.cpp │ │ │ ├── test_dup_filter.cpp │ │ │ ├── test_errors.cpp │ │ │ ├── test_eventlog.cpp │ │ │ ├── test_file_helper.cpp │ │ │ ├── test_file_logging.cpp │ │ │ ├── test_fmt_helper.cpp │ │ │ ├── test_macros.cpp │ │ │ ├── test_misc.cpp │ │ │ ├── test_mpmc_q.cpp │ │ │ ├── test_pattern_formatter.cpp │ │ │ ├── test_registry.cpp │ │ │ ├── test_sink.h │ │ │ ├── test_stdout_api.cpp │ │ │ ├── test_stopwatch.cpp │ │ │ ├── test_systemd.cpp │ │ │ ├── test_time_point.cpp │ │ │ ├── utils.cpp │ │ │ └── utils.h │ ├── libblacksun-protocol │ │ ├── CMakeLists.txt │ │ ├── include │ │ │ ├── protocol-backend.h │ │ │ ├── protocol-frontend.h │ │ │ ├── protocol-rend.h │ │ │ ├── protocol-universal-input.h │ │ │ ├── protocol-universal-rend.h │ │ │ └── protocol-universal-shm.h │ │ └── src │ │ │ ├── AsyncRenderTask.h │ │ │ ├── protocol-frontend.cpp │ │ │ ├── protocol-rend.cpp │ │ │ └── protocol-universal-shm.cpp │ └── libblacksun-util │ │ ├── CMakeLists.txt │ │ └── include │ │ ├── forceinline.h │ │ ├── oldnames.h │ │ ├── oldnames_inline.h │ │ ├── print-conrtol.h │ │ ├── util.h │ │ └── xorstr.hpp └── moonlight-mydrawer │ ├── CMakeLists.txt │ ├── gui.cpp │ ├── gui.h │ ├── imgui │ ├── CMakeLists.txt │ ├── include │ │ ├── imconfig.h │ │ ├── imgui.h │ │ ├── imgui_impl_opengl3.h │ │ ├── imgui_impl_sdl2.h │ │ └── imgui_impl_sdlrenderer.h │ └── src │ │ ├── imgui.cpp │ │ ├── imgui_demo.cpp │ │ ├── imgui_draw.cpp │ │ ├── imgui_impl_opengl3.cpp │ │ ├── imgui_impl_opengl3_loader.h │ │ ├── imgui_impl_sdl2.cpp │ │ ├── imgui_impl_sdlrenderer.cpp │ │ ├── imgui_internal.h │ │ ├── imgui_tables.cpp │ │ ├── imgui_widgets.cpp │ │ ├── imstb_rectpack.h │ │ ├── imstb_textedit.h │ │ └── imstb_truetype.h │ ├── main.cpp │ └── vdpau │ └── include │ ├── vdpau.h │ └── vdpau_x11.h ├── gpu-passthrough ├── gpu_passthrough.sh └── vfio-pci-override-vga.sh ├── moonlight └── moonlight-qt │ ├── AntiHooking │ ├── AntiHooking.pro │ ├── antihookingprotection.cpp │ └── antihookingprotection.h │ ├── LICENSE │ ├── README.md │ ├── app │ ├── Info.plist │ ├── ModeSeven.ttf │ ├── Moonlight.exe.manifest │ ├── SDL_GameControllerDB │ │ ├── .github │ │ │ └── workflows │ │ │ │ └── check.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── duplicates.py │ │ ├── gamecontrollerdb.txt │ │ └── mapping_guide.png │ ├── app.pro │ ├── backend │ │ ├── autoupdatechecker.cpp │ │ ├── autoupdatechecker.h │ │ ├── boxartmanager.cpp │ │ ├── boxartmanager.h │ │ ├── computermanager.cpp │ │ ├── computermanager.h │ │ ├── computerseeker.cpp │ │ ├── computerseeker.h │ │ ├── identitymanager.cpp │ │ ├── identitymanager.h │ │ ├── nvaddress.cpp │ │ ├── nvaddress.h │ │ ├── nvapp.cpp │ │ ├── nvapp.h │ │ ├── nvcomputer.cpp │ │ ├── nvcomputer.h │ │ ├── nvhttp.cpp │ │ ├── nvhttp.h │ │ ├── nvpairingmanager.cpp │ │ ├── nvpairingmanager.h │ │ ├── richpresencemanager.cpp │ │ ├── richpresencemanager.h │ │ ├── systemproperties.cpp │ │ └── systemproperties.h │ ├── cli │ │ ├── commandlineparser.cpp │ │ ├── commandlineparser.h │ │ ├── listapps.cpp │ │ ├── listapps.h │ │ ├── pair.cpp │ │ ├── pair.h │ │ ├── quitstream.cpp │ │ ├── quitstream.h │ │ ├── startstream.cpp │ │ └── startstream.h │ ├── deploy │ │ ├── linux │ │ │ ├── com.moonlight_stream.Moonlight.appdata.xml │ │ │ └── com.moonlight_stream.Moonlight.desktop │ │ └── steamlink │ │ │ ├── moonlight.png │ │ │ ├── moonlight.sh │ │ │ └── toc.txt │ ├── gui │ │ ├── AppView.qml │ │ ├── AutoResizingComboBox.qml │ │ ├── CenteredGridView.qml │ │ ├── CliPair.qml │ │ ├── CliQuitStreamSegue.qml │ │ ├── CliStartStreamSegue.qml │ │ ├── ErrorMessageDialog.qml │ │ ├── GamepadMapper.qml │ │ ├── NavigableDialog.qml │ │ ├── NavigableItemDelegate.qml │ │ ├── NavigableMenu.qml │ │ ├── NavigableMenuItem.qml │ │ ├── NavigableMessageDialog.qml │ │ ├── NavigableToolButton.qml │ │ ├── PcView.qml │ │ ├── QuitSegue.qml │ │ ├── SettingsView.qml │ │ ├── StreamSegue.qml │ │ ├── appmodel.cpp │ │ ├── appmodel.h │ │ ├── computermodel.cpp │ │ ├── computermodel.h │ │ ├── main.qml │ │ ├── sdlgamepadkeynavigation.cpp │ │ └── sdlgamepadkeynavigation.h │ ├── imgui │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .github │ │ │ ├── FUNDING.yml │ │ │ ├── issue_template.md │ │ │ ├── pull_request_template.md │ │ │ └── workflows │ │ │ │ ├── build.yml │ │ │ │ ├── scheduled.yml │ │ │ │ └── static-analysis.yml │ │ ├── .gitignore │ │ ├── LICENSE.txt │ │ ├── backends │ │ │ ├── imgui_impl_allegro5.cpp │ │ │ ├── imgui_impl_allegro5.h │ │ │ ├── imgui_impl_android.cpp │ │ │ ├── imgui_impl_android.h │ │ │ ├── imgui_impl_dx10.cpp │ │ │ ├── imgui_impl_dx10.h │ │ │ ├── imgui_impl_dx11.cpp │ │ │ ├── imgui_impl_dx11.h │ │ │ ├── imgui_impl_dx12.cpp │ │ │ ├── imgui_impl_dx12.h │ │ │ ├── imgui_impl_dx9.cpp │ │ │ ├── imgui_impl_dx9.h │ │ │ ├── imgui_impl_glfw.cpp │ │ │ ├── imgui_impl_glfw.h │ │ │ ├── imgui_impl_glut.cpp │ │ │ ├── imgui_impl_glut.h │ │ │ ├── imgui_impl_metal.h │ │ │ ├── imgui_impl_metal.mm │ │ │ ├── imgui_impl_opengl2.cpp │ │ │ ├── imgui_impl_opengl2.h │ │ │ ├── imgui_impl_opengl3.cpp │ │ │ ├── imgui_impl_opengl3.h │ │ │ ├── imgui_impl_opengl3_loader.h │ │ │ ├── imgui_impl_osx.h │ │ │ ├── imgui_impl_osx.mm │ │ │ ├── imgui_impl_sdl2.cpp │ │ │ ├── imgui_impl_sdl2.h │ │ │ ├── imgui_impl_sdl3.cpp │ │ │ ├── imgui_impl_sdl3.h │ │ │ ├── imgui_impl_sdlrenderer.cpp │ │ │ ├── imgui_impl_sdlrenderer.h │ │ │ ├── imgui_impl_vulkan.cpp │ │ │ ├── imgui_impl_vulkan.h │ │ │ ├── imgui_impl_wgpu.cpp │ │ │ ├── imgui_impl_wgpu.h │ │ │ ├── imgui_impl_win32.cpp │ │ │ ├── imgui_impl_win32.h │ │ │ └── vulkan │ │ │ │ ├── generate_spv.sh │ │ │ │ ├── glsl_shader.frag │ │ │ │ └── glsl_shader.vert │ │ ├── docs │ │ │ ├── BACKENDS.md │ │ │ ├── CHANGELOG.txt │ │ │ ├── CONTRIBUTING.md │ │ │ ├── EXAMPLES.md │ │ │ ├── FAQ.md │ │ │ ├── FONTS.md │ │ │ ├── README.md │ │ │ └── TODO.txt │ │ ├── examples │ │ │ ├── README.txt │ │ │ ├── example_allegro5 │ │ │ │ ├── README.md │ │ │ │ ├── example_allegro5.vcxproj │ │ │ │ ├── example_allegro5.vcxproj.filters │ │ │ │ ├── imconfig_allegro5.h │ │ │ │ └── main.cpp │ │ │ ├── example_android_opengl3 │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── android │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── app │ │ │ │ │ │ ├── build.gradle │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── main │ │ │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ │ │ └── java │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ ├── build.gradle │ │ │ │ │ └── settings.gradle │ │ │ │ └── main.cpp │ │ │ ├── example_apple_metal │ │ │ │ ├── README.md │ │ │ │ ├── example_apple_metal.xcodeproj │ │ │ │ │ └── project.pbxproj │ │ │ │ ├── iOS │ │ │ │ │ ├── Info-iOS.plist │ │ │ │ │ └── LaunchScreen.storyboard │ │ │ │ ├── macOS │ │ │ │ │ ├── Info-macOS.plist │ │ │ │ │ └── MainMenu.storyboard │ │ │ │ └── main.mm │ │ │ ├── example_apple_opengl2 │ │ │ │ ├── example_apple_opengl2.xcodeproj │ │ │ │ │ └── project.pbxproj │ │ │ │ └── main.mm │ │ │ ├── example_emscripten_wgpu │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ └── main.cpp │ │ │ ├── example_glfw_metal │ │ │ │ ├── Makefile │ │ │ │ └── main.mm │ │ │ ├── example_glfw_opengl2 │ │ │ │ ├── Makefile │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_glfw_opengl2.vcxproj │ │ │ │ ├── example_glfw_opengl2.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_glfw_opengl3 │ │ │ │ ├── Makefile │ │ │ │ ├── Makefile.emscripten │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_glfw_opengl3.vcxproj │ │ │ │ ├── example_glfw_opengl3.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_glfw_vulkan │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── build_win32.bat │ │ │ │ ├── build_win64.bat │ │ │ │ ├── example_glfw_vulkan.vcxproj │ │ │ │ ├── example_glfw_vulkan.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_glut_opengl2 │ │ │ │ ├── Makefile │ │ │ │ ├── example_glut_opengl2.vcxproj │ │ │ │ ├── example_glut_opengl2.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_null │ │ │ │ ├── Makefile │ │ │ │ ├── build_win32.bat │ │ │ │ └── main.cpp │ │ │ ├── example_sdl2_directx11 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl2_directx11.vcxproj │ │ │ │ ├── example_sdl2_directx11.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl2_metal │ │ │ │ ├── Makefile │ │ │ │ └── main.mm │ │ │ ├── example_sdl2_opengl2 │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl2_opengl2.vcxproj │ │ │ │ ├── example_sdl2_opengl2.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl2_opengl3 │ │ │ │ ├── Makefile │ │ │ │ ├── Makefile.emscripten │ │ │ │ ├── README.md │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl2_opengl3.vcxproj │ │ │ │ ├── example_sdl2_opengl3.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl2_sdlrenderer │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl2_sdlrenderer.vcxproj │ │ │ │ ├── example_sdl2_sdlrenderer.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl2_vulkan │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl2_vulkan.vcxproj │ │ │ │ ├── example_sdl2_vulkan.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_sdl3_opengl3 │ │ │ │ ├── Makefile │ │ │ │ ├── Makefile.emscripten │ │ │ │ ├── README.md │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_sdl3_opengl3.vcxproj │ │ │ │ ├── example_sdl3_opengl3.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx10 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx10.vcxproj │ │ │ │ ├── example_win32_directx10.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx11 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx11.vcxproj │ │ │ │ ├── example_win32_directx11.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx12 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx12.vcxproj │ │ │ │ ├── example_win32_directx12.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── example_win32_directx9 │ │ │ │ ├── build_win32.bat │ │ │ │ ├── example_win32_directx9.vcxproj │ │ │ │ ├── example_win32_directx9.vcxproj.filters │ │ │ │ └── main.cpp │ │ │ ├── imgui_examples.sln │ │ │ └── libs │ │ │ │ ├── emscripten │ │ │ │ ├── emscripten_mainloop_stub.h │ │ │ │ └── shell_minimal.html │ │ │ │ ├── glfw │ │ │ │ ├── COPYING.txt │ │ │ │ ├── include │ │ │ │ │ └── GLFW │ │ │ │ │ │ ├── glfw3.h │ │ │ │ │ │ └── glfw3native.h │ │ │ │ ├── lib-vc2010-32 │ │ │ │ │ └── glfw3.lib │ │ │ │ └── lib-vc2010-64 │ │ │ │ │ └── glfw3.lib │ │ │ │ └── usynergy │ │ │ │ ├── README.txt │ │ │ │ ├── uSynergy.c │ │ │ │ └── uSynergy.h │ │ ├── imconfig.h │ │ ├── imgui.cpp │ │ ├── imgui.h │ │ ├── imgui_demo.cpp │ │ ├── imgui_draw.cpp │ │ ├── imgui_internal.h │ │ ├── imgui_tables.cpp │ │ ├── imgui_widgets.cpp │ │ ├── imstb_rectpack.h │ │ ├── imstb_textedit.h │ │ ├── imstb_truetype.h │ │ └── misc │ │ │ ├── README.txt │ │ │ ├── cpp │ │ │ ├── README.txt │ │ │ ├── imgui_stdlib.cpp │ │ │ └── imgui_stdlib.h │ │ │ ├── debuggers │ │ │ ├── README.txt │ │ │ ├── imgui.gdb │ │ │ ├── imgui.natstepfilter │ │ │ └── imgui.natvis │ │ │ ├── fonts │ │ │ ├── Cousine-Regular.ttf │ │ │ ├── DroidSans.ttf │ │ │ ├── Karla-Regular.ttf │ │ │ ├── ProggyClean.ttf │ │ │ ├── ProggyTiny.ttf │ │ │ ├── Roboto-Medium.ttf │ │ │ └── binary_to_compressed_c.cpp │ │ │ ├── freetype │ │ │ ├── README.md │ │ │ ├── imgui_freetype.cpp │ │ │ └── imgui_freetype.h │ │ │ └── single_file │ │ │ └── imgui_single_file.h │ ├── languages │ │ ├── qml_cs.qm │ │ ├── qml_cs.ts │ │ ├── qml_de.qm │ │ ├── qml_de.ts │ │ ├── qml_el.qm │ │ ├── qml_el.ts │ │ ├── qml_es.qm │ │ ├── qml_es.ts │ │ ├── qml_fr.qm │ │ ├── qml_fr.ts │ │ ├── qml_hi.qm │ │ ├── qml_hi.ts │ │ ├── qml_hu.qm │ │ ├── qml_hu.ts │ │ ├── qml_it.qm │ │ ├── qml_it.ts │ │ ├── qml_ja.qm │ │ ├── qml_ja.ts │ │ ├── qml_ko.qm │ │ ├── qml_ko.ts │ │ ├── qml_nb_NO.qm │ │ ├── qml_nb_NO.ts │ │ ├── qml_nl.qm │ │ ├── qml_nl.ts │ │ ├── qml_pl.qm │ │ ├── qml_pl.ts │ │ ├── qml_pt.qm │ │ ├── qml_pt.ts │ │ ├── qml_pt_BR.qm │ │ ├── qml_pt_BR.ts │ │ ├── qml_ru.qm │ │ ├── qml_ru.ts │ │ ├── qml_sv.qm │ │ ├── qml_sv.ts │ │ ├── qml_th.qm │ │ ├── qml_th.ts │ │ ├── qml_tr.qm │ │ ├── qml_tr.ts │ │ ├── qml_uk.qm │ │ ├── qml_uk.ts │ │ ├── qml_vi.qm │ │ ├── qml_vi.ts │ │ ├── qml_zh_CN.qm │ │ ├── qml_zh_CN.ts │ │ ├── qml_zh_TW.qm │ │ └── qml_zh_TW.ts │ ├── main.cpp │ ├── masterhook.c │ ├── masterhook_internal.c │ ├── moonlight.icns │ ├── moonlight.ico │ ├── moonlight_wix.png │ ├── mygui.cpp │ ├── mygui.h │ ├── path.cpp │ ├── path.h │ ├── qml.qrc │ ├── qt.conf │ ├── res │ │ ├── Discord-Logo-White.svg │ │ ├── arrow_left.svg │ │ ├── baseline-cancel-24px.svg │ │ ├── baseline-check_circle_outline-24px.svg │ │ ├── baseline-error_outline-24px.svg │ │ ├── baseline-help_outline-24px.svg │ │ ├── baseline-lock-24px.svg │ │ ├── baseline-play_circle_filled_white-48px.svg │ │ ├── baseline-warning-24px.svg │ │ ├── desktop_windows-48px.svg │ │ ├── ic_add_to_queue_white_48px.svg │ │ ├── ic_videogame_asset_white_48px.svg │ │ ├── moonlight.svg │ │ ├── no_app_image.png │ │ ├── question_mark.svg │ │ ├── settings.svg │ │ └── update.svg │ ├── resources.qrc │ ├── settings │ │ ├── compatfetcher.cpp │ │ ├── compatfetcher.h │ │ ├── mappingfetcher.cpp │ │ ├── mappingfetcher.h │ │ ├── mappingmanager.cpp │ │ ├── mappingmanager.h │ │ ├── streamingpreferences.cpp │ │ └── streamingpreferences.h │ ├── shaders │ │ ├── build_hlsl.bat │ │ ├── d3d11_bt2020lim_pixel.fxc │ │ ├── d3d11_bt2020lim_pixel.hlsl │ │ ├── d3d11_bt601lim_pixel.fxc │ │ ├── d3d11_bt601lim_pixel.hlsl │ │ ├── d3d11_genyuv_pixel.fxc │ │ ├── d3d11_genyuv_pixel.hlsl │ │ ├── d3d11_overlay_pixel.fxc │ │ ├── d3d11_overlay_pixel.hlsl │ │ ├── d3d11_vertex.fxc │ │ ├── d3d11_vertex.hlsl │ │ ├── d3d11_video_pixel_end.hlsli │ │ ├── d3d11_video_pixel_start.hlsli │ │ ├── egl_nv12.frag │ │ ├── egl_nv12.vert │ │ ├── egl_opaque.frag │ │ ├── egl_opaque.vert │ │ ├── egl_overlay.frag │ │ └── egl_overlay.vert │ ├── streaming │ │ ├── audio │ │ │ ├── audio.cpp │ │ │ └── renderers │ │ │ │ ├── renderer.h │ │ │ │ ├── sdl.h │ │ │ │ ├── sdlaud.cpp │ │ │ │ ├── slaud.cpp │ │ │ │ ├── slaud.h │ │ │ │ ├── soundioaudiorenderer.cpp │ │ │ │ └── soundioaudiorenderer.h │ │ ├── input │ │ │ ├── abstouch.cpp │ │ │ ├── gamepad.cpp │ │ │ ├── input.cpp │ │ │ ├── input.h │ │ │ ├── keyboard.cpp │ │ │ ├── mouse.cpp │ │ │ └── reltouch.cpp │ │ ├── session.cpp │ │ ├── session.h │ │ ├── streamutils.cpp │ │ ├── streamutils.h │ │ └── video │ │ │ ├── decoder.h │ │ │ ├── ffmpeg-renderers │ │ │ ├── cuda.cpp │ │ │ ├── cuda.h │ │ │ ├── d3d11va.cpp │ │ │ ├── d3d11va.h │ │ │ ├── drm.cpp │ │ │ ├── drm.h │ │ │ ├── dxutil.h │ │ │ ├── dxva2.cpp │ │ │ ├── dxva2.h │ │ │ ├── egl_extensions.cpp │ │ │ ├── eglvid.cpp │ │ │ ├── eglvid.h │ │ │ ├── mmal.cpp │ │ │ ├── mmal.h │ │ │ ├── mysdl.cpp │ │ │ ├── mysdl.h │ │ │ ├── pacer │ │ │ │ ├── dxvsyncsource.cpp │ │ │ │ ├── dxvsyncsource.h │ │ │ │ ├── pacer.cpp │ │ │ │ ├── pacer.h │ │ │ │ ├── waylandvsyncsource.cpp │ │ │ │ └── waylandvsyncsource.h │ │ │ ├── renderer.h │ │ │ ├── sdlvid.cpp │ │ │ ├── sdlvid.h │ │ │ ├── vaapi.cpp │ │ │ ├── vaapi.h │ │ │ ├── vdpau.cpp │ │ │ ├── vdpau.h │ │ │ ├── vt.h │ │ │ └── vt.mm │ │ │ ├── ffmpeg.cpp │ │ │ ├── ffmpeg.h │ │ │ ├── ffmpeg_videosamples.cpp │ │ │ ├── overlaymanager.cpp │ │ │ ├── overlaymanager.h │ │ │ ├── slvid.cpp │ │ │ └── slvid.h │ ├── utils.h │ ├── version.txt │ └── wm.cpp │ ├── appveyor.yml │ ├── config.log │ ├── config.tests │ ├── EGL │ │ ├── EGL.pro │ │ └── main.cpp │ └── SL │ │ ├── SL.pro │ │ └── main.cpp │ ├── globaldefs.pri │ ├── h264bitstream │ ├── h264bitstream.pro │ └── h264bitstream │ │ ├── .gitignore │ │ ├── CHANGES │ │ ├── Doxyfile │ │ ├── LICENSE │ │ ├── MANIFEST │ │ ├── Makefile.am │ │ ├── Makefile.unix │ │ ├── README.md │ │ ├── TODO │ │ ├── bs.h │ │ ├── circle.yml │ │ ├── configure.ac │ │ ├── h264_analyze.c │ │ ├── h264_avcc.c │ │ ├── h264_avcc.h │ │ ├── h264_nal.c │ │ ├── h264_sei.c │ │ ├── h264_sei.h │ │ ├── h264_sei.in.c │ │ ├── h264_slice_data.c │ │ ├── h264_slice_data.h │ │ ├── h264_slice_data.in.c │ │ ├── h264_stream.c │ │ ├── h264_stream.h │ │ ├── h264_stream.in.c │ │ ├── m4 │ │ ├── ax_check_debug.m4 │ │ ├── ax_create_pkgconfig_info.m4 │ │ └── ax_func_getopt_long.m4 │ │ ├── macroize.pl │ │ ├── process.pl │ │ ├── samples │ │ ├── HOWTO.md │ │ ├── JM_cqm_cabac.264 │ │ ├── JM_cqm_cabac.out │ │ ├── riverbed-II-360p-48961.264 │ │ ├── riverbed-II-360p-48961.out │ │ ├── x264_test.264 │ │ └── x264_test.out │ │ └── svc_split.c │ ├── moonlight-common-c │ ├── moonlight-common-c.pro │ └── moonlight-common-c │ │ ├── .gitignore │ │ ├── .gitmodules │ │ ├── CMakeLists.txt │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── appveyor.yml │ │ ├── cmake │ │ └── FindMbedTLS.cmake │ │ ├── enet │ │ ├── CMakeLists.txt │ │ ├── ChangeLog │ │ ├── Doxyfile │ │ ├── DoxygenLayout.xml │ │ ├── LICENSE │ │ ├── Makefile.am │ │ ├── README │ │ ├── callbacks.c │ │ ├── compress.c │ │ ├── configure.ac │ │ ├── docs │ │ │ ├── FAQ.dox │ │ │ ├── design.dox │ │ │ ├── install.dox │ │ │ ├── license.dox │ │ │ ├── mainpage.dox │ │ │ └── tutorial.dox │ │ ├── enet.dsp │ │ ├── enet_dll.cbp │ │ ├── host.c │ │ ├── include │ │ │ └── enet │ │ │ │ ├── callbacks.h │ │ │ │ ├── enet.h │ │ │ │ ├── list.h │ │ │ │ ├── protocol.h │ │ │ │ ├── time.h │ │ │ │ ├── types.h │ │ │ │ ├── unix.h │ │ │ │ ├── utility.h │ │ │ │ └── win32.h │ │ ├── libenet.pc.in │ │ ├── list.c │ │ ├── m4 │ │ │ └── .keep │ │ ├── packet.c │ │ ├── peer.c │ │ ├── premake4.lua │ │ ├── protocol.c │ │ ├── unix.c │ │ └── win32.c │ │ ├── reedsolomon │ │ ├── rs.c │ │ └── rs.h │ │ └── src │ │ ├── AudioStream.c │ │ ├── ByteBuffer.c │ │ ├── ByteBuffer.h │ │ ├── Connection.c │ │ ├── ConnectionTester.c │ │ ├── ControlStream.c │ │ ├── FakeCallbacks.c │ │ ├── Input.h │ │ ├── InputStream.c │ │ ├── Limelight-internal.h │ │ ├── Limelight.h │ │ ├── LinkedBlockingQueue.c │ │ ├── LinkedBlockingQueue.h │ │ ├── Misc.c │ │ ├── Platform.c │ │ ├── Platform.h │ │ ├── PlatformCrypto.c │ │ ├── PlatformCrypto.h │ │ ├── PlatformSockets.c │ │ ├── PlatformSockets.h │ │ ├── PlatformThreads.h │ │ ├── RecorderCallbacks.c │ │ ├── RtpAudioQueue.c │ │ ├── RtpAudioQueue.h │ │ ├── RtpVideoQueue.c │ │ ├── RtpVideoQueue.h │ │ ├── Rtsp.h │ │ ├── RtspConnection.c │ │ ├── RtspParser.c │ │ ├── SdpGenerator.c │ │ ├── SimpleStun.c │ │ ├── Video.h │ │ ├── VideoDepacketizer.c │ │ └── VideoStream.c │ ├── moonlight-qt.pro │ ├── qmdnsengine │ ├── qmdnsengine.pro │ ├── qmdnsengine │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── doc │ │ │ ├── CMakeLists.txt │ │ │ ├── Doxyfile.in │ │ │ ├── index.md │ │ │ └── overrides.css │ │ ├── examples │ │ │ ├── CMakeLists.txt │ │ │ ├── browser │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── browser.cpp │ │ │ │ ├── mainwindow.cpp │ │ │ │ ├── mainwindow.h │ │ │ │ ├── servicemodel.cpp │ │ │ │ └── servicemodel.h │ │ │ └── provider │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── mainwindow.cpp │ │ │ │ ├── mainwindow.h │ │ │ │ └── provider.cpp │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── include │ │ │ │ └── qmdnsengine │ │ │ │ │ ├── abstractserver.h │ │ │ │ │ ├── bitmap.h │ │ │ │ │ ├── browser.h │ │ │ │ │ ├── cache.h │ │ │ │ │ ├── dns.h │ │ │ │ │ ├── hostname.h │ │ │ │ │ ├── mdns.h │ │ │ │ │ ├── message.h │ │ │ │ │ ├── prober.h │ │ │ │ │ ├── provider.h │ │ │ │ │ ├── query.h │ │ │ │ │ ├── record.h │ │ │ │ │ ├── resolver.h │ │ │ │ │ ├── server.h │ │ │ │ │ └── service.h │ │ │ ├── qmdnsengine_export.h.in │ │ │ ├── resource.rc.in │ │ │ └── src │ │ │ │ ├── abstractserver.cpp │ │ │ │ ├── bitmap.cpp │ │ │ │ ├── bitmap_p.h │ │ │ │ ├── browser.cpp │ │ │ │ ├── browser_p.h │ │ │ │ ├── cache.cpp │ │ │ │ ├── cache_p.h │ │ │ │ ├── dns.cpp │ │ │ │ ├── hostname.cpp │ │ │ │ ├── hostname_p.h │ │ │ │ ├── mdns.cpp │ │ │ │ ├── message.cpp │ │ │ │ ├── message_p.h │ │ │ │ ├── prober.cpp │ │ │ │ ├── prober_p.h │ │ │ │ ├── provider.cpp │ │ │ │ ├── provider_p.h │ │ │ │ ├── query.cpp │ │ │ │ ├── query_p.h │ │ │ │ ├── record.cpp │ │ │ │ ├── record_p.h │ │ │ │ ├── resolver.cpp │ │ │ │ ├── resolver_p.h │ │ │ │ ├── server.cpp │ │ │ │ ├── server_p.h │ │ │ │ ├── service.cpp │ │ │ │ └── service_p.h │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── TestBrowser.cpp │ │ │ ├── TestCache.cpp │ │ │ ├── TestDns.cpp │ │ │ ├── TestHostname.cpp │ │ │ ├── TestProber.cpp │ │ │ ├── TestProvider.cpp │ │ │ ├── TestResolver.cpp │ │ │ └── common │ │ │ ├── CMakeLists.txt │ │ │ ├── testserver.cpp │ │ │ ├── testserver.h │ │ │ ├── util.cpp │ │ │ └── util.h │ └── qmdnsengine_export.h │ ├── scripts │ ├── build-appimage.sh │ ├── build-arch.bat │ ├── build-steamlink-app.sh │ ├── clean-libs.sh │ ├── create-qt-pdb-zip.bat │ ├── generate-bundle.bat │ ├── generate-dmg.sh │ ├── generate-ico.sh │ ├── generate-src.sh │ ├── git-archive-all.sh │ ├── jom.exe │ ├── svg2icns │ ├── update-msvcredist.ps1 │ └── vswhere.exe │ ├── soundio │ ├── config.h │ ├── libsoundio │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── CMakeLists.txt │ │ ├── LICENSE │ │ ├── README.md │ │ ├── cmake │ │ │ ├── FindCoreAudio.cmake │ │ │ ├── FindJACK.cmake │ │ │ ├── FindPulseAudio.cmake │ │ │ └── FindWASAPI.cmake │ │ ├── doc │ │ │ ├── FindSoundIo.cmake │ │ │ ├── doxygen.conf.in │ │ │ └── footer.html │ │ ├── example │ │ │ ├── sio_list_devices.c │ │ │ ├── sio_microphone.c │ │ │ ├── sio_record.c │ │ │ └── sio_sine.c │ │ ├── soundio │ │ │ ├── endian.h │ │ │ └── soundio.h │ │ ├── src │ │ │ ├── alsa.c │ │ │ ├── alsa.h │ │ │ ├── atomics.h │ │ │ ├── channel_layout.c │ │ │ ├── config.h.in │ │ │ ├── coreaudio.c │ │ │ ├── coreaudio.h │ │ │ ├── dummy.c │ │ │ ├── dummy.h │ │ │ ├── jack.c │ │ │ ├── jack.h │ │ │ ├── list.h │ │ │ ├── os.c │ │ │ ├── os.h │ │ │ ├── pulseaudio.c │ │ │ ├── pulseaudio.h │ │ │ ├── ring_buffer.c │ │ │ ├── ring_buffer.h │ │ │ ├── soundio.c │ │ │ ├── soundio_internal.h │ │ │ ├── soundio_private.h │ │ │ ├── util.c │ │ │ ├── util.h │ │ │ ├── wasapi.c │ │ │ └── wasapi.h │ │ └── test │ │ │ ├── backend_disconnect_recover.c │ │ │ ├── latency.c │ │ │ ├── overflow.c │ │ │ ├── underflow.c │ │ │ ├── unit_tests.c │ │ │ └── valgrind.supp │ └── soundio.pro │ └── wix │ ├── Moonlight.sln │ ├── Moonlight │ ├── Moonlight.wixproj │ └── Product.wxs │ └── MoonlightSetup │ ├── Bundle.wxs │ ├── MoonlightSetup.wixproj │ ├── RtfTheme.xml │ └── license.rtf ├── screenshots └── 1.PNG └── setup-build-env.sh /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.20) 2 | 3 | project(blacksun-framework C CXX) 4 | 5 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3") 6 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") 7 | 8 | add_subdirectory(framework) 9 | 10 | -------------------------------------------------------------------------------- /framework/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(libblacksun) 2 | add_subdirectory(examples) 3 | add_subdirectory(moonlight-mydrawer) 4 | 5 | -------------------------------------------------------------------------------- /framework/examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(apex) 2 | add_subdirectory(apex-dumper) 3 | -------------------------------------------------------------------------------- /framework/examples/apex-dumper/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(apex-dumper C CXX) 2 | 3 | file(GLOB_RECURSE APEX_DUMPER_SOURCES "apex/*.cpp") 4 | add_executable(${PROJECT_NAME} main.cpp ${APEX_DUMPER_SOURCES}) 5 | 6 | target_compile_options(${PROJECT_NAME} PRIVATE -w) 7 | 8 | set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17) 9 | 10 | target_link_libraries(${PROJECT_NAME} PRIVATE blacksun-dma) 11 | -------------------------------------------------------------------------------- /framework/examples/apex-dumper/apex/Vars.cpp: -------------------------------------------------------------------------------- 1 | #include "Vars.h" 2 | 3 | #include "windows.h" 4 | 5 | namespace Vars { 6 | ULONG64 pGameImage = 0; 7 | } 8 | -------------------------------------------------------------------------------- /framework/examples/apex-dumper/apex/Vars.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef _VARS_H_ 4 | #define _VARS_H_ 5 | 6 | #include "windows.h" 7 | namespace Vars { 8 | extern ULONG64 pGameImage; 9 | } 10 | 11 | 12 | #endif // !_VARS_H_ 13 | 14 | -------------------------------------------------------------------------------- /framework/examples/apex-dumper/apex/forceinline.h: -------------------------------------------------------------------------------- 1 | #define __forceinline __attribute__((always_inline)) inline -------------------------------------------------------------------------------- /framework/examples/apex-dumper/apex/oldnames.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef _OLDNAMES_EMU_ 4 | #define _OLDNAMES_EMU_ 5 | 6 | #include "oldnames_inline.h" 7 | 8 | #endif // !_OLDNAMES_EMU_ 9 | 10 | -------------------------------------------------------------------------------- /framework/examples/apex-dumper/apex/windows.h: -------------------------------------------------------------------------------- 1 | #include "windows_defs.h" 2 | -------------------------------------------------------------------------------- /framework/examples/apex-dumper/这是3年前的代码加了兼容层,所以有点乱: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /framework/examples/apex/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(apex C CXX) 2 | 3 | find_package(SDL2 REQUIRED) 4 | 5 | file(GLOB_RECURSE APEX_SOURCES "apex/*.cpp") 6 | 7 | add_executable(${PROJECT_NAME} main.cpp ${APEX_SOURCES}) 8 | 9 | target_compile_options(${PROJECT_NAME} PRIVATE -w) 10 | 11 | set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17) 12 | 13 | target_link_libraries(${PROJECT_NAME} blacksun-dma blacksun-util blacksun-protocol blacksun-controller) 14 | target_include_directories(${PROJECT_NAME} PRIVATE ${SDL2_INCLUDE_DIRS}) 15 | -------------------------------------------------------------------------------- /framework/examples/apex/apex/HotKeys.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef _HOT_KEYS_H 3 | #define _HOT_KEYS_H 4 | 5 | 6 | void DispatchHotkey(); 7 | bool isFireBtnDown(); 8 | 9 | #endif // !_HOT_KEYS_H 10 | 11 | -------------------------------------------------------------------------------- /framework/examples/apex/apex/Parser.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef _PARSER_H_ 4 | #define _PARSER_H_ 5 | 6 | #include "windows.h" 7 | 8 | void SetScreen(float w,float h); 9 | void InitValues(); 10 | void UpdateDataDisableSmap(); 11 | void LaunchAimThread(); 12 | 13 | #endif // !_PARSER_H_ 14 | 15 | 16 | -------------------------------------------------------------------------------- /framework/examples/apex/apex/vector.cpp: -------------------------------------------------------------------------------- 1 | #include "vector.h" 2 | -------------------------------------------------------------------------------- /framework/examples/apex/这是3年前的代码加了兼容层,所以有点乱: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /framework/libblacksun/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(libblacksun-util) 2 | add_subdirectory(libblacksun-protocol) 3 | add_subdirectory(libblacksun-dma) 4 | add_subdirectory(libblacksun-controller) 5 | 6 | 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-controller/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(blacksun-controller C CXX) 2 | 3 | 4 | 5 | 6 | add_library(${PROJECT_NAME} blacksun-controller.cpp) 7 | 8 | set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17) 9 | 10 | target_include_directories(${PROJECT_NAME} PUBLIC .) 11 | 12 | target_link_libraries(${PROJECT_NAME} blacksun-dma blacksun-util blacksun-protocol) 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/dma/include/dma_memsch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifndef _DMA_MMUSCH_H_ 3 | #define _DMA_MMUSCH_H_ 4 | 5 | #include "dma_mmu.h" 6 | #define MEMSCH_BADADDR (static_cast(-1)) 7 | namespace dma_memsch { 8 | u64 sd_search(mmu_fast* fast, uptr buf, u64 buf_len, const char* pattern); 9 | int sd_patlen(const char* pattern); 10 | }; 11 | 12 | #endif // !_DMA_MMUSCH_H_ 13 | 14 | 15 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/dma/src/windows.h: -------------------------------------------------------------------------------- 1 | #include "windows_defs.h" 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/dma_symbol/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(lib) -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/main.cpp -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/rawmemfile/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.20) 2 | 3 | project(COMPONMENT_RAWMEMFILE C CXX) 4 | 5 | add_library(${PROJECT_NAME} src/rawmem2dma.cpp) 6 | 7 | target_include_directories(${PROJECT_NAME} PUBLIC include) 8 | #target_compile_options(${PROJECT_NAME} PRIVATE -w -fdeclspec -fms-extensions) 9 | target_link_libraries(${PROJECT_NAME} COMPONMENT_DMA) 10 | set_target_properties( 11 | ${PROJECT_NAME} 12 | PROPERTIES 13 | CXX_STANDARD 17 14 | ) 15 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/example/Dockerfile.hello: -------------------------------------------------------------------------------- 1 | FROM alpine as builder 2 | WORKDIR /src/example 3 | RUN apk add g++ make openssl-dev zlib-dev brotli-dev 4 | COPY ./httplib.h /src 5 | COPY ./example/hello.cc /src/example 6 | COPY ./example/Makefile /src/example 7 | RUN make hello 8 | 9 | FROM alpine 10 | RUN apk --no-cache add brotli libstdc++ 11 | COPY --from=builder /src/example/hello /bin/hello 12 | CMD ["/bin/hello"] 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/example/hello.cc: -------------------------------------------------------------------------------- 1 | // 2 | // hello.cc 3 | // 4 | // Copyright (c) 2019 Yuji Hirose. All rights reserved. 5 | // MIT License 6 | // 7 | 8 | #include 9 | using namespace httplib; 10 | 11 | int main(void) { 12 | Server svr; 13 | 14 | svr.Get("/hi", [](const Request & /*req*/, Response &res) { 15 | res.set_content("Hello World!", "text/plain"); 16 | }); 17 | 18 | svr.listen("0.0.0.0", 8080); 19 | } 20 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/example/uploader.sh: -------------------------------------------------------------------------------- 1 | #/usr/bin/env bash 2 | for i in {1..1000000} 3 | do 4 | echo "#### $i ####" 5 | curl -X POST -F image_file=@$1 http://localhost:1234/post > /dev/null 6 | done 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/1: -------------------------------------------------------------------------------- 1 | PUT /search/sample?a=12 HTTP/1.1 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/2: -------------------------------------------------------------------------------- 1 | GET /hello.htm HTTP/1.1 2 | User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT) 3 | Accept-Language: en-us 4 | Accept-Encoding: gzip, deflate 5 | Connection: Keep-Alive -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/3 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5042094968537088: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5042094968537088 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5372331946541056: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5372331946541056 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5386708825800704: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5386708825800704 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5667822731132928: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5667822731132928 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5886572146327552: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5886572146327552 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5942767436562432: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-5942767436562432 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-6007379124158464: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-6007379124158464 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-6508706672541696: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/clusterfuzz-testcase-minimized-server_fuzzer-6508706672541696 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/issue1264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/fuzzing/corpus/issue1264 -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/image.jpg -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/include_httplib.cc: -------------------------------------------------------------------------------- 1 | // The sole purpose of this file is to include httplib.h in a separate 2 | // compilation unit, thus verifying that inline keywords have not been forgotten 3 | // when linked together with test.cc. 4 | 5 | #include 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/proxy/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | ARG auth="basic" 4 | ARG port="3128" 5 | 6 | RUN yum install -y squid 7 | 8 | COPY ./${auth}_squid.conf /etc/squid/squid.conf 9 | COPY ./${auth}_passwd /etc/squid/passwd 10 | 11 | EXPOSE ${port} 12 | 13 | CMD ["/usr/sbin/squid", "-N"] 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/proxy/basic_passwd: -------------------------------------------------------------------------------- 1 | hello:$apr1$O6S28OBL$8dr3ixl4Mohf97hgsYvLy/ 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/proxy/digest_passwd: -------------------------------------------------------------------------------- 1 | hello:world 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/proxy/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | 3 | services: 4 | squid_basic: 5 | image: squid_basic 6 | restart: always 7 | ports: 8 | - "3128:3128" 9 | build: 10 | context: ./ 11 | args: 12 | auth: basic 13 | 14 | squid_digest: 15 | image: squid_digest 16 | restart: always 17 | ports: 18 | - "3129:3129" 19 | build: 20 | context: ./ 21 | args: 22 | auth: digest 23 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www/dir/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Test 6 | hi 7 | 8 | 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www/dir/meson.build: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2021 Andrea Pappacoda 2 | # 3 | # SPDX-License-Identifier: MIT 4 | 5 | configure_file(input: 'index.html', output: 'index.html', copy: true) 6 | configure_file(input: 'test.abcde', output: 'test.abcde', copy: true) 7 | configure_file(input: 'test.html', output: 'test.html', copy: true) 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www/dir/test.abcde: -------------------------------------------------------------------------------- 1 | abcde -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www/dir/test.html: -------------------------------------------------------------------------------- 1 | test.html -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www2/dir/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Test 6 | hi 7 | 8 | 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www2/dir/meson.build: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2021 Andrea Pappacoda 2 | # 3 | # SPDX-License-Identifier: MIT 4 | 5 | configure_file(input: 'index.html', output: 'index.html', copy: true) 6 | configure_file(input: 'test.html', output: 'test.html', copy: true) 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www2/dir/test.html: -------------------------------------------------------------------------------- 1 | test.html -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www3/dir/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Test 6 | hi 7 | 8 | 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www3/dir/meson.build: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2021 Andrea Pappacoda 2 | # 3 | # SPDX-License-Identifier: MIT 4 | 5 | configure_file(input: 'index.html', output: 'index.html', copy: true) 6 | configure_file(input: 'test.html', output: 'test.html', copy: true) 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cpp-httplib/test/www3/dir/test.html: -------------------------------------------------------------------------------- 1 | test.html -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | build*/ 3 | CMakeCache.txt 4 | Makefile 5 | CMakeFiles/ 6 | Testing/ 7 | CTestTestfile.cmake 8 | cmake_install.cmake 9 | bazel-* 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@rules_cc//cc:defs.bzl", "cc_library") 2 | 3 | cc_library( 4 | name = "cxxopts", 5 | hdrs = ["include/cxxopts.hpp"], 6 | strip_include_prefix = "include", 7 | visibility = ["//visibility:public"], 8 | ) 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/WORKSPACE -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/packaging/cxxopts-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake) 4 | check_required_components(cxxopts) 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/packaging/pkgconfig.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ 3 | 4 | Name: @PROJECT_NAME@ 5 | Description: @PROJECT_DESCRIPTION@ 6 | Version: @PROJECT_VERSION@ 7 | Cflags: -I${includedir} 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/src/.gitignore: -------------------------------------------------------------------------------- 1 | example 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/test/.gitignore: -------------------------------------------------------------------------------- 1 | options_test 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/test/add-subdirectory-test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | 3 | project(cxxopts-test) 4 | 5 | set(CMAKE_CXX_STANDARD 11) 6 | set(CMAKE_CXX_EXTENSIONS OFF) 7 | 8 | add_subdirectory(../.. cxxopts EXCLUDE_FROM_ALL) 9 | 10 | add_executable(library-test "../../src/example.cpp") 11 | target_link_libraries(library-test cxxopts) 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/test/find-package-test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | 3 | project(cxxopts-test) 4 | 5 | set(CMAKE_CXX_STANDARD 11) 6 | set(CMAKE_CXX_EXTENSIONS OFF) 7 | 8 | find_package(cxxopts REQUIRED) 9 | 10 | add_executable(library-test "../../src/example.cpp") 11 | target_link_libraries(library-test cxxopts::cxxopts) 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/test/link_a.cpp: -------------------------------------------------------------------------------- 1 | #include "cxxopts.hpp" 2 | 3 | int main(int, char**) 4 | { 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/test/link_b.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/cxxopts/test/main.cpp: -------------------------------------------------------------------------------- 1 | #define CATCH_CONFIG_MAIN 2 | #include "catch.hpp" 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # JSON for Modern C++ has been originally written by Niels Lohmann. 2 | # Since 2013 over 140 contributors have helped to improve the library. 3 | # This CODEOWNERS file is only to make sure that @nlohmann is requested 4 | # for a code review in case of a pull request. 5 | 6 | * @nlohmann 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: nlohmann 2 | custom: http://paypal.me/nlohmann 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Ask a question 4 | url: https://github.com/nlohmann/json/discussions 5 | about: Ask questions and discuss with other community members 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.github/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Reporting a Vulnerability 4 | 5 | Usually, all issues are tracked publicly on [GitHub](https://github.com/nlohmann/json/issues). If you want to make a private report (e.g., for a vulnerability or to attach an example that is not meant to be published), please send an email to . You can use [this key](https://keybase.io/nlohmann/pgp_keys.asc?fingerprint=797167ae41c0a6d9232e48457f3cea63ae251b69) for encryption. 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.github/workflows/labeler.yml: -------------------------------------------------------------------------------- 1 | name: "Pull Request Labeler" 2 | 3 | on: 4 | pull_request_target: 5 | types: [opened, synchronize] 6 | 7 | jobs: 8 | label: 9 | permissions: 10 | contents: read 11 | pull-requests: write 12 | 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - uses: srvaroa/labeler@master 17 | env: 18 | GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 19 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.lgtm.yml: -------------------------------------------------------------------------------- 1 | path_classifiers: 2 | thirdparty: 3 | - /tools/amalgamate 4 | - /tools/cpplint 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.reuse/README.md: -------------------------------------------------------------------------------- 1 | # REUSE Software 2 | 3 | This directory contains supporting files to make the project compliant with the REUSE specification. 4 | 5 | The root `Makefile` contains a target `reuse` that updates copyright headers and checks for compliance. 6 | 7 | See for more information. 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.reuse/templates/json.jinja2: -------------------------------------------------------------------------------- 1 | __ _____ _____ _____ 2 | __| | __| | | | JSON for Modern C++ 3 | | | |__ | | | | | | version 3.11.2 4 | |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | 6 | {% for copyright_line in copyright_lines %} 7 | {{ copyright_line }} 8 | {% endfor %} 9 | {% for expression in spdx_expressions %} 10 | SPDX-License-Identifier: {{ expression }} 11 | {% endfor %} 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/.reuse/templates/json_support.jinja2: -------------------------------------------------------------------------------- 1 | __ _____ _____ _____ 2 | __| | __| | | | JSON for Modern C++ (supporting code) 3 | | | |__ | | | | | | version 3.11.2 4 | |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | 6 | {% for copyright_line in copyright_lines %} 7 | {{ copyright_line }} 8 | {% endfor %} 9 | {% for expression in spdx_expressions %} 10 | SPDX-License-Identifier: {{ expression }} 11 | {% endfor %} 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/CITATION.cff: -------------------------------------------------------------------------------- 1 | cff-version: 1.2.0 2 | message: "If you use this software, please cite it as below." 3 | authors: 4 | - family-names: Lohmann 5 | given-names: Niels 6 | orcid: https://orcid.org/0000-0001-9037-795X 7 | email: mail@nlohmann.me 8 | website: https://nlohmann.me 9 | title: "JSON for Modern C++" 10 | version: 3.11.2 11 | date-released: 2022-08-12 12 | license: MIT 13 | repository-code: "https://github.com/nlohmann" 14 | url: https://json.nlohmann.me 15 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/cmake/pkg-config.pc.in: -------------------------------------------------------------------------------- 1 | Name: ${PROJECT_NAME} 2 | Description: JSON for Modern C++ 3 | Version: ${PROJECT_VERSION} 4 | Cflags: -I${CMAKE_INSTALL_FULL_INCLUDEDIR} 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/avatars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/avatars.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/docset/docset.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "JSON for Modern C++", 3 | "version": "3.11.2", 4 | "archive": "JSON_for_Modern_C++.tgz", 5 | "author": { 6 | "name": "Niels Lohmann", 7 | "link": "https://twitter.com/nlohmann" 8 | }, 9 | "aliases": ["nlohmann/json"] 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/docset/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/docset/icon.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/docset/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/docset/icon@2x.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/accept__string.output: -------------------------------------------------------------------------------- 1 | true false 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/array.output: -------------------------------------------------------------------------------- 1 | [] 2 | [] 3 | [1,2,3,4] 4 | [["one",1],["two",2]] 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/array_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same, json::array_t>::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/array_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/at__json_pointer_const.output: -------------------------------------------------------------------------------- 1 | 1 2 | "foo" 3 | [1,2] 4 | 2 5 | [json.exception.parse_error.109] parse error: array index 'one' is not a number 6 | [json.exception.out_of_range.401] array index 4 is out of range 7 | [json.exception.out_of_range.402] array index '-' (2) is out of range 8 | [json.exception.out_of_range.403] key 'foo' not found 9 | [json.exception.out_of_range.404] unresolved reference token 'foo' 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/at__keytype.c++17.output: -------------------------------------------------------------------------------- 1 | "il brutto" 2 | {"the bad":"il cattivo","the good":"il buono","the ugly":"il brutto"} 3 | [json.exception.type_error.304] cannot use at() with string 4 | [json.exception.out_of_range.403] key 'the fast' not found 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/at__keytype_const.c++17.output: -------------------------------------------------------------------------------- 1 | "il brutto" 2 | [json.exception.type_error.304] cannot use at() with string 3 | out of range 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/at__object_t_key_type.output: -------------------------------------------------------------------------------- 1 | "il brutto" 2 | {"the bad":"il cattivo","the good":"il buono","the ugly":"il brutto"} 3 | [json.exception.type_error.304] cannot use at() with string 4 | [json.exception.out_of_range.403] key 'the fast' not found 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/at__object_t_key_type_const.output: -------------------------------------------------------------------------------- 1 | "il brutto" 2 | [json.exception.type_error.304] cannot use at() with string 3 | out of range 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/at__size_type.output: -------------------------------------------------------------------------------- 1 | "third" 2 | ["first","second","third","fourth"] 3 | [json.exception.type_error.304] cannot use at() with string 4 | [json.exception.out_of_range.401] array index 5 is out of range 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/at__size_type_const.output: -------------------------------------------------------------------------------- 1 | "third" 2 | [json.exception.type_error.304] cannot use at() with string 3 | [json.exception.out_of_range.401] array index 5 is out of range 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/back.output: -------------------------------------------------------------------------------- 1 | true 2 | 17 3 | 23.42 4 | 2 5 | 16 6 | "Hello, world" 7 | [json.exception.invalid_iterator.214] cannot get value 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__InputIt_InputIt.output: -------------------------------------------------------------------------------- 1 | ["bravo","charly"] 2 | 42 3 | {"one":"eins"} 4 | [json.exception.invalid_iterator.204] iterators out of range 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__basic_json.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create a JSON array 9 | json j1 = {"one", "two", 3, 4.5, false}; 10 | 11 | // create a copy 12 | json j2(j1); 13 | 14 | // serialize the JSON array 15 | std::cout << j1 << " = " << j2 << '\n'; 16 | std::cout << std::boolalpha << (j1 == j2) << '\n'; 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__basic_json.output: -------------------------------------------------------------------------------- 1 | ["one","two",3,4.5,false] = ["one","two",3,4.5,false] 2 | true 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__copyassignment.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create JSON values 9 | json a = 23; 10 | json b = 42; 11 | 12 | // copy-assign a to b 13 | b = a; 14 | 15 | // serialize the JSON arrays 16 | std::cout << a << '\n'; 17 | std::cout << b << '\n'; 18 | } 19 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__copyassignment.output: -------------------------------------------------------------------------------- 1 | 23 2 | 23 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__list_init_t.output: -------------------------------------------------------------------------------- 1 | {} 2 | {"one":1,"two":2} 3 | [1,2,3,4] 4 | {"one":[1],"two":[1,2]} 5 | [[[1],"one"],[[1,2],"two"]] 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__moveconstructor.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create a JSON value 9 | json a = 23; 10 | 11 | // move contents of a to b 12 | json b(std::move(a)); 13 | 14 | // serialize the JSON arrays 15 | std::cout << a << '\n'; 16 | std::cout << b << '\n'; 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__moveconstructor.output: -------------------------------------------------------------------------------- 1 | null 2 | 23 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__nullptr_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // implicitly create a JSON null value 9 | json j1; 10 | 11 | // explicitly create a JSON null value 12 | json j2(nullptr); 13 | 14 | // serialize the JSON null value 15 | std::cout << j1 << '\n' << j2 << '\n'; 16 | } 17 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__nullptr_t.output: -------------------------------------------------------------------------------- 1 | null 2 | null 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__size_type_basic_json.output: -------------------------------------------------------------------------------- 1 | [] 2 | ["Hello"] 3 | ["Hello","Hello","Hello","Hello","Hello"] 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/basic_json__value_t.output: -------------------------------------------------------------------------------- 1 | null 2 | false 3 | 0 4 | 0.0 5 | {} 6 | [] 7 | "" 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/begin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create an array value 9 | json array = {1, 2, 3, 4, 5}; 10 | 11 | // get an iterator to the first element 12 | json::iterator it = array.begin(); 13 | 14 | // serialize the element that the iterator points to 15 | std::cout << *it << '\n'; 16 | } 17 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/begin.output: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/binary.output: -------------------------------------------------------------------------------- 1 | type: binary, subtype: 42 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/binary_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same>, json::binary_t>::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/binary_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/boolean_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/boolean_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/byte_container_with_subtype__byte_container_with_subtype.output: -------------------------------------------------------------------------------- 1 | {"bytes":[],"subtype":null} 2 | {"bytes":[202,254,186,190],"subtype":null} 3 | {"bytes":[202,254,186,190],"subtype":42} 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/byte_container_with_subtype__clear_subtype.output: -------------------------------------------------------------------------------- 1 | before calling clear_subtype(): {"bytes":[202,254,186,190],"subtype":42} 2 | after calling clear_subtype(): {"bytes":[202,254,186,190],"subtype":null} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/byte_container_with_subtype__has_subtype.output: -------------------------------------------------------------------------------- 1 | c1.has_subtype() = false 2 | c2.has_subtype() = true 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/byte_container_with_subtype__set_subtype.output: -------------------------------------------------------------------------------- 1 | before calling set_subtype(42): {"bytes":[202,254,186,190],"subtype":null} 2 | after calling set_subtype(42): {"bytes":[202,254,186,190],"subtype":42} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/byte_container_with_subtype__subtype.output: -------------------------------------------------------------------------------- 1 | c1.subtype() = 18446744073709551615 2 | c2.subtype() = 42 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/cbegin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create an array value 9 | const json array = {1, 2, 3, 4, 5}; 10 | 11 | // get an iterator to the first element 12 | json::const_iterator it = array.cbegin(); 13 | 14 | // serialize the element that the iterator points to 15 | std::cout << *it << '\n'; 16 | } 17 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/cbegin.output: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/cbor_tag_handler_t.output: -------------------------------------------------------------------------------- 1 | [json.exception.parse_error.112] parse error at byte 1: syntax error while parsing CBOR value: invalid byte: 0xD8 2 | {"bytes":[202,254,186,190],"subtype":null} 3 | {"bytes":[202,254,186,190],"subtype":66} 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/cend.output: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/clear.output: -------------------------------------------------------------------------------- 1 | null 2 | false 3 | 0 4 | 0.0 5 | {} 6 | [] 7 | "" 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/contains__json_pointer.output: -------------------------------------------------------------------------------- 1 | true 2 | true 3 | true 4 | true 5 | false 6 | false 7 | false 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/contains__keytype.c++17.output: -------------------------------------------------------------------------------- 1 | j_object contains 'key': true 2 | j_object contains 'another': false 3 | j_array contains 'key': false 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/contains__object_t_key_type.output: -------------------------------------------------------------------------------- 1 | j_object contains 'key': true 2 | j_object contains 'another': false 3 | j_array contains 'key': false 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/count__keytype.c++17.output: -------------------------------------------------------------------------------- 1 | number of elements with key "two": 1 2 | number of elements with key "three": 0 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/count__object_t_key_type.output: -------------------------------------------------------------------------------- 1 | number of elements with key "two": 1 2 | number of elements with key "three": 0 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/crbegin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create an array value 9 | json array = {1, 2, 3, 4, 5}; 10 | 11 | // get an iterator to the reverse-beginning 12 | json::const_reverse_iterator it = array.crbegin(); 13 | 14 | // serialize the element that the iterator points to 15 | std::cout << *it << '\n'; 16 | } 17 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/crbegin.output: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/crend.output: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/default_object_comparator_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | std::cout << std::boolalpha 9 | << "one < two : " << json::default_object_comparator_t{}("one", "two") << "\n" 10 | << "three < four : " << json::default_object_comparator_t{}("three", "four") << std::endl; 11 | } 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/default_object_comparator_t.output: -------------------------------------------------------------------------------- 1 | one < two : true 2 | three < four : false 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/diagnostics_extended.output: -------------------------------------------------------------------------------- 1 | [json.exception.type_error.302] (/address/housenumber) type must be number, but is string 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/diagnostics_standard.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | json j; 9 | j["address"]["street"] = "Fake Street"; 10 | j["address"]["housenumber"] = "12"; 11 | 12 | try 13 | { 14 | int housenumber = j["address"]["housenumber"]; 15 | } 16 | catch (json::exception& e) 17 | { 18 | std::cout << e.what() << '\n'; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/diagnostics_standard.output: -------------------------------------------------------------------------------- 1 | [json.exception.type_error.302] type must be number, but is string 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/diff.output: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "op": "replace", 4 | "path": "/baz", 5 | "value": "boo" 6 | }, 7 | { 8 | "op": "remove", 9 | "path": "/foo" 10 | }, 11 | { 12 | "op": "add", 13 | "path": "/hello", 14 | "value": [ 15 | "world" 16 | ] 17 | } 18 | ] 19 | 20 | { 21 | "baz": "boo", 22 | "hello": [ 23 | "world" 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/emplace.output: -------------------------------------------------------------------------------- 1 | {"one":1,"two":2} 2 | null 3 | {"one":1,"three":3,"two":2} 4 | 3 true 5 | {"A":"a","B":"b"} 6 | "b" false 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/emplace_back.output: -------------------------------------------------------------------------------- 1 | [1,2,3,4,5] 2 | null 3 | [1,2,3,4,5,6] 4 | ["first",["second","second","second"]] 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/empty.output: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | false 4 | false 5 | false 6 | true 7 | false 8 | true 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/end.output: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/erase__IteratorType.output: -------------------------------------------------------------------------------- 1 | null 2 | null 3 | null 4 | {"one":1} 5 | [1,2,8,16] 6 | null 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/erase__IteratorType_IteratorType.output: -------------------------------------------------------------------------------- 1 | null 2 | null 3 | null 4 | {"one":1} 5 | [1,8,16] 6 | null 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/erase__keytype.c++17.output: -------------------------------------------------------------------------------- 1 | {"two":2} 2 | 1 0 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/erase__object_t_key_type.output: -------------------------------------------------------------------------------- 1 | {"two":2} 2 | 1 0 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/erase__size_type.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create a JSON array 9 | json j_array = {0, 1, 2, 3, 4, 5}; 10 | 11 | // call erase() 12 | j_array.erase(2); 13 | 14 | // print values 15 | std::cout << j_array << '\n'; 16 | } 17 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/erase__size_type.output: -------------------------------------------------------------------------------- 1 | [0,1,3,4,5] 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/error_handler_t.output: -------------------------------------------------------------------------------- 1 | [json.exception.type_error.316] invalid UTF-8 byte at index 2: 0xA9 2 | string with replaced invalid characters: "ä�ü" 3 | string with ignored invalid characters: "äü" 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/exception.output: -------------------------------------------------------------------------------- 1 | message: [json.exception.out_of_range.403] key 'non-existing' not found 2 | exception id: 403 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/find__keytype.c++17.output: -------------------------------------------------------------------------------- 1 | "two" was found: true 2 | value at key "two": 2 3 | "three" was found: false 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/find__object_t_key_type.output: -------------------------------------------------------------------------------- 1 | "two" was found: true 2 | value at key "two": 2 3 | "three" was found: false 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/flatten.output: -------------------------------------------------------------------------------- 1 | { 2 | "/answer/everything": 42, 3 | "/happy": true, 4 | "/list/0": 1, 5 | "/list/1": 0, 6 | "/list/2": 2, 7 | "/name": "Niels", 8 | "/nothing": null, 9 | "/object/currency": "USD", 10 | "/object/value": 42.99, 11 | "/pi": 3.141 12 | } 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/from_bjdata.output: -------------------------------------------------------------------------------- 1 | { 2 | "compact": true, 3 | "schema": 0 4 | } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/from_bson.output: -------------------------------------------------------------------------------- 1 | { 2 | "compact": true, 3 | "schema": 0 4 | } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/from_cbor.output: -------------------------------------------------------------------------------- 1 | { 2 | "compact": true, 3 | "schema": 0 4 | } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/from_json__default_constructible.output: -------------------------------------------------------------------------------- 1 | Ned Flanders (60) lives in 744 Evergreen Terrace 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/from_json__non_default_constructible.output: -------------------------------------------------------------------------------- 1 | Ned Flanders (60) lives in 744 Evergreen Terrace 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/from_msgpack.output: -------------------------------------------------------------------------------- 1 | { 2 | "compact": true, 3 | "schema": 0 4 | } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/from_ubjson.output: -------------------------------------------------------------------------------- 1 | { 2 | "compact": true, 3 | "schema": 0 4 | } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/front.output: -------------------------------------------------------------------------------- 1 | true 2 | 17 3 | 23.42 4 | 1 5 | 1 6 | "Hello, world" 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/get__PointerType.output: -------------------------------------------------------------------------------- 1 | 17 17 17 17 2 | true 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/get__ValueType_const.output: -------------------------------------------------------------------------------- 1 | 1 2 | 42 42 3 | 17.23 17 4 | Hello, world! 5 | 1 2 3 4 5 6 | 7 | string: "Hello, world!" 8 | number: {"floating-point":17.23,"integer":42} 9 | null: null 10 | boolean: true 11 | array: [1,2,3,4,5] 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/get_allocator.output: -------------------------------------------------------------------------------- 1 | "Hello, world!" 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/get_binary.output: -------------------------------------------------------------------------------- 1 | type: binary, subtype: 42 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/get_ptr.output: -------------------------------------------------------------------------------- 1 | 17 17 17 17 2 | true 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/get_ref.output: -------------------------------------------------------------------------------- 1 | 17 17 2 | [json.exception.type_error.303] incompatible ReferenceType for get_ref, actual type is number 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/get_to.output: -------------------------------------------------------------------------------- 1 | 1 2 | 42 42 3 | 17.23 17 4 | Hello, world! 5 | 1 2 3 4 5 6 | 7 | string: "Hello, world!" 8 | number: {"floating-point":17.23,"integer":42} 9 | null: null 10 | boolean: true 11 | array: [1,2,3,4,5] 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create a JSON array 9 | json v = {1, 2, 3, 4}; 10 | 11 | // insert number 10 before number 3 12 | auto new_pos = v.insert(v.begin() + 2, 10); 13 | 14 | // output new array and result of insert call 15 | std::cout << *new_pos << '\n'; 16 | std::cout << v << '\n'; 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert.output: -------------------------------------------------------------------------------- 1 | 10 2 | [1,2,10,3,4] 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert__count.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create a JSON array 9 | json v = {1, 2, 3, 4}; 10 | 11 | // insert number 7 copies of number 7 before number 3 12 | auto new_pos = v.insert(v.begin() + 2, 7, 7); 13 | 14 | // output new array and result of insert call 15 | std::cout << *new_pos << '\n'; 16 | std::cout << v << '\n'; 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert__count.output: -------------------------------------------------------------------------------- 1 | 7 2 | [1,2,7,7,7,7,7,7,7,3,4] 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert__ilist.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create a JSON array 9 | json v = {1, 2, 3, 4}; 10 | 11 | // insert range from v2 before the end of array v 12 | auto new_pos = v.insert(v.end(), {7, 8, 9}); 13 | 14 | // output new array and result of insert call 15 | std::cout << *new_pos << '\n'; 16 | std::cout << v << '\n'; 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert__ilist.output: -------------------------------------------------------------------------------- 1 | 7 2 | [1,2,3,4,7,8,9] 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert__range.output: -------------------------------------------------------------------------------- 1 | "one" 2 | [1,2,3,4,"one","two","three","four"] 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/insert__range_object.output: -------------------------------------------------------------------------------- 1 | {"one":"eins","two":"zwei"} 2 | {"eleven":"elf","seventeen":"siebzehn"} 3 | {"eleven":"elf","one":"eins","seventeen":"siebzehn","two":"zwei"} 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/invalid_iterator.output: -------------------------------------------------------------------------------- 1 | message: [json.exception.invalid_iterator.207] cannot use key() for non-object iterators 2 | exception id: 207 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_array.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | false 5 | false 6 | false 7 | true 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_binary.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | false 5 | false 6 | false 7 | false 8 | false 9 | true 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_boolean.output: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | false 4 | false 5 | false 6 | false 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_discarded.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | false 5 | false 6 | false 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_null.output: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | false 4 | false 5 | false 6 | false 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_number.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | true 4 | true 5 | true 6 | false 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_number_float.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | false 5 | true 6 | false 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_number_integer.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | true 4 | true 5 | false 6 | false 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_number_unsigned.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | true 5 | false 6 | false 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_object.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | false 5 | false 6 | true 7 | false 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_primitive.output: -------------------------------------------------------------------------------- 1 | true 2 | true 3 | true 4 | true 5 | true 6 | false 7 | false 8 | true 9 | true 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_string.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | false 5 | false 6 | false 7 | false 8 | true 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/is_structured.output: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | false 4 | false 5 | false 6 | true 7 | true 8 | false 9 | false 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/items.output: -------------------------------------------------------------------------------- 1 | key: one, value: 1 2 | key: two, value: 2 3 | key: 0, value: 1 4 | key: 1, value: 2 5 | key: 2, value: 4 6 | key: 3, value: 8 7 | key: 4, value: 16 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_lines.output: -------------------------------------------------------------------------------- 1 | {"name":"Gilbert","wins":[["straight","7♣"],["one pair","10♥"]]} 2 | {"name":"Alexa","wins":[["two pair","4♠"],["two pair","9♠"]]} 3 | {"name":"May","wins":[]} 4 | {"name":"Deloise","wins":[["three of a kind","5♣"]]} 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer.output: -------------------------------------------------------------------------------- 1 | [json.exception.parse_error.107] parse error at byte 1: JSON pointer must be empty or begin with '/' - was: 'foo' 2 | [json.exception.parse_error.108] parse error: escape character '~' must be followed with '0' or '1' 3 | [json.exception.parse_error.108] parse error: escape character '~' must be followed with '0' or '1' 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__back.output: -------------------------------------------------------------------------------- 1 | last reference token of "/foo" is "foo" 2 | last reference token of "/foo/0" is "0" 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__empty.output: -------------------------------------------------------------------------------- 1 | "": true 2 | "": true 3 | "/foo": false 4 | "/foo/0": false 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator__equal.output: -------------------------------------------------------------------------------- 1 | "" == "": true 2 | "" == "": true 3 | "" == "/foo": false 4 | "/foo" == "/foo": true 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator__equal_stringtype.output: -------------------------------------------------------------------------------- 1 | "" == "": true 2 | "" == "": true 3 | "/foo" == "/foo": true 4 | "bar" == "/foo": [json.exception.parse_error.107] parse error at byte 1: JSON pointer must be empty or begin with '/' - was: 'bar' 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator__notequal.output: -------------------------------------------------------------------------------- 1 | "" != "": false 2 | "" != "": false 3 | "" != "/foo": true 4 | "/foo" != "/foo": false 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator__notequal_stringtype.output: -------------------------------------------------------------------------------- 1 | "" != "": false 2 | "" != "": false 3 | "/foo" != "/foo": false 4 | "bar" != "/foo": [json.exception.parse_error.107] parse error at byte 1: JSON pointer must be empty or begin with '/' - was: 'bar' 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator_add.output: -------------------------------------------------------------------------------- 1 | "/foo" 2 | "/foo/bar/baz" 3 | "/foo/bar/baz/fob" 4 | "/foo/bar/baz/fob/42" 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator_add_binary.output: -------------------------------------------------------------------------------- 1 | "/foo/bar/baz" 2 | "/foo/fob" 3 | "/foo/42" 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator_string_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // different JSON Pointers 9 | json::json_pointer ptr1("/foo/0"); 10 | json::json_pointer ptr2("/a~1b"); 11 | 12 | // implicit conversion to string 13 | std::string s; 14 | s += ptr1; 15 | s += "\n"; 16 | s += ptr2; 17 | 18 | std::cout << s << std::endl; 19 | } 20 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__operator_string_t.output: -------------------------------------------------------------------------------- 1 | /foo/0 2 | /a~1b 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__parent_pointer.output: -------------------------------------------------------------------------------- 1 | parent of "" is "" 2 | parent of "/foo" is "" 3 | parent of "/foo/0" is "/foo" 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__pop_back.output: -------------------------------------------------------------------------------- 1 | "/foo/bar/baz" 2 | "/foo/bar" 3 | "/foo" 4 | "" 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__push_back.output: -------------------------------------------------------------------------------- 1 | "" 2 | "/foo" 3 | "/foo/0" 4 | "/foo/0/bar" 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__string_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | json::json_pointer::string_t s = "This is a string."; 9 | 10 | std::cout << s << std::endl; 11 | 12 | std::cout << std::boolalpha << std::is_same::value << std::endl; 13 | } 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__string_t.output: -------------------------------------------------------------------------------- 1 | This is a string. 2 | true 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/json_pointer__to_string.output: -------------------------------------------------------------------------------- 1 | "" 2 | "/foo" 3 | "/foo/0" 4 | "/" 5 | "/a~1b" 6 | "/c%d" 7 | "/e^f" 8 | "/g|h" 9 | "/i\j" 10 | "/k"l" 11 | "/ " 12 | "/m~0n" 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/max_size.output: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 1 4 | 1 5 | 115292150460684697 6 | 576460752303423487 7 | 1 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/merge_patch.output: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "givenName": "John" 4 | }, 5 | "content": "This will be unchanged", 6 | "phoneNumber": "+01-123-456-7890", 7 | "tags": [ 8 | "example" 9 | ], 10 | "title": "Hello!" 11 | } 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/meta.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | // call meta() 10 | std::cout << std::setw(4) << json::meta() << '\n'; 11 | } 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/meta.output: -------------------------------------------------------------------------------- 1 | { 2 | "compiler": { 3 | "c++": "201103", 4 | "family": "gcc", 5 | "version": "12.1.0" 6 | }, 7 | "copyright": "(C) 2013-2022 Niels Lohmann", 8 | "name": "JSON for Modern C++", 9 | "platform": "apple", 10 | "url": "https://github.com/nlohmann/json", 11 | "version": { 12 | "major": 3, 13 | "minor": 11, 14 | "patch": 2, 15 | "string": "3.11.2" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_intrusive_explicit.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | deserialization failed: [json.exception.out_of_range.403] key 'age' not found 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_intrusive_macro.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | deserialization failed: [json.exception.out_of_range.403] key 'age' not found 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_intrusive_with_default_explicit.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | roundtrip: {"address":"742 Evergreen Terrace","age":-1,"name":"Maggie Simpson"} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_intrusive_with_default_macro.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | roundtrip: {"address":"742 Evergreen Terrace","age":-1,"name":"Maggie Simpson"} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_non_intrusive_explicit.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | deserialization failed: [json.exception.out_of_range.403] key 'age' not found 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_non_intrusive_macro.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | deserialization failed: [json.exception.out_of_range.403] key 'age' not found 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_non_intrusive_with_default_explicit.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | roundtrip: {"address":"742 Evergreen Terrace","age":-1,"name":"Maggie Simpson"} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_define_type_non_intrusive_with_default_macro.output: -------------------------------------------------------------------------------- 1 | serialization: {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | roundtrip: {"address":"742 Evergreen Terrace","age":-1,"name":"Maggie Simpson"} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_namespace.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | // possible use case: use NLOHMANN_JSON_NAMESPACE instead of nlohmann 5 | using json = NLOHMANN_JSON_NAMESPACE::json; 6 | 7 | // macro needed to output the NLOHMANN_JSON_NAMESPACE as string literal 8 | #define Q(x) #x 9 | #define QUOTE(x) Q(x) 10 | 11 | int main() 12 | { 13 | std::cout << QUOTE(NLOHMANN_JSON_NAMESPACE) << std::endl; 14 | } 15 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_namespace.output: -------------------------------------------------------------------------------- 1 | nlohmann::json_abi_v3_11_2 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_namespace_begin.c++17.output: -------------------------------------------------------------------------------- 1 | [1,null] 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_namespace_no_version.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define NLOHMANN_JSON_NAMESPACE_NO_VERSION 1 4 | #include 5 | 6 | // macro needed to output the NLOHMANN_JSON_NAMESPACE as string literal 7 | #define Q(x) #x 8 | #define QUOTE(x) Q(x) 9 | 10 | int main() 11 | { 12 | std::cout << QUOTE(NLOHMANN_JSON_NAMESPACE) << std::endl; 13 | } 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_namespace_no_version.output: -------------------------------------------------------------------------------- 1 | nlohmann::json_abi 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_serialize_enum.output: -------------------------------------------------------------------------------- 1 | ns::TS_STOPPED -> "stopped", ns::Color::red -> "red" 2 | "running" -> 1, "blue" -> 2 3 | 3.14 -> -1, 3.14 -> 3 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_serialize_enum_2.output: -------------------------------------------------------------------------------- 1 | 0 -> "red" 2 | "rot" -> 0 3 | "red" -> 0 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_version.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | std::cout << "JSON for Modern C++ version " 9 | << NLOHMANN_JSON_VERSION_MAJOR << "." 10 | << NLOHMANN_JSON_VERSION_MINOR << "." 11 | << NLOHMANN_JSON_VERSION_PATCH << std::endl; 12 | } 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/nlohmann_json_version.output: -------------------------------------------------------------------------------- 1 | JSON for Modern C++ version 3.11.2 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/number_float_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/number_float_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/number_integer_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/number_integer_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/number_unsigned_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/number_unsigned_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/object.output: -------------------------------------------------------------------------------- 1 | {} 2 | {} 3 | {"one":1,"two":2} 4 | [json.exception.type_error.301] cannot create object from initializer list 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/object_comparator_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | std::cout << std::boolalpha 9 | << "json::object_comparator_t(\"one\", \"two\") = " << json::object_comparator_t{}("one", "two") << "\n" 10 | << "json::object_comparator_t(\"three\", \"four\") = " << json::object_comparator_t{}("three", "four") << std::endl; 11 | } 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/object_comparator_t.output: -------------------------------------------------------------------------------- 1 | json::object_comparator_t("one", "two") = true 2 | json::object_comparator_t("three", "four") = false 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/object_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same, json::object_t>::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/object_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__ValueType.output: -------------------------------------------------------------------------------- 1 | 1 2 | 42 42 3 | 17.23 17 4 | Hello, world! 5 | 1 2 3 4 5 6 | 7 | string: "Hello, world!" 8 | number: {"floating-point":17.23,"integer":42} 9 | null: null 10 | boolean: true 11 | array: [1,2,3,4,5] 12 | [json.exception.type_error.302] type must be boolean, but is string 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__equal.output: -------------------------------------------------------------------------------- 1 | [1,2,3] == [1,2,4] false 2 | {"A":"a","B":"b"} == {"A":"a","B":"b"} true 3 | 17 == 17.0 true 4 | "foo" == "bar" false 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__equal__nullptr_t.output: -------------------------------------------------------------------------------- 1 | [1,2,3] == nullptr false 2 | {"A":"a","B":"b"} == nullptr false 3 | 17 == nullptr false 4 | "foo" == nullptr false 5 | null == nullptr true 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__equal__specializations.output: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__greater.output: -------------------------------------------------------------------------------- 1 | [1,2,3] > [1,2,4] false 2 | {"A":"a","B":"b"} > {"A":"a","B":"b"} false 3 | 17 > 17.0000000000001 false 4 | "foo" > "bar" true 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__greaterequal.output: -------------------------------------------------------------------------------- 1 | [1,2,3] >= [1,2,4] false 2 | {"A":"a","B":"b"} >= {"A":"a","B":"b"} true 3 | 17 >= 17.0000000000001 false 4 | "foo" >= "bar" true 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__less.output: -------------------------------------------------------------------------------- 1 | [1,2,3] == [1,2,4] true 2 | {"A":"a","B":"b"} == {"A":"a","B":"b"} false 3 | 17 == 17.0000000000001 true 4 | "foo" == "bar" false 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__lessequal.output: -------------------------------------------------------------------------------- 1 | [1,2,3] <= [1,2,4] true 2 | {"A":"a","B":"b"} <= {"A":"a","B":"b"} true 3 | 17 <= 17.0000000000001 true 4 | "foo" <= "bar" false 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__notequal.output: -------------------------------------------------------------------------------- 1 | [1,2,3] != [1,2,4] true 2 | {"A":"a","B":"b"} != {"A":"a","B":"b"} false 3 | 17 != 17.0 false 4 | "foo" != "bar" true 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__notequal__nullptr_t.output: -------------------------------------------------------------------------------- 1 | [1,2,3] != nullptr true 2 | {"A":"a","B":"b"} != nullptr true 3 | 17 != nullptr true 4 | "foo" != nullptr true 5 | null != nullptr false 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator__value_t.output: -------------------------------------------------------------------------------- 1 | true 2 | true 3 | true 4 | true 5 | true 6 | true 7 | true 8 | true 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__json_pointer.output: -------------------------------------------------------------------------------- 1 | 1 2 | "foo" 3 | [1,2] 4 | 2 5 | "bar" 6 | {"array":[1,2],"boolean":true,"number":1,"string":"bar"} 7 | [1,21,null,null,44] 8 | [1,21,null,null,44,55] 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__json_pointer_const.output: -------------------------------------------------------------------------------- 1 | 1 2 | "foo" 3 | [1,2] 4 | 2 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__keytype.c++17.output: -------------------------------------------------------------------------------- 1 | 2 2 | 3 | { 4 | "one": 1, 5 | "three": 3, 6 | "two": 2 7 | } 8 | 9 | { 10 | "five": { 11 | "really": { 12 | "nested": true 13 | } 14 | }, 15 | "four": null, 16 | "one": 1, 17 | "three": 3, 18 | "two": 2 19 | } 20 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__keytype_const.c++17.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using namespace std::string_view_literals; 6 | using json = nlohmann::json; 7 | 8 | int main() 9 | { 10 | // create a JSON object 11 | const json object = 12 | { 13 | {"one", 1}, {"two", 2}, {"three", 2.9} 14 | }; 15 | 16 | // output element with key "two" 17 | std::cout << object["two"sv] << '\n'; 18 | } 19 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__keytype_const.c++17.output: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__object_t_key_type.output: -------------------------------------------------------------------------------- 1 | 2 2 | 3 | { 4 | "one": 1, 5 | "three": 3, 6 | "two": 2 7 | } 8 | 9 | { 10 | "five": { 11 | "really": { 12 | "nested": true 13 | } 14 | }, 15 | "four": null, 16 | "one": 1, 17 | "three": 3, 18 | "two": 2 19 | } 20 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__object_t_key_type_const.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create a JSON object 9 | const json object = 10 | { 11 | {"one", 1}, {"two", 2}, {"three", 2.9} 12 | }; 13 | 14 | // output element with key "two" 15 | std::cout << object["two"] << '\n'; 16 | } 17 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__object_t_key_type_const.output: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__size_type.output: -------------------------------------------------------------------------------- 1 | 4 2 | [1,2,3,4,6] 3 | [1,2,3,4,6,null,null,null,null,null,11] 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__size_type_const.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create JSON array 9 | const json array = {"first", "2nd", "third", "fourth"}; 10 | 11 | // output element at index 2 (third element) 12 | std::cout << array.at(2) << '\n'; 13 | } 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_array__size_type_const.output: -------------------------------------------------------------------------------- 1 | "third" 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_deserialize.output: -------------------------------------------------------------------------------- 1 | { 2 | "array": [ 3 | 1, 4 | 2, 5 | 3, 6 | 4, 7 | 5 8 | ], 9 | "boolean": false, 10 | "null": null, 11 | "number": 23, 12 | "string": "Hello, world!" 13 | } 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_literal_json.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | using namespace nlohmann::literals; 7 | 8 | int main() 9 | { 10 | json j = R"( {"hello": "world", "answer": 42} )"_json; 11 | 12 | std::cout << std::setw(2) << j << '\n'; 13 | } 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_literal_json.output: -------------------------------------------------------------------------------- 1 | { 2 | "answer": 42, 3 | "hello": "world" 4 | } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_literal_json_pointer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | using namespace nlohmann::literals; 7 | 8 | int main() 9 | { 10 | json j = R"( {"hello": "world", "answer": 42} )"_json; 11 | auto val = j["/hello"_json_pointer]; 12 | 13 | std::cout << std::setw(2) << val << '\n'; 14 | } 15 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_literal_json_pointer.output: -------------------------------------------------------------------------------- 1 | "world" 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_ltlt__basic_json.output: -------------------------------------------------------------------------------- 1 | {"one":1,"two":2} 2 | 3 | [1,2,4,8,16] 4 | 5 | { 6 | "one": 1, 7 | "two": 2 8 | } 9 | 10 | [ 11 | 1, 12 | 2, 13 | 4, 14 | 8, 15 | 16 16 | ] 17 | 18 | { 19 | "one": 1, 20 | "two": 2 21 | } 22 | 23 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_ltlt__json_pointer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create JSON poiner 9 | json::json_pointer ptr("/foo/bar/baz"); 10 | 11 | // write string representation to stream 12 | std::cout << ptr << std::endl; 13 | } 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_ltlt__json_pointer.output: -------------------------------------------------------------------------------- 1 | /foo/bar/baz 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_spaceship__const_reference.c++20.output: -------------------------------------------------------------------------------- 1 | [1,2,3] <=> [1,2,4] := less 2 | {"A":"a","B":"b"} <=> {"A":"a","B":"b"} := equivalent 3 | "foo" <=> 17 := greater 4 | "foo" <=> := unordered 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/operator_spaceship__scalartype.c++20.output: -------------------------------------------------------------------------------- 1 | false <=> true := less 2 | 17 <=> 17.000000 := equivalent 3 | 17 <=> nan := unordered 4 | "17" <=> 17 := greater 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/ordered_json.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using ordered_json = nlohmann::ordered_json; 5 | 6 | int main() 7 | { 8 | ordered_json j; 9 | j["one"] = 1; 10 | j["two"] = 2; 11 | j["three"] = 3; 12 | 13 | std::cout << j.dump(2) << '\n'; 14 | } 15 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/ordered_json.output: -------------------------------------------------------------------------------- 1 | { 2 | "one": 1, 3 | "two": 2, 4 | "three": 3 5 | } 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/ordered_map.output: -------------------------------------------------------------------------------- 1 | m_ordered = { one:eins two:zwei three:drei } 2 | m_std = { one:eins three:drei two:zwei } 3 | m_ordered = { two:zwei three:drei one:eins } 4 | m_std = { one:eins three:drei two:zwei } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/other_error.output: -------------------------------------------------------------------------------- 1 | message: [json.exception.other_error.501] unsuccessful: {"op":"test","path":"/best_biscuit/name","value":"Choco Leibniz"} 2 | exception id: 501 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/out_of_range.output: -------------------------------------------------------------------------------- 1 | message: [json.exception.out_of_range.401] array index 4 is out of range 2 | exception id: 401 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse__allow_exceptions.output: -------------------------------------------------------------------------------- 1 | [json.exception.parse_error.101] parse error at line 4, column 0: syntax error while parsing value - invalid string: control character U+000A (LF) must be escaped to \u000A or \n; last read: '"value without closing quotes' 2 | the input is invalid JSON 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse__contiguouscontainer__parser_callback_t.output: -------------------------------------------------------------------------------- 1 | [ 2 | 1, 3 | 2, 4 | 3 5 | ] 6 | 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse__iterator_pair.link: -------------------------------------------------------------------------------- 1 | online -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse__iterator_pair.output: -------------------------------------------------------------------------------- 1 | [ 2 | 1, 3 | 2, 4 | 3 5 | ] 6 | 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse__pointers.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | // a JSON text given as string that is not null-terminated 10 | const char* ptr = "[1,2,3]another value"; 11 | 12 | // parse and serialize JSON 13 | json j_complete = json::parse(ptr, ptr + 7); 14 | std::cout << std::setw(4) << j_complete << "\n\n"; 15 | } 16 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse__pointers.link: -------------------------------------------------------------------------------- 1 | online -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse__pointers.output: -------------------------------------------------------------------------------- 1 | [ 2 | 1, 3 | 2, 4 | 3 5 | ] 6 | 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/parse_error.output: -------------------------------------------------------------------------------- 1 | message: [json.exception.parse_error.101] parse error at line 1, column 8: syntax error while parsing value - unexpected ']'; expected '[', '{', or a literal 2 | exception id: 101 3 | byte position of error: 8 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/patch.output: -------------------------------------------------------------------------------- 1 | { 2 | "baz": "qux", 3 | "foo": "bar" 4 | } 5 | 6 | { 7 | "baz": "boo", 8 | "hello": [ 9 | "world" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/patch_inplace.output: -------------------------------------------------------------------------------- 1 | Before 2 | { 3 | "baz": "qux", 4 | "foo": "bar" 5 | } 6 | 7 | After 8 | { 9 | "baz": "boo", 10 | "hello": [ 11 | "world" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/push_back.output: -------------------------------------------------------------------------------- 1 | [1,2,3,4,5] 2 | null 3 | [1,2,3,4,5,6,7] 4 | ["first","second"] 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/push_back__initializer_list.output: -------------------------------------------------------------------------------- 1 | {"one":1,"two":2} 2 | null 3 | {"four":4,"one":1,"three":3,"two":2} 4 | [["five",5]] 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/push_back__object_t__value.output: -------------------------------------------------------------------------------- 1 | {"one":1,"two":2} 2 | null 3 | {"four":4,"one":1,"three":3,"two":2} 4 | {"A":"a","B":"b"} 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/rbegin.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | // create an array value 9 | json array = {1, 2, 3, 4, 5}; 10 | 11 | // get an iterator to the reverse-beginning 12 | json::reverse_iterator it = array.rbegin(); 13 | 14 | // serialize the element that the iterator points to 15 | std::cout << *it << '\n'; 16 | } 17 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/rbegin.output: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/rend.output: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/sax_parse__binary.output: -------------------------------------------------------------------------------- 1 | binary(val=[...]) 2 | 3 | result: true 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/size.output: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 1 4 | 1 5 | 2 6 | 0 7 | 5 8 | 0 9 | 1 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/std_hash.output: -------------------------------------------------------------------------------- 1 | hash(null) = 2654435769 2 | hash(false) = 2654436030 3 | hash(0) = 2654436095 4 | hash(0U) = 2654436156 5 | hash("") = 6142509191626859748 6 | hash({}) = 2654435832 7 | hash([]) = 2654435899 8 | hash({"hello": "world"}) = 4469488738203676328 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/std_swap.output: -------------------------------------------------------------------------------- 1 | j1 = {"one":1,"two":2} | j2 = [1,2,4,8,16] 2 | j1 = [1,2,4,8,16] | j2 = {"one":1,"two":2} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/string_t.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::boolalpha << std::is_same::value << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/string_t.output: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/swap__array_t.output: -------------------------------------------------------------------------------- 1 | value = {"array":["Snap","Crackle","Pop"]} 2 | array = [1,2,3,4] 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/swap__binary_t.output: -------------------------------------------------------------------------------- 1 | value = {"bytes":[4,5,6],"subtype":null} 2 | binary = {"bytes":[1,2,3],"subtype":null} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/swap__object_t.output: -------------------------------------------------------------------------------- 1 | value = {"translation":{"cow":"Kuh","dog":"Hund"}} 2 | object = {"one":"eins","two":"zwei"} 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/swap__reference.output: -------------------------------------------------------------------------------- 1 | j1 = {"e":2.718281828459045,"pi":3.141592653589793} 2 | j2 = [1,2,3,4,5] 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/swap__string_t.output: -------------------------------------------------------------------------------- 1 | value = ["the good","the fast","the ugly"] 2 | string = the bad 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/to_bjdata.output: -------------------------------------------------------------------------------- 1 | {i7compactTi6schemaF} 2 | [i1i2i3i4i5i6i7i8] 3 | [#i8i1i2i3i4i5i6i7i8 4 | [$i#i812345678 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/to_bson.output: -------------------------------------------------------------------------------- 1 | 0x1b 0x00 0x00 0x00 0x08 0x63 0x6f 0x6d 0x70 0x61 0x63 0x74 0x00 0x01 0x10 0x73 0x63 0x68 0x65 0x6d 0x61 0x00 0x00 0x00 0x00 0x00 0x00 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/to_cbor.output: -------------------------------------------------------------------------------- 1 | 0xa2 0x67 0x63 0x6f 0x6d 0x70 0x61 0x63 0x74 0xf5 0x66 0x73 0x63 0x68 0x65 0x6d 0x61 0x00 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/to_json.output: -------------------------------------------------------------------------------- 1 | {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"} 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/to_msgpack.output: -------------------------------------------------------------------------------- 1 | 0x82 0xa7 0x63 0x6f 0x6d 0x70 0x61 0x63 0x74 0xc3 0xa6 0x73 0x63 0x68 0x65 0x6d 0x61 0x00 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/to_string.output: -------------------------------------------------------------------------------- 1 | {"one":1,"two":2} 2 | 3 | 42 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/to_ubjson.output: -------------------------------------------------------------------------------- 1 | {i7compactTi6schemaF} 2 | [i1i2i3i4i5i6i7i8] 3 | [#i8i1i2i3i4i5i6i7i8 4 | [$i#i812345678 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/type.output: -------------------------------------------------------------------------------- 1 | true 2 | true 3 | true 4 | true 5 | true 6 | true 7 | true 8 | true 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/type_error.output: -------------------------------------------------------------------------------- 1 | message: [json.exception.type_error.308] cannot use push_back() with string 2 | exception id: 308 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/type_name.output: -------------------------------------------------------------------------------- 1 | null is a null 2 | true is a boolean 3 | -17 is a number 4 | 42 is a number 5 | 23.42 is a number 6 | {"one":1,"two":2} is an object 7 | [1,2,4,8,16] is an array 8 | "Hello, world" is a string 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/unflatten.output: -------------------------------------------------------------------------------- 1 | { 2 | "answer": { 3 | "everything": 42 4 | }, 5 | "happy": true, 6 | "list": [ 7 | 1, 8 | 0, 9 | 2 10 | ], 11 | "name": "Niels", 12 | "nothing": null, 13 | "object": { 14 | "currency": "USD", 15 | "value": 42.99 16 | }, 17 | "pi": 3.141 18 | } 19 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/update.output: -------------------------------------------------------------------------------- 1 | { 2 | "color": "blue", 3 | "names": { 4 | "en": "plane" 5 | }, 6 | "price": 17.99, 7 | "speed": 100 8 | } 9 | { 10 | "color": "blue", 11 | "names": { 12 | "de": "Flugzeug", 13 | "en": "plane" 14 | }, 15 | "price": 17.99, 16 | "speed": 100 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/update__range.output: -------------------------------------------------------------------------------- 1 | { 2 | "color": "blue", 3 | "names": { 4 | "en": "plane" 5 | }, 6 | "price": 17.99, 7 | "speed": 100 8 | } 9 | { 10 | "color": "blue", 11 | "names": { 12 | "de": "Flugzeug", 13 | "en": "plane" 14 | }, 15 | "price": 17.99, 16 | "speed": 100 17 | } 18 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/value__json_ptr.output: -------------------------------------------------------------------------------- 1 | 1 42.23 oops false 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/value__keytype.c++17.output: -------------------------------------------------------------------------------- 1 | 1 42.23 oops false 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/examples/value__object_t_key_type.output: -------------------------------------------------------------------------------- 1 | 1 42.23 oops false 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/json.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/json.gif -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/api/basic_json/~basic_json.md: -------------------------------------------------------------------------------- 1 | # nlohmann::basic_json::~basic_json 2 | 3 | ```cpp 4 | ~basic_json() noexcept; 5 | ``` 6 | 7 | Destroys the JSON value and frees all allocated memory. 8 | 9 | ## Exception safety 10 | 11 | No-throw guarantee: this member function never throws exceptions. 12 | 13 | ## Complexity 14 | 15 | Linear. 16 | 17 | 18 | 19 | ## Version history 20 | 21 | - Added in version 1.0.0. 22 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/css/custom.css: -------------------------------------------------------------------------------- 1 | /* disable ligatures in code and preformatted blocks */ 2 | code, pre { 3 | font-variant-ligatures: none; 4 | } 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/features/element_access/index.md: -------------------------------------------------------------------------------- 1 | # Element Access 2 | 3 | There are many ways elements in a JSON value can be accessed: 4 | 5 | - unchecked access via [`operator[]`](unchecked_access.md) 6 | - checked access via [`at`](checked_access.md) 7 | - access with default value via [`value`](default_value.md) 8 | - iterators 9 | - JSON pointers 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/features/parsing/index.md: -------------------------------------------------------------------------------- 1 | # Parsing 2 | 3 | !!! note 4 | 5 | This page is under construction. 6 | 7 | ## Input 8 | 9 | ## SAX vs. DOM parsing 10 | 11 | ## Exceptions 12 | 13 | See [parsing and exceptions](parse_exceptions.md). 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/home/sponsors.md: -------------------------------------------------------------------------------- 1 | # Sponsors 2 | 3 | You can sponsor this library at [GitHub Sponsors](https://github.com/sponsors/nlohmann). 4 | 5 | ## Named Sponsors 6 | 7 | - [Michael Hartmann](https://github.com/reFX-Mike) 8 | - [Stefan Hagen](https://github.com/sthagen) 9 | - [Steve Sperandeo](https://github.com/homer6) 10 | - [Robert Jefe Lindstädt](https://github.com/eljefedelrodeodeljefe) 11 | - [Steve Wagner](https://github.com/ciroque) 12 | 13 | Thanks everyone! 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/images/callback_events.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/images/callback_events.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/images/json_syntax_number.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/images/json_syntax_number.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/index.md: -------------------------------------------------------------------------------- 1 | # JSON for Modern C++ 2 | 3 | ![](images/json.gif) 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/integration/conan/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(json_example) 2 | cmake_minimum_required(VERSION 2.8.12) 3 | add_definitions("-std=c++11") 4 | 5 | include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) 6 | conan_basic_setup() 7 | 8 | add_executable(json_example example.cpp) 9 | target_link_libraries(json_example ${CONAN_LIBS}) 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/integration/conan/Conanfile.txt: -------------------------------------------------------------------------------- 1 | [requires] 2 | nlohmann_json/3.7.3 3 | 4 | [generators] 5 | cmake 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/integration/conan/example.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | std::cout << json::meta() << std::endl; 9 | } 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/integration/example.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using json = nlohmann::json; 6 | 7 | int main() 8 | { 9 | std::cout << std::setw(4) << json::meta() << std::endl; 10 | } 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/integration/vcpkg/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(json_example) 2 | cmake_minimum_required(VERSION 2.8.12) 3 | 4 | find_package(nlohmann_json CONFIG REQUIRED) 5 | 6 | add_executable(json_example example.cpp) 7 | target_link_libraries(json_example PRIVATE nlohmann_json::nlohmann_json) 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/mkdocs/docs/integration/vcpkg/example.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using json = nlohmann::json; 5 | 6 | int main() 7 | { 8 | std::cout << json::meta() << std::endl; 9 | } 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/usages/ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/usages/ios.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/usages/macos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/docs/usages/macos.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/nlohmann_json.pc: -------------------------------------------------------------------------------- 1 | Name: nlohmann_json 2 | Description: JSON for Modern C++ 3 | Version: 3.11.2 4 | Cflags: -IC:/Program Files (x86)/query_pdb/include 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/cmake_import/project/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | 3 | project(DummyImport CXX) 4 | 5 | find_package(nlohmann_json REQUIRED) 6 | 7 | add_executable(with_namespace_target main.cpp) 8 | target_link_libraries(with_namespace_target nlohmann_json::nlohmann_json) 9 | 10 | add_executable(without_namespace_target main.cpp) 11 | target_link_libraries(without_namespace_target nlohmann_json) 12 | 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/cmake_import_minver/project/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | 3 | project(DummyImportMinVer CXX) 4 | 5 | find_package(nlohmann_json 3.2.0 REQUIRED) 6 | 7 | add_executable(with_namespace_target main.cpp) 8 | target_link_libraries(with_namespace_target nlohmann_json::nlohmann_json) 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/cmake_target_include_directories/project/Bar.cpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ (supporting code) 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #include "Bar.hpp" 10 | 11 | class Bar; 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/cmake_target_include_directories/project/Foo.cpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ (supporting code) 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #include "Foo.hpp" 10 | 11 | class Foo; 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/cmake_target_include_directories/project/Foo.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ (supporting code) 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | #include 11 | 12 | class Foo {}; 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/cuda_example/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.18) 2 | project(json_cuda LANGUAGES CUDA) 3 | 4 | add_executable(json_cuda json_cuda.cu) 5 | target_include_directories(json_cuda PRIVATE ../../include) 6 | target_compile_features(json_cuda PUBLIC cuda_std_11) 7 | set_target_properties(json_cuda PROPERTIES 8 | CUDA_EXTENSIONS OFF 9 | CUDA_STANDARD_REQUIRED ON 10 | ) 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/exec_speed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/exec_speed.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/fuzz.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/fuzz.tiff -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/high_freq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/high_freq.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/low_freq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-08-29-fuzz/low_freq.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/conformance_overall_Result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/conformance_overall_Result.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Memory_(byte).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Memory_(byte).png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Time_(ms).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Time_(ms).png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_2._Stringify_Time_(ms).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_2._Stringify_Time_(ms).png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_3._Prettify_Time_(ms).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_3._Prettify_Time_(ms).png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_7._Code_size_FileSize_(byte).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_7._Code_size_FileSize_(byte).png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/exec_speed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/exec_speed.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/fuzz.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/fuzz.tiff -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/high_freq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/high_freq.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/low_freq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/reports/2016-10-02-fuzz/low_freq.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/src/unit.cpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ (supporting code) 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN 10 | #include "doctest_compatibility.h" 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/README.txt: -------------------------------------------------------------------------------- 1 | Move to http://llvm.org/docs/LibFuzzer.html 2 | 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LIBFUZZER_SRC_DIR=$(dirname $0) 3 | for f in $LIBFUZZER_SRC_DIR/*.cpp; do 4 | clang -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c & 5 | done 6 | wait 7 | rm -f libFuzzer.a 8 | ar ru libFuzzer.a Fuzzer*.o 9 | rm -f Fuzzer*.o 10 | 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/DSO1.cpp: -------------------------------------------------------------------------------- 1 | // This file is distributed under the University of Illinois Open Source 2 | // License. See LICENSE.TXT for details. 3 | 4 | // Source code for a simple DSO. 5 | 6 | int DSO1(int a) { 7 | if (a < 123456) 8 | return 0; 9 | return 1; 10 | } 11 | 12 | void Uncovered1() { } 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/DSO2.cpp: -------------------------------------------------------------------------------- 1 | // This file is distributed under the University of Illinois Open Source 2 | // License. See LICENSE.TXT for details. 3 | 4 | // Source code for a simple DSO. 5 | 6 | int DSO2(int a) { 7 | if (a < 3598235) 8 | return 0; 9 | return 1; 10 | } 11 | 12 | void Uncovered2() {} 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/DSOTestExtra.cpp: -------------------------------------------------------------------------------- 1 | // This file is distributed under the University of Illinois Open Source 2 | // License. See LICENSE.TXT for details. 3 | 4 | // Source code for a simple DSO. 5 | 6 | int DSOTestExtra(int a) { 7 | if (a < 452345) 8 | return 0; 9 | return 1; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/EmptyTest.cpp: -------------------------------------------------------------------------------- 1 | // This file is distributed under the University of Illinois Open Source 2 | // License. See LICENSE.TXT for details. 3 | // 4 | // A fuzzer with empty target function. 5 | 6 | #include 7 | #include 8 | 9 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/UninstrumentedTest.cpp: -------------------------------------------------------------------------------- 1 | // This file is distributed under the University of Illinois Open Source 2 | // License. See LICENSE.TXT for details. 3 | 4 | // This test should not be instrumented. 5 | #include 6 | #include 7 | 8 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { 9 | return 0; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/caller-callee.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-CallerCalleeTest -use_value_profile=1 -cross_over=0 -max_len=6 -seed=1 -runs=10000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/dict1.txt: -------------------------------------------------------------------------------- 1 | # Dictionary for SimpleDictionaryTest 2 | 3 | a="Elvis" 4 | b="Presley" 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-custommutator.test: -------------------------------------------------------------------------------- 1 | RUN: not LLVMFuzzer-CustomMutatorTest 2>&1 | FileCheck %s --check-prefix=LLVMFuzzerCustomMutator 2 | LLVMFuzzerCustomMutator: In LLVMFuzzerCustomMutator 3 | LLVMFuzzerCustomMutator: BINGO 4 | 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-dict.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | Done1000000: Done 1000000 runs in 3 | 4 | RUN: not LLVMFuzzer-SimpleDictionaryTest -dict=%S/dict1.txt -seed=1 -runs=1000003 2>&1 | FileCheck %s 5 | RUN: LLVMFuzzer-SimpleDictionaryTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=Done1000000 6 | 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-oom-with-profile.test: -------------------------------------------------------------------------------- 1 | REQUIRES: linux 2 | RUN: not LLVMFuzzer-OutOfMemoryTest -rss_limit_mb=300 2>&1 | FileCheck %s 3 | CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 300Mb) 4 | CHECK: Live Heap Allocations 5 | CHECK: Test unit written to ./oom- 6 | SUMMARY: libFuzzer: out-of-memory 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-printcovpcs.test: -------------------------------------------------------------------------------- 1 | RUN: LLVMFuzzer-SimpleTest -print_pcs=1 -seed=1 2>&1 | FileCheck %s --check-prefix=PCS 2 | PCS-NOT: NEW_PC 3 | PCS:INITED 4 | PCS:NEW_PC: {{0x[a-f0-9]+}} 5 | PCS:NEW_PC: {{0x[a-f0-9]+}} 6 | PCS:NEW 7 | PCS:BINGO 8 | 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-runs.test: -------------------------------------------------------------------------------- 1 | RUN: mkdir -p %t 2 | RUN: echo abcd > %t/NthRunCrashTest.in 3 | RUN: LLVMFuzzer-NthRunCrashTest %t/NthRunCrashTest.in 4 | RUN: LLVMFuzzer-NthRunCrashTest %t/NthRunCrashTest.in -runs=10 5 | RUN: not LLVMFuzzer-NthRunCrashTest %t/NthRunCrashTest.in -runs=10000 2>&1 | FileCheck %s 6 | RUN: rm %t/NthRunCrashTest.in 7 | CHECK: BINGO 8 | 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-seed.test: -------------------------------------------------------------------------------- 1 | RUN: LLVMFuzzer-SimpleCmpTest -seed=-1 -runs=0 2>&1 | FileCheck %s --check-prefix=CHECK_SEED_MINUS_ONE 2 | CHECK_SEED_MINUS_ONE: Seed: 4294967295 3 | 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-segv.test: -------------------------------------------------------------------------------- 1 | RUN: ASAN_OPTIONS=handle_segv=0 not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=LIBFUZZER_OWN_SEGV_HANDLER 2 | LIBFUZZER_OWN_SEGV_HANDLER: == ERROR: libFuzzer: deadly signal 3 | LIBFUZZER_OWN_SEGV_HANDLER: SUMMARY: libFuzzer: deadly signal 4 | LIBFUZZER_OWN_SEGV_HANDLER: Test unit written to ./crash- 5 | 6 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-threaded.test: -------------------------------------------------------------------------------- 1 | CHECK: Done 1000 runs in 2 | 3 | RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s 4 | RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s 5 | RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s 6 | RUN: LLVMFuzzer-ThreadedTest -use_traces=1 -runs=1000 2>&1 | FileCheck %s 7 | 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/fuzzer-ubsan.test: -------------------------------------------------------------------------------- 1 | RUN: not LLVMFuzzer-SignedIntOverflowTest-Ubsan 2>&1 | FileCheck %s 2 | CHECK: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' 3 | CHECK: Test unit written to ./crash- 4 | 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/hi.txt: -------------------------------------------------------------------------------- 1 | Hi! -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/lit.site.cfg.in: -------------------------------------------------------------------------------- 1 | config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@" 2 | config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" 3 | config.has_lsan = True if @HAS_LSAN@ == 1 else False 4 | lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg") 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/repeated-bytes.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: LLVMFuzzer-RepeatedBytesTest -seed=1 -runs=1000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/simple-cmp.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SimpleCmpTest -seed=1 -runs=100000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/standalone.test: -------------------------------------------------------------------------------- 1 | RUN: LLVMFuzzer-StandaloneInitializeTest %S/hi.txt %S/dict1.txt 2>&1 | FileCheck %s 2 | CHECK: StandaloneFuzzTargetMain: running 2 inputs 3 | CHECK: Done: {{.*}}hi.txt: (3 bytes) 4 | CHECK: Done: {{.*}}dict1.txt: (61 bytes) 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/swap-cmp.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SwapCmpTest -seed=1 -runs=10000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/ulimit.test: -------------------------------------------------------------------------------- 1 | RUN: ulimit -s 1000 2 | RUN: LLVMFuzzer-SimpleTest 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/unit/lit.cfg: -------------------------------------------------------------------------------- 1 | import lit.formats 2 | 3 | config.name = "LLVMFuzzer-Unittest" 4 | print config.test_exec_root 5 | config.test_format = lit.formats.GoogleTest(".", "Unittest") 6 | config.suffixes = [] 7 | config.test_source_root = config.test_exec_root 8 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/unit/lit.site.cfg.in: -------------------------------------------------------------------------------- 1 | config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@" 2 | lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/unit/lit.cfg") 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-cmp.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SimpleCmpTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-cmp2.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SimpleHashTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-cmp3.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-AbsNegAndConstantTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-cmp4.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-AbsNegAndConstant64Test -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-div.test: -------------------------------------------------------------------------------- 1 | CHECK: AddressSanitizer: FPE 2 | RUN: not LLVMFuzzer-DivTest -seed=1 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s 3 | 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-load.test: -------------------------------------------------------------------------------- 1 | CHECK: AddressSanitizer: global-buffer-overflow 2 | RUN: not LLVMFuzzer-LoadTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s 3 | 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-mem.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SingleMemcmpTest -seed=1 -use_cmp=0 -use_memcmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-set.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-FourIndependentBranchesTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s 3 | 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-strcmp.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SingleStrcmpTest -seed=1 -use_cmp=0 -use_memcmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-strncmp.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SingleStrncmpTest -seed=1 -use_cmp=0 -use_memcmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tests/thirdparty/Fuzzer/test/value-profile-switch.test: -------------------------------------------------------------------------------- 1 | CHECK: BINGO 2 | RUN: not LLVMFuzzer-SwitchTest -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1 | FileCheck %s 3 | RUN: not LLVMFuzzer-Switch2Test -use_cmp=0 -use_value_profile=1 -runs=100000000 -seed=1 2>&1 | FileCheck %s 4 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/amalgamate/config_json.json: -------------------------------------------------------------------------------- 1 | { 2 | "project": "JSON for Modern C++", 3 | "target": "single_include/nlohmann/json.hpp", 4 | "sources": [ 5 | "include/nlohmann/json.hpp" 6 | ], 7 | "include_paths": ["include"] 8 | } 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/amalgamate/config_json_fwd.json: -------------------------------------------------------------------------------- 1 | { 2 | "project": "JSON for Modern C++", 3 | "target": "single_include/nlohmann/json_fwd.hpp", 4 | "sources": [ 5 | "include/nlohmann/json_fwd.hpp" 6 | ], 7 | "include_paths": ["include"] 8 | } 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/cpplint/update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | wget -N https://raw.githubusercontent.com/cpplint/cpplint/master/cpplint.py 4 | wget -N https://raw.githubusercontent.com/cpplint/cpplint/master/README.rst 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/generate_natvis/README.md: -------------------------------------------------------------------------------- 1 | generate_natvis.py 2 | ================== 3 | 4 | Generate the Natvis debugger visualization file for all supported namespace combinations. 5 | 6 | ## Usage 7 | 8 | ``` 9 | ./generate_natvis.py --version X.Y.Z output_directory/ 10 | ``` 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/serve_header/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/serve_header/demo.png -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/serve_header/requirements.txt: -------------------------------------------------------------------------------- 1 | PyYAML==6.0 2 | watchdog==2.1.7 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/nlohmann_json/tools/serve_header/serve_header.yml.example: -------------------------------------------------------------------------------- 1 | # all paths are relative to the project root 2 | 3 | # the root directory for the web server 4 | # root: . 5 | 6 | # configure SSL 7 | # https: 8 | # enabled: true 9 | # these filenames are listed in .gitignore 10 | # cert_file: localhost.pem 11 | # key_file: localhost-key.pem 12 | 13 | # address and port for the server to listen on 14 | # bind: null 15 | # port: 8443 16 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.16) 2 | 3 | project(raw_pdb) 4 | 5 | set(CMAKE_CXX_STANDARD 11) 6 | 7 | set_property(GLOBAL PROPERTY USE_FOLDERS ON) 8 | 9 | 10 | 11 | add_subdirectory(src) 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/src/Examples/Examples_PCH.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2011-2022, Molecular Matters GmbH 2 | // See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) 3 | 4 | #include "Examples_PCH.h" 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/src/Foundation/PDB_DisableWarningsPop.h: -------------------------------------------------------------------------------- 1 | // Copyright 2011-2022, Molecular Matters GmbH 2 | // See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) 3 | 4 | #include "PDB_Platform.h" 5 | 6 | 7 | #if PDB_COMPILER_MSVC 8 | # pragma warning(pop) 9 | #elif PDB_COMPILER_CLANG 10 | # pragma clang diagnostic pop 11 | #endif 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/src/Foundation/PDB_DisableWarningsPush.h: -------------------------------------------------------------------------------- 1 | // Copyright 2011-2022, Molecular Matters GmbH 2 | // See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) 3 | 4 | #include "PDB_Platform.h" 5 | 6 | 7 | #if PDB_COMPILER_MSVC 8 | # pragma warning(push, 0) 9 | #elif PDB_COMPILER_CLANG 10 | # pragma clang diagnostic push 11 | # pragma clang diagnostic ignored "-Weverything" 12 | #endif 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/src/Foundation/PDB_Forward.h: -------------------------------------------------------------------------------- 1 | // Copyright 2011-2022, Molecular Matters GmbH 2 | // See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) 3 | 4 | #pragma once 5 | 6 | 7 | // See Jonathan Müller's blog for replacing std::move and std::forward: 8 | // https://foonathan.net/2021/09/move-forward/ 9 | #define PDB_FORWARD(...) static_cast(__VA_ARGS__) 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/src/Foundation/PDB_Memory.h: -------------------------------------------------------------------------------- 1 | // Copyright 2011-2022, Molecular Matters GmbH 2 | // See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) 3 | 4 | #pragma once 5 | 6 | 7 | #define PDB_NEW(_type) new _type 8 | #define PDB_NEW_ARRAY(_type, _length) new _type[_length] 9 | 10 | #define PDB_DELETE(_ptr) delete _ptr 11 | #define PDB_DELETE_ARRAY(_ptr) delete[] _ptr 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/src/PDB_DBITypes.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2011-2022, Molecular Matters GmbH 2 | // See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) 3 | 4 | #include "PDB_PCH.h" 5 | #include "PDB_DBITypes.h" 6 | 7 | 8 | const uint32_t PDB::DBI::StreamHeader::Signature = 0xffffffffu; 9 | const uint16_t PDB::DBI::DebugHeader::InvalidStreamIndex = 0xFFFFu; 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/raw_pdb/src/PDB_PCH.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2011-2022, Molecular Matters GmbH 2 | // See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause) 3 | 4 | #include "PDB_PCH.h" 5 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=false 2 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/cmake/spdlog.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=${prefix} 3 | includedir=@PKG_CONFIG_INCLUDEDIR@ 4 | libdir=@PKG_CONFIG_LIBDIR@ 5 | 6 | Name: lib@PROJECT_NAME@ 7 | Description: Fast C++ logging library. 8 | URL: https://github.com/gabime/@PROJECT_NAME@ 9 | Version: @SPDLOG_VERSION@ 10 | CFlags: -I${includedir} @PKG_CONFIG_DEFINES@ 11 | Libs: -L${libdir} -lspdlog -pthread 12 | Requires: @PKG_CONFIG_REQUIRES@ 13 | 14 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/include/spdlog/details/windows_include.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef NOMINMAX 4 | # define NOMINMAX // prevent windows redefining min/max 5 | #endif 6 | 7 | #ifndef WIN32_LEAN_AND_MEAN 8 | # define WIN32_LEAN_AND_MEAN 9 | #endif 10 | 11 | #include 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/include/spdlog/fmt/bundled/locale.h: -------------------------------------------------------------------------------- 1 | #include "xchar.h" 2 | #warning fmt/locale.h is deprecated, include fmt/format.h or fmt/xchar.h instead 3 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/include/spdlog/fwd.h: -------------------------------------------------------------------------------- 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. 2 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 3 | 4 | #pragma once 5 | 6 | namespace spdlog { 7 | class logger; 8 | class formatter; 9 | 10 | namespace sinks { 11 | class sink; 12 | } 13 | 14 | namespace level { 15 | enum level_enum : int; 16 | } 17 | 18 | } // namespace spdlog 19 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/include/spdlog/version.h: -------------------------------------------------------------------------------- 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. 2 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 3 | 4 | #pragma once 5 | 6 | #define SPDLOG_VER_MAJOR 1 7 | #define SPDLOG_VER_MINOR 11 8 | #define SPDLOG_VER_PATCH 0 9 | 10 | #define SPDLOG_VERSION (SPDLOG_VER_MAJOR * 10000 + SPDLOG_VER_MINOR * 100 + SPDLOG_VER_PATCH) 11 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/scripts/ci_setup_clang.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex 4 | 5 | VERSION=$1 6 | 7 | apt-get update 8 | apt-get install -y libc++-${VERSION}-dev libc++abi-${VERSION}-dev 9 | 10 | if [[ "${VERSION}" -ge 12 ]]; then 11 | apt-get install -y --no-install-recommends libunwind-${VERSION}-dev 12 | fi 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/src/async.cpp: -------------------------------------------------------------------------------- 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. 2 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 3 | 4 | #ifndef SPDLOG_COMPILED_LIB 5 | # error Please define SPDLOG_COMPILED_LIB to compile this file. 6 | #endif 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/src/cfg.cpp: -------------------------------------------------------------------------------- 1 | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors. 2 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 3 | 4 | #ifndef SPDLOG_COMPILED_LIB 5 | # error Please define SPDLOG_COMPILED_LIB to compile this file. 6 | #endif 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-dma/thirdparty/spdlog/tests/main.cpp: -------------------------------------------------------------------------------- 1 | #if defined(__GNUC__) && __GNUC__ == 12 2 | # pragma GCC diagnostic push 3 | # pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Workaround for GCC 12 4 | #endif 5 | 6 | #define CATCH_CONFIG_MAIN 7 | #include "catch.hpp" 8 | 9 | #if defined(__GNUC__) && __GNUC__ == 12 10 | # pragma GCC diagnostic pop 11 | #endif 12 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-protocol/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.2.0) 2 | 3 | project(blacksun-protocol C CXX) 4 | 5 | find_package(SDL2 REQUIRED) 6 | 7 | file(GLOB_RECURSE BLACKSUN_PROTOCOL_SOURCES "src/*.cpp") 8 | add_library(${PROJECT_NAME} ${BLACKSUN_PROTOCOL_SOURCES}) 9 | target_include_directories(${PROJECT_NAME} PUBLIC ${SDL2_INCLUDE_DIRS}) 10 | target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARIES} blacksun-util) 11 | 12 | target_include_directories(${PROJECT_NAME} PUBLIC include) 13 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-protocol/src/protocol-frontend.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by RSP on 2023/3/25. 3 | // 4 | #include 5 | 6 | #include 7 | #include 8 | 9 | 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-util/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(blacksun-util C CXX) 2 | 3 | add_library(${PROJECT_NAME} INTERFACE) 4 | 5 | target_include_directories(${PROJECT_NAME} INTERFACE include) 6 | 7 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-util/include/forceinline.h: -------------------------------------------------------------------------------- 1 | #define __forceinline __attribute__((always_inline)) inline -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-util/include/oldnames.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef _OLDNAMES_EMU_ 4 | #define _OLDNAMES_EMU_ 5 | 6 | #include "oldnames_inline.h" 7 | 8 | #endif // !_OLDNAMES_EMU_ 9 | 10 | -------------------------------------------------------------------------------- /framework/libblacksun/libblacksun-util/include/xorstr.hpp: -------------------------------------------------------------------------------- 1 | #define xs -------------------------------------------------------------------------------- /framework/moonlight-mydrawer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.20) 2 | 3 | project(moonlight-mydrawer C CXX) 4 | 5 | add_subdirectory(imgui) 6 | 7 | find_package(SDL2 REQUIRED) 8 | 9 | add_library(${PROJECT_NAME} SHARED gui.cpp main.cpp) 10 | 11 | target_include_directories(${PROJECT_NAME} PRIVATE ${SDL2_INCLUDE_DIRS}) 12 | target_link_libraries(${PROJECT_NAME} PRIVATE ${SDL2_LIBRARIES} blacksun-util blacksun-protocol imgui) 13 | -------------------------------------------------------------------------------- /framework/moonlight-mydrawer/imgui/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | project(imgui C CXX) 3 | 4 | find_package(SDL2 REQUIRED) 5 | 6 | file(GLOB_RECURSE IMGUI_SOURCES "src/*.cpp") 7 | 8 | add_library(${PROJECT_NAME} ${IMGUI_SOURCES}) 9 | 10 | target_compile_options(${PROJECT_NAME} PRIVATE -fPIC) 11 | 12 | target_link_directories(${PROJECT_NAME} PRIVATE ${SDL2_LIBRARIES}) 13 | target_include_directories(${PROJECT_NAME} PRIVATE ${SDL2_INCLUDE_DIRS}) 14 | target_include_directories(${PROJECT_NAME} PUBLIC include) 15 | -------------------------------------------------------------------------------- /gpu-passthrough/vfio-pci-override-vga.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in /sys/bus/pci/devices/*/boot_vga 4 | do 5 | if [ $(cat "$i") -eq 0 ]; then 6 | GPU="${i%/boot_vga}" 7 | for part in `ls -d $(echo $GPU | cut -f1 -d'.').*` 8 | do 9 | echo "vfio-pci" > "$part/driver_override" 10 | BIND_DEVICE=`echo "$part" | cut -d '/' -f 6` 11 | echo "$BIND_DEVICE" >> /sys/bus/pci/drivers/vfio-pci/bind 12 | done 13 | fi 14 | done 15 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/AntiHooking/antihookingprotection.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef ANTIHOOKING_LIBRARY 4 | #define AH_EXPORT extern "C" __declspec(dllexport) 5 | #else 6 | #define AH_EXPORT extern "C" __declspec(dllimport) 7 | #endif 8 | 9 | AH_EXPORT void AntiHookingDummyImport(); 10 | 11 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/ModeSeven.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/ModeSeven.ttf -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/SDL_GameControllerDB/.github/workflows/check.yml: -------------------------------------------------------------------------------- 1 | name: Data check 2 | on: 3 | push: 4 | branches: [master] 5 | jobs: 6 | duplicates: 7 | runs-on: ubuntu-20.04 8 | steps: 9 | - uses: actions/checkout@v2 10 | - run: | 11 | python duplicates.py -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/SDL_GameControllerDB/mapping_guide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/SDL_GameControllerDB/mapping_guide.png -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/deploy/linux/com.moonlight_stream.Moonlight.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Moonlight 3 | Comment=Stream games from your NVIDIA GameStream-enabled PC 4 | Exec=moonlight 5 | Icon=moonlight 6 | Terminal=false 7 | Type=Application 8 | Categories=Qt;Game; 9 | Keywords=nvidia;gamestream;stream; 10 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/deploy/steamlink/moonlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/deploy/steamlink/moonlight.png -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/deploy/steamlink/moonlight.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # The default HOME is not persistent, so override 4 | # it to a path on the onboard flash. Otherwise our 5 | # pairing data will be lost each reboot. 6 | HOME=/usr/local/moonlight 7 | 8 | # Renice PE_Single_CPU which seems to host A/V stuff 9 | renice -10 -p $(pidof PE_Single_CPU) 10 | 11 | # Renice Moonlight itself to avoid preemption by background tasks 12 | # Write output to a logfile in /tmp 13 | exec nice -n -10 ./bin/moonlight > /tmp/moonlight.log 14 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/deploy/steamlink/toc.txt: -------------------------------------------------------------------------------- 1 | name=Moonlight 2 | icon=moonlight.png 3 | run=moonlight.sh 4 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/gui/ErrorMessageDialog.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.Controls 2.2 3 | 4 | import SystemProperties 1.0 5 | 6 | NavigableMessageDialog { 7 | standardButtons: Dialog.Ok | (SystemProperties.hasBrowser ? Dialog.Help : 0) 8 | } 9 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/gui/GamepadMapper.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | 3 | Item { 4 | objectName: qsTr("Gamepad Mapping") 5 | } 6 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/gui/NavigableMenu.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.Controls 2.2 3 | 4 | Menu { 5 | onOpened: { 6 | // Give focus to the first visible and enabled menu item 7 | for (var i = 0; i < count; i++) { 8 | var item = itemAt(i) 9 | if (item.visible && item.enabled) { 10 | item.forceActiveFocus(Qt.TabFocusReason) 11 | break 12 | } 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: ['https://github.com/ocornut/imgui/wiki/Sponsors'] 2 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | (Click "Preview" to turn any http URL into a clickable link) 2 | 3 | 1. PLEASE CAREFULLY READ: [Contributing Guidelines](https://github.com/ocornut/imgui/blob/master/docs/CONTRIBUTING.md) 4 | 5 | 2. Clear this template before submitting your PR. 6 | 7 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/.github/workflows/scheduled.yml: -------------------------------------------------------------------------------- 1 | # 2 | # This is a dummy workflow used to trigger scheduled builds. Forked repositories most likely should disable this 3 | # workflow to avoid daily builds of inactive repositories. 4 | # 5 | name: scheduled 6 | 7 | on: 8 | schedule: 9 | - cron: '0 9 * * *' 10 | 11 | jobs: 12 | scheduled: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - run: exit 0 16 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/backends/vulkan/generate_spv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ## -V: create SPIR-V binary 3 | ## -x: save binary output as text-based 32-bit hexadecimal numbers 4 | ## -o: output file 5 | glslangValidator -V -x -o glsl_shader.frag.u32 glsl_shader.frag 6 | glslangValidator -V -x -o glsl_shader.vert.u32 glsl_shader.vert 7 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/backends/vulkan/glsl_shader.frag: -------------------------------------------------------------------------------- 1 | #version 450 core 2 | layout(location = 0) out vec4 fColor; 3 | 4 | layout(set=0, binding=0) uniform sampler2D sTexture; 5 | 6 | layout(location = 0) in struct { 7 | vec4 Color; 8 | vec2 UV; 9 | } In; 10 | 11 | void main() 12 | { 13 | fColor = In.Color * texture(sTexture, In.UV.st); 14 | } 15 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/examples/example_android_opengl3/android/.gitignore: -------------------------------------------------------------------------------- 1 | .cxx 2 | .externalNativeBuild 3 | build/ 4 | *.iml 5 | 6 | .idea 7 | .gradle 8 | local.properties 9 | 10 | # Android Studio puts a Gradle wrapper here, that we don't want: 11 | gradle/ 12 | gradlew* 13 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/examples/example_android_opengl3/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/examples/example_apple_metal/README.md: -------------------------------------------------------------------------------- 1 | # iOS / OSX Metal example 2 | 3 | ## Introduction 4 | 5 | This example shows how to integrate Dear ImGui with Metal. It is based on the "cross-platform" game template provided with Xcode as of Xcode 9. 6 | 7 | Consider basing your work off the example_glfw_metal/ or example_sdl2_metal/ examples. They are better supported and will be portable unlike this one. 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/examples/example_null/build_win32.bat: -------------------------------------------------------------------------------- 1 | @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. 2 | mkdir Debug 3 | cl /nologo /Zi /MD /I ..\.. %* *.cpp ..\..\*.cpp /FeDebug/example_null.exe /FoDebug/ /link gdi32.lib shell32.lib imm32.lib 4 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/examples/libs/glfw/lib-vc2010-32/glfw3.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/examples/libs/glfw/lib-vc2010-32/glfw3.lib -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/examples/libs/glfw/lib-vc2010-64/glfw3.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/examples/libs/glfw/lib-vc2010-64/glfw3.lib -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/examples/libs/usynergy/README.txt: -------------------------------------------------------------------------------- 1 | 2 | uSynergy client -- Implementation for the embedded Synergy client library 3 | version 1.0.0, July 7th, 2012 4 | Copyright (c) 2012 Alex Evans 5 | 6 | This is a copy of the files once found at: 7 | https://github.com/symless/synergy-core/tree/790d108a56ada9caad8e56ff777d444485a69da9/src/micro 8 | 9 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/misc/fonts/Cousine-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/misc/fonts/Cousine-Regular.ttf -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/misc/fonts/DroidSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/misc/fonts/DroidSans.ttf -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/misc/fonts/Karla-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/misc/fonts/Karla-Regular.ttf -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/misc/fonts/ProggyClean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/misc/fonts/ProggyClean.ttf -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/misc/fonts/ProggyTiny.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/misc/fonts/ProggyTiny.ttf -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/misc/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/misc/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/imgui/misc/freetype/imgui_freetype.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/imgui/misc/freetype/imgui_freetype.cpp -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_cs.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_cs.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_de.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_de.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_el.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_el.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_es.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_es.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_fr.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_fr.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_hi.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_hi.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_hu.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_hu.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_it.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_it.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_ja.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_ko.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_ko.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_nb_NO.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_nb_NO.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_nl.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_nl.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_pl.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_pl.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_pt.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_pt.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_pt_BR.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_pt_BR.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_ru.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_ru.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_sv.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_sv.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_th.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_th.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_tr.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_tr.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_uk.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_vi.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_vi.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_zh_CN.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_zh_CN.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/languages/qml_zh_TW.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/languages/qml_zh_TW.qm -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/moonlight.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/moonlight.icns -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/moonlight.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/moonlight.ico -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/moonlight_wix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/moonlight_wix.png -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/qt.conf: -------------------------------------------------------------------------------- 1 | [Platforms] 2 | WindowsArguments = darkmode=1 -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/arrow_left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/baseline-cancel-24px.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/baseline-check_circle_outline-24px.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/baseline-error_outline-24px.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/baseline-help_outline-24px.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/baseline-lock-24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/baseline-play_circle_filled_white-48px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/baseline-warning-24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/desktop_windows-48px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/ic_add_to_queue_white_48px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/no_app_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/res/no_app_image.png -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/res/update.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/settings/compatfetcher.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class CompatFetcher : public QObject 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | explicit CompatFetcher(QObject *parent = nullptr); 12 | 13 | void start(); 14 | 15 | static bool isGfeVersionSupported(QString gfeVersion); 16 | 17 | private slots: 18 | void handleCompatInfoFetched(QNetworkReply* reply); 19 | 20 | private: 21 | QNetworkAccessManager m_Nam; 22 | }; 23 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/settings/mappingfetcher.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class MappingFetcher : public QObject 7 | { 8 | Q_OBJECT 9 | 10 | public: 11 | explicit MappingFetcher(QObject *parent = nullptr); 12 | 13 | void start(); 14 | 15 | private slots: 16 | void handleMappingListFetched(QNetworkReply* reply); 17 | 18 | private: 19 | QNetworkAccessManager m_Nam; 20 | }; 21 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/build_hlsl.bat: -------------------------------------------------------------------------------- 1 | fxc /T vs_4_0_level_9_3 /Fo d3d11_vertex.fxc d3d11_vertex.hlsl 2 | 3 | fxc /T ps_4_0_level_9_3 /Fo d3d11_overlay_pixel.fxc d3d11_overlay_pixel.hlsl 4 | fxc /T ps_4_0_level_9_3 /Fo d3d11_genyuv_pixel.fxc d3d11_genyuv_pixel.hlsl 5 | fxc /T ps_4_0_level_9_3 /Fo d3d11_bt601lim_pixel.fxc d3d11_bt601lim_pixel.hlsl 6 | fxc /T ps_4_0_level_9_3 /Fo d3d11_bt2020lim_pixel.fxc d3d11_bt2020lim_pixel.hlsl -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_bt2020lim_pixel.fxc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/shaders/d3d11_bt2020lim_pixel.fxc -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_bt2020lim_pixel.hlsl: -------------------------------------------------------------------------------- 1 | #include "d3d11_video_pixel_start.hlsli" 2 | 3 | static const min16float3x3 cscMatrix = 4 | { 5 | 1.1644, 1.1644, 1.1644, 6 | 0.0, -0.1874, 2.1418, 7 | 1.6781, -0.6505, 0.0, 8 | }; 9 | 10 | static const min16float3 offsets = 11 | { 12 | 16.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0 13 | }; 14 | 15 | #include "d3d11_video_pixel_end.hlsli" -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_bt601lim_pixel.fxc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/shaders/d3d11_bt601lim_pixel.fxc -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_bt601lim_pixel.hlsl: -------------------------------------------------------------------------------- 1 | #include "d3d11_video_pixel_start.hlsli" 2 | 3 | static const min16float3x3 cscMatrix = 4 | { 5 | 1.1644, 1.1644, 1.1644, 6 | 0.0, -0.3917, 2.0172, 7 | 1.5960, -0.8129, 0.0, 8 | }; 9 | 10 | static const min16float3 offsets = 11 | { 12 | 16.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0 13 | }; 14 | 15 | #include "d3d11_video_pixel_end.hlsli" -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_genyuv_pixel.fxc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/shaders/d3d11_genyuv_pixel.fxc -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_genyuv_pixel.hlsl: -------------------------------------------------------------------------------- 1 | #include "d3d11_video_pixel_start.hlsli" 2 | 3 | cbuffer CSC_CONST_BUF : register(b0) 4 | { 5 | min16float3x3 cscMatrix; 6 | min16float3 offsets; 7 | }; 8 | 9 | #include "d3d11_video_pixel_end.hlsli" -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_overlay_pixel.fxc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/shaders/d3d11_overlay_pixel.fxc -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_overlay_pixel.hlsl: -------------------------------------------------------------------------------- 1 | Texture2D theTexture : register(t0); 2 | SamplerState theSampler : register(s0); 3 | 4 | struct ShaderInput 5 | { 6 | float4 pos : SV_POSITION; 7 | float2 tex : TEXCOORD0; 8 | }; 9 | 10 | min16float4 main(ShaderInput input) : SV_TARGET 11 | { 12 | return theTexture.Sample(theSampler, input.tex); 13 | } -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_vertex.fxc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/app/shaders/d3d11_vertex.fxc -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_vertex.hlsl: -------------------------------------------------------------------------------- 1 | struct ShaderInput 2 | { 3 | float2 pos : POSITION; 4 | float2 tex : TEXCOORD0; 5 | }; 6 | 7 | struct ShaderOutput 8 | { 9 | float4 pos : SV_POSITION; 10 | float2 tex : TEXCOORD0; 11 | }; 12 | 13 | ShaderOutput main(ShaderInput input) 14 | { 15 | ShaderOutput output; 16 | output.pos = float4(input.pos, 0.0, 1.0); 17 | output.tex = input.tex; 18 | return output; 19 | } -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_video_pixel_end.hlsli: -------------------------------------------------------------------------------- 1 | min16float4 main(ShaderInput input) : SV_TARGET 2 | { 3 | min16float3 yuv = min16float3(luminancePlane.Sample(theSampler, input.tex), 4 | chrominancePlane.Sample(theSampler, input.tex)); 5 | 6 | // Subtract the YUV offset for limited vs full range 7 | yuv -= offsets; 8 | 9 | // Multiply by the conversion matrix for this colorspace 10 | yuv = mul(yuv, cscMatrix); 11 | 12 | return min16float4(yuv, 1.0); 13 | } -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/d3d11_video_pixel_start.hlsli: -------------------------------------------------------------------------------- 1 | Texture2D luminancePlane : register(t0); 2 | Texture2D chrominancePlane : register(t1); 3 | SamplerState theSampler : register(s0); 4 | 5 | struct ShaderInput 6 | { 7 | float4 pos : SV_POSITION; 8 | float2 tex : TEXCOORD0; 9 | }; -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/egl_nv12.vert: -------------------------------------------------------------------------------- 1 | #version 300 es 2 | 3 | layout (location = 0) in vec2 aPosition; // 2D: X,Y 4 | layout (location = 1) in vec2 aTexCoord; 5 | out vec2 vTextCoord; 6 | 7 | void main() { 8 | vTextCoord = aTexCoord; 9 | gl_Position = vec4(aPosition, 0, 1); 10 | } 11 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/egl_opaque.frag: -------------------------------------------------------------------------------- 1 | #version 300 es 2 | #extension GL_OES_EGL_image_external : require 3 | precision mediump float; 4 | out vec4 FragColor; 5 | 6 | in vec2 vTextCoord; 7 | 8 | uniform samplerExternalOES uTexture; 9 | 10 | void main() { 11 | FragColor = texture2D(uTexture, vTextCoord); 12 | } 13 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/egl_opaque.vert: -------------------------------------------------------------------------------- 1 | #version 300 es 2 | 3 | layout (location = 0) in vec2 aPosition; // 2D: X,Y 4 | layout (location = 1) in vec2 aTexCoord; 5 | out vec2 vTextCoord; 6 | 7 | void main() { 8 | vTextCoord = aTexCoord; 9 | gl_Position = vec4(aPosition, 0, 1); 10 | } 11 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/egl_overlay.frag: -------------------------------------------------------------------------------- 1 | precision mediump float; 2 | uniform sampler2D uTexture; 3 | varying vec2 vTexCoord; 4 | 5 | void main() { 6 | vec4 abgr = texture2D(uTexture, vTexCoord); 7 | 8 | gl_FragColor = abgr; 9 | gl_FragColor.r = abgr.b; 10 | gl_FragColor.b = abgr.r; 11 | } 12 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/shaders/egl_overlay.vert: -------------------------------------------------------------------------------- 1 | attribute vec2 aPosition; // 2D: X,Y 2 | attribute vec2 aTexCoord; 3 | varying vec2 vTexCoord; 4 | 5 | void main() { 6 | vTexCoord = aTexCoord; 7 | gl_Position = vec4(aPosition, 0, 1); 8 | } 9 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/streaming/video/ffmpeg-renderers/mysdl.h: -------------------------------------------------------------------------------- 1 | #ifndef MYSDL_H 2 | #define MYSDL_H 3 | 4 | #include 5 | 6 | namespace mysdl { 7 | 8 | void tryinit(); 9 | SDL_Surface *GetSurface(); 10 | } 11 | 12 | 13 | #endif // MYSDL_H 14 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/streaming/video/ffmpeg-renderers/vt.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "renderer.h" 4 | 5 | // A factory is required to avoid pulling in 6 | // incompatible Objective-C headers. 7 | class VTRendererFactory { 8 | public: 9 | static 10 | IFFmpegRenderer* createRenderer(); 11 | }; 12 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define THROW_BAD_ALLOC_IF_NULL(x) \ 4 | if ((x) == nullptr) throw std::bad_alloc() 5 | 6 | namespace WMUtils { 7 | bool isRunningX11(); 8 | bool isRunningWayland(); 9 | bool isRunningWindowManager(); 10 | bool isRunningDesktopEnvironment(); 11 | } 12 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/app/version.txt: -------------------------------------------------------------------------------- 1 | 4.3.1 -------------------------------------------------------------------------------- /moonlight/moonlight-qt/config.tests/EGL/EGL.pro: -------------------------------------------------------------------------------- 1 | SOURCES = main.cpp 2 | 3 | CONFIG += link_pkgconfig 4 | 5 | # This adds /opt/vc/include to the include path which 6 | # pulls in the BRCM GLES and EGL libraries. If we don't 7 | # add this, we'll get the system's headers which expose 8 | # functionality the runtime GL implementation won't have. 9 | packagesExist(mmal) { 10 | PKGCONFIG += mmal 11 | } 12 | 13 | PKGCONFIG += sdl2 egl libavcodec libavutil -------------------------------------------------------------------------------- /moonlight/moonlight-qt/config.tests/EGL/main.cpp: -------------------------------------------------------------------------------- 1 | #define SDL_USE_BUILTIN_OPENGL_DEFINITIONS 1 2 | 3 | #include 4 | #include 5 | 6 | #ifndef EGL_VERSION_1_4 7 | #error EGLRenderer requires EGL 1.4 8 | #endif 9 | 10 | #ifndef GL_ES_VERSION_2_0 11 | #error EGLRenderer requires OpenGL ES 2.0 12 | #endif 13 | 14 | int main() { 15 | return 0; 16 | } -------------------------------------------------------------------------------- /moonlight/moonlight-qt/config.tests/SL/SL.pro: -------------------------------------------------------------------------------- 1 | SOURCES = main.cpp 2 | LIBS += -lSLVideo -lSLAudio 3 | 4 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/config.tests/SL/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | SLVideo_CreateContext(); 7 | SLAudio_CreateContext(); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/h264bitstream/h264bitstream/.gitignore: -------------------------------------------------------------------------------- 1 | .deps 2 | .libs 3 | *.o 4 | *.lo 5 | *.la 6 | *.pc 7 | *.sh 8 | *.in 9 | Makefile 10 | aclocal.m4 11 | autom4te.cache 12 | build-aux 13 | config.* 14 | configure 15 | h264_analyze 16 | svc_split 17 | libtool 18 | m4/libtool.m4 19 | m4/lt* 20 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/h264bitstream/h264bitstream/MANIFEST: -------------------------------------------------------------------------------- 1 | CHANGES 2 | COPYING 3 | Doxyfile 4 | MANIFEST 5 | Makefile.am 6 | Makefile.unix 7 | README 8 | TODO 9 | bs.h 10 | configure.ac 11 | h264_analyze.c 12 | h264_avcc.c 13 | h264_avcc.h 14 | h264_sei.c 15 | h264_sei.h 16 | h264_slice_data.c 17 | h264_stream.c 18 | h264_stream.h 19 | m4/ax_check_debug.m4 20 | m4/ax_create_pkgconfig_info.m4 21 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/h264bitstream/h264bitstream/macroize.pl: -------------------------------------------------------------------------------- 1 | undef $/; 2 | $text = <>; 3 | $/ = "\n"; 4 | 5 | $text =~ s{(\w.*) = bs_read_(\w+)\(b\);}{value( $1, $2 );}g; 6 | $text =~ s{(\w.*) = bs_read_(\w+)\(b,\s*(\w.*)\);}{value( $1, $2($3) );}g; 7 | $text =~ s{read_(\w+)}{structure($1)}g; 8 | 9 | print $text; 10 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/h264bitstream/h264bitstream/samples/HOWTO.md: -------------------------------------------------------------------------------- 1 | Sources for samples: 2 | 3 | https://samples.mplayerhq.hu/V-codecs/h264/ 4 | http://www.itec.aau.at/ftp/datasets/SVCDASHDataset2015/ 5 | 6 | Commands used to create some of the samples from scratch: 7 | 8 | ffmpeg -f lavfi -i color=c=black:s=640x480:d=0.5 test.y4m 9 | x264 --profile high test.y4m -o test.264 10 | ./h264_analyze test.264 > test.out 11 | 12 | 13 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/h264bitstream/h264bitstream/samples/JM_cqm_cabac.264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/h264bitstream/h264bitstream/samples/JM_cqm_cabac.264 -------------------------------------------------------------------------------- /moonlight/moonlight-qt/h264bitstream/h264bitstream/samples/riverbed-II-360p-48961.264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/h264bitstream/h264bitstream/samples/riverbed-II-360p-48961.264 -------------------------------------------------------------------------------- /moonlight/moonlight-qt/h264bitstream/h264bitstream/samples/x264_test.264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/h264bitstream/h264bitstream/samples/x264_test.264 -------------------------------------------------------------------------------- /moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/.gitignore: -------------------------------------------------------------------------------- 1 | limelight-common/ARM/ 2 | limelight-common/Debug/ 3 | Build/ 4 | **/xcuserdata/ 5 | limelight-common/Release/ 6 | *.sdf 7 | *.suo 8 | limelight-common/limelight-common.vcxproj.user 9 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "enet"] 2 | path = enet 3 | url = https://github.com/cgutman/enet.git 4 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/enet/README: -------------------------------------------------------------------------------- 1 | Please visit the ENet homepage at http://enet.bespin.org for installation 2 | and usage instructions. 3 | 4 | If you obtained this package from github, the quick description on how to build 5 | is: 6 | 7 | # Generate the build system. 8 | 9 | autoreconf -vfi 10 | 11 | # Compile and install the library. 12 | 13 | ./configure && make && make install 14 | 15 | 16 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/enet/include/enet/types.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file types.h 3 | @brief type definitions for ENet 4 | */ 5 | #ifndef __ENET_TYPES_H__ 6 | #define __ENET_TYPES_H__ 7 | 8 | typedef unsigned char enet_uint8; /**< unsigned 8-bit type */ 9 | typedef unsigned short enet_uint16; /**< unsigned 16-bit type */ 10 | typedef unsigned int enet_uint32; /**< unsigned 32-bit type */ 11 | 12 | #endif /* __ENET_TYPES_H__ */ 13 | 14 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/enet/include/enet/utility.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file utility.h 3 | @brief ENet utility header 4 | */ 5 | #ifndef __ENET_UTILITY_H__ 6 | #define __ENET_UTILITY_H__ 7 | 8 | #define ENET_MAX(x, y) ((x) > (y) ? (x) : (y)) 9 | #define ENET_MIN(x, y) ((x) < (y) ? (x) : (y)) 10 | #define ENET_DIFFERENCE(x, y) ((x) < (y) ? (y) - (x) : (x) - (y)) 11 | 12 | #endif /* __ENET_UTILITY_H__ */ 13 | 14 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/enet/libenet.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: @PACKAGE_NAME@ 7 | Description: Low-latency UDP networking library supporting optional reliability 8 | Version: @PACKAGE_VERSION@ 9 | Cflags: -I${includedir} 10 | Libs: -L${libdir} -lenet 11 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/enet/m4/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/moonlight-common-c/moonlight-common-c/enet/m4/.keep -------------------------------------------------------------------------------- /moonlight/moonlight-qt/qmdnsengine/qmdnsengine/.gitignore: -------------------------------------------------------------------------------- 1 | /CMakeLists.txt.user 2 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/qmdnsengine/qmdnsengine/doc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | configure_file(Doxyfile.in "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile") 2 | 3 | add_custom_target(doc ALL 4 | "${DOXYGEN_EXECUTABLE}" \"${CMAKE_CURRENT_BINARY_DIR}/Doxyfile\" 5 | ) 6 | 7 | install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html" 8 | DESTINATION "${DOC_INSTALL_DIR}" 9 | COMPONENT documentation 10 | ) 11 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/qmdnsengine/qmdnsengine/examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(EXAMPLES 2 | browser 3 | provider 4 | ) 5 | 6 | foreach(EXAMPLE ${EXAMPLES}) 7 | set(EXAMPLE_DIR "${EXAMPLES_INSTALL_DIR}/${EXAMPLE}") 8 | add_subdirectory(${EXAMPLE}) 9 | install(DIRECTORY ${EXAMPLE} 10 | DESTINATION "${EXAMPLES_INSTALL_DIR}" 11 | COMPONENT examples 12 | ) 13 | endforeach() 14 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/qmdnsengine/qmdnsengine/examples/browser/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SRC 2 | browser.cpp 3 | mainwindow.cpp 4 | servicemodel.cpp 5 | ) 6 | 7 | add_executable(browser WIN32 ${SRC}) 8 | 9 | set_target_properties(browser PROPERTIES 10 | CXX_STANDARD 11 11 | ) 12 | 13 | target_link_libraries(browser qmdnsengine Qt5::Widgets) 14 | 15 | install(TARGETS browser 16 | RUNTIME DESTINATION "${EXAMPLE_DIR}" 17 | COMPONENT examples 18 | ) 19 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/qmdnsengine/qmdnsengine/examples/provider/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SRC 2 | mainwindow.cpp 3 | provider.cpp 4 | ) 5 | 6 | add_executable(provider WIN32 ${SRC}) 7 | 8 | target_link_libraries(provider qmdnsengine Qt5::Widgets) 9 | 10 | install(TARGETS provider 11 | RUNTIME DESTINATION "${EXAMPLE_DIR}" 12 | COMPONENT examples 13 | ) 14 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/qmdnsengine/qmdnsengine/tests/common/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SRC 2 | testserver.cpp 3 | util.cpp 4 | ) 5 | 6 | add_library(common STATIC ${SRC}) 7 | set_target_properties(common PROPERTIES 8 | CXX_STANDARD 11 9 | CXX_STANDARD_REQUIRED ON 10 | ) 11 | target_link_libraries(common qmdnsengine) 12 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/scripts/create-qt-pdb-zip.bat: -------------------------------------------------------------------------------- 1 | rem Run from Qt command prompt without changing directories 2 | 3 | del symbols.zip 4 | 7z a symbols.zip *.pdb -r -xr!Qt5WebEngineCore* -------------------------------------------------------------------------------- /moonlight/moonlight-qt/scripts/jom.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/scripts/jom.exe -------------------------------------------------------------------------------- /moonlight/moonlight-qt/scripts/vswhere.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/scripts/vswhere.exe -------------------------------------------------------------------------------- /moonlight/moonlight-qt/soundio/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/moonlight/moonlight-qt/soundio/config.h -------------------------------------------------------------------------------- /moonlight/moonlight-qt/soundio/libsoundio/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | build-win32/ 3 | build-win64/ 4 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/soundio/libsoundio/cmake/FindWASAPI.cmake: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Andrew Kelley 2 | # This file is MIT licensed. 3 | # See http://opensource.org/licenses/MIT 4 | 5 | # WASAPI_FOUND 6 | # AUDIOCLIENT_H 7 | 8 | if(WIN32) 9 | include(CheckIncludeFile) 10 | check_include_file(audioclient.h AUDIOCLIENT_H) 11 | endif() 12 | 13 | include(FindPackageHandleStandardArgs) 14 | find_package_handle_standard_args(WASAPI DEFAULT_MSG AUDIOCLIENT_H) 15 | -------------------------------------------------------------------------------- /moonlight/moonlight-qt/soundio/libsoundio/doc/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /screenshots/1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs1ime/blacksun-framework/189524a2a60c35c2bdf2d6a1b09abd8ffc9f50ec/screenshots/1.PNG --------------------------------------------------------------------------------