text
stringlengths
1
24.5M
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/common/mapbuffer/JReadableMapBuffer.h> namespace facebook::react { class...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "DefaultComponentsRegistry.h" #include <CoreComponentsRegistry.h> #include <fbjni/fbjni.h> #include <react/debug/react_...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/fabric/ComponentFactory.h> #include <react/renderer/componentregistry/Comp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "DefaultTurboModuleManagerDelegate.h" #include <algorithm> #include <react/nativemodule/defaults/DefaultTurboModules.h...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <memory> #include <string> #include <vector> #include <ReactCommon/CxxReactPackage.h> #include <ReactCommon/JavaTurboMo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include "DefaultComponentsRegistry.h" #include "DefaultTurboModuleManagerDelegate.h" JNIEXPORT jint J...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <FBReactNativeSpec.h> #warning \ "[DEPRECATION] `rncore.h` is deprecated and will be removed in the future. \ I...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "BlobCollector.h" #include <fbjni/fbjni.h> #include <memory> #include <utility> using namespace facebook; namespace f...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsi/jsi.h> namespace facebook::react { class BlobCollector : public jni::Hybri...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include "BlobCollector.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*unused*/) { return ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <reactperflogger/NativeModulePerfLogger.h> #include <memory> namespace facebook:...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <memory> namespace facebook::react { class TurboModule; class CallInvoker; cla...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JHermesInstance.h" #include <fbjni/fbjni.h> namespace facebook::react { jni::local_ref<JHermesInstance::jhybriddata>...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <cxxreact/MessageQueueThread.h> #include <fbjni/fbjni.h> #include <jni.h> #include <jsi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include "JHermesInstance.h" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*unused*/) { retur...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JavaTimerRegistry.h" #include <utility> namespace facebook::react { JavaTimerRegistry::JavaTimerRegistry( jni::g...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <fbjni/fbjni.h> #include <react/runtime/PlatformTimerRegistry.h> #include "JJavaTimerM...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jni.h> #include <jsi/jsi.h> #include <react/runtime/BindingsInstaller.h> #includ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JJavaTimerManager.h" #include <fbjni/fbjni.h> #include <jni.h> namespace facebook::react { void JJavaTimerManager::c...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <cstdint> #include <fbjni/fbjni.h> #include <jni.h> namespace facebook::react { struct JJavaTimerManage...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jni.h> #include <react/runtime/JSRuntimeFactory.h> namespace facebook::react { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JJSTimerExecutor.h" #include <fbjni/fbjni.h> #include <jni.h> namespace facebook::react { void JJSTimerExecutor::ini...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/RuntimeExecutor.h> #include <fbjni/fbjni.h> #include <jni.h> #include <react/jni/WritableNati...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JReactExceptionManager.h" #include <fbjni/fbjni.h> #include <glog/logging.h> #include <jni.h> #include <jsi/JSIDynamic....
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jni.h> #include <jserrorhandler/JsErrorHandler.h> namespace facebook::react { ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JReactHostInspectorTarget.h" #include <fbjni/NativeRunnable.h> #include <jsinspector-modern/InspectorFlags.h> #include...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsinspector-modern/HostTarget.h> #include <react/jni/InspectorNetworkRequestList...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JReactInstance.h" #include <cxxreact/JSBigString.h> #include <cxxreact/RecoverableError.h> #include <fbjni/fbjni.h> #i...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/CallInvokerHolder.h> #include <ReactCommon/NativeMethodCallInvokerHolder.h> #include <ReactCo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include <react/jni/JReactMarker.h> #include "JJSTimerExecutor.h" #include "JReactHostInspectorTarget.h...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "PerformanceTracerCxxInterop.h" #include <fbjni/fbjni.h> JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*unused*...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "PerformanceTracerCxxInterop.h" #include <folly/dynamic.h> #include <jsinspector-modern/tracing/PerformanceTracer.h> #i...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jni.h> #include <react/jni/ReadableNativeMap.h> namespace facebook::react { cl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "BindingsInstallerHolder.h" #include <utility> namespace facebook::react { BindingsInstallerHolder::BindingsInstaller...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/CallInvoker.h> #include <ReactCommon/TurboModule.h> #include <fbjni/fbjni.h> namespace faceb...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CallInvokerHolder.h" namespace facebook::react { CallInvokerHolder::CallInvokerHolder(std::shared_ptr<CallInvoker> ca...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/CallInvoker.h> #include <fbjni/fbjni.h> #include <memory> namespace facebook::react { class...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "NativeMethodCallInvokerHolder.h" namespace facebook::react { NativeMethodCallInvokerHolder::NativeMethodCallInvokerHo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/CallInvoker.h> #include <fbjni/fbjni.h> #include <memory> namespace facebook::react { class...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <ReactCommon/TurboModulePerfLogger.h> #include <fbjni/fbjni.h> #include <reactperflogger/JNativeModulePerfLogger.h> #in...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "TurboModuleManager.h" #include <memory> #include <stdexcept> #include <string> #include <fbjni/fbjni.h> #include <jsi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <jsi/jsi.h> #include <memory> #include <unordered_map> #include <ReactCommon/Cal...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/CallInvoker.h> #include <ReactCommon/JavaTurboModule.h> #include <fbjni/fbjni.h> #include <me...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ComponentNameResolverBinding.h" #include <react/renderer/componentregistry/native/NativeComponentRegistryBinding.h> #...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/jni/JRuntimeExecutor.h> namespace facebook::react { class ComponentNameR...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbjni/fbjni.h> #include "ComponentNameResolverBinding.h" #include "UIConstantsProviderBinding.h" JNIEXPORT jint JNICA...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "UIConstantsProviderBinding.h" #include <jsi/JSIDynamic.h> #include <jsi/jsi.h> #include <react/runtime/nativeviewconfi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <fbjni/fbjni.h> #include <react/jni/JRuntimeExecutor.h> #include <react/jni/NativeMap.h> namespace facebo...
/* src/config.h. Generated from config.h.in by configure. */ /* src/config.h.in. Generated from configure.ac by autoheader. */ /* define if glog doesn't use RTTI */ #define DISABLE_RTTI 1 /* Namespace for Google classes */ #define GOOGLE_NAMESPACE google /* Define if you have the `dladdr' function */ #define HAV...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #ifndef RCT_DEPRECATED_DECLARATIONS #define RCT_DEPRECATED_DECLARATIONS 0 #endif #if RCT_DEPRECATED_DECLARATIONS #define RCT_DEP...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #import <memory> #import <string> #import <Foundation/Foundation.h> namespace facebook::react { class CallInvoker...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RCTSwiftUIContainerViewWrapper : N...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "SchedulerPriority.h" #include <functional> #include <string> namespace facebook::jsi { class Runtime; }...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once namespace facebook::react { enum class SchedulerPriority : int { ImmediatePriority = 1, UserBlockingPriority =...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <ReactCommon/CallInvoker.h> #include <jsi/jsi.h> #include <list> namespace facebook::react { class TestC...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <functional> #include <map> #include <tuple> #include <vector> #include <folly/dynamic.h> namespace face...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CxxNativeModule.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include "Instance.h" #include <folly/json.h> #include <glog/loggi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <cxxreact/CxxModule.h> #include <cxxreact/NativeModule.h> #ifndef RN_EXPO...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <jsi/jsi.h> namespace facebook::react { inline static void handleJSError(jsi::Runtime &runtime, const js...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Instance.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include "ErrorUtils.h" #include "JSBigString.h" #include "JSBundleType.h"...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <condition_variable> #include <list> #include <memory> #include <mutex> #...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/dynamic.h> namespace facebook { namespace xplat { namespace detail { inline std::string toString...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <exception> #include <string> #include <folly/dynamic.h> // When building a cross-platform module for Re...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSBigString.h" #include <glog/logging.h> #include <folly/portability/Fcntl.h> #include <folly/portability/SysMman.h> ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <string> #include <jsi/jsi.h> #ifndef RN_EXPORT #ifdef _MSC_VER #define RN_EXPORT #els...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSBundleType.h" namespace facebook::react { static uint32_t constexpr RAMBundleMagicNumber = 0xFB0BD1E5; // "Hermes"...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/Portability.h> #include <cstdint> #include <cstring> #ifndef RN_EXPORT #define RN_EXPORT __attribu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSExecutor.h" #include "RAMBundleRegistry.h" #include <jsinspector-modern/ReactCdp.h> #include <array> namespace fa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> #include <string> #include <cxxreact/NativeModule.h> #include <folly/dynamic.h> #include <jsinsp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "JSIndexedRAMBundle.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include <glog/logging.h> #include <fstream> #include <memory> #...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <functional> #include <istream> #include <memory> #include <string> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <cstdint> #include <stdexcept> #include <string> namespace facebook::reac...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <functional> namespace facebook::react { class MessageQueueThread { public: virtual ~MessageQueueThre...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "MethodCall.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include <folly/json.h> #include <stdexcept> namespace facebook::react ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <map> #include <string> #include <vector> #include <folly/dynamic.h> nam...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ModuleRegistry.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include <glog/logging.h> #include <reactperflogger/BridgeNativeModu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <memory> #include <unordered_set> #include <vector> #include <cxxreact/JS...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <memory> namespace facebook::react { /* NOTE: we keep this internal copy of folly/MoveWrapper.h to unblo...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <string> #include <vector> #include <folly/dynamic.h> #include <optional> namespace facebook::react { #...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "NativeToJsBridge.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include <ReactCommon/CallInvoker.h> #include <folly/json.h> #incl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <atomic> #include <functional> #include <map> #include <vector> #include ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RAMBundleRegistry.h" #ifndef RCT_REMOVE_LEGACY_ARCH #include <folly/String.h> #include <memory> namespace facebook:...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifndef RCT_REMOVE_LEGACY_ARCH #include <cstdint> #include <functional> #include <memory> #include <unordered_map>...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ReactMarker.h" namespace facebook::react::ReactMarker { #if __clang__ #pragma clang diagnostic push #pragma clang dia...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <cmath> #include <shared_mutex> #ifdef __APPLE__ #include <functional> #endif namespace facebook::react:...
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated by scripts/releases/set-version.js */ #pragma once #include <cstdint> #include <string_view> #define REACT_NATIV...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <exception> #include <functional> #include <string> namespace facebook::react { /** * RecoverableError ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "TraceSection.h" // NOTE: This is here for a backwards compatibility and should be removed once // all of...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #ifdef WITH_FBSYSTRACE #include <fbsystrace.h> #endif #ifdef WITH_PERFETTO // clang-format off // Windows.h macro...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <cxxreact/JsArgumentHelpers.h> #include <folly/dynamic.h> #include <gtest/gtest.h> #include <algorithm> using namespa...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fcntl.h> #include <sys/mman.h> #include <cxxreact/JSBigString.h> #include <gtest/gtest.h> using namespace facebook::r...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <cxxreact/MethodCall.h> #include <folly/json.h> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wsign-comp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include <exception> #include <stdexcept> #include <cxxreact/RecoverableError.h> using namespace face...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "DevToolsRuntimeSettings.h" namespace facebook::react { void DevToolsRuntimeSettings::setReloadAndProfileConfig( N...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <FBReactNativeSpec/FBReactNativeSpecJSI.h> namespace facebook::react { using NativePartialReloadAndProfi...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "HermesExecutorFactory.h" #include <cxxreact/MessageQueueThread.h> #include <cxxreact/TraceSection.h> #include <hermes/...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <hermes/hermes.h> #include <jsireact/JSIExecutor.h> #include <utility> namespace facebook::react { class...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ConnectionDemux.h" #if defined(HERMES_ENABLE_DEBUGGER) && !defined(HERMES_V1_ENABLED) #include <hermes/inspector/Runt...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #if defined(HERMES_ENABLE_DEBUGGER) && !defined(HERMES_V1_ENABLED) #include <memory> #include <mutex> #include <st...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #ifdef HERMES_ENABLE_DEBUGGER #include "HermesRuntimeAgentDelegate.h" #include <hermes/AsyncDebuggerAPI.h> #include <hermes/cdp...