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 <gmock/gmock.h> #include <gtest/gtest.h> #include <queue> #include <ReactCommon/RuntimeExecutor.h> #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. */ #include "TracingTest.h" #include "engines/JsiIntegrationTestHermesEngineAdapter.h" #include <folly/executors/QueuedImmediateExe...
/* * 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 "FollyDynamicMatchers.h" #include "JsiIntegrationTest.h" #include <fmt/format.h> #include <folly/dynamic....
/* * 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 <memory> namespace facebook { /** * A factory that creates objects of type T wrap...
/* * 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 "UniquePtrFactory.h" using namespace ::testing; namespace { struct Foo { explicit Foo(int...
/* * 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 <jsinspector-modern/Utf8.h> #include <gmock/gmock.h> #include <gtest/gtest.h> using namespace ::testing; 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. */ #include <jsinspector-modern/WeakList.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <vector> using namespace :...
/* * 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 <folly/executors/QueuedImmediateExecutor.h> #include <hermes/hermes.h> #include "JsiIntegrationTestGenericEngineAdapter...
/* * 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 "../utils/InspectorFlagOverridesGuard.h" #include <jsinspector-modern/FallbackRuntimeTargetDelegate.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. */ #include "JsiIntegrationTestHermesEngineAdapter.h" namespace facebook::react::jsinspector_modern { JsiIntegrationTestHermesEngi...
/* * 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 "../utils/InspectorFlagOverridesGuard.h" #include <jsinspector-modern/RuntimeTarget.h> #include <folly/e...
/* * 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 "InspectorFlagOverridesGuard.h" #include <jsinspector-modern/InspectorFlags.h> #include <react/featureflags/ReactNative...
/* * 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> #include <optional> namespace facebook::react::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 "ConsoleTimeStamp.h" namespace facebook::react::jsinspector_modern::tracing { std::optional<folly::dynamic> getConsole...
/* * 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/JSIDynamic.h> #include <jsi/jsi.h> #include <react/timing/primitives.h> #include <cassert> #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 "EventLoopReporter.h" #if defined(REACT_NATIVE_DEBUGGER_ENABLED) #include <react/timing/primitives.h> #include "Perform...
/* * 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(REACT_NATIVE_DEBUGGER_ENABLED) #include <react/timing/primitives.h> #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. */ #pragma once #include "TraceEvent.h" namespace facebook::react::jsinspector_modern::tracing { struct InstanceTracingProfile { ...
/* * 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 "PerformanceTracer.h" #include "Timing.h" #include "TraceEventSerializer.h" #include "TracingCategory.h" #include <jsin...
/* * 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 "ConsoleTimeStamp.h" #include "TraceEvent.h" #include "TraceEventProfile.h" #include <react/timing/primit...
/* * 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 <utility> #include <jsinspector-modern/tracing/RuntimeSamplingProfile.h> namespace facebook::react::jsin...
/* * 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 "TraceEvent.h" #include <memory> #include <optional> #include <string> #include <string_view> #include <v...
/* * 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 "RuntimeSamplingProfileTraceEventSerializer.h" #include "PerformanceTracer.h" #include "ProfileTreeNode.h" #include "Tra...
/* * 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 "RuntimeSamplingProfile.h" #include <react/timing/primitives.h> namespace facebook::react::jsinspector_m...
/* * 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 "TraceRecordingState.h" namespace facebook::react::jsinspector_modern::tracing { /** * An interface for...
/* * 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 <cassert> #include <react/timing/primitives.h> namespace facebook::react::jsinspector_modern::tracing { ...
/* * 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 <jsinspector-modern/tracing/TracingCategory.h> #include <react/timing/primitives.h> #include <folly/dynam...
/* * 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 <vector> 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 "TraceEventSerializer.h" #include "Timing.h" #include "TracingCategory.h" #include <react/timing/primitives.h> 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. */ #pragma once #include "TraceEvent.h" #include "TraceEventProfile.h" #include <folly/dynamic.h> namespace facebook::react::jsin...
/* * 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 "InstanceTracingProfile.h" #include "RuntimeSamplingProfile.h" #include "TracingMode.h" #include <oscompa...
/* * 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 "TraceRecordingStateSerializer.h" #include "RuntimeSamplingProfileTraceEventSerializer.h" #include "TraceEventSerializer...
/* * 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 "TraceEvent.h" #include "TraceRecordingState.h" #include <folly/dynamic.h> #include <vector> 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 <folly/container/small_vector.h> #include <optional> #include <set> #include <string> 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 namespace facebook::react::jsinspector_modern::tracing { enum class Mode { CDP, // Initiated by the user via 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. */ #pragma once #include <cstdint> namespace facebook::react::jsinspector_modern::tracing { // Keep in sync with `TracingState.kt...
/* * 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 "ProfileTreeNode.h" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace facebook::react::jsinspector_modern::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. */ #include <jsinspector-modern/tracing/RuntimeSamplingProfileTraceEventSerializer.h> #include <jsinspector-modern/tracing/Timing.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 "JSRuntimeBindings.h" #include <react/timing/primitives.h> namespace facebook::react { void bindNativeLogger(jsi::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 #include <jsi/jsi.h> #include <string> namespace facebook::react { using Logger = std::function<void(const std::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. */ #include "JSRuntimeFactory.h" namespace facebook::react { jsi::Runtime& JSIRuntimeHolder::getRuntime() noexcept { return *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 #ifdef __cplusplus #include <jsi/jsi.h> #include <jsinspector-modern/ReactCdp.h> namespace facebook::react { 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 "JSRuntimeFactoryCAPI.h" #include "JSRuntimeFactory.h" void js_runtime_factory_destroy(JSRuntimeFactoryRef factory) { ...
/* * 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 __cplusplus extern "C" { #endif /** JSRuntimeFactory pointer representation in C. */ typedef void *JSRunt...
/* * 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 "react_native_log.h" #include <glog/logging.h> static reactnativelogfunctype _reactnativelogfunc = nullptr; void set_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. */ #pragma once enum ReactNativeLogLevel { ReactNativeLogLevelInfo = 1, ReactNativeLogLevelWarning = 2, ReactNativeLogLevelEr...
/* * 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> namespace facebook::react::oscompat { uint64_t getCurrentProcessId(); uint64_t getCurrentThre...
/* * 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. */ #if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) || \ defined(__ANDROID__) #include "OSCompat.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. */ #if defined(_WIN32) || defined(_MSC_VER) #include "OSCompat.h" #include <windows.h> namespace facebook::react::oscompat { uin...
/* * 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/bridging/Base.h> #include <array> #include <deque> #include <initializer_list> #include <list> #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 #include <react/bridging/Base.h> #include <string> #include <string_view> namespace facebook::react { template <...
/* * 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/Convert.h> #include <cstdint> #include <memory> #include <type_trait...
/* * 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/bridging/Base.h> namespace facebook::react { template <> struct Bridging<bool> { static bool fr...
/* * 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/bridging/AString.h> #include <react/bridging/Array.h> #include <react/bridging/Bool.h> #include <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. */ #pragma once #include <jsi/jsi.h> #include <memory> #include <react/bridging/LongLivedObject.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. */ #pragma once #include <react/bridging/Base.h> namespace facebook::react::bridging { template <typename JSReturnT, typename 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. */ #pragma once #include <jsi/jsi.h> #include <optional> #include <type_traits> namespace facebook::react::bridging { // std::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. */ #pragma once #include <folly/dynamic.h> #include <jsi/JSIDynamic.h> namespace facebook::react { template <> struct Bridging<fo...
/* * 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/bridging/Base.h> namespace facebook::react { class Error { public: // TODO (T114055466): Retai...
/* * 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/bridging/Function.h> #include <functional> #include <memory> #include <mutex> #include <unordered_m...
/* * 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/bridging/Base.h> #include <react/bridging/CallbackWrapper.h> #include <ReactCommon/CallInvoker.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/bridging/Base.h> #include <react/timing/primitives.h> namespace facebook::react { template <> 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. */ #include "LongLivedObject.h" #include <unordered_map> namespace facebook::react { // LongLivedObjectCollection LongLivedObject...
/* * 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 <memory> #include <mutex> #include <unordered_set> 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 #include <react/bridging/Base.h> namespace facebook::react { template <> struct Bridging<double> { static doubl...
/* * 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/bridging/AString.h> #include <react/bridging/Base.h> #include <map> #include <unordered_map> name...
/* * 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/bridging/Error.h> #include <react/bridging/Function.h> #include <react/bridging/LongLivedObject.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/bridging/Base.h> #include <memory> #include <optional> namespace facebook::react { template <> 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. */ #include "BridgingTest.h" namespace facebook::react { using namespace std::literals; TEST_F(BridgingTest, jsiTest) { jsi::Va...
/* * 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 <gtest/gtest.h> #include <hermes/hermes.h> #include <react/bridgi...
/* * 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 "BridgingTest.h" #include <utility> namespace facebook::react { using namespace std::literals; struct TestClass { ...
/* * 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 // // Preprocessor flags which control whether code meant for debugging the // internals of React Native is 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. */ #ifdef __ANDROID__ #include <android/log.h> // Provide a prototype to silence missing prototype warning in release // mode. ext...
/* * 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. */ // No header guards since it is legitimately possible to include this file more // than once with and without REACT_NATIVE_DEBUG....
/* * 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. */ // No header guards since it is legitimately possible to include this file more // than once with and without REACT_NATIVE_DEBUG....
/* * 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<<d3573c8b6251753cc68d82cff6c4855e>> */ /** * 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<<a52690e6a335c7fc179d3442dd3e656a>> */ /** * 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<<81e4018ab89a5dd497c306846a2f84a0>> */ /** * 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<<2a0c786df75f059a86fdf0eae74db055>> */ /** * 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<<e7ef39dbcbc237f70162cb124684866d>> */ /** * 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<<580042ea458e08d35755160b9a93a323>> */ /** * 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<<5302418e380d9ac9d80eb908f5005bf0>> */ /** * 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 ...