Home
last modified time | relevance | path

Searched refs:global (Results 1 – 25 of 541) sorted by relevance

12345678910>>...22

/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/uimanager/
H A DABI49_0_0SurfaceRegistryBinding.cpp28 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 DABI47_0_0SurfaceRegistryBinding.cpp28 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 DABI48_0_0SurfaceRegistryBinding.cpp28 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 DupdateDevicePushTokenAsync-test.ts12 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 DfetchAsync.test.web.ts4 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 Dbrowser.ts1 declare const global: any; constant
14 !global.nativeExtensions && !global.nativeCallSyncHook && !global.RN$Bridgeless;
/expo/packages/expo-location/src/
H A DGeolocationPolyfill.ts14 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 Dbrowser.js10 !global.nativeExtensions && !global.nativeCallSyncHook && !global.RN$Bridgeless;
/expo/docs/pages/
H A D_document.tsx5 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 DGeolocationPolyfill.js12 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 DGLWorkletContextManager.js17 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 DRuntimeDecorator.cpp28 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 DRuntimeDecorator.cpp28 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 DRuntimeDecorator.cpp28 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 DRuntimeDecorator.cpp28 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 DGLWorkletContextManager.ts22 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 DfetchThenEvalJs.ts9 declare let global: { variable
32 if (global.globalEvalWithSourceUrl) {
33 global.globalEvalWithSourceUrl(body, url);
H A Dindex.ts10 global[`${global.__METRO_GLOBAL_PREFIX__ ?? ''}__loadBundleAsync`] = buildAsyncRequire();
/expo/packages/@expo/metro-runtime/src/
H A DsetupFastRefresh.ts4 ReactRefreshRuntime.injectIntoGlobalHook(global);
30 global[(global.__METRO_GLOBAL_PREFIX__ || '') + '__ReactRefresh'] = Refresh;
/expo/packages/@expo/metro-runtime/build/
H A DsetupFastRefresh.js3 ReactRefreshRuntime.injectIntoGlobalHook(global);
22 global[(global.__METRO_GLOBAL_PREFIX__ || '') + '__ReactRefresh'] = Refresh;
/expo/packages/expo-modules-core/android/src/main/cpp/
H A DJavaScriptRuntime.cpp91 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 DABI47_0_0EXWebGLRenderer.cpp56 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 DABI48_0_0EXWebGLRenderer.cpp56 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 Dsetup-web.js3 global.__DEV__ = true;
6 global.ShadowRoot = function () {};
/expo/packages/@expo/server/src/
H A Denvironment.ts19 global.Request = ExpoRequest;
21 global.Response = ExpoResponse;
23 global.ExpoResponse = ExpoResponse;
25 global.ExpoRequest = ExpoRequest;

12345678910>>...22