| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/core/ |
| H A D | ABI47_0_0LayoutMetrics.cpp | 18 std::string getDebugName(LayoutMetrics const &object) { in getDebugName() argument 23 LayoutMetrics const &object, in getDebugProps() argument 27 "{x:" + getDebugDescription(object.frame.origin.x, {}) + in getDebugProps() 28 ",y:" + getDebugDescription(object.frame.origin.y, {}) + in getDebugProps() 33 "{top:" + getDebugDescription(object.contentInsets.top, {}) + in getDebugProps() 38 "{top:" + getDebugDescription(object.borderWidth.top, {}) + in getDebugProps() 43 "{top:" + getDebugDescription(object.overflowInset.top, {}) + in getDebugProps() 48 object.displayType == DisplayType::None in getDebugProps() 52 object.layoutDirection == LayoutDirection::Undefined in getDebugProps() 54 : (object.layoutDirection == LayoutDirection::LeftToRight in getDebugProps() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/core/ |
| H A D | ABI48_0_0LayoutMetrics.cpp | 22 LayoutMetrics const &object, in getDebugProps() argument 26 "{x:" + getDebugDescription(object.frame.origin.x, {}) + in getDebugProps() 27 ",y:" + getDebugDescription(object.frame.origin.y, {}) + in getDebugProps() 28 ",width:" + getDebugDescription(object.frame.size.width, {}) + in getDebugProps() 32 "{top:" + getDebugDescription(object.contentInsets.top, {}) + in getDebugProps() 37 "{top:" + getDebugDescription(object.borderWidth.top, {}) + in getDebugProps() 42 "{top:" + getDebugDescription(object.overflowInset.top, {}) + in getDebugProps() 47 object.displayType == DisplayType::None in getDebugProps() 51 object.layoutDirection == LayoutDirection::Undefined in getDebugProps() 53 : (object.layoutDirection == LayoutDirection::LeftToRight in getDebugProps() [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/core/ |
| H A D | ABI49_0_0LayoutMetrics.cpp | 22 LayoutMetrics const &object, in getDebugProps() argument 26 "{x:" + getDebugDescription(object.frame.origin.x, {}) + in getDebugProps() 27 ",y:" + getDebugDescription(object.frame.origin.y, {}) + in getDebugProps() 28 ",width:" + getDebugDescription(object.frame.size.width, {}) + in getDebugProps() 32 "{top:" + getDebugDescription(object.contentInsets.top, {}) + in getDebugProps() 37 "{top:" + getDebugDescription(object.borderWidth.top, {}) + in getDebugProps() 42 "{top:" + getDebugDescription(object.overflowInset.top, {}) + in getDebugProps() 47 object.displayType == DisplayType::None in getDebugProps() 51 object.layoutDirection == LayoutDirection::Undefined in getDebugProps() 53 : (object.layoutDirection == LayoutDirection::LeftToRight in getDebugProps() [all …]
|
| /expo/packages/expo-modules-core/ios/Tests/ |
| H A D | JavaScriptObjectSpec.swift | 10 var object: JavaScriptObject? in spec() variable 17 object = runtime.createObject() in spec() 22 expect(object?.hasProperty(key)) == false in spec() 26 object?.setProperty(key, value: value1) in spec() 27 expect(object?.hasProperty(key)) == true in spec() 31 object?.setProperty(key, value: nil) in spec() 32 expect(object?.hasProperty(key)) == true in spec() 39 object?.setProperty(key, value: value1) in spec() 50 object?.setProperty(key, value: value1) in spec() 55 object?.setProperty(key, value: value1) in spec() [all …]
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/ |
| H A D | JavaScriptObjectSpec.swift | 10 var object: JavaScriptObject? in spec() variable 17 object = runtime.createObject() in spec() 22 expect(object?.hasProperty(key)) == false in spec() 26 object?.setProperty(key, value: value1) in spec() 27 expect(object?.hasProperty(key)) == true in spec() 31 object?.setProperty(key, value: nil) in spec() 32 expect(object?.hasProperty(key)) == true in spec() 39 object?.setProperty(key, value: value1) in spec() 50 object?.setProperty(key, value: value1) in spec() 55 object?.setProperty(key, value: value1) in spec() [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/components/view/ |
| H A D | ABI49_0_0TouchEventEmitter.cpp | 15 jsi::Object &object, in setTouchPayloadOnObject() argument 27 object.setProperty(runtime, "force", touch.force); in setTouchPayloadOnObject() 36 auto object = jsi::Object(runtime); in touchesPayload() local 38 array.setValueAtIndex(runtime, i++, object); in touchesPayload() 46 auto object = jsi::Object(runtime); in touchEventPayload() local 47 object.setProperty( in touchEventPayload() 49 object.setProperty( in touchEventPayload() 51 object.setProperty( in touchEventPayload() 58 return object; in touchEventPayload() 64 auto object = jsi::Object(runtime); in pointerEventPayload() local [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/view/ |
| H A D | ABI48_0_0TouchEventEmitter.cpp | 15 jsi::Object &object, in setTouchPayloadOnObject() argument 27 object.setProperty(runtime, "force", touch.force); in setTouchPayloadOnObject() 36 auto object = jsi::Object(runtime); in touchesPayload() local 38 array.setValueAtIndex(runtime, i++, object); in touchesPayload() 46 auto object = jsi::Object(runtime); in touchEventPayload() local 47 object.setProperty( in touchEventPayload() 49 object.setProperty( in touchEventPayload() 51 object.setProperty( in touchEventPayload() 58 return object; in touchEventPayload() 64 auto object = jsi::Object(runtime); in pointerEventPayload() local [all …]
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 65 let object = runtime.createObject() in build() variable 66 decorate(object: object, inRuntime: runtime) in build() 67 return object in build() 71 decorateWithConstants(runtime: runtime, object: object) in decorate() 72 decorateWithFunctions(runtime: runtime, object: object) in decorate() 73 decorateWithProperties(runtime: runtime, object: object) in decorate() 74 decorateWithClasses(runtime: runtime, object: object) in decorate() 81 object.setProperty(key, value: value) in decorateWithConstants() 87 object.setProperty(fn.name, value: fn.build(inRuntime: runtime)) in decorateWithFunctions() 94 object.defineProperty(property.name, descriptor: descriptor) in decorateWithProperties() [all …]
|
| H A D | JavaScriptObjectBuilder.swift | 10 func decorate(object: JavaScriptObject, inRuntime runtime: JavaScriptRuntime) in decorate() 29 let object = runtime.createObject() in build() variable 30 decorate(object: object, inRuntime: runtime) in build() 31 return object in build() 34 func decorate(object: JavaScriptObject, inRuntime runtime: JavaScriptRuntime) { in decorate()
|
| /expo/packages/expo-modules-core/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 65 let object = try appContext.runtime.createObject() in build() variable 66 try decorate(object: object, appContext: appContext) in build() 67 return object in build() 73 decorateWithConstants(object: object) in decorate() 74 try decorateWithFunctions(object: object, appContext: appContext) in decorate() 75 try decorateWithProperties(object: object, appContext: appContext) in decorate() 76 try decorateWithClasses(object: object, appContext: appContext) in decorate() 81 internal func decorateWithConstants(object: JavaScriptObject) { in decorateWithConstants() 83 object.setProperty(key, value: value) in decorateWithConstants() 89 object.setProperty(fn.name, value: try fn.build(appContext: appContext)) in decorateWithFunctions() [all …]
|
| H A D | JavaScriptObjectBuilder.swift | 10 func decorate(object: JavaScriptObject, appContext: AppContext) throws in decorate() 29 let object = try appContext.runtime.createObject() in build() variable 30 try decorate(object: object, appContext: appContext) in build() 31 return object in build() 34 func decorate(object: JavaScriptObject, appContext: AppContext) throws { in decorate()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 65 let object = try appContext.runtime.createObject() in build() variable 66 try decorate(object: object, appContext: appContext) in build() 67 return object in build() 73 decorateWithConstants(object: object) in decorate() 74 try decorateWithFunctions(object: object, appContext: appContext) in decorate() 75 try decorateWithProperties(object: object, appContext: appContext) in decorate() 76 try decorateWithClasses(object: object, appContext: appContext) in decorate() 81 internal func decorateWithConstants(object: JavaScriptObject) { in decorateWithConstants() 83 object.setProperty(key, value: value) in decorateWithConstants() 89 object.setProperty(fn.name, value: try fn.build(appContext: appContext)) in decorateWithFunctions() [all …]
|
| H A D | JavaScriptObjectBuilder.swift | 10 func decorate(object: JavaScriptObject, appContext: AppContext) throws in decorate() 29 let object = try appContext.runtime.createObject() in build() variable 30 try decorate(object: object, appContext: appContext) in build() 31 return object in build() 34 func decorate(object: JavaScriptObject, appContext: AppContext) throws { in decorate()
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Objects/ |
| H A D | ObjectDefinition.swift | 65 let object = runtime.createObject() in build() variable 66 decorate(object: object, inRuntime: runtime) in build() 67 return object in build() 71 decorateWithConstants(runtime: runtime, object: object) in decorate() 72 decorateWithFunctions(runtime: runtime, object: object) in decorate() 73 decorateWithProperties(runtime: runtime, object: object) in decorate() 74 decorateWithClasses(runtime: runtime, object: object) in decorate() 81 object.setProperty(key, value: value) in decorateWithConstants() 87 object.setProperty(fn.name, value: fn.build(inRuntime: runtime)) in decorateWithFunctions() 94 object.defineProperty(property.name, descriptor: descriptor) in decorateWithProperties() [all …]
|
| H A D | JavaScriptObjectBuilder.swift | 10 func decorate(object: JavaScriptObject, inRuntime runtime: JavaScriptRuntime) in decorate() 29 let object = runtime.createObject() in build() variable 30 decorate(object: object, inRuntime: runtime) in build() 31 return object in build() 34 func decorate(object: JavaScriptObject, inRuntime runtime: JavaScriptRuntime) { in decorate()
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/view/ |
| H A D | ABI47_0_0TouchEventEmitter.cpp | 16 jsi::Object &object, in setTouchPayloadOnObject() argument 28 object.setProperty(runtime, "force", touch.force); in setTouchPayloadOnObject() 37 auto object = jsi::Object(runtime); in touchesPayload() local 39 array.setValueAtIndex(runtime, i++, object); in touchesPayload() 47 auto object = jsi::Object(runtime); in touchEventPayload() local 48 object.setProperty( in touchEventPayload() 50 object.setProperty( in touchEventPayload() 52 object.setProperty( in touchEventPayload() 59 return object; in touchEventPayload() 65 auto object = jsi::Object(runtime); in pointerEventPayload() local [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/utils/ |
| H A D | ABI48_0_0ManagedObjectWrapper.h | 24 @property (nonatomic, weak) id object; in property() 54 inline std::shared_ptr<void> wrapManagedObject(id object) noexcept 56 …return std::shared_ptr<void>((__bridge_retained void *)object, detail::wrappedManagedObjectDeleter… 59 inline id unwrapManagedObject(std::shared_ptr<void> const &object) noexcept 61 return (__bridge id)object.get(); 64 inline std::shared_ptr<void> wrapManagedObjectWeakly(id object) noexcept 67 weakWrapper.object = object; 71 inline id unwrapManagedObjectWeakly(std::shared_ptr<void> const &object) noexcept 73 …icWeakWrapper *weakWrapper = (ABI48_0_0RCTInternalGenericWeakWrapper *)unwrapManagedObject(object); 75 return weakWrapper.object;
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/utils/ |
| H A D | ABI49_0_0ManagedObjectWrapper.h | 24 @property (nonatomic, weak) id object; in property() 54 inline std::shared_ptr<void> wrapManagedObject(id object) noexcept 56 …return std::shared_ptr<void>((__bridge_retained void *)object, detail::wrappedManagedObjectDeleter… 59 inline id unwrapManagedObject(std::shared_ptr<void> const &object) noexcept 61 return (__bridge id)object.get(); 64 inline std::shared_ptr<void> wrapManagedObjectWeakly(id object) noexcept 67 weakWrapper.object = object; 71 inline id unwrapManagedObjectWeakly(std::shared_ptr<void> const &object) noexcept 73 …icWeakWrapper *weakWrapper = (ABI49_0_0RCTInternalGenericWeakWrapper *)unwrapManagedObject(object); 75 return weakWrapper.object;
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/utils/ |
| H A D | ABI47_0_0ManagedObjectWrapper.h | 24 @property (nonatomic, weak) id object; in property() 54 inline std::shared_ptr<void> wrapManagedObject(id object) noexcept 56 …return std::shared_ptr<void>((__bridge_retained void *)object, detail::wrappedManagedObjectDeleter… 59 inline id unwrapManagedObject(std::shared_ptr<void> const &object) noexcept 61 return (__bridge id)object.get(); 64 inline std::shared_ptr<void> wrapManagedObjectWeakly(id object) noexcept 67 weakWrapper.object = object; 71 inline id unwrapManagedObjectWeakly(std::shared_ptr<void> const &object) noexcept 73 …icWeakWrapper *weakWrapper = (ABI47_0_0RCTInternalGenericWeakWrapper *)unwrapManagedObject(object); 75 return weakWrapper.object;
|
| /expo/packages/jest-expo/src/ |
| H A D | index.js | 6 export function mockProperty(object, property, mockValue) { argument 8 if (!allOriginalPropertyDescriptors.has(object)) { 9 allOriginalPropertyDescriptors.set(object, new Map()); 20 Object.defineProperty(object, property, { 29 export function unmockProperty(object, property) { argument 30 const descriptors = allOriginalPropertyDescriptors.get(object); 37 Object.defineProperty(object, property, descriptor); 39 delete object[property]; 45 allOriginalPropertyDescriptors.delete(object); 53 Object.defineProperty(object, property, descriptor); [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/mounting/ |
| H A D | ABI49_0_0ShadowView.cpp | 60 std::string getDebugName(ShadowView const &object) { in getDebugName() argument 61 return object.componentHandle == 0 ? "Invalid" : object.componentName; in getDebugName() 65 ShadowView const &object, in getDebugProps() argument 68 {"surfaceId", getDebugDescription(object.surfaceId, options)}, in getDebugProps() 69 {"tag", getDebugDescription(object.tag, options)}, in getDebugProps() 70 {"traits", getDebugDescription(object.traits, options)}, in getDebugProps() 71 {"componentName", object.componentName}, in getDebugProps() 72 {"props", getDebugDescription(object.props, options)}, in getDebugProps() 73 {"eventEmitter", getDebugDescription(object.eventEmitter, options)}, in getDebugProps() 74 {"layoutMetrics", getDebugDescription(object.layoutMetrics, options)}, in getDebugProps() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/mounting/ |
| H A D | ABI48_0_0ShadowView.cpp | 59 std::string getDebugName(ShadowView const &object) { in getDebugName() argument 60 return object.componentHandle == 0 ? "Invalid" : object.componentName; in getDebugName() 64 ShadowView const &object, in getDebugProps() argument 67 {"surfaceId", getDebugDescription(object.surfaceId, options)}, in getDebugProps() 68 {"tag", getDebugDescription(object.tag, options)}, in getDebugProps() 69 {"traits", getDebugDescription(object.traits, options)}, in getDebugProps() 70 {"componentName", object.componentName}, in getDebugProps() 71 {"props", getDebugDescription(object.props, options)}, in getDebugProps() 72 {"eventEmitter", getDebugDescription(object.eventEmitter, options)}, in getDebugProps() 73 {"layoutMetrics", getDebugDescription(object.layoutMetrics, options)}, in getDebugProps() [all …]
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/api/ |
| H A D | JsiSkHostObjects.h | 42 T &&object) in JsiSkWrappingHostObject() argument 43 : JsiSkHostObject(std::move(context)), _object(std::move(object)) {} in JsiSkWrappingHostObject() 46 const T &object) in JsiSkWrappingHostObject() argument 47 : JsiSkHostObject(std::move(context)), _object(object) {} in JsiSkWrappingHostObject() 60 void setObject(T &object) { _object = object; } in setObject() argument 61 void setObject(const T &object) { _object = object; } in setObject() argument 75 std::shared_ptr<T> object) in JsiSkWrappingSharedPtrHostObject() argument 77 std::move(object)) {} in JsiSkWrappingSharedPtrHostObject() 84 sk_sp<T> object) in JsiSkWrappingSkPtrHostObject() argument 86 std::move(object)) {} in JsiSkWrappingSkPtrHostObject()
|
| /expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/api/ |
| H A D | JsiSkHostObjects.h | 42 T &&object) in JsiSkWrappingHostObject() argument 43 : JsiSkHostObject(std::move(context)), _object(std::move(object)) {} in JsiSkWrappingHostObject() 46 const T &object) in JsiSkWrappingHostObject() argument 47 : JsiSkHostObject(std::move(context)), _object(object) {} in JsiSkWrappingHostObject() 60 void setObject(T &object) { _object = object; } in setObject() argument 61 void setObject(const T &object) { _object = object; } in setObject() argument 75 std::shared_ptr<T> object) in JsiSkWrappingSharedPtrHostObject() argument 77 std::move(object)) {} in JsiSkWrappingSharedPtrHostObject() 84 sk_sp<T> object) in JsiSkWrappingSkPtrHostObject() argument 86 std::move(object)) {} in JsiSkWrappingSkPtrHostObject()
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/mounting/ |
| H A D | ABI47_0_0ShadowView.cpp | 59 std::string getDebugName(ShadowView const &object) { in getDebugName() argument 60 return object.componentHandle == 0 ? "Invalid" : object.componentName; in getDebugName() 64 ShadowView const &object, in getDebugProps() argument 67 {"surfaceId", getDebugDescription(object.surfaceId, options)}, in getDebugProps() 68 {"tag", getDebugDescription(object.tag, options)}, in getDebugProps() 69 {"traits", getDebugDescription(object.traits, options)}, in getDebugProps() 70 {"componentName", object.componentName}, in getDebugProps() 71 {"props", getDebugDescription(object.props, options)}, in getDebugProps() 72 {"eventEmitter", getDebugDescription(object.eventEmitter, options)}, in getDebugProps() 73 {"layoutMetrics", getDebugDescription(object.layoutMetrics, options)}, in getDebugProps() [all …]
|