| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/uimanager/ |
| H A D | ABI49_0_0SurfaceRegistryBinding.cpp | 28 auto global = runtime.global(); in startSurface() local 30 global.getProperty(runtime, "ABI49_0_0RN$Bridgeless").asBool(); in startSurface() 33 if (!global.hasProperty(runtime, "ABI49_0_0RN$SurfaceRegistry")) { in startSurface() 48 global.hasProperty(runtime, "ABI49_0_0RN$SurfaceRegistry")) { in startSurface() 81 auto global = runtime.global(); in setSurfaceProps() local 83 global.getProperty(runtime, "ABI49_0_0RN$Bridgeless").asBool(); in setSurfaceProps() 86 if (!global.hasProperty(runtime, "ABI49_0_0RN$SurfaceRegistry")) { in setSurfaceProps() 102 global.hasProperty(runtime, "ABI49_0_0RN$SurfaceRegistry")) { in setSurfaceProps() 126 auto global = runtime.global(); in stopSurface() local 131 if (!global.hasProperty(runtime, "ABI49_0_0RN$stopSurface")) { in stopSurface() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/uimanager/ |
| H A D | ABI47_0_0SurfaceRegistryBinding.cpp | 28 auto global = runtime.global(); in startSurface() local 30 global.getProperty(runtime, "ABI47_0_0RN$Bridgeless").asBool(); in startSurface() 33 if (!global.hasProperty(runtime, "ABI47_0_0RN$SurfaceRegistry")) { in startSurface() 48 global.hasProperty(runtime, "ABI47_0_0RN$SurfaceRegistry")) { in startSurface() 81 auto global = runtime.global(); in setSurfaceProps() local 83 global.getProperty(runtime, "ABI47_0_0RN$Bridgeless").asBool(); in setSurfaceProps() 86 if (!global.hasProperty(runtime, "ABI47_0_0RN$SurfaceRegistry")) { in setSurfaceProps() 102 global.hasProperty(runtime, "ABI47_0_0RN$SurfaceRegistry")) { in setSurfaceProps() 126 auto global = runtime.global(); in stopSurface() local 131 if (!global.hasProperty(runtime, "ABI47_0_0RN$stopSurface")) { in stopSurface() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/uimanager/ |
| H A D | ABI48_0_0SurfaceRegistryBinding.cpp | 28 auto global = runtime.global(); in startSurface() local 30 global.getProperty(runtime, "ABI48_0_0RN$Bridgeless").asBool(); in startSurface() 33 if (!global.hasProperty(runtime, "ABI48_0_0RN$SurfaceRegistry")) { in startSurface() 48 global.hasProperty(runtime, "ABI48_0_0RN$SurfaceRegistry")) { in startSurface() 81 auto global = runtime.global(); in setSurfaceProps() local 83 global.getProperty(runtime, "ABI48_0_0RN$Bridgeless").asBool(); in setSurfaceProps() 86 if (!global.hasProperty(runtime, "ABI48_0_0RN$SurfaceRegistry")) { in setSurfaceProps() 102 global.hasProperty(runtime, "ABI48_0_0RN$SurfaceRegistry")) { in setSurfaceProps() 126 auto global = runtime.global(); in stopSurface() local 131 if (!global.hasProperty(runtime, "ABI48_0_0RN$stopSurface")) { in stopSurface() [all …]
|
| /expo/packages/expo-notifications/src/utils/__tests__/ |
| H A D | updateDevicePushTokenAsync-test.ts | 12 declare const global: any; constant 31 originalFetch = global.fetch; 32 global.fetch = jest.fn(); 36 global.fetch = originalFetch; 40 global.fetch.mockResolvedValue(successResponse); 56 expect(global.fetch).toHaveBeenCalledTimes(1); 62 global.fetch 68 expect(global.fetch).toHaveBeenCalledTimes(3); 78 expect(global.fetch).toHaveBeenCalledTimes(2); 86 global.fetch.mockRejectedValue(new TypeError()); [all …]
|
| /expo/packages/@expo/metro-runtime/src/async-require/__tests__/ |
| H A D | fetchAsync.test.web.ts | 4 declare const global: any; constant 6 const originalFetch = global.fetch; 10 global.fetch = jest.fn(() => 17 global.fetch = originalFetch; 22 expect(global.fetch).toBeCalledWith('https://example.com', {
|
| /expo/packages/expo-modules-core/src/environment/ |
| H A D | browser.ts | 1 declare const global: any; constant 14 !global.nativeExtensions && !global.nativeCallSyncHook && !global.RN$Bridgeless;
|
| /expo/packages/expo-location/src/ |
| H A D | GeolocationPolyfill.ts | 14 declare const global: any; constant 23 if (!('window' in global)) { 24 global.window = global; 26 if (!('navigator' in global.window)) { 27 global.window.navigator = {};
|
| /expo/packages/expo-modules-core/build/environment/ |
| H A D | browser.js | 10 !global.nativeExtensions && !global.nativeCallSyncHook && !global.RN$Bridgeless;
|
| /expo/docs/pages/ |
| H A D | _document.tsx | 5 import { globalDiff } from '~/global-styles/diff'; 6 import { globalExtras } from '~/global-styles/extras'; 7 import { globalNProgress } from '~/global-styles/nprogress'; 8 import { globalPrism } from '~/global-styles/prism'; 9 import { globalTippy } from '~/global-styles/tippy';
|
| /expo/packages/expo-location/build/ |
| H A D | GeolocationPolyfill.js | 12 if (!('window' in global)) { 13 global.window = global; 15 if (!('navigator' in global.window)) { 16 global.window.navigator = {};
|
| /expo/packages/expo-gl/build/ |
| H A D | GLWorkletContextManager.js | 17 return global.__EXGLContexts?.[String(contextId)]; 22 if (global.__EXGLContexts) { 23 delete global.__EXGLContexts[String(contextId)];
|
| /expo/android/vendored/sdk48/react-native-reanimated/Common/cpp/Tools/ |
| H A D | RuntimeDecorator.cpp | 28 rt.global().setProperty(rt, "_WORKLET", jsi::Value(true)); in decorateRuntime() 30 rt.global().setProperty( in decorateRuntime() 34 rt.global().setProperty(rt, "global", dummyGlobal); in decorateRuntime() 56 rt.global().setProperty(rt, "_log", log); in decorateRuntime() 62 rt.global().setProperty(rt, "console", args[0]); in decorateRuntime() 65 rt.global().setProperty( in decorateRuntime() 83 rt.global().setProperty( in decorateRuntime() 94 rt.global().setProperty(rt, "performance", performance); in decorateRuntime() 109 rt.global().setProperty(rt, "_UI", jsi::Value(true)); in decorateUIRuntime() 184 rt.global().setProperty(rt, "_getCurrentTime", timeFun); in decorateUIRuntime() [all …]
|
| /expo/ios/vendored/sdk48/react-native-reanimated/Common/cpp/Tools/ |
| H A D | RuntimeDecorator.cpp | 28 rt.global().setProperty(rt, "_WORKLET", jsi::Value(true)); in decorateRuntime() 30 rt.global().setProperty( in decorateRuntime() 34 rt.global().setProperty(rt, "global", dummyGlobal); in decorateRuntime() 56 rt.global().setProperty(rt, "_log", log); in decorateRuntime() 62 rt.global().setProperty(rt, "console", args[0]); in decorateRuntime() 65 rt.global().setProperty( in decorateRuntime() 83 rt.global().setProperty( in decorateRuntime() 94 rt.global().setProperty(rt, "performance", performance); in decorateRuntime() 109 rt.global().setProperty(rt, "_UI", jsi::Value(true)); in decorateUIRuntime() 184 rt.global().setProperty(rt, "_getCurrentTime", timeFun); in decorateUIRuntime() [all …]
|
| /expo/ios/vendored/sdk47/react-native-reanimated/Common/cpp/Tools/ |
| H A D | RuntimeDecorator.cpp | 28 rt.global().setProperty(rt, "_WORKLET", jsi::Value(true)); in decorateRuntime() 30 rt.global().setProperty( in decorateRuntime() 34 rt.global().setProperty(rt, "global", dummyGlobal); in decorateRuntime() 56 rt.global().setProperty(rt, "_log", log); in decorateRuntime() 62 rt.global().setProperty(rt, "console", args[0]); in decorateRuntime() 65 rt.global().setProperty( in decorateRuntime() 83 rt.global().setProperty( in decorateRuntime() 94 rt.global().setProperty(rt, "performance", performance); in decorateRuntime() 109 rt.global().setProperty(rt, "_UI", jsi::Value(true)); in decorateUIRuntime() 184 rt.global().setProperty(rt, "_getCurrentTime", timeFun); in decorateUIRuntime() [all …]
|
| /expo/android/vendored/sdk47/react-native-reanimated/Common/cpp/Tools/ |
| H A D | RuntimeDecorator.cpp | 28 rt.global().setProperty(rt, "_WORKLET", jsi::Value(true)); in decorateRuntime() 30 rt.global().setProperty( in decorateRuntime() 34 rt.global().setProperty(rt, "global", dummyGlobal); in decorateRuntime() 56 rt.global().setProperty(rt, "_log", log); in decorateRuntime() 62 rt.global().setProperty(rt, "console", args[0]); in decorateRuntime() 65 rt.global().setProperty( in decorateRuntime() 83 rt.global().setProperty( in decorateRuntime() 94 rt.global().setProperty(rt, "performance", performance); in decorateRuntime() 109 rt.global().setProperty(rt, "_UI", jsi::Value(true)); in decorateUIRuntime() 184 rt.global().setProperty(rt, "_getCurrentTime", timeFun); in decorateUIRuntime() [all …]
|
| /expo/packages/expo-gl/src/ |
| H A D | GLWorkletContextManager.ts | 22 return global.__EXGLContexts?.[String(contextId)]; 27 if (global.__EXGLContexts) { 28 delete global.__EXGLContexts[String(contextId)];
|
| /expo/packages/@expo/metro-runtime/src/async-require/ |
| H A D | fetchThenEvalJs.ts | 9 declare let global: { variable 32 if (global.globalEvalWithSourceUrl) { 33 global.globalEvalWithSourceUrl(body, url);
|
| H A D | index.ts | 10 global[`${global.__METRO_GLOBAL_PREFIX__ ?? ''}__loadBundleAsync`] = buildAsyncRequire();
|
| /expo/packages/@expo/metro-runtime/src/ |
| H A D | setupFastRefresh.ts | 4 ReactRefreshRuntime.injectIntoGlobalHook(global); 30 global[(global.__METRO_GLOBAL_PREFIX__ || '') + '__ReactRefresh'] = Refresh;
|
| /expo/packages/@expo/metro-runtime/build/ |
| H A D | setupFastRefresh.js | 3 ReactRefreshRuntime.injectIntoGlobalHook(global); 22 global[(global.__METRO_GLOBAL_PREFIX__ || '') + '__ReactRefresh'] = Refresh;
|
| /expo/packages/expo-modules-core/android/src/main/cpp/ |
| H A D | JavaScriptRuntime.cpp | 91 runtime->global().setProperty( in JavaScriptRuntime() 112 runtime->global().setProperty( in JavaScriptRuntime() 115 runtime->global() in JavaScriptRuntime() 178 jni::local_ref<JavaScriptObject::javaobject> JavaScriptRuntime::global() { in global() function in expo::JavaScriptRuntime 179 auto global = std::make_shared<jsi::Object>(runtime->global()); in global() local 180 return JavaScriptObject::newInstance(jsiInteropModuleRegistry, weak_from_this(), global); in global() 197 auto global = runtime->global(); in installMainObject() local 205 &global, in installMainObject()
|
| /expo/ios/versioned/sdk47/EXGL/common/ |
| H A D | ABI47_0_0EXWebGLRenderer.cpp | 56 bool legacyJs = !runtime.global().getProperty(runtime, "__EXGLConstructorReady").isBool(); in createWebGLRenderer() 64 global.setProperty(runtime, ABI47_0_0EXGLContextsMapPropertyName, jsi::Object(runtime)); in createWebGLRenderer() 66 global.getProperty(runtime, ABI47_0_0EXGLContextsMapPropertyName) in createWebGLRenderer() 77 jsi::Object webglObject = runtime.global() in createWebGLObject() 148 jsi::Object objectClass = runtime.global().getPropertyAsObject(runtime, "Object"); in jsClassExtend() 177 if (runtime.global().hasProperty(runtime, "WebGLRenderingContext")) { in ensurePrototypes() 180 runtime.global().setProperty(runtime, "__EXGLConstructorReady", true); in ensurePrototypes() 186 auto objectClass = runtime.global().getPropertyAsObject(runtime, "Object"); in ensurePrototypes() 195 runtime.global() in ensurePrototypes() 207 runtime.global() in ensurePrototypes() [all …]
|
| /expo/ios/versioned/sdk48/ExpoGL/common/ |
| H A D | ABI48_0_0EXWebGLRenderer.cpp | 56 bool legacyJs = !runtime.global().getProperty(runtime, "__EXGLConstructorReady").isBool(); in createWebGLRenderer() 64 global.setProperty(runtime, ABI48_0_0EXGLContextsMapPropertyName, jsi::Object(runtime)); in createWebGLRenderer() 66 global.getProperty(runtime, ABI48_0_0EXGLContextsMapPropertyName) in createWebGLRenderer() 77 jsi::Object webglObject = runtime.global() in createWebGLObject() 148 jsi::Object objectClass = runtime.global().getPropertyAsObject(runtime, "Object"); in jsClassExtend() 177 if (runtime.global().hasProperty(runtime, "WebGLRenderingContext")) { in ensurePrototypes() 180 runtime.global().setProperty(runtime, "__EXGLConstructorReady", true); in ensurePrototypes() 186 auto objectClass = runtime.global().getPropertyAsObject(runtime, "Object"); in ensurePrototypes() 195 runtime.global() in ensurePrototypes() 207 runtime.global() in ensurePrototypes() [all …]
|
| /expo/packages/jest-expo/src/preset/ |
| H A D | setup-web.js | 3 global.__DEV__ = true; 6 global.ShadowRoot = function () {};
|
| /expo/packages/@expo/server/src/ |
| H A D | environment.ts | 19 global.Request = ExpoRequest; 21 global.Response = ExpoResponse; 23 global.ExpoResponse = ExpoResponse; 25 global.ExpoRequest = ExpoRequest;
|