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. * * @generated SignedSource<<e5affd56757a5b815ac0a16305d1a82d>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 SignedSource<<c345dba878d470a42fcff41aac490083>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 SignedSource<<1b2061068e0d6c9ca362ceddd97862da>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 SignedSource<<c5b1dc86ec11d40e5d26ae8a6f0ee6ff>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 <react/featureflags/ReactNativeFeatureFlagsDefaults.h> namespace facebook::react { class ReactNativeFeat...
/* * 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 SignedSource<<3e8df9a7ff492fee6b5755c1691e150c>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 <react/featureflags/ReactNativeFeatureFlags.h> #include <react/featureflags/ReactNativeFeatureF...
/* * 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 <react/featureflags/ReactNativeFeatureFlags.h> #include <react/featureflags/ReactNativeFeatureF...
/* * 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 "JavaInteropTurboModule.h" namespace facebook::react { namespace { // This is used for generating short exception str...
/* * 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 <ReactCommon/TurboModule.h> #include <fbjni/fbjni.h> #include <jsi/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 <memory> #include <string> #include <cxxreact/MoveWrapper.h> #include <cxxreact/TraceSection.h> #include <fbjni/fbjni.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 <string> #include <ReactCommon/CallInvoker.h> #include <ReactCommon/TurboModule.h> #include <jsi/jsi.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 #import <string> #import <vector> #import <ReactCommon/TurboModule.h> #import <jsi/jsi.h> #import "RCTTurboModule...
/* * 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 <Foundation/Foundation.h> #import <React/RCTBridge.h> #import <React/RCTBridgeModule.h> #import <React/RCT...
/* * 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 <React/RCTBridgeModuleDecorator.h> #import <React/RCTDefines.h> #import <React/RCTTurboMo...
/* * 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> #ifdef __cplusplus #include <ReactCommon/CallInvoker.h> #include <jsi/jsi.h> #endif @protocol...
/* * 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 "CxxTurboModuleUtils.h" #include <utility> namespace facebook::react { std::unordered_map< std::string, std::...
/* * 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 <functional> #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. */ #include "TurboModule.h" #include <react/debug/react_native_assert.h> namespace facebook::react { TurboModuleMethodValueKind ge...
/* * 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 <unordered_map> #include <jsi/jsi.h> #include <ReactCommon/CallInvok...
/* * 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 "TurboModuleBinding.h" #include <ReactCommon/TurboModuleWithJSIBindings.h> #include <cxxreact/TraceSection.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 <string> #include <jsi/jsi.h> #include <react/bridging/LongLivedObject.h> #include <ReactCommon/TurboMod...
/* * 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 "TurboModulePerfLogger.h" namespace facebook::react::TurboModulePerfLogger { std::unique_ptr<NativeModulePerfLogger> 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 <reactperflogger/NativeModulePerfLogger.h> #include <memory> namespace facebook::react::TurboModulePerfLo...
/* * 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 "TurboModuleUtils.h" namespace facebook::react { Promise::Promise(jsi::Runtime& rt, jsi::Function resolve, jsi::Functi...
/* * 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> #include <react/bridging/LongLivedObject.h> #include <cassert> #include <functional> #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 "TurboModuleWithJSIBindings.h" #include <ReactCommon/TurboModule.h> namespace facebook::react { /* static */ void Tur...
/* * 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> namespace facebook::react { class TurboModule; class T...
/* * 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/TestCallInvoker.h> #include <ReactCommon/TurboModule.h> #include <gtest/gtest.h> #include <he...
/* * 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 USE_POSIX_TIME #include <time.h> #elif defined __MACH__ #include <mach/mach_time.h> #else #include <chr...
/* * 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 "NativeCPUTime.h" #include "CPUTime.h" #ifdef RN_DISABLE_OSS_PLUGIN_HEADER #include "Plugins.h" #endif std::shared_pt...
/* * 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 __has_include("rncoreJSI.h") // Cmake headers on Android #include "rncoreJSI.h" #elif __has_include("FBReactNat...
/* * 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 "DefaultTurboModules.h" #include <react/featureflags/ReactNativeFeatureFlags.h> #include <react/nativemodule/dom/NativeD...
/* * 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/TurboModule.h> namespace facebook::react { struct DefaultTurboModules { static std::shared_ptr<TurboMod...
/* * 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 "DevToolsRuntimeSettingsModule.h" #if RN_DISABLE_OSS_PLUGIN_HEADER #include "Plugins.h" #endif std::shared_ptr<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 <devtoolsruntimesettings/DevToolsRuntimeSettings.h> namespace facebook::react { class DevToolsRuntimeSet...
/* * 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 "NativeDOM.h" #include <react/renderer/bridging/bridging.h> #include <react/renderer/components/root/RootShadowNode.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 <string> #if __has_include("FBReactNativeSpecJSI.h") // CocoaPod headers on Apple #include "FBReactNative...
/* * 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 "NativeFantomTestSpecificMethods.h" #include <react/renderer/uimanager/UIManager.h> #include <react/renderer/uimanager/U...
/* * 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 { struct FantomForcedCloneCommitHoo...
/* * 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 "FantomForcedCloneCommitHook.h" #include <react/renderer/uimanager/UIManagerBinding.h> #include <react/renderer/uimanage...
/* * 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 <react/renderer/core/ShadowNode.h> #include <react/renderer/uimanager/UIManager.h> #include <react/rendere...
/* * 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 SignedSource<<0cdf0b920d8c8a083781028ff0490bf3>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 SignedSource<<dc1786ebed10af9cf4343d88b6336960>> */ /** * IMPORTANT: Do NOT modify this file directly. * * To ch...
/* * 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 "NativeIdleCallbacks.h" #include <react/renderer/runtimescheduler/RuntimeScheduler.h> #include <react/renderer/runtimesc...
/* * 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 __has_include("FBReactNativeSpecJSI.h") // CocoaPod headers on Apple #include "FBReactNativeSpecJSI.h" #else #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 "NativeIntersectionObserver.h" #include <react/renderer/core/ShadowNode.h> #include <react/renderer/runtimescheduler/Run...
/* * 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 __has_include("FBReactNativeSpecJSI.h") // CocoaPod headers on Apple #include "FBReactNativeSpecJSI.h" #else #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 "NativeMicrotasks.h" #ifdef RN_DISABLE_OSS_PLUGIN_HEADER #include "Plugins.h" #endif std::shared_ptr<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 #if __has_include("FBReactNativeSpecJSI.h") // CocoaPod headers on Apple #include "FBReactNativeSpecJSI.h" #else #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 "NativeMutationObserver.h" #include <cxxreact/TraceSection.h> #include <react/featureflags/ReactNativeFeatureFlags.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 <FBReactNativeSpec/FBReactNativeSpecJSI.h> #include <react/renderer/bridging/bridging.h> #include <react/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 <ReactCommon/SampleTurboModuleJSIBindings.h> namespace facebook::react { // static void SampleTurboModuleJSIBindings::...
/* * 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/BindingsInstallerHolder.h> #include <fbjni/fbjni.h> #include <jsi/jsi.h> 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. */ // NOTE: This entire file should be codegen'ed. #include <ReactCommon/SampleTurboModuleSpec.h> namespace facebook::react { stat...
/* * 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. */ // NOTE: This entire file should be codegen'ed. #pragma once #include <ReactCommon/JavaTurboModule.h> #include <ReactCommon/Tur...
/* * 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. */ // NOTE: This entire file should be codegen'ed. #import <vector> #import <Foundation/Foundation.h> #import <React/RCTBridgeMod...
/* * 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 <UIKit/UIKit.h> #import <React/RCTAssert.h> #import <React/RCTBridgeModule.h> #import <React/RCTInvalidating.h> #import ...
/* * 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 "RCTNativeSampleTurboModuleSpec.h" /** * Sample iOS-specific impl of a TurboModule, ...
/** * 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 an internal plugin build system */ #ifdef RN_DISABLE_OSS_PLUGIN_HEADER // FB Internal: Plugins.h is autogenera...
/* * 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 "NativePerformance.h" #include <memory> #include <unordered_map> #include <variant> #include <cxxreact/JSExecutor.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 #if __has_include("rncoreJSI.h") // Cmake headers on Android #include "rncoreJSI.h" #elif __has_include("FBReactNat...
/* * 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 "NetworkReporter.h" #ifdef REACT_NATIVE_DEBUGGER_ENABLED #include <jsinspector-modern/network/CdpNetwork.h> #include <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. */ #pragma once #include "NetworkTypes.h" #include <folly/dynamic.h> #include <react/timing/primitives.h> #include <mutex> #inclu...
/* * 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 <map> #include <optional> #include <string> // Defines generic input object types for NetworkReporter. 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. */ #include "CdpInteractionTypes.h" namespace facebook::react { const InteractionTypesMap& getInteractionTypes() { static Intera...
/* * 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_view> #include <unordered_map> namespace facebook::react { using InteractionTypesMap = std::unor...
/* * 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 "CdpMetricsReporter.h" #include "CdpInteractionTypes.h" #include <folly/dynamic.h> #include <folly/json.h> #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. */ #pragma once #include <ReactCommon/RuntimeExecutor.h> #include <jsi/jsi.h> #include <react/performance/timeline/PerformanceEntry...
/* * 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 "CdpPerfIssuesReporter.h" #include <folly/dynamic.h> #include <folly/json.h> #include <string_view> 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 <ReactCommon/RuntimeExecutor.h> #include <folly/dynamic.h> #include <jsi/jsi.h> #include <react/performanc...
/* * 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 <algorithm> #include <functional> #include <vector> namespace facebook::react { /** * A container for s...
/* * 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 <react/timing/primitives.h> #include <optional> #include <string> #include <variant> 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 <vector> #include "PerformanceEntry.h" namespace facebook::react { // Default duration threshold for rep...
/* * 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 "PerformanceEntryCircularBuffer.h" #include <variant> namespace facebook::react { void PerformanceEntryCircularBuffer...
/* * 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 "CircularBuffer.h" #include "PerformanceEntryBuffer.h" namespace facebook::react { class PerformanceEntr...
/* * 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 "PerformanceEntryKeyedBuffer.h" #include <string> namespace facebook::react { void PerformanceEntryKeyedBuffer::add(co...
/* * 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 <optional> #include <unordered_map> #include <vector> #include "PerformanceEntryBuffer.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 "PerformanceEntryReporter.h" #include <jsinspector-modern/ConsoleTaskOrchestrator.h> #include <jsinspector-modern/traci...
/* * 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 "PerformanceEntryCircularBuffer.h" #include "PerformanceEntryKeyedBuffer.h" #include "PerformanceEntryRepo...
/* * 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 "PerformanceEntry.h" #include <folly/dynamic.h> #include <react/timing/primitives.h> 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. */ #include "PerformanceObserver.h" #include "PerformanceEntryReporter.h" #include <variant> namespace facebook::react { void Per...
/* * 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 "PerformanceEntryBuffer.h" #include "PerformanceObserverRegistry.h" #include <react/timing/primitives.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 "PerformanceObserverRegistry.h" #include "PerformanceObserver.h" namespace facebook::react { void PerformanceObserverR...
/* * 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 <mutex> #include <set> #include "PerformanceEntry.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 <ostream> #include <gtest/gtest.h> #include "../CircularBuffer.h" namespace facebook::react { using namespace facebo...
/* * 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 <ostream> #include <gtest/gtest.h> #include "../PerformanceEntryReporter.h" #include <array> #include <variant> usin...
/* * 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 <ostream> #include "../PerformanceEntryReporter.h" #include "../PerformanceObserver.h" namesp...
/* * 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 "AnimatedModule.h" #include <glog/logging.h> #include <jsi/JSIDynamic.h> namespace facebook::react { AnimatedModule::...
/* * 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 __has_include("FBReactNativeSpecJSI.h") // CocoaPod headers on Apple #include "FBReactNativeSpecJSI.h" #else #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 <mutex> #include <shared_mutex> #include <react/renderer/core/EventPayload.h> #include <react/renderer/co...
/* * 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 "MergedValueDispatcher.h" #include <react/renderer/core/DynamicPropsUtilities.h> namespace facebook::react { MergedVal...
/* * 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> #include <react/renderer/core/ReactPrimitives.h> #include <functional> #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. */ #include "NativeAnimatedNodesManager.h" #include <cxxreact/TraceSection.h> #include <folly/json.h> #include <glog/logging.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. */ #pragma once #if __has_include("FBReactNativeSpecJSI.h") // CocoaPod headers on Apple #include "FBReactNativeSpecJSI.h" #else #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 "NativeAnimatedNodesManagerProvider.h" #include <glog/logging.h> #include <react/featureflags/ReactNativeFeatureFlags.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 <react/renderer/animated/MergedValueDispatcher.h> #include <react/renderer/uimanager/UIManagerNativeAnimat...
/* * 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. */ /* * Adapted from react-native-windows under the MIT license. */ #include "AnimationDriver.h" #include <glog/logging.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. */ /* * Adapted from react-native-windows under the MIT license. */ #pragma once #include <react/debug/flags.h> #include <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. */ /* * Adapted from react-native-windows under the MIT license. */ #pragma once #include <string_view> namespace facebook::rea...