Home
last modified time | relevance | path

Searched refs:prototype (Results 1 – 25 of 145) sorted by relevance

123456

/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/__tests__/
H A Ddevice.test.ts39 expect(MetroDevice.prototype._processMessageFromDevice).not.toBeCalled();
54 expect(MetroDevice.prototype._processMessageFromDevice).toBeCalled();
67 expect(MetroDevice.prototype._processMessageFromDevice).toBeCalled();
86 expect(MetroDevice.prototype._interceptMessageFromDebugger).not.toBeCalled();
103 expect(MetroDevice.prototype._interceptMessageFromDebugger).toBeCalled();
118 expect(MetroDevice.prototype._interceptMessageFromDebugger).toBeCalled();
132 MetroDevice.prototype._processMessageFromDevice = jest.fn();
133 MetroDevice.prototype._interceptMessageFromDebugger = jest.fn();
/expo/packages/expo-modules-core/ios/Swift/Classes/
H A DClassComponent.swift69 let prototype = object.getProperty("prototype").getObject() in decorate() variable
71 decorateWithConstants(object: prototype) in decorate()
72 try decorateWithFunctions(object: prototype, appContext: appContext) in decorate()
73 try decorateWithClasses(object: prototype, appContext: appContext) in decorate()
74 try decorateWithProperties(object: prototype, appContext: appContext) in decorate()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponent.swift69 let prototype = object.getProperty("prototype").getObject() in decorate() variable
71 decorateWithConstants(object: prototype) in decorate()
72 try decorateWithFunctions(object: prototype, appContext: appContext) in decorate()
73 try decorateWithClasses(object: prototype, appContext: appContext) in decorate()
74 try decorateWithProperties(object: prototype, appContext: appContext) in decorate()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponent.swift65 let prototype = object.getProperty("prototype").getObject() in decorate() variable
66 decorateWithConstants(runtime: runtime, object: prototype) in decorate()
67 decorateWithFunctions(runtime: runtime, object: prototype) in decorate()
68 decorateWithClasses(runtime: runtime, object: prototype) in decorate()
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponent.swift65 let prototype = object.getProperty("prototype").getObject() in decorate() variable
66 decorateWithConstants(runtime: runtime, object: prototype) in decorate()
67 decorateWithFunctions(runtime: runtime, object: prototype) in decorate()
68 decorateWithClasses(runtime: runtime, object: prototype) in decorate()
/expo/packages/@expo/config/build/
H A Dindex.js18 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
30 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
42 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
54 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
/expo/packages/expo-gl/common/
H A DEXWebGLRenderer.cpp140 jsi::PropNameID prototype = jsi::PropNameID::forUtf8(runtime, "prototype"); in jsClassExtend() local
149 prototype, in jsClassExtend()
150 createMethod.callWithThis(runtime, objectClass, {baseClass.getProperty(runtime, prototype)})); in jsClassExtend()
163 derivedClass.getProperty(runtime, prototype), in jsClassExtend()
187 auto prototype = in ensurePrototypes() local
192 installConstants(runtime, prototype); in ensurePrototypes()
193 installWebGLMethods(runtime, prototype); in ensurePrototypes()
199 auto prototype = in ensurePrototypes() local
204 installConstants(runtime, prototype); in ensurePrototypes()
205 installWebGL2Methods(runtime, prototype); in ensurePrototypes()
/expo/ios/versioned/sdk47/EXGL/common/
H A DABI47_0_0EXWebGLRenderer.cpp147 jsi::PropNameID prototype = jsi::PropNameID::forUtf8(runtime, "prototype"); in jsClassExtend() local
156 prototype, in jsClassExtend()
157 createMethod.callWithThis(runtime, objectClass, {baseClass.getProperty(runtime, prototype)})); in jsClassExtend()
170 derivedClass.getProperty(runtime, prototype), in jsClassExtend()
194 auto prototype = in ensurePrototypes() local
199 installConstants(runtime, prototype); in ensurePrototypes()
200 installWebGLMethods(runtime, prototype); in ensurePrototypes()
206 auto prototype = in ensurePrototypes() local
211 installConstants(runtime, prototype); in ensurePrototypes()
212 installWebGL2Methods(runtime, prototype); in ensurePrototypes()
/expo/ios/versioned/sdk48/ExpoGL/common/
H A DABI48_0_0EXWebGLRenderer.cpp147 jsi::PropNameID prototype = jsi::PropNameID::forUtf8(runtime, "prototype"); in jsClassExtend() local
156 prototype, in jsClassExtend()
157 createMethod.callWithThis(runtime, objectClass, {baseClass.getProperty(runtime, prototype)})); in jsClassExtend()
170 derivedClass.getProperty(runtime, prototype), in jsClassExtend()
194 auto prototype = in ensurePrototypes() local
199 installConstants(runtime, prototype); in ensurePrototypes()
200 installWebGLMethods(runtime, prototype); in ensurePrototypes()
206 auto prototype = in ensurePrototypes() local
211 installConstants(runtime, prototype); in ensurePrototypes()
212 installWebGL2Methods(runtime, prototype); in ensurePrototypes()
/expo/ios/versioned/sdk49/ExpoGL/common/
H A DABI49_0_0EXWebGLRenderer.cpp140 jsi::PropNameID prototype = jsi::PropNameID::forUtf8(runtime, "prototype"); in jsClassExtend() local
149 prototype, in jsClassExtend()
150 createMethod.callWithThis(runtime, objectClass, {baseClass.getProperty(runtime, prototype)})); in jsClassExtend()
163 derivedClass.getProperty(runtime, prototype), in jsClassExtend()
187 auto prototype = in ensurePrototypes() local
192 installConstants(runtime, prototype); in ensurePrototypes()
193 installWebGLMethods(runtime, prototype); in ensurePrototypes()
199 auto prototype = in ensurePrototypes() local
204 installConstants(runtime, prototype); in ensurePrototypes()
205 installWebGL2Methods(runtime, prototype); in ensurePrototypes()
/expo/packages/expo-modules-core/ios/JSI/
H A DEXJSIUtils.mm101 // Set the native constructor in the prototype.
102 jsi::Object prototype = klass.getPropertyAsObject(runtime, "prototype");
117 …common::definePropertyOnJSIObject(runtime, &prototype, nativeConstructorKey.c_str(), std::move(des…
122 …:Object> createObjectWithPrototype(jsi::Runtime &runtime, std::shared_ptr<jsi::Object> prototype) {
128 …// Call "Object.create(prototype)" to create an object with the given prototype without calling th…
132 jsi::Value(runtime, *prototype)
/expo/packages/expo-router/build/
H A DrenderRootComponent.js12 if (Object.prototype.toString.call(obj) !== '[object Object]') {
19 return proto === Object.prototype;
H A Dindex.js14 …for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __creat…
/expo/packages/expo-gl/src/
H A Dtypes.ts10 prototype: WebGLObject;
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/JSI/
H A DABI49_0_0EXJSIUtils.mm100 // Set the native constructor in the prototype.
101 jsi::Object prototype = klass.getPropertyAsObject(runtime, "prototype");
113 …defineProperty(runtime, &prototype, nativeConstructorKey.c_str(), jsi::Value(runtime, nativeConstr…
118 …:Object> createObjectWithPrototype(jsi::Runtime &runtime, std::shared_ptr<jsi::Object> prototype) {
124 …// Call "Object.create(prototype)" to create an object with the given prototype without calling th…
128 jsi::Value(runtime, *prototype)
/expo/packages/expo-sensors/src/utils/
H A DisSensorEnabledAsync.web.ts65 prototype: DeviceMotionEvent;
73 prototype: DeviceOrientationEvent;
/expo/packages/@expo/cli/src/run/ios/appleDevice/client/
H A DAFCClient.ts57 debug(`writeFile: ${Array.prototype.toString.call(fd)} data size: ${data.length}`);
91 `There was an unknown error opening file ${path}, response: ${Array.prototype.toString.call(
98 debug(`closeFile fd: ${Array.prototype.toString.call(fd)}`);
/expo/packages/expo-modules-core/src/
H A DNativeViewManagerAdapter.native.tsx58 // This will be accessed from native when the prototype functions are called,
76 … // Assign native view functions to the component prototype so they can be accessed from the ref.
77 Object.assign(NativeComponent.prototype, nativeViewPrototype);
83 // let's just gracefully skip assigning the prototype functions.
/expo/packages/@expo/prebuild-config/build/
H A Dindex.js25 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
/expo/packages/expo-router/build/head/
H A Dindex.js14 …for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __creat…
/expo/packages/@expo/fingerprint/build/
H A Dindex.js14 …for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __creat…
/expo/packages/expo-modules-core/build/
H A DNativeViewManagerAdapter.native.js61 Object.assign(NativeComponent.prototype, nativeViewPrototype);
/expo/packages/expo-gl/build/
H A Dtypes.js.map1 …ext-line @typescript-eslint/no-redeclare\ndeclare let WebGLObject: {\n prototype: WebGLObject;\n …
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/JSI/
H A DABI48_0_0EXJSIUtils.mm100 // Set the native constructor in the prototype.
101 jsi::Object prototype = klass.getPropertyAsObject(runtime, "prototype");
113 …defineProperty(runtime, &prototype, nativeConstructorKey.c_str(), jsi::Value(runtime, nativeConstr…
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/JSI/
H A DABI47_0_0EXJSIUtils.mm100 // Set the native constructor in the prototype.
101 jsi::Object prototype = klass.getPropertyAsObject(runtime, "prototype");
113 …defineProperty(runtime, &prototype, nativeConstructorKey.c_str(), jsi::Value(runtime, nativeConstr…

123456